Source Code
Latest 25 from a total of 90 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 17113795 | 1040 days ago | IN | 0 ETH | 0.00121826 | ||||
| Mint Yang Public | 17113639 | 1040 days ago | IN | 0.059 ETH | 0.00074763 | ||||
| Mint Yang Public | 17113479 | 1040 days ago | IN | 0.059 ETH | 0.00416524 | ||||
| Mint Yang Public | 17113465 | 1040 days ago | IN | 0.059 ETH | 0.00391086 | ||||
| Mint Yang Public | 17109918 | 1041 days ago | IN | 0.059 ETH | 0.00640157 | ||||
| Mint Yang Public | 17109568 | 1041 days ago | IN | 0.059 ETH | 0.00448206 | ||||
| Mint Yang Public | 17109261 | 1041 days ago | IN | 0.059 ETH | 0.00384083 | ||||
| Mint Yang Public | 17109219 | 1041 days ago | IN | 0.059 ETH | 0.00365707 | ||||
| Mint Yang Public | 17109061 | 1041 days ago | IN | 0.059 ETH | 0.00355409 | ||||
| Mint Yin Public | 17108955 | 1041 days ago | IN | 0.1 ETH | 0.00386453 | ||||
| Mint Yin Public | 17108839 | 1041 days ago | IN | 0.1 ETH | 0.00370503 | ||||
| Mint Yin Public | 17108834 | 1041 days ago | IN | 0.1 ETH | 0.00328223 | ||||
| Mint Yin Public | 17108832 | 1041 days ago | IN | 0.1 ETH | 0.00306809 | ||||
| Mint Yin Public | 17108830 | 1041 days ago | IN | 0.1 ETH | 0.00397252 | ||||
| Mint Yin Public | 17108766 | 1041 days ago | IN | 0.1 ETH | 0.00403032 | ||||
| Mint Yang Public | 17107797 | 1041 days ago | IN | 0.059 ETH | 0.00355557 | ||||
| Mint Yin Public | 17107794 | 1041 days ago | IN | 0.1 ETH | 0.00396142 | ||||
| Mint Yin Public | 17107766 | 1041 days ago | IN | 0.1 ETH | 0.00361528 | ||||
| Mint Yang Public | 17107610 | 1041 days ago | IN | 0.059 ETH | 0.00405683 | ||||
| Mint Yin Public | 17107605 | 1041 days ago | IN | 0.1 ETH | 0.00345378 | ||||
| Mint Yang Public | 17107352 | 1041 days ago | IN | 0.059 ETH | 0.00367953 | ||||
| Mint Yang Public | 17106985 | 1041 days ago | IN | 0.059 ETH | 0.00304858 | ||||
| Mint Yang Public | 17106931 | 1041 days ago | IN | 0.059 ETH | 0.00365038 | ||||
| Mint Yang Public | 17106615 | 1041 days ago | IN | 0.059 ETH | 0.00326352 | ||||
| Mint Yin Public | 17106607 | 1041 days ago | IN | 0.1 ETH | 0.00330553 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 17113795 | 1040 days ago | 7.301 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ReviverArtEditionSale
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 300 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
abstract contract R {
function mintBaseExisting(
address[] calldata to,
uint256[] calldata tokenIds,
uint256[] calldata amounts
) public virtual;
}
contract ReviverArtEditionSale is Ownable, ReentrancyGuard {
uint256 private constant YinTokenID = 22;
uint256 private constant YangTokenID = 23;
uint256 public constant YinPrice = 0.1 ether;
uint256 public constant YangPrice = 0.059 ether;
// used to validate whitelists
bytes32 public YinALMerkleRoot =
0x86ffae06c9c661982f28a22b417606399028ba3efd3d320dfd0a8f3f324dc0ba;
bytes32 public YangALMerkleRoot =
0x5e1a040fa987920190f6ddb09707fd61e371771bbab6a9fdfc6af80aac08bca1;
bytes32 public YinWLMerkleRoot =
0xfa8ecfb78e37ffc82736fd0a3a38f902fdbfa92287ee61578868b77c7c506b05;
bytes32 public YangWLMerkleRoot =
0x0572bb8d92f70a0147c1c89381cbe90ae720a49d674576655ec6d97e1700787b;
// set times
uint64 public immutable ALStartTime = 1682092800; // 2023-04-22 00:00:00 GMT+8
uint64 public immutable ALEndTime = 1682179200; // 2023-04-23 00:00:00 GMT+8
uint64 public immutable WLStartTime = 1682179200; // 2023-04-23 00:00:00 GMT+8
uint64 public immutable WLEndTime = 1682222400; // 2023-04-23 12:00:00 GMT+8
uint64 public immutable PublicStartTime = 1682222400; // 2023-04-23 12:00:00 GMT+8
uint64 public immutable PublicEndTime = 1682308800; // 2023-04-24 12:00:00 GMT+8
mapping(address => uint256) public YinALMinted;
mapping(address => uint256) public YangALMinted;
mapping(address => uint256) public YinWLMinted;
mapping(address => uint256) public YangWLMinted;
uint256 public YinEditionMinted;
uint256 public YangEditionMinted;
uint256 public YinMaxMintAmount = 50;
uint256 public YangMaxMintAmount = 69;
address RTokenAddress = address(0x890dc5Dd5fc40c056c8D4152eDB146a1c76d1C29);
R tokenAttribution = R(RTokenAddress);
address withdrawAddress =
address(0x96ea39997ffCE1dF2f3f157F56Cc7d7763c7E40f);
address public cSigner =
address(0x3a5e8a465a7F87531C13A4fcfa963B4A878B2E24);
constructor() {}
modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
require(
MerkleProof.verify(
merkleProof,
root,
keccak256(abi.encodePacked(msg.sender))
),
"Your address is not on the list"
);
_;
}
modifier isCorrectPayment(uint256 _price, uint256 _numberOfTokens) {
require(
_price * _numberOfTokens == msg.value,
"Incorrect ETH value sent"
);
_;
}
modifier checkALTime() {
require(
block.timestamp >= uint256(ALStartTime) &&
block.timestamp <= uint256(ALEndTime),
"It's not a allowlist period now"
);
_;
}
modifier checkWLTime() {
require(
block.timestamp >= uint256(WLStartTime) &&
block.timestamp <= uint256(WLEndTime),
"It's not a waitlist period now"
);
_;
}
modifier checkPublicTime() {
require(
block.timestamp >= uint256(PublicStartTime) &&
block.timestamp <= uint256(PublicEndTime),
"It's not a public period now"
);
_;
}
modifier checkSignedMsg(
bytes32 r,
bytes32 s,
uint8 v,
address _receiver,
uint256 _maxAmount
) {
bytes32 digest = keccak256(
abi.encodePacked(
"\x19Ethereum Signed Message:\n32",
keccak256(abi.encode(_receiver)),
keccak256(abi.encode(_maxAmount))
)
);
require(ecrecover(digest, v, r, s) == cSigner, "Invalid signer");
_;
}
//
// AL
//
function mintYinEditionAL(
bytes32[] calldata merkleProof,
bytes32 r,
bytes32 s,
uint8 v,
uint256 amount,
uint256 maxAmount
)
public
payable
isValidMerkleProof(merkleProof, YinALMerkleRoot)
checkSignedMsg(r, s, v, msg.sender, maxAmount)
isCorrectPayment(YinPrice, amount)
checkALTime
nonReentrant
{
require(
YinALMinted[msg.sender] + amount <= maxAmount &&
YinEditionMinted + amount <= YinMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YinTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YinALMinted[msg.sender] += amount;
YinEditionMinted += amount;
}
function mintYangEditionAL(
bytes32[] calldata merkleProof,
bytes32 r,
bytes32 s,
uint8 v,
uint256 amount,
uint256 maxAmount
)
public
payable
isValidMerkleProof(merkleProof, YangALMerkleRoot)
checkSignedMsg(r, s, v, msg.sender, maxAmount)
isCorrectPayment(YangPrice, amount)
checkALTime
nonReentrant
{
require(
YangALMinted[msg.sender] + amount <= maxAmount &&
YangEditionMinted + amount <= YangMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YangTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YangALMinted[msg.sender] += amount;
YangEditionMinted += amount;
}
//
// WL
//
function mintYinEditionWL(
bytes32[] calldata merkleProof,
bytes32 r,
bytes32 s,
uint8 v,
uint256 amount,
uint256 maxAmount
)
public
payable
isValidMerkleProof(merkleProof, YinWLMerkleRoot)
checkSignedMsg(r, s, v, msg.sender, maxAmount)
isCorrectPayment(YinPrice, amount)
checkWLTime
nonReentrant
{
require(
YinWLMinted[msg.sender] + amount <= maxAmount &&
YinEditionMinted + amount <= YinMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YinTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YinWLMinted[msg.sender] += amount;
YinEditionMinted += amount;
}
function mintYangEditionWL(
bytes32[] calldata merkleProof,
bytes32 r,
bytes32 s,
uint8 v,
uint256 amount,
uint256 maxAmount
)
public
payable
isValidMerkleProof(merkleProof, YangWLMerkleRoot)
checkSignedMsg(r, s, v, msg.sender, maxAmount)
isCorrectPayment(YangPrice, amount)
checkWLTime
nonReentrant
{
require(
YangWLMinted[msg.sender] + amount <= maxAmount &&
YangEditionMinted + amount <= YangMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YangTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YangWLMinted[msg.sender] += amount;
YangEditionMinted += amount;
}
//
// Public
//
function mintYinPublic(
uint256 amount
)
public
payable
isCorrectPayment(YinPrice, amount)
checkPublicTime
nonReentrant
{
require(
YinEditionMinted + amount <= YinMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YinTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YinEditionMinted += amount;
}
function mintYangPublic(
uint256 amount
)
public
payable
isCorrectPayment(YangPrice, amount)
checkPublicTime
nonReentrant
{
require(
YangEditionMinted + amount <= YangMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YangTokenID;
mintAmount[0] = amount;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YangEditionMinted += amount;
}
//
// ADMIN
//
function adminMintYinEdition(uint256 n) public onlyOwner nonReentrant {
require(
block.timestamp > uint256(PublicEndTime),
"The public round has not ended"
);
require(n + YinEditionMinted <= YinMaxMintAmount, "exceed max amount");
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YinTokenID;
mintAmount[0] = n;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YinEditionMinted += n;
}
function adminMintYangEdition(uint256 n) public onlyOwner nonReentrant {
require(
block.timestamp > uint256(PublicEndTime),
"The public round has not ended"
);
require(
n + YangEditionMinted <= YangMaxMintAmount,
"exceed max amount"
);
address[] memory addr = new address[](1);
uint256[] memory tokenID = new uint256[](1);
uint256[] memory mintAmount = new uint256[](1);
addr[0] = msg.sender;
tokenID[0] = YangTokenID;
mintAmount[0] = n;
tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
YangEditionMinted += n;
}
function withdraw() public {
require(msg.sender == withdrawAddress, "not withdrawAddress");
uint256 balance = address(this).balance;
payable(msg.sender).transfer(balance);
}
function withdrawTokens(IERC20 token) public {
require(msg.sender == withdrawAddress, "not withdrawAddress");
uint256 balance = token.balanceOf(address(this));
token.transfer(msg.sender, balance);
}
function setWhitelistMerkleRoot(
uint256 rootType,
bytes32 merkleRoot
) external onlyOwner {
if (rootType == 1) {
YinALMerkleRoot = merkleRoot;
} else if (rootType == 2) {
YangALMerkleRoot = merkleRoot;
} else if (rootType == 3) {
YinWLMerkleRoot = merkleRoot;
} else if (rootType == 4) {
YangWLMerkleRoot = merkleRoot;
} else {
revert("not allow");
}
}
function setRTokenAddress(address newAddress) public onlyOwner {
RTokenAddress = newAddress;
}
function setWithdrawAddress(address newAddress) public onlyOwner {
withdrawAddress = newAddress;
}
function setSigner(address newAddress) public onlyOwner {
cSigner = newAddress;
}
function getMessageHash(
address receiver,
uint256 maxAmount
) public pure returns (bytes32) {
return
keccak256(
abi.encodePacked(
"\x19Ethereum Signed Message:\n32",
keccak256(abi.encode(receiver)),
keccak256(abi.encode(maxAmount))
)
);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
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() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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 {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
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 making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// 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
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` 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 from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
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
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Tree proofs.
*
* The tree and the proofs can be generated using our
* https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
* You will find a quickstart guide in the readme.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
* OpenZeppelin's JavaScript library generates merkle trees that are safe
* against this attack out of the box.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Calldata version of {verify}
*
* _Available since v4.7._
*/
function verifyCalldata(
bytes32[] calldata proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProofCalldata(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Calldata version of {processProof}
*
* _Available since v4.7._
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Calldata version of {multiProofVerify}
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* _Available since v4.7._
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Calldata version of {processMultiProof}.
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator
) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator,
Rounding rounding
) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10**64) {
value /= 10**64;
result += 64;
}
if (value >= 10**32) {
value /= 10**32;
result += 32;
}
if (value >= 10**16) {
value /= 10**16;
result += 16;
}
if (value >= 10**8) {
value /= 10**8;
result += 8;
}
if (value >= 10**4) {
value /= 10**4;
result += 4;
}
if (value >= 10**2) {
value /= 10**2;
result += 2;
}
if (value >= 10**1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}{
"optimizer": {
"enabled": true,
"runs": 300
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"ALEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ALStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangALMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YangALMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangEditionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangWLMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YangWLMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinALMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YinALMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinEditionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinWLMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YinWLMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"adminMintYangEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"adminMintYinEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"getMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYangEditionAL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYangEditionWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintYangPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYinEditionAL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYinEditionWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintYinPublic","outputs":[],"stateMutability":"payable","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":"address","name":"newAddress","type":"address"}],"name":"setRTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rootType","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6101406040527f86ffae06c9c661982f28a22b417606399028ba3efd3d320dfd0a8f3f324dc0ba6002557f5e1a040fa987920190f6ddb09707fd61e371771bbab6a9fdfc6af80aac08bca16003557ffa8ecfb78e37ffc82736fd0a3a38f902fdbfa92287ee61578868b77c7c506b056004557f0572bb8d92f70a0147c1c89381cbe90ae720a49d674576655ec6d97e1700787b600555636442b300608052636444048060a081905260c052636444ad4060e081905261010052636445fec0610120526032600c556045600d55600e80546001600160a01b031990811673890dc5dd5fc40c056c8d4152edb146a1c76d1c29908117909255600f805482169092179091556010805482167396ea39997ffce1df2f3f157f56cc7d7763c7e40f17905560118054909116733a5e8a465a7f87531c13a4fcfa963b4a878b2e2417905534801561014b57600080fd5b506101553361015e565b600180556101ae565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160a05160c05160e0516101005161012051612cd26200026060003960008181610676015281816108800152818161171f01528181611e6b015261254e01526000818161048a0152818161084b01526116ea01526000818161028601528181610f2f015261143101526000818161053601528181610efa01526113fc01526000818161038901528181611c0b01526122ee01526000818161050201528181611bd601526122b90152612cd26000f3fe6080604052600436106102305760003560e01c80638da5cb5b1161012e578063d2cf4684116100ab578063e91e75171161006f578063e91e751714610698578063ea3b9344146106b8578063f2fde38b146106e5578063f3e1c5ae14610705578063f7917b001461071b57600080fd5b8063d2cf4684146105ee578063d5223cc414610601578063dc1e2acd1461062e578063e40fb9ec14610644578063e5aeca481461066457600080fd5b8063b36d06a7116100f2578063b36d06a714610558578063b943e41214610585578063c15b38d61461059b578063c7a6e424146105bb578063c8a97b9a146105ce57600080fd5b80638da5cb5b146104ac57806394400f0f146104ca57806399cc72e0146104dd578063a8ed58d6146104f0578063ad80ccc31461052457600080fd5b8063512c91df116101bc578063715018a611610180578063715018a61461041f57806373641903146104345780637ba4d083146104475780637fde4edc1461045d57806383c396211461047857600080fd5b8063512c91df1461035757806357288e89146103775780635760cc5d146103ab5780635fc9eccf146103e35780636c19e783146103ff57600080fd5b80633ab1a494116102035780633ab1a494146102d75780633ccfd60b146102f9578063499657581461030e57806349df728c14610321578063503c64b61461034157600080fd5b80630b4ad0c51461023557806319d2acc31461025e5780631b10b11c146102745780633993b935146102c1575b600080fd5b34801561024157600080fd5b5061024b60035481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b5061024b600c5481565b34801561028057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b60405167ffffffffffffffff9091168152602001610255565b3480156102cd57600080fd5b5061024b60045481565b3480156102e357600080fd5b506102f76102f2366004612994565b610748565b005b34801561030557600080fd5b506102f7610772565b6102f761031c3660046129b1565b6107fa565b34801561032d57600080fd5b506102f761033c366004612994565b610a9b565b34801561034d57600080fd5b5061024b60055481565b34801561036357600080fd5b5061024b6103723660046129ca565b610bca565b34801561038357600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b757600080fd5b506011546103cb906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b3480156103ef57600080fd5b5061024b67016345785d8a000081565b34801561040b57600080fd5b506102f761041a366004612994565b610c66565b34801561042b57600080fd5b506102f7610c90565b6102f7610442366004612a0c565b610ca4565b34801561045357600080fd5b5061024b60025481565b34801561046957600080fd5b5061024b66d19c2ff9bf800081565b34801561048457600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156104b857600080fd5b506000546001600160a01b03166103cb565b6102f76104d8366004612a0c565b6111bc565b6102f76104eb3660046129b1565b611698565b3480156104fc57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561053057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561056457600080fd5b5061024b610573366004612994565b60096020526000908152604090205481565b34801561059157600080fd5b5061024b600d5481565b3480156105a757600080fd5b506102f76105b6366004612ab5565b611923565b6102f76105c9366004612a0c565b611997565b3480156105da57600080fd5b506102f76105e93660046129b1565b611e59565b6102f76105fc366004612a0c565b612079565b34801561060d57600080fd5b5061024b61061c366004612994565b60086020526000908152604090205481565b34801561063a57600080fd5b5061024b600a5481565b34801561065057600080fd5b506102f761065f3660046129b1565b61253c565b34801561067057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a457600080fd5b506102f76106b3366004612994565b612747565b3480156106c457600080fd5b5061024b6106d3366004612994565b60066020526000908152604090205481565b3480156106f157600080fd5b506102f7610700366004612994565b612771565b34801561071157600080fd5b5061024b600b5481565b34801561072757600080fd5b5061024b610736366004612994565b60076020526000908152604090205481565b6107506127e7565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b031633146107c75760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f193505050501580156107f6573d6000803e3d6000fd5b5050565b66d19c2ff9bf8000813461080e8284612aed565b146108495760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1642101580156108ad57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6108f95760405162461bcd60e51b815260206004820152601c60248201527f49742773206e6f742061207075626c696320706572696f64206e6f770000000060448201526064016107be565b610901612841565b600d5483600b546109129190612b04565b11156109305760405162461bcd60e51b81526004016107be90612b17565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106109ac576109ac612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506017826000815181106109e1576109e1612b42565b6020026020010181815250508581600081518110610a0157610a01612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690610a4090869086908690600401612b93565b600060405180830381600087803b158015610a5a57600080fd5b505af1158015610a6e573d6000803e3d6000fd5b5050505085600b6000828254610a849190612b04565b90915550506001805550610a96915050565b505050565b6010546001600160a01b03163314610aeb5760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064016107be565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b569190612c08565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a969190612c21565b604080516001600160a01b03841660208201526000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610c47929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b6040516020818303038152906040528051906020012090505b92915050565b610c6e6127e7565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610c986127e7565b610ca2600061289a565b565b8686600554610d17838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206128ea565b610d635760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610de2929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610e58573d6000803e3d6000fd5b505050602060405103516001600160a01b031614610ea95760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b66d19c2ff9bf80008b34610ebd8284612aed565b14610ef85760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164210158015610f5c57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b610fa85760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f77000060448201526064016107be565b610fb0612841565b336000908152600960205260409020548c90610fcd908f90612b04565b11158015610fea5750600d548d600b54610fe79190612b04565b11155b6110065760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061108257611082612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506017826000815181106110b7576110b7612b42565b6020026020010181815250508f816000815181106110d7576110d7612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061111690869086908690600401612b93565b600060405180830381600087803b15801561113057600080fd5b505af1158015611144573d6000803e3d6000fd5b505050508f60096000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461117d9190612b04565b925050819055508f600b60008282546111969190612b04565b909155505060018055506111a8915050565b505050505050505050505050505050505050565b8686600454611218838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b6112645760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016112e3929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611359573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146113aa5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b67016345785d8a00008b346113bf8284612aed565b146113fa5760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16421015801561145e57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6114aa5760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f77000060448201526064016107be565b6114b2612841565b336000908152600860205260409020548c906114cf908f90612b04565b111580156114ec5750600c548d600a546114e99190612b04565b11155b6115085760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061158457611584612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506016826000815181106115b9576115b9612b42565b6020026020010181815250508f816000815181106115d9576115d9612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061161890869086908690600401612b93565b600060405180830381600087803b15801561163257600080fd5b505af1158015611646573d6000803e3d6000fd5b505050508f60086000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461167f9190612b04565b925050819055508f600a60008282546111969190612b04565b67016345785d8a000081346116ad8284612aed565b146116e85760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16421015801561174c57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6117985760405162461bcd60e51b815260206004820152601c60248201527f49742773206e6f742061207075626c696320706572696f64206e6f770000000060448201526064016107be565b6117a0612841565b600c5483600a546117b19190612b04565b11156117cf5760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061184b5761184b612b42565b60200260200101906001600160a01b031690816001600160a01b03168152505060168260008151811061188057611880612b42565b60200260200101818152505085816000815181106118a0576118a0612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906118df90869086908690600401612b93565b600060405180830381600087803b1580156118f957600080fd5b505af115801561190d573d6000803e3d6000fd5b5050505085600a6000828254610a849190612b04565b61192b6127e7565b816001036119395760025550565b816002036119475760035550565b816003036119555760045550565b816004036119635760055550565b60405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016107be565b86866003546119f3838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b611a3f5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001611abe929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611b34573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611b855760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b66d19c2ff9bf80008b34611b998284612aed565b14611bd45760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164210158015611c3857507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b611c845760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f770060448201526064016107be565b611c8c612841565b336000908152600760205260409020548c90611ca9908f90612b04565b11158015611cc65750600d548d600b54611cc39190612b04565b11155b611ce25760405162461bcd60e51b81526004016107be90612b17565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611d5e57611d5e612b42565b60200260200101906001600160a01b031690816001600160a01b031681525050601782600081518110611d9357611d93612b42565b6020026020010181815250508f81600081518110611db357611db3612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611df290869086908690600401612b93565b600060405180830381600087803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b505050508f60076000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461117d9190612b04565b611e616127e7565b611e69612841565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211611ee25760405162461bcd60e51b815260206004820152601e60248201527f546865207075626c696320726f756e6420686173206e6f7420656e646564000060448201526064016107be565b600d54600b54611ef29083612b04565b1115611f105760405162461bcd60e51b81526004016107be90612b17565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611f8c57611f8c612b42565b60200260200101906001600160a01b031690816001600160a01b031681525050601782600081518110611fc157611fc1612b42565b6020026020010181815250508381600081518110611fe157611fe1612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061202090869086908690600401612b93565b600060405180830381600087803b15801561203a57600080fd5b505af115801561204e573d6000803e3d6000fd5b5050505083600b60008282546120649190612b04565b90915550506001805550612076915050565b50565b86866002546120d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b6121215760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016121a0929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015612216573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146122675760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b67016345785d8a00008b3461227c8284612aed565b146122b75760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16421015801561231b57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6123675760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f770060448201526064016107be565b61236f612841565b336000908152600660205260409020548c9061238c908f90612b04565b111580156123a95750600c548d600a546123a69190612b04565b11155b6123c55760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061244157612441612b42565b60200260200101906001600160a01b031690816001600160a01b03168152505060168260008151811061247657612476612b42565b6020026020010181815250508f8160008151811061249657612496612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906124d590869086908690600401612b93565b600060405180830381600087803b1580156124ef57600080fd5b505af1158015612503573d6000803e3d6000fd5b505050508f60066000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461167f9190612b04565b6125446127e7565b61254c612841565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1642116125c55760405162461bcd60e51b815260206004820152601e60248201527f546865207075626c696320726f756e6420686173206e6f7420656e646564000060448201526064016107be565b600c54600a546125d59083612b04565b11156125f35760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061266f5761266f612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506016826000815181106126a4576126a4612b42565b60200260200101818152505083816000815181106126c4576126c4612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061270390869086908690600401612b93565b600060405180830381600087803b15801561271d57600080fd5b505af1158015612731573d6000803e3d6000fd5b5050505083600a60008282546120649190612b04565b61274f6127e7565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6127796127e7565b6001600160a01b0381166127de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107be565b6120768161289a565b6000546001600160a01b03163314610ca25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107be565b6002600154036128935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107be565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826128f78584612900565b14949350505050565b600081815b8451811015612945576129318286838151811061292457612924612b42565b602002602001015161294d565b91508061293d81612c43565b915050612905565b509392505050565b6000818310612969576000828152602084905260409020612978565b60008381526020839052604090205b9392505050565b6001600160a01b038116811461207657600080fd5b6000602082840312156129a657600080fd5b81356129788161297f565b6000602082840312156129c357600080fd5b5035919050565b600080604083850312156129dd57600080fd5b82356129e88161297f565b946020939093013593505050565b803560ff81168114612a0757600080fd5b919050565b600080600080600080600060c0888a031215612a2757600080fd5b873567ffffffffffffffff80821115612a3f57600080fd5b818a0191508a601f830112612a5357600080fd5b813581811115612a6257600080fd5b8b60208260051b8501011115612a7757600080fd5b60209283019950975050880135945060408801359350612a99606089016129f6565b92506080880135915060a0880135905092959891949750929550565b60008060408385031215612ac857600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c6057610c60612ad7565b80820180821115610c6057610c60612ad7565b602080825260119082015270195e18d95959081b585e08185b5bdd5b9d607a1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612b8857815187529582019590820190600101612b6c565b509495945050505050565b606080825284519082018190526000906020906080840190828801845b82811015612bd55781516001600160a01b031684529284019290840190600101612bb0565b50505083810382850152612be98187612b58565b9150508281036040840152612bfe8185612b58565b9695505050505050565b600060208284031215612c1a57600080fd5b5051919050565b600060208284031215612c3357600080fd5b8151801515811461297857600080fd5b600060018201612c5557612c55612ad7565b506001019056fe496e636f7272656374204554482076616c75652073656e74000000000000000019457468657265756d205369676e6564204d6573736167653a0a333200000000a26469706673582212204a81bc4d65e7b52554cbc61a6aa7965aa9974af5b5962a5b7fe2aeed721233c664736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102305760003560e01c80638da5cb5b1161012e578063d2cf4684116100ab578063e91e75171161006f578063e91e751714610698578063ea3b9344146106b8578063f2fde38b146106e5578063f3e1c5ae14610705578063f7917b001461071b57600080fd5b8063d2cf4684146105ee578063d5223cc414610601578063dc1e2acd1461062e578063e40fb9ec14610644578063e5aeca481461066457600080fd5b8063b36d06a7116100f2578063b36d06a714610558578063b943e41214610585578063c15b38d61461059b578063c7a6e424146105bb578063c8a97b9a146105ce57600080fd5b80638da5cb5b146104ac57806394400f0f146104ca57806399cc72e0146104dd578063a8ed58d6146104f0578063ad80ccc31461052457600080fd5b8063512c91df116101bc578063715018a611610180578063715018a61461041f57806373641903146104345780637ba4d083146104475780637fde4edc1461045d57806383c396211461047857600080fd5b8063512c91df1461035757806357288e89146103775780635760cc5d146103ab5780635fc9eccf146103e35780636c19e783146103ff57600080fd5b80633ab1a494116102035780633ab1a494146102d75780633ccfd60b146102f9578063499657581461030e57806349df728c14610321578063503c64b61461034157600080fd5b80630b4ad0c51461023557806319d2acc31461025e5780631b10b11c146102745780633993b935146102c1575b600080fd5b34801561024157600080fd5b5061024b60035481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b5061024b600c5481565b34801561028057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006444ad4081565b60405167ffffffffffffffff9091168152602001610255565b3480156102cd57600080fd5b5061024b60045481565b3480156102e357600080fd5b506102f76102f2366004612994565b610748565b005b34801561030557600080fd5b506102f7610772565b6102f761031c3660046129b1565b6107fa565b34801561032d57600080fd5b506102f761033c366004612994565b610a9b565b34801561034d57600080fd5b5061024b60055481565b34801561036357600080fd5b5061024b6103723660046129ca565b610bca565b34801561038357600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006444048081565b3480156103b757600080fd5b506011546103cb906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b3480156103ef57600080fd5b5061024b67016345785d8a000081565b34801561040b57600080fd5b506102f761041a366004612994565b610c66565b34801561042b57600080fd5b506102f7610c90565b6102f7610442366004612a0c565b610ca4565b34801561045357600080fd5b5061024b60025481565b34801561046957600080fd5b5061024b66d19c2ff9bf800081565b34801561048457600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006444ad4081565b3480156104b857600080fd5b506000546001600160a01b03166103cb565b6102f76104d8366004612a0c565b6111bc565b6102f76104eb3660046129b1565b611698565b3480156104fc57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006442b30081565b34801561053057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006444048081565b34801561056457600080fd5b5061024b610573366004612994565b60096020526000908152604090205481565b34801561059157600080fd5b5061024b600d5481565b3480156105a757600080fd5b506102f76105b6366004612ab5565b611923565b6102f76105c9366004612a0c565b611997565b3480156105da57600080fd5b506102f76105e93660046129b1565b611e59565b6102f76105fc366004612a0c565b612079565b34801561060d57600080fd5b5061024b61061c366004612994565b60086020526000908152604090205481565b34801561063a57600080fd5b5061024b600a5481565b34801561065057600080fd5b506102f761065f3660046129b1565b61253c565b34801561067057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000006445fec081565b3480156106a457600080fd5b506102f76106b3366004612994565b612747565b3480156106c457600080fd5b5061024b6106d3366004612994565b60066020526000908152604090205481565b3480156106f157600080fd5b506102f7610700366004612994565b612771565b34801561071157600080fd5b5061024b600b5481565b34801561072757600080fd5b5061024b610736366004612994565b60076020526000908152604090205481565b6107506127e7565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b031633146107c75760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f193505050501580156107f6573d6000803e3d6000fd5b5050565b66d19c2ff9bf8000813461080e8284612aed565b146108495760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006444ad4067ffffffffffffffff1642101580156108ad57507f000000000000000000000000000000000000000000000000000000006445fec067ffffffffffffffff164211155b6108f95760405162461bcd60e51b815260206004820152601c60248201527f49742773206e6f742061207075626c696320706572696f64206e6f770000000060448201526064016107be565b610901612841565b600d5483600b546109129190612b04565b11156109305760405162461bcd60e51b81526004016107be90612b17565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106109ac576109ac612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506017826000815181106109e1576109e1612b42565b6020026020010181815250508581600081518110610a0157610a01612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690610a4090869086908690600401612b93565b600060405180830381600087803b158015610a5a57600080fd5b505af1158015610a6e573d6000803e3d6000fd5b5050505085600b6000828254610a849190612b04565b90915550506001805550610a96915050565b505050565b6010546001600160a01b03163314610aeb5760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064016107be565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b569190612c08565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a969190612c21565b604080516001600160a01b03841660208201526000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610c47929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b6040516020818303038152906040528051906020012090505b92915050565b610c6e6127e7565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610c986127e7565b610ca2600061289a565b565b8686600554610d17838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206128ea565b610d635760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610de2929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610e58573d6000803e3d6000fd5b505050602060405103516001600160a01b031614610ea95760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b66d19c2ff9bf80008b34610ebd8284612aed565b14610ef85760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006444048067ffffffffffffffff164210158015610f5c57507f000000000000000000000000000000000000000000000000000000006444ad4067ffffffffffffffff164211155b610fa85760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f77000060448201526064016107be565b610fb0612841565b336000908152600960205260409020548c90610fcd908f90612b04565b11158015610fea5750600d548d600b54610fe79190612b04565b11155b6110065760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061108257611082612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506017826000815181106110b7576110b7612b42565b6020026020010181815250508f816000815181106110d7576110d7612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061111690869086908690600401612b93565b600060405180830381600087803b15801561113057600080fd5b505af1158015611144573d6000803e3d6000fd5b505050508f60096000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461117d9190612b04565b925050819055508f600b60008282546111969190612b04565b909155505060018055506111a8915050565b505050505050505050505050505050505050565b8686600454611218838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b6112645760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016112e3929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611359573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146113aa5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b67016345785d8a00008b346113bf8284612aed565b146113fa5760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006444048067ffffffffffffffff16421015801561145e57507f000000000000000000000000000000000000000000000000000000006444ad4067ffffffffffffffff164211155b6114aa5760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f77000060448201526064016107be565b6114b2612841565b336000908152600860205260409020548c906114cf908f90612b04565b111580156114ec5750600c548d600a546114e99190612b04565b11155b6115085760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061158457611584612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506016826000815181106115b9576115b9612b42565b6020026020010181815250508f816000815181106115d9576115d9612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061161890869086908690600401612b93565b600060405180830381600087803b15801561163257600080fd5b505af1158015611646573d6000803e3d6000fd5b505050508f60086000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461167f9190612b04565b925050819055508f600a60008282546111969190612b04565b67016345785d8a000081346116ad8284612aed565b146116e85760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006444ad4067ffffffffffffffff16421015801561174c57507f000000000000000000000000000000000000000000000000000000006445fec067ffffffffffffffff164211155b6117985760405162461bcd60e51b815260206004820152601c60248201527f49742773206e6f742061207075626c696320706572696f64206e6f770000000060448201526064016107be565b6117a0612841565b600c5483600a546117b19190612b04565b11156117cf5760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061184b5761184b612b42565b60200260200101906001600160a01b031690816001600160a01b03168152505060168260008151811061188057611880612b42565b60200260200101818152505085816000815181106118a0576118a0612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906118df90869086908690600401612b93565b600060405180830381600087803b1580156118f957600080fd5b505af115801561190d573d6000803e3d6000fd5b5050505085600a6000828254610a849190612b04565b61192b6127e7565b816001036119395760025550565b816002036119475760035550565b816003036119555760045550565b816004036119635760055550565b60405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016107be565b86866003546119f3838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b611a3f5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001611abe929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611b34573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611b855760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b66d19c2ff9bf80008b34611b998284612aed565b14611bd45760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006442b30067ffffffffffffffff164210158015611c3857507f000000000000000000000000000000000000000000000000000000006444048067ffffffffffffffff164211155b611c845760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f770060448201526064016107be565b611c8c612841565b336000908152600760205260409020548c90611ca9908f90612b04565b11158015611cc65750600d548d600b54611cc39190612b04565b11155b611ce25760405162461bcd60e51b81526004016107be90612b17565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611d5e57611d5e612b42565b60200260200101906001600160a01b031690816001600160a01b031681525050601782600081518110611d9357611d93612b42565b6020026020010181815250508f81600081518110611db357611db3612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611df290869086908690600401612b93565b600060405180830381600087803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b505050508f60076000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461117d9190612b04565b611e616127e7565b611e69612841565b7f000000000000000000000000000000000000000000000000000000006445fec067ffffffffffffffff164211611ee25760405162461bcd60e51b815260206004820152601e60248201527f546865207075626c696320726f756e6420686173206e6f7420656e646564000060448201526064016107be565b600d54600b54611ef29083612b04565b1115611f105760405162461bcd60e51b81526004016107be90612b17565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611f8c57611f8c612b42565b60200260200101906001600160a01b031690816001600160a01b031681525050601782600081518110611fc157611fc1612b42565b6020026020010181815250508381600081518110611fe157611fe1612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061202090869086908690600401612b93565b600060405180830381600087803b15801561203a57600080fd5b505af115801561204e573d6000803e3d6000fd5b5050505083600b60008282546120649190612b04565b90915550506001805550612076915050565b50565b86866002546120d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b1660208201528592506034019050610cfc565b6121215760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c6973740060448201526064016107be565b6040805133602082018190528a928a928a929189916000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016121a0929190600080516020612c7d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015612216573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146122675760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b60448201526064016107be565b67016345785d8a00008b3461227c8284612aed565b146122b75760405162461bcd60e51b81526020600482015260186024820152600080516020612c5d83398151915260448201526064016107be565b7f000000000000000000000000000000000000000000000000000000006442b30067ffffffffffffffff16421015801561231b57507f000000000000000000000000000000000000000000000000000000006444048067ffffffffffffffff164211155b6123675760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f770060448201526064016107be565b61236f612841565b336000908152600660205260409020548c9061238c908f90612b04565b111580156123a95750600c548d600a546123a69190612b04565b11155b6123c55760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061244157612441612b42565b60200260200101906001600160a01b031690816001600160a01b03168152505060168260008151811061247657612476612b42565b6020026020010181815250508f8160008151811061249657612496612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906124d590869086908690600401612b93565b600060405180830381600087803b1580156124ef57600080fd5b505af1158015612503573d6000803e3d6000fd5b505050508f60066000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461167f9190612b04565b6125446127e7565b61254c612841565b7f000000000000000000000000000000000000000000000000000000006445fec067ffffffffffffffff1642116125c55760405162461bcd60e51b815260206004820152601e60248201527f546865207075626c696320726f756e6420686173206e6f7420656e646564000060448201526064016107be565b600c54600a546125d59083612b04565b11156125f35760405162461bcd60e51b81526004016107be90612b17565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061266f5761266f612b42565b60200260200101906001600160a01b031690816001600160a01b0316815250506016826000815181106126a4576126a4612b42565b60200260200101818152505083816000815181106126c4576126c4612b42565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061270390869086908690600401612b93565b600060405180830381600087803b15801561271d57600080fd5b505af1158015612731573d6000803e3d6000fd5b5050505083600a60008282546120649190612b04565b61274f6127e7565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6127796127e7565b6001600160a01b0381166127de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107be565b6120768161289a565b6000546001600160a01b03163314610ca25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107be565b6002600154036128935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107be565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826128f78584612900565b14949350505050565b600081815b8451811015612945576129318286838151811061292457612924612b42565b602002602001015161294d565b91508061293d81612c43565b915050612905565b509392505050565b6000818310612969576000828152602084905260409020612978565b60008381526020839052604090205b9392505050565b6001600160a01b038116811461207657600080fd5b6000602082840312156129a657600080fd5b81356129788161297f565b6000602082840312156129c357600080fd5b5035919050565b600080604083850312156129dd57600080fd5b82356129e88161297f565b946020939093013593505050565b803560ff81168114612a0757600080fd5b919050565b600080600080600080600060c0888a031215612a2757600080fd5b873567ffffffffffffffff80821115612a3f57600080fd5b818a0191508a601f830112612a5357600080fd5b813581811115612a6257600080fd5b8b60208260051b8501011115612a7757600080fd5b60209283019950975050880135945060408801359350612a99606089016129f6565b92506080880135915060a0880135905092959891949750929550565b60008060408385031215612ac857600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c6057610c60612ad7565b80820180821115610c6057610c60612ad7565b602080825260119082015270195e18d95959081b585e08185b5bdd5b9d607a1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612b8857815187529582019590820190600101612b6c565b509495945050505050565b606080825284519082018190526000906020906080840190828801845b82811015612bd55781516001600160a01b031684529284019290840190600101612bb0565b50505083810382850152612be98187612b58565b9150508281036040840152612bfe8185612b58565b9695505050505050565b600060208284031215612c1a57600080fd5b5051919050565b600060208284031215612c3357600080fd5b8151801515811461297857600080fd5b600060018201612c5557612c55612ad7565b506001019056fe496e636f7272656374204554482076616c75652073656e74000000000000000019457468657265756d205369676e6564204d6573736167653a0a333200000000a26469706673582212204a81bc4d65e7b52554cbc61a6aa7965aa9974af5b5962a5b7fe2aeed721233c664736f6c63430008110033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.