Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 676 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Swap All Voucher | 16529109 | 1145 days ago | IN | 0 ETH | 0.00841973 | ||||
| Swap All Voucher | 15439761 | 1299 days ago | IN | 0 ETH | 0.00167105 | ||||
| Swap All Voucher | 15125686 | 1348 days ago | IN | 0 ETH | 0.00287823 | ||||
| Swap Token | 14668780 | 1424 days ago | IN | 0 ETH | 0.00769907 | ||||
| Swap All Voucher | 14662833 | 1424 days ago | IN | 0 ETH | 0.00709592 | ||||
| Swap Token | 14544940 | 1443 days ago | IN | 0 ETH | 0.00297145 | ||||
| Swap All Voucher | 14499160 | 1450 days ago | IN | 0 ETH | 0.00868281 | ||||
| Swap All Voucher | 14454496 | 1457 days ago | IN | 0 ETH | 0.00435116 | ||||
| Swap All Voucher | 14448430 | 1458 days ago | IN | 0 ETH | 0.00571586 | ||||
| Swap All Voucher | 14420711 | 1462 days ago | IN | 0 ETH | 0.00426738 | ||||
| Swap All Voucher | 14416812 | 1463 days ago | IN | 0 ETH | 0.00204704 | ||||
| Swap All Voucher | 14384012 | 1468 days ago | IN | 0 ETH | 0.00261826 | ||||
| Swap All Voucher | 14300498 | 1481 days ago | IN | 0 ETH | 0.00499047 | ||||
| Swap All Voucher | 14288832 | 1483 days ago | IN | 0 ETH | 0.00613925 | ||||
| Swap All Voucher | 14202938 | 1496 days ago | IN | 0 ETH | 0.00451806 | ||||
| Swap All Voucher | 14190266 | 1498 days ago | IN | 0 ETH | 0.00702991 | ||||
| Swap All Voucher | 14170731 | 1501 days ago | IN | 0 ETH | 0.0069999 | ||||
| Swap All Voucher | 14169304 | 1501 days ago | IN | 0 ETH | 0.01085288 | ||||
| Swap Token | 14169158 | 1501 days ago | IN | 0 ETH | 0.00478556 | ||||
| Swap All Voucher | 14151532 | 1504 days ago | IN | 0 ETH | 0.02321459 | ||||
| Swap All Voucher | 14150859 | 1504 days ago | IN | 0 ETH | 0.00729526 | ||||
| Swap All Voucher | 14150742 | 1504 days ago | IN | 0 ETH | 0.00250495 | ||||
| Swap All Voucher | 14150742 | 1504 days ago | IN | 0 ETH | 0.00250495 | ||||
| Swap All Voucher | 14146888 | 1505 days ago | IN | 0 ETH | 0.00654353 | ||||
| Swap All Voucher | 14072382 | 1516 days ago | IN | 0 ETH | 0.02919606 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
|||
|---|---|---|---|---|---|---|---|---|
| Transfer | 16529109 | 1145 days ago | 0 ETH | |||||
| Transfer From | 16529109 | 1145 days ago | 0 ETH | |||||
| Units In Token | 16529109 | 1145 days ago | 0 ETH | |||||
| Balance Of | 16529109 | 1145 days ago | 0 ETH | |||||
| Transfer | 15439761 | 1299 days ago | 0 ETH | |||||
| Transfer From | 15439761 | 1299 days ago | 0 ETH | |||||
| Units In Token | 15439761 | 1299 days ago | 0 ETH | |||||
| Transfer From | 15439761 | 1299 days ago | 0 ETH | |||||
| Units In Token | 15439761 | 1299 days ago | 0 ETH | |||||
| Balance Of | 15439761 | 1299 days ago | 0 ETH | |||||
| Transfer | 15125686 | 1348 days ago | 0 ETH | |||||
| Transfer From | 15125686 | 1348 days ago | 0 ETH | |||||
| Units In Token | 15125686 | 1348 days ago | 0 ETH | |||||
| Balance Of | 15125686 | 1348 days ago | 0 ETH | |||||
| Transfer | 14668780 | 1424 days ago | 0 ETH | |||||
| Transfer From | 14668780 | 1424 days ago | 0 ETH | |||||
| Balance Of | 14668780 | 1424 days ago | 0 ETH | |||||
| Balance Of | 14668780 | 1424 days ago | 0 ETH | |||||
| Transfer | 14662833 | 1424 days ago | 0 ETH | |||||
| Transfer From | 14662833 | 1424 days ago | 0 ETH | |||||
| Units In Token | 14662833 | 1424 days ago | 0 ETH | |||||
| Balance Of | 14662833 | 1424 days ago | 0 ETH | |||||
| Transfer | 14544940 | 1443 days ago | 0 ETH | |||||
| Transfer From | 14544940 | 1443 days ago | 0 ETH | |||||
| Balance Of | 14544940 | 1443 days ago | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
vHighExchanger
Compiler Version
v0.8.3+commit.8d00100c
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interface/IVNFT.sol";
contract vHighExchanger is Ownable, Pausable, ReentrancyGuard {
using SafeMath for uint256;
IERC20 private vHigh;
IERC20 private high;
IVNFT private voucher;
uint256 public exhangeValue;
address private voucherCollector;
event swap(address indexed user, uint256 value);
event swap(address indexed user, uint256 indexed id, uint256 value);
event swapAll(address indexed user, uint256[] indexed ids, uint256 value);
constructor(address vHigh_, address high_, address voucher_) {
vHigh = IERC20(vHigh_);
high = IERC20(high_);
voucher = IVNFT(voucher_);
voucherCollector = msg.sender;
}
function updateCollector(address address_) external onlyOwner {
voucherCollector = address_;
}
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
function claimHighToken() external onlyOwner {
_pause();
uint256 balance = high.balanceOf(address(this));
high.transfer(msg.sender, balance);
}
function claimvHighToken() external onlyOwner {
uint256 balance = vHigh.balanceOf(address(this));
vHigh.transfer(msg.sender, balance);
}
function swapToken(uint256 amount_) external nonReentrant whenNotPaused {
require(amount_ > 0, 'Invalid amount');
require(vHigh.balanceOf(msg.sender) >= amount_, 'vHigh not enough');
require(high.balanceOf(address(this)) >= amount_, 'liquidity not enough');
vHigh.transferFrom(msg.sender, address(this), amount_);
high.transfer(msg.sender, amount_);
exhangeValue = exhangeValue.add(amount_);
emit swap(msg.sender, amount_);
}
function swapVoucher(uint256 tokenId) external nonReentrant whenNotPaused {
require(tokenId > 0, 'Invalid amount');
require(high.balanceOf(address(this)) >= voucher.unitsInToken(tokenId), 'liquidity not enough');
voucher.transferFrom(msg.sender, voucherCollector, tokenId);
uint256 value = voucher.unitsInToken(tokenId);
if(value > 0) {
high.transfer(msg.sender, value);
exhangeValue = exhangeValue.add(value);
}
emit swap(msg.sender, tokenId, value);
}
function swapAllVoucher(uint256[] calldata tokenIds_) external nonReentrant whenNotPaused {
require(tokenIds_.length > 0, "empty tokenIds");
uint256 balance = high.balanceOf(address(this));
uint256 value;
for (uint256 i = 0; i < tokenIds_.length; i++) {
uint256 temp = voucher.unitsInToken(tokenIds_[i]);
if(balance >= value.add(temp)) {
voucher.transferFrom(msg.sender, voucherCollector, tokenIds_[i]);
value = value.add(temp);
}
}
if(value > 0) {
high.transfer(msg.sender, value);
exhangeValue = exhangeValue.add(value);
}
emit swapAll(msg.sender, tokenIds_, value);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
interface IVNFT {
function unitsInToken(uint256 tokenId) external view returns (uint256 units);
function approve(address to, uint256 tokenId, uint256 units) external;
function setApprovalForAll(address operator, bool _approved) external;
function allowance(uint256 tokenId, address spender) external view returns (uint256 allowed);
function split(uint256 tokenId, uint256[] calldata units) external returns (uint256[] memory newTokenIds);
function merge(uint256[] calldata tokenIds, uint256 targetTokenId) external;
function transferFrom(address from, address to, uint256 tokenId ) external;
function transferFrom(address from, address to, uint256 tokenId,
uint256 units) external returns (uint256 newTokenId);
function safeTransferFrom(address from, address to, uint256 tokenId,
uint256 units, bytes calldata data) external returns (uint256 newTokenId);
function transferFrom(address from, address to, uint256 tokenId, uint256 targetTokenId,
uint256 units) external;
function safeTransferFrom(address from, address to, uint256 tokenId, uint256 targetTokenId,
uint256 units, bytes calldata data) external;
function balanceOf(address owner) external view returns (uint256 balance);
function ownerOf(uint256 tokenId) external view returns (address owner);
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 2000
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"vHigh_","type":"address"},{"internalType":"address","name":"high_","type":"address"},{"internalType":"address","name":"voucher_","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"swapAll","type":"event"},{"inputs":[],"name":"claimHighToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimvHighToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exhangeValue","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"swapAllVoucher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"swapToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"swapVoucher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"updateCollector","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200189e3803806200189e83398101604081905262000034916200010d565b6200003f33620000a0565b6000805460ff60a01b1916905560018055600280546001600160a01b039485166001600160a01b0319918216179091556003805493851693821693909317909255600480549190931690821617909155600680549091163317905562000156565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200010857600080fd5b919050565b60008060006060848603121562000122578283fd5b6200012d84620000f0565b92506200013d60208501620000f0565b91506200014d60408501620000f0565b90509250925092565b61173880620001666000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80638da5cb5b1161008c578063c5c26e4211610066578063c5c26e4214610186578063eadd9ca714610199578063f2fde38b146101a1578063f328f1bd146101b4576100df565b80638da5cb5b146101505780639157a2451461016b578063c316c98b14610173576100df565b80635c975abb116100bd5780635c975abb1461011d578063715018a6146101405780638456cb5914610148576100df565b80633f4ba83a146100e45780634bbf3a7a146100ee5780634ecb753014610101575b600080fd5b6100ec6101c7565b005b6100ec6100fc366004611628565b610230565b61010a60055481565b6040519081526020015b60405180910390f35b610130600054600160a01b900460ff1690565b6040519015158152602001610114565b6100ec61063f565b6100ec6106a3565b6000546040516001600160a01b039091168152602001610114565b6100ec610705565b6100ec610181366004611571565b610865565b6100ec610194366004611598565b6108f9565b6100ec610d21565b6100ec6101af366004611571565b610e37565b6100ec6101c2366004611628565b610f19565b6000546001600160a01b031633146102265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61022e611379565b565b600260015414156102835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b600260015561029b600054600160a01b900460ff1690565b156102e85760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600081116103385760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161021d565b6002546040516370a0823160e01b815233600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561037b57600080fd5b505afa15801561038f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b39190611640565b10156104015760405162461bcd60e51b815260206004820152601060248201527f7648696768206e6f7420656e6f75676800000000000000000000000000000000604482015260640161021d565b6003546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561044457600080fd5b505afa158015610458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047c9190611640565b10156104ca5760405162461bcd60e51b815260206004820152601460248201527f6c6971756964697479206e6f7420656e6f756768000000000000000000000000604482015260640161021d565b6002546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561053557600080fd5b505af1158015610549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056d9190611608565b5060035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156105ba57600080fd5b505af11580156105ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f29190611608565b506005546106009082611440565b60055560405181815233907fd004f0f70a7b16b64544db702b3f5d807973701473caf1e8c3edfe513ad8eedb9060200160405180910390a25060018055565b6000546001600160a01b031633146106995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b61022e6000611453565b6000546001600160a01b031633146106fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b61022e6114bb565b6000546001600160a01b0316331461075f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156107a357600080fd5b505afa1580156107b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107db9190611640565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044015b602060405180830381600087803b15801561082957600080fd5b505af115801561083d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108619190611608565b5050565b6000546001600160a01b031633146108bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6002600154141561094c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b6002600155610964600054600160a01b900460ff1690565b156109b15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b806109fe5760405162461bcd60e51b815260206004820152600e60248201527f656d70747920746f6b656e496473000000000000000000000000000000000000604482015260640161021d565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610a4257600080fd5b505afa158015610a56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7a9190611640565b90506000805b83811015610c2e576004546000906001600160a01b031663becef607878785818110610abc57634e487b7160e01b600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610ae191815260200190565b60206040518083038186803b158015610af957600080fd5b505afa158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b319190611640565b9050610b3d8382611440565b8410610c1b576004546006546001600160a01b03918216916323b872dd91339116898987818110610b7e57634e487b7160e01b600052603260045260246000fd5b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610bed57600080fd5b505af1158015610c01573d6000803e3d6000fd5b50505050610c18818461144090919063ffffffff16565b92505b5080610c26816116b3565b915050610a80565b508015610ccb5760035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610c8157600080fd5b505af1158015610c95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb99190611608565b50600554610cc79082611440565b6005555b8383604051610cdb929190611658565b6040519081900381208282529033907fe5448875115b4742f3b61ceeed21695f3fec0c9739dde26b19304d7033628c1e9060200160405180910390a35050600180555050565b6000546001600160a01b03163314610d7b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b610d836114bb565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610dc757600080fd5b505afa158015610ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dff9190611640565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb9060440161080f565b6000546001600160a01b03163314610e915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b6001600160a01b038116610f0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161021d565b610f1681611453565b50565b60026001541415610f6c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b6002600155610f84600054600160a01b900460ff1690565b15610fd15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600081116110215760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161021d565b600480546040517fbecef6070000000000000000000000000000000000000000000000000000000081529182018390526001600160a01b03169063becef6079060240160206040518083038186803b15801561107c57600080fd5b505afa158015611090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b49190611640565b6003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156110f757600080fd5b505afa15801561110b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112f9190611640565b101561117d5760405162461bcd60e51b815260206004820152601460248201527f6c6971756964697479206e6f7420656e6f756768000000000000000000000000604482015260640161021d565b600480546006546040517f23b872dd00000000000000000000000000000000000000000000000000000000815233938101939093526001600160a01b0390811660248401526044830184905216906323b872dd90606401600060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b5050600480546040517fbecef607000000000000000000000000000000000000000000000000000000008152918201859052600093506001600160a01b0316915063becef6079060240160206040518083038186803b15801561126457600080fd5b505afa158015611278573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129c9190611640565b9050801561133a5760035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156112f057600080fd5b505af1158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190611608565b506005546113369082611440565b6005555b604051818152829033907f9f1d0f597ef9b6d0d9783f0c58a94d234c699cd1ea5f59c7632510516a4766d79060200160405180910390a3505060018055565b61138c600054600160a01b900460ff1690565b6113d85760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161021d565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061144c828461169b565b9392505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6114ce600054600160a01b900460ff1690565b1561151b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114233390565b600060208284031215611582578081fd5b81356001600160a01b038116811461144c578182fd5b600080602083850312156115aa578081fd5b823567ffffffffffffffff808211156115c1578283fd5b818501915085601f8301126115d4578283fd5b8135818111156115e2578384fd5b8660208260051b85010111156115f6578384fd5b60209290920196919550909350505050565b600060208284031215611619578081fd5b8151801515811461144c578182fd5b600060208284031215611639578081fd5b5035919050565b600060208284031215611651578081fd5b5051919050565b60007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115611686578081fd5b8260051b808584379190910190815292915050565b600082198211156116ae576116ae6116ec565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116e5576116e56116ec565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212205f0f23181ffe7f335c6dd7e602b232b76a244c8bc67f0ec5eca93fa091133ff764736f6c6343000803003300000000000000000000000090707ba68fbe8d5d2f917c83502fcbf5b2585c2800000000000000000000000071ab77b7dbb4fa7e017bc15090b2163221420282000000000000000000000000ceff847de8289a5d0d28d91c3ceb7fa2e17eb27a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100df5760003560e01c80638da5cb5b1161008c578063c5c26e4211610066578063c5c26e4214610186578063eadd9ca714610199578063f2fde38b146101a1578063f328f1bd146101b4576100df565b80638da5cb5b146101505780639157a2451461016b578063c316c98b14610173576100df565b80635c975abb116100bd5780635c975abb1461011d578063715018a6146101405780638456cb5914610148576100df565b80633f4ba83a146100e45780634bbf3a7a146100ee5780634ecb753014610101575b600080fd5b6100ec6101c7565b005b6100ec6100fc366004611628565b610230565b61010a60055481565b6040519081526020015b60405180910390f35b610130600054600160a01b900460ff1690565b6040519015158152602001610114565b6100ec61063f565b6100ec6106a3565b6000546040516001600160a01b039091168152602001610114565b6100ec610705565b6100ec610181366004611571565b610865565b6100ec610194366004611598565b6108f9565b6100ec610d21565b6100ec6101af366004611571565b610e37565b6100ec6101c2366004611628565b610f19565b6000546001600160a01b031633146102265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61022e611379565b565b600260015414156102835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b600260015561029b600054600160a01b900460ff1690565b156102e85760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600081116103385760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161021d565b6002546040516370a0823160e01b815233600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561037b57600080fd5b505afa15801561038f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b39190611640565b10156104015760405162461bcd60e51b815260206004820152601060248201527f7648696768206e6f7420656e6f75676800000000000000000000000000000000604482015260640161021d565b6003546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561044457600080fd5b505afa158015610458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047c9190611640565b10156104ca5760405162461bcd60e51b815260206004820152601460248201527f6c6971756964697479206e6f7420656e6f756768000000000000000000000000604482015260640161021d565b6002546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561053557600080fd5b505af1158015610549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056d9190611608565b5060035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156105ba57600080fd5b505af11580156105ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f29190611608565b506005546106009082611440565b60055560405181815233907fd004f0f70a7b16b64544db702b3f5d807973701473caf1e8c3edfe513ad8eedb9060200160405180910390a25060018055565b6000546001600160a01b031633146106995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b61022e6000611453565b6000546001600160a01b031633146106fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b61022e6114bb565b6000546001600160a01b0316331461075f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156107a357600080fd5b505afa1580156107b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107db9190611640565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044015b602060405180830381600087803b15801561082957600080fd5b505af115801561083d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108619190611608565b5050565b6000546001600160a01b031633146108bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6002600154141561094c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b6002600155610964600054600160a01b900460ff1690565b156109b15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b806109fe5760405162461bcd60e51b815260206004820152600e60248201527f656d70747920746f6b656e496473000000000000000000000000000000000000604482015260640161021d565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610a4257600080fd5b505afa158015610a56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7a9190611640565b90506000805b83811015610c2e576004546000906001600160a01b031663becef607878785818110610abc57634e487b7160e01b600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610ae191815260200190565b60206040518083038186803b158015610af957600080fd5b505afa158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b319190611640565b9050610b3d8382611440565b8410610c1b576004546006546001600160a01b03918216916323b872dd91339116898987818110610b7e57634e487b7160e01b600052603260045260246000fd5b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610bed57600080fd5b505af1158015610c01573d6000803e3d6000fd5b50505050610c18818461144090919063ffffffff16565b92505b5080610c26816116b3565b915050610a80565b508015610ccb5760035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610c8157600080fd5b505af1158015610c95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb99190611608565b50600554610cc79082611440565b6005555b8383604051610cdb929190611658565b6040519081900381208282529033907fe5448875115b4742f3b61ceeed21695f3fec0c9739dde26b19304d7033628c1e9060200160405180910390a35050600180555050565b6000546001600160a01b03163314610d7b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b610d836114bb565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610dc757600080fd5b505afa158015610ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dff9190611640565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb9060440161080f565b6000546001600160a01b03163314610e915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021d565b6001600160a01b038116610f0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161021d565b610f1681611453565b50565b60026001541415610f6c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021d565b6002600155610f84600054600160a01b900460ff1690565b15610fd15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600081116110215760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161021d565b600480546040517fbecef6070000000000000000000000000000000000000000000000000000000081529182018390526001600160a01b03169063becef6079060240160206040518083038186803b15801561107c57600080fd5b505afa158015611090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b49190611640565b6003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156110f757600080fd5b505afa15801561110b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112f9190611640565b101561117d5760405162461bcd60e51b815260206004820152601460248201527f6c6971756964697479206e6f7420656e6f756768000000000000000000000000604482015260640161021d565b600480546006546040517f23b872dd00000000000000000000000000000000000000000000000000000000815233938101939093526001600160a01b0390811660248401526044830184905216906323b872dd90606401600060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b5050600480546040517fbecef607000000000000000000000000000000000000000000000000000000008152918201859052600093506001600160a01b0316915063becef6079060240160206040518083038186803b15801561126457600080fd5b505afa158015611278573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129c9190611640565b9050801561133a5760035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156112f057600080fd5b505af1158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190611608565b506005546113369082611440565b6005555b604051818152829033907f9f1d0f597ef9b6d0d9783f0c58a94d234c699cd1ea5f59c7632510516a4766d79060200160405180910390a3505060018055565b61138c600054600160a01b900460ff1690565b6113d85760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161021d565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061144c828461169b565b9392505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6114ce600054600160a01b900460ff1690565b1561151b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161021d565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114233390565b600060208284031215611582578081fd5b81356001600160a01b038116811461144c578182fd5b600080602083850312156115aa578081fd5b823567ffffffffffffffff808211156115c1578283fd5b818501915085601f8301126115d4578283fd5b8135818111156115e2578384fd5b8660208260051b85010111156115f6578384fd5b60209290920196919550909350505050565b600060208284031215611619578081fd5b8151801515811461144c578182fd5b600060208284031215611639578081fd5b5035919050565b600060208284031215611651578081fd5b5051919050565b60007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115611686578081fd5b8260051b808584379190910190815292915050565b600082198211156116ae576116ae6116ec565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116e5576116e56116ec565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212205f0f23181ffe7f335c6dd7e602b232b76a244c8bc67f0ec5eca93fa091133ff764736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000090707ba68fbe8d5d2f917c83502fcbf5b2585c2800000000000000000000000071ab77b7dbb4fa7e017bc15090b2163221420282000000000000000000000000ceff847de8289a5d0d28d91c3ceb7fa2e17eb27a
-----Decoded View---------------
Arg [0] : vHigh_ (address): 0x90707ba68FBE8d5d2f917C83502fcBF5b2585C28
Arg [1] : high_ (address): 0x71Ab77b7dbB4fa7e017BC15090b2163221420282
Arg [2] : voucher_ (address): 0xcEfF847de8289a5D0d28D91c3CeB7Fa2e17EB27a
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000090707ba68fbe8d5d2f917c83502fcbf5b2585c28
Arg [1] : 00000000000000000000000071ab77b7dbb4fa7e017bc15090b2163221420282
Arg [2] : 000000000000000000000000ceff847de8289a5d0d28d91c3ceb7fa2e17eb27a
Loading...
Loading
Loading...
Loading
Net Worth in USD
$1,102.86
Net Worth in ETH
0.512939
Token Allocations
HIGH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.133831 | 8,240.7 | $1,102.86 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.