Source Code
Latest 25 from a total of 1,199 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw Eth | 16075506 | 1213 days ago | IN | 0 ETH | 0.00038817 | ||||
| Mint Using NFT | 16050998 | 1217 days ago | IN | 0 ETH | 0.00318396 | ||||
| Mint Using NFT | 16042250 | 1218 days ago | IN | 0 ETH | 0.00353222 | ||||
| Mint Using NFT | 16041845 | 1218 days ago | IN | 0 ETH | 0.00364179 | ||||
| Mint Using NFT | 16036599 | 1219 days ago | IN | 0 ETH | 0.0036911 | ||||
| Mint Using NFT | 16035788 | 1219 days ago | IN | 0 ETH | 0.00353283 | ||||
| Mint Using NFT | 16034780 | 1219 days ago | IN | 0 ETH | 0.00572721 | ||||
| Mint Using NFT | 16034750 | 1219 days ago | IN | 0 ETH | 0.00495719 | ||||
| Mint Using NFT | 16034535 | 1219 days ago | IN | 0 ETH | 0.00532982 | ||||
| Mint Using NFT | 16034521 | 1219 days ago | IN | 0 ETH | 0.00570549 | ||||
| Mint Using NFT | 16030253 | 1220 days ago | IN | 0 ETH | 0.0041026 | ||||
| Mint Using NFT | 16030204 | 1220 days ago | IN | 0 ETH | 0.00389052 | ||||
| Mint Using NFT | 16029483 | 1220 days ago | IN | 0 ETH | 0.00365873 | ||||
| Mint Using NFT | 16028568 | 1220 days ago | IN | 0 ETH | 0.00418537 | ||||
| Mint Using NFT | 16027597 | 1220 days ago | IN | 0 ETH | 0.00534189 | ||||
| Mint Using NFT | 16027578 | 1220 days ago | IN | 0 ETH | 0.00734091 | ||||
| Mint Using NFT | 16027553 | 1220 days ago | IN | 0 ETH | 0.0096078 | ||||
| Mint Using NFT | 16027543 | 1220 days ago | IN | 0 ETH | 0.01050544 | ||||
| Mint Using NFT | 16027537 | 1220 days ago | IN | 0 ETH | 0.00859976 | ||||
| Mint Using NFT | 16027527 | 1220 days ago | IN | 0 ETH | 0.00794292 | ||||
| Mint Using NFT | 16025955 | 1220 days ago | IN | 0 ETH | 0.00711532 | ||||
| Mint Using NFT | 16025355 | 1220 days ago | IN | 0 ETH | 0.0034262 | ||||
| Mint Using NFT | 16025300 | 1220 days ago | IN | 0 ETH | 0.00355938 | ||||
| Mint Using NFT | 16025291 | 1220 days ago | IN | 0 ETH | 0.00377571 | ||||
| Mint Using NFT | 16024253 | 1220 days ago | IN | 0 ETH | 0.00325313 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 16075506 | 1213 days ago | 18.45 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ZombunniesDistributor
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "./IZombunnies.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC721Receiver.sol";
contract ZombunniesDistributor is AccessControl {
IZombunnies public zbToken;
IERC721 public cbToken;
uint256 public mintPriceWhitelist = 0.09 ether;
uint256 public mintPricePublicSale = 0.12 ether;
uint256 public burnToMintCap = 3026;
uint256 public burnToMintCount;
uint256 public mintCap = 1308;
uint256 public mintCount;
uint256 public whitelistMintCap = 666;
uint256 public whitelistMintCount;
uint256 public maxMintAllowed = 2;
uint256 public totalBunniesSacrificed;
address public withdrawWallet;
address public upgradedToAddress;
bool public whitelistOnly = true;
bool public mintingPause;
bool internal locked;
mapping(address => bool) public whiteList;
mapping(address => uint256) public whitelistUserMintCount;
mapping(uint256 => uint256[]) public sacrificedBunnies;
event MintZombunnyWithChainBunnies(
uint256[] indexed _CBTokenIds,
uint256 indexed _ZBTokenId
);
receive() external payable {}
modifier onlyAdmin() {
require(
hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
"Caller is not admin"
);
_;
}
modifier noReentrant() {
require(!locked, "No re-entrancy");
locked = true;
_;
locked = false;
}
constructor(
IZombunnies _zbToken,
IERC721 _cbToken,
address _withdrawWallet
) {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
withdrawWallet = _withdrawWallet;
zbToken = _zbToken;
cbToken = _cbToken;
}
function whitelistMint(uint256 _num)
public
payable
noReentrant
returns (bool)
{
require(!mintingPause, "Minting paused");
require(whiteList[_msgSender()], "ONLY WHITELIST USERS");
require(
whitelistUserMintCount[_msgSender()] + _num <= maxMintAllowed,
"Whitelist Mint Limit Exceed "
);
require(
whitelistMintCount + _num <= whitelistMintCap,
"whitelist mint cap exceed"
);
require(
msg.value >= (mintPriceWhitelist * _num),
"Insufficient amount provided"
);
whitelistUserMintCount[_msgSender()] += _num;
whitelistMintCount += _num;
zbToken.mintTokens(_msgSender(), _num);
return true;
}
function mint(uint256 _num) public payable noReentrant returns (bool) {
require(!mintingPause, "Minting paused");
require(!whitelistOnly, "ONLY WHITELIST"); //whitelistOnly is false
require(
address(0) == upgradedToAddress,
"Contract has been upgraded to a new address"
);
require(_num <= 20, "You can mint a maximum of 20 at once");
require(
msg.value >= (mintPricePublicSale * _num),
"Insufficient amount provided"
);
require(
mintCount + _num <= mintCap,
"Maximum cap of pay-to-mint reached"
);
mintCount += _num;
zbToken.mintTokens(_msgSender(), _num);
return true;
}
function mintUsingNFT(uint256[] calldata _tokenIds)
public
noReentrant
returns (bool)
{
uint256 tokensLength = _tokenIds.length;
require(!mintingPause, "Minting paused");
require((tokensLength == 2), "You can only swap 2 for 1");
require(
address(0) == upgradedToAddress,
"Contract has been upgraded to a new address"
);
require(whiteList[_msgSender()] || !whitelistOnly, "ONLY WHITELIST");
require(
burnToMintCount + 1 <= burnToMintCap,
"Maximum cap of burn-to-mint reached"
);
require(
(cbToken.isApprovedForAll(_msgSender(), address(this))),
"not approved chainbunnies"
);
uint256 currentZombunnyCount = zbToken.getMintedZombunnies();
uint256 nextZombunnyId = currentZombunnyCount + 1;
for (uint256 index; index < tokensLength; index++) {
cbToken.safeTransferFrom(
_msgSender(),
address(0x000000000000000000000000000000000000dEaD),
_tokenIds[index]
);
sacrificedBunnies[nextZombunnyId].push(_tokenIds[index]);
}
burnToMintCount++;
totalBunniesSacrificed += 2;
zbToken.mintTokens(_msgSender(), 1);
emit MintZombunnyWithChainBunnies(_tokenIds, nextZombunnyId);
return true;
}
// admin functions
function withdrawEth() public onlyAdmin {
uint256 balance = address(this).balance;
require(balance > 0, "invalid amount to withdraw");
(bool success, ) = payable(withdrawWallet).call{value: balance}("");
require(success, "eth transfer failed");
}
function updateWithdrawWallet(address _newWallet) external onlyAdmin {
withdrawWallet = _newWallet;
}
function updateMaxMintAllowed(uint256 _newMaxAllowed) external onlyAdmin {
maxMintAllowed = _newMaxAllowed;
}
function togglePause(bool _pause) external onlyAdmin {
require(mintingPause != _pause, "Already in desired pause state");
mintingPause = _pause;
}
function updateWhitelistPrice(uint256 _newPrice) external onlyAdmin {
mintPriceWhitelist = _newPrice;
}
function updatePublicSalePrice(uint256 _newPrice) external onlyAdmin {
mintPricePublicSale = _newPrice;
}
//whitelist
function addToWhiteList(address[] calldata entries) external onlyAdmin {
for (uint256 i = 0; i < entries.length; i++) {
address entry = entries[i];
require(entry != address(0), "Cannot add zero address");
require(!whiteList[entry], "Cannot add duplicate address");
whiteList[entry] = true;
}
}
function removeFromWhiteList(address[] calldata entries)
external
onlyAdmin
{
for (uint256 i = 0; i < entries.length; i++) {
address entry = entries[i];
require(entry != address(0), "Cannot remove zero address");
require(whiteList[entry], "Cannot remove non whitelist address");
whiteList[entry] = false;
}
}
function toggleWhiteListOnly(bool _whitelistOnly) external onlyAdmin {
whitelistOnly = _whitelistOnly;
}
function isOnWhiteList(address addr) external view returns (bool) {
return whiteList[addr];
}
function getSacrificedBunnies(uint256 _zomBunnyID)
external
view
returns (uint256[] memory _sacrificedBunnies)
{
_sacrificedBunnies = sacrificedBunnies[_zomBunnyID];
}
function upgrade(address _upgradedToAddress) external onlyAdmin {
upgradedToAddress = _upgradedToAddress;
}
function updatePublicMintCap(uint256 _newcap) external onlyAdmin {
mintCap = _newcap;
}
function updateWhitelistMintCap(uint256 _newcap) external onlyAdmin {
whitelistMintCap = _newcap;
}
function updateBurnToMintCap(uint256 _newcap) external onlyAdmin {
burnToMintCap = _newcap;
}
function airdropZombunnies(
address[] memory _addresses,
uint256[] memory _quantities
) external onlyAdmin {
require(_addresses.length <= 255, "exceeded address length");
require(_addresses.length == _quantities.length, "length mismatch");
for (uint256 i; i < _addresses.length; i++) {
zbToken.mintTokens(_addresses[i], _quantities[i]);
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface IZombunnies {
function mintTokens(address _mintTo, uint256 quantity)
external
returns (bool);
function cap() external view returns (uint256);
function getMintedZombunnies() external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Receiver.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721Receiver.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// 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.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_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) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @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] = _HEX_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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IZombunnies","name":"_zbToken","type":"address"},{"internalType":"contract IERC721","name":"_cbToken","type":"address"},{"internalType":"address","name":"_withdrawWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256[]","name":"_CBTokenIds","type":"uint256[]"},{"indexed":true,"internalType":"uint256","name":"_ZBTokenId","type":"uint256"}],"name":"MintZombunnyWithChainBunnies","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"entries","type":"address[]"}],"name":"addToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"}],"name":"airdropZombunnies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnToMintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnToMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cbToken","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zomBunnyID","type":"uint256"}],"name":"getSacrificedBunnies","outputs":[{"internalType":"uint256[]","name":"_sacrificedBunnies","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isOnWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPricePublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"mintUsingNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingPause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"entries","type":"address[]"}],"name":"removeFromWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"sacrificedBunnies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistOnly","type":"bool"}],"name":"toggleWhiteListOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBunniesSacrificed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newcap","type":"uint256"}],"name":"updateBurnToMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxAllowed","type":"uint256"}],"name":"updateMaxMintAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newcap","type":"uint256"}],"name":"updatePublicMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"updatePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newcap","type":"uint256"}],"name":"updateWhitelistMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"updateWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateWithdrawWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_upgradedToAddress","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradedToAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"whitelistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistUserMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zbToken","outputs":[{"internalType":"contract IZombunnies","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405267013fbe85edc900006003556701aa535d3d0c0000600455610bd260055561051c60075561029a6009556002600b55600e805460ff60a01b1916600160a01b1790553480156200005357600080fd5b50604051620026ef380380620026ef83398101604081905262000076916200018d565b62000083600033620000c4565b600d80546001600160a01b03199081166001600160a01b039384161790915560018054821694831694909417909355600280549093169116179055620001e1565b620000d08282620000d4565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000d0576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001303390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b03811681146200018a57600080fd5b50565b600080600060608486031215620001a357600080fd5b8351620001b08162000174565b6020850151909350620001c38162000174565b6040850151909250620001d68162000174565b809150509250925092565b6124fe80620001f16000396000f3fe6080604052600436106102765760003560e01c80638088fefc1161014f578063a217fddf116100c1578063d547741f1161007a578063d547741f1461075a578063dbe65bfa1461077a578063de6f742514610790578063e7ad0257146107b0578063e924e5a4146107c6578063ecb223ab146107e757600080fd5b8063a217fddf146106a5578063a34ee1b4146106ba578063af0a3af7146106da578063b01ffc02146106fa578063b11560c51461071a578063c1244e8d1461073a57600080fd5b8063936e175511610113578063936e1755146106075780639659867e14610627578063a0712d681461063d578063a0ef91df14610650578063a0f4a06014610665578063a1731bff1461068557600080fd5b80638088fefc1461056657806385d178f41461057c578063868ff4a2146105b457806391d14854146105c757806392e32333146105e757600080fd5b8063488e9294116101e857806364350334116101ac57806364350334146104b75780636b3ba901146104d7578063740d73f3146104ed57806374a7f6011461050d57806376c71ca11461053a5780637adda07d1461055057600080fd5b8063488e9294146104135780634b4687b5146104335780634d41e4f41461045457806357d159c61461048157806359e6c58d146104a157600080fd5b80632bd464551161023a5780632bd46455146103575780632e0e06e81461036d5780632f2ff15d1461038d57806336568abe146103ad578063372c12b1146103cd57806337cadd17146103fd57600080fd5b806301ffc9a71461028257806305d58e08146102b75780630900f010146102d7578063248a9ca3146102f9578063273065221461033757600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b506102a261029d366004611ed6565b610820565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102a26102d2366004611f4c565b610857565b3480156102e357600080fd5b506102f76102f2366004611faa565b610d8e565b005b34801561030557600080fd5b50610329610314366004611fc5565b60009081526020819052604090206001015490565b6040519081526020016102ae565b34801561034357600080fd5b506102f7610352366004611fc5565b610dd7565b34801561036357600080fd5b5061032960045481565b34801561037957600080fd5b506102f76103883660046120b4565b610e03565b34801561039957600080fd5b506102f76103a8366004612174565b610fb1565b3480156103b957600080fd5b506102f76103c8366004612174565b610fd6565b3480156103d957600080fd5b506102a26103e8366004611faa565b600f6020526000908152604090205460ff1681565b34801561040957600080fd5b5061032960065481565b34801561041f57600080fd5b506102f761042e366004611fc5565b611054565b34801561043f57600080fd5b50600e546102a290600160a01b900460ff1681565b34801561046057600080fd5b5061032961046f366004611faa565b60106020526000908152604090205481565b34801561048d57600080fd5b506102f761049c3660046121ae565b611080565b3480156104ad57600080fd5b5061032960055481565b3480156104c357600080fd5b506102f76104d23660046121ae565b611126565b3480156104e357600080fd5b50610329600b5481565b3480156104f957600080fd5b506102f7610508366004611f4c565b61116b565b34801561051957600080fd5b5061052d610528366004611fc5565b6112bb565b6040516102ae91906121cb565b34801561054657600080fd5b5061032960075481565b34801561055c57600080fd5b50610329600c5481565b34801561057257600080fd5b50610329600a5481565b34801561058857600080fd5b50600d5461059c906001600160a01b031681565b6040516001600160a01b0390911681526020016102ae565b6102a26105c2366004611fc5565b61131d565b3480156105d357600080fd5b506102a26105e2366004612174565b6115e8565b3480156105f357600080fd5b506102f7610602366004611faa565b611611565b34801561061357600080fd5b506102f7610622366004611fc5565b61165a565b34801561063357600080fd5b5061032960085481565b6102a261064b366004611fc5565b611686565b34801561065c57600080fd5b506102f7611899565b34801561067157600080fd5b5061032961068036600461220f565b6119a7565b34801561069157600080fd5b506102f76106a0366004611fc5565b6119d8565b3480156106b157600080fd5b50610329600081565b3480156106c657600080fd5b5060025461059c906001600160a01b031681565b3480156106e657600080fd5b5060015461059c906001600160a01b031681565b34801561070657600080fd5b506102f7610715366004611fc5565b611a04565b34801561072657600080fd5b506102f7610735366004611f4c565b611a30565b34801561074657600080fd5b50600e5461059c906001600160a01b031681565b34801561076657600080fd5b506102f7610775366004612174565b611b88565b34801561078657600080fd5b5061032960035481565b34801561079c57600080fd5b506102f76107ab366004611fc5565b611bad565b3480156107bc57600080fd5b5061032960095481565b3480156107d257600080fd5b50600e546102a290600160a81b900460ff1681565b3480156107f357600080fd5b506102a2610802366004611faa565b6001600160a01b03166000908152600f602052604090205460ff1690565b60006001600160e01b03198216637965db0b60e01b148061085157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600e54600090600160b01b900460ff161561088d5760405162461bcd60e51b815260040161088490612231565b60405180910390fd5b600e805460ff60b01b1916600160b01b17908190558290600160a81b900460ff16156108cb5760405162461bcd60e51b815260040161088490612259565b8060021461091b5760405162461bcd60e51b815260206004820152601960248201527f596f752063616e206f6e6c792073776170203220666f722031000000000000006044820152606401610884565b600e546001600160a01b0316156109445760405162461bcd60e51b815260040161088490612281565b336000908152600f602052604090205460ff168061096c5750600e54600160a01b900460ff16155b6109a95760405162461bcd60e51b815260206004820152600e60248201526d13d393164815d2125511531254d560921b6044820152606401610884565b6005546006546109ba9060016122e2565b1115610a145760405162461bcd60e51b815260206004820152602360248201527f4d6178696d756d20636170206f66206275726e2d746f2d6d696e7420726561636044820152621a195960ea1b6064820152608401610884565b6002546001600160a01b031663e985e9c5336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015230602482015260440160206040518083038186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa391906122fa565b610aef5760405162461bcd60e51b815260206004820152601960248201527f6e6f7420617070726f76656420636861696e62756e6e696573000000000000006044820152606401610884565b6001546040805163fa96509b60e01b815290516000926001600160a01b03169163fa96509b916004808301926020929190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190612317565b90506000610b7b8260016122e2565b905060005b83811015610c73576002546001600160a01b03166342842e0e3361dead8a8a86818110610baf57610baf612330565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610c0657600080fd5b505af1158015610c1a573d6000803e3d6000fd5b50505060008381526011602052604090209050878783818110610c3f57610c3f612330565b8354600181018555600094855260209485902091909402929092013591909201555080610c6b81612346565b915050610b80565b5060068054906000610c8483612346565b91905055506002600c6000828254610c9c91906122e2565b90915550506001546001600160a01b031663f0dda65c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401602060405180830381600087803b158015610cfb57600080fd5b505af1158015610d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3391906122fa565b50808686604051610d45929190612361565b604051908190038120907ff80940db8e579e41502a738664b6b72949c27269402794ebd6b50bfd8986a06090600090a35050600e805460ff60b01b191690555060019392505050565b610d996000336115e8565b610db55760405162461bcd60e51b81526004016108849061238d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610de26000336115e8565b610dfe5760405162461bcd60e51b81526004016108849061238d565b600555565b610e0e6000336115e8565b610e2a5760405162461bcd60e51b81526004016108849061238d565b60ff82511115610e7c5760405162461bcd60e51b815260206004820152601760248201527f65786365656465642061646472657373206c656e6774680000000000000000006044820152606401610884565b8051825114610ebf5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610884565b60005b8251811015610fac5760015483516001600160a01b039091169063f0dda65c90859084908110610ef457610ef4612330565b6020026020010151848481518110610f0e57610f0e612330565b60200260200101516040518363ffffffff1660e01b8152600401610f479291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015610f6157600080fd5b505af1158015610f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9991906122fa565b5080610fa481612346565b915050610ec2565b505050565b600082815260208190526040902060010154610fcc81611bd9565b610fac8383611be6565b6001600160a01b03811633146110465760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610884565b6110508282611c6a565b5050565b61105f6000336115e8565b61107b5760405162461bcd60e51b81526004016108849061238d565b600b55565b61108b6000336115e8565b6110a75760405162461bcd60e51b81526004016108849061238d565b600e5460ff600160a81b90910416151581151514156111085760405162461bcd60e51b815260206004820152601e60248201527f416c726561647920696e206465736972656420706175736520737461746500006044820152606401610884565b600e8054911515600160a81b0260ff60a81b19909216919091179055565b6111316000336115e8565b61114d5760405162461bcd60e51b81526004016108849061238d565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6111766000336115e8565b6111925760405162461bcd60e51b81526004016108849061238d565b60005b81811015610fac5760008383838181106111b1576111b1612330565b90506020020160208101906111c69190611faa565b90506001600160a01b03811661121e5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616464207a65726f20616464726573730000000000000000006044820152606401610884565b6001600160a01b0381166000908152600f602052604090205460ff16156112875760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f7420616464206475706c69636174652061646472657373000000006044820152606401610884565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055806112b381612346565b915050611195565b60008181526011602090815260409182902080548351818402810184019094528084526060939283018282801561131157602002820191906000526020600020905b8154815260200190600101908083116112fd575b50505050509050919050565b600e54600090600160b01b900460ff161561134a5760405162461bcd60e51b815260040161088490612231565b600e805460ff60b01b1916600160b01b1790819055600160a81b900460ff16156113865760405162461bcd60e51b815260040161088490612259565b336000908152600f602052604090205460ff166113dc5760405162461bcd60e51b81526020600482015260146024820152734f4e4c592057484954454c49535420555345525360601b6044820152606401610884565b600b54336000908152601060205260409020546113fa9084906122e2565b11156114485760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d696e74204c696d69742045786365656420000000006044820152606401610884565b60095482600a5461145991906122e2565b11156114a75760405162461bcd60e51b815260206004820152601960248201527f77686974656c697374206d696e742063617020657863656564000000000000006044820152606401610884565b816003546114b591906123ba565b3410156115045760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420616d6f756e742070726f7669646564000000006044820152606401610884565b33600090815260106020526040812080548492906115239084906122e2565b9250508190555081600a600082825461153c91906122e2565b90915550506001546001600160a01b031663f0dda65c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561159b57600080fd5b505af11580156115af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d391906122fa565b5050600e805460ff60b01b1916905550600190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61161c6000336115e8565b6116385760405162461bcd60e51b81526004016108849061238d565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6116656000336115e8565b6116815760405162461bcd60e51b81526004016108849061238d565b600755565b600e54600090600160b01b900460ff16156116b35760405162461bcd60e51b815260040161088490612231565b600e805460ff60b01b1916600160b01b1790819055600160a81b900460ff16156116ef5760405162461bcd60e51b815260040161088490612259565b600e54600160a01b900460ff161561173a5760405162461bcd60e51b815260206004820152600e60248201526d13d393164815d2125511531254d560921b6044820152606401610884565b600e546001600160a01b0316156117635760405162461bcd60e51b815260040161088490612281565b60148211156117c05760405162461bcd60e51b8152602060048201526024808201527f596f752063616e206d696e742061206d6178696d756d206f66203230206174206044820152636f6e636560e01b6064820152608401610884565b816004546117ce91906123ba565b34101561181d5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420616d6f756e742070726f7669646564000000006044820152606401610884565b6007548260085461182e91906122e2565b11156118875760405162461bcd60e51b815260206004820152602260248201527f4d6178696d756d20636170206f66207061792d746f2d6d696e74207265616368604482015261195960f21b6064820152608401610884565b816008600082825461153c91906122e2565b6118a46000336115e8565b6118c05760405162461bcd60e51b81526004016108849061238d565b478061190e5760405162461bcd60e51b815260206004820152601a60248201527f696e76616c696420616d6f756e7420746f2077697468647261770000000000006044820152606401610884565b600d546040516000916001600160a01b03169083908381818185875af1925050503d806000811461195b576040519150601f19603f3d011682016040523d82523d6000602084013e611960565b606091505b50509050806110505760405162461bcd60e51b8152602060048201526013602482015272195d1a081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610884565b601160205281600052604060002081815481106119c357600080fd5b90600052602060002001600091509150505481565b6119e36000336115e8565b6119ff5760405162461bcd60e51b81526004016108849061238d565b600955565b611a0f6000336115e8565b611a2b5760405162461bcd60e51b81526004016108849061238d565b600355565b611a3b6000336115e8565b611a575760405162461bcd60e51b81526004016108849061238d565b60005b81811015610fac576000838383818110611a7657611a76612330565b9050602002016020810190611a8b9190611faa565b90506001600160a01b038116611ae35760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742072656d6f7665207a65726f20616464726573730000000000006044820152606401610884565b6001600160a01b0381166000908152600f602052604090205460ff16611b575760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742072656d6f7665206e6f6e2077686974656c697374206164647260448201526265737360e81b6064820152608401610884565b6001600160a01b03166000908152600f60205260409020805460ff1916905580611b8081612346565b915050611a5a565b600082815260208190526040902060010154611ba381611bd9565b610fac8383611c6a565b611bb86000336115e8565b611bd45760405162461bcd60e51b81526004016108849061238d565b600455565b611be38133611ccf565b50565b611bf082826115e8565b611050576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611c263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611c7482826115e8565b15611050576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611cd982826115e8565b61105057611cf1816001600160a01b03166014611d33565b611cfc836020611d33565b604051602001611d0d929190612409565b60408051601f198184030181529082905262461bcd60e51b82526108849160040161247e565b60606000611d428360026123ba565b611d4d9060026122e2565b67ffffffffffffffff811115611d6557611d65611fde565b6040519080825280601f01601f191660200182016040528015611d8f576020820181803683370190505b509050600360fc1b81600081518110611daa57611daa612330565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dd957611dd9612330565b60200101906001600160f81b031916908160001a9053506000611dfd8460026123ba565b611e089060016122e2565b90505b6001811115611e80576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e3c57611e3c612330565b1a60f81b828281518110611e5257611e52612330565b60200101906001600160f81b031916908160001a90535060049490941c93611e79816124b1565b9050611e0b565b508315611ecf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610884565b9392505050565b600060208284031215611ee857600080fd5b81356001600160e01b031981168114611ecf57600080fd5b60008083601f840112611f1257600080fd5b50813567ffffffffffffffff811115611f2a57600080fd5b6020830191508360208260051b8501011115611f4557600080fd5b9250929050565b60008060208385031215611f5f57600080fd5b823567ffffffffffffffff811115611f7657600080fd5b611f8285828601611f00565b90969095509350505050565b80356001600160a01b0381168114611fa557600080fd5b919050565b600060208284031215611fbc57600080fd5b611ecf82611f8e565b600060208284031215611fd757600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561201d5761201d611fde565b604052919050565b600067ffffffffffffffff82111561203f5761203f611fde565b5060051b60200190565b600082601f83011261205a57600080fd5b8135602061206f61206a83612025565b611ff4565b82815260059290921b8401810191818101908684111561208e57600080fd5b8286015b848110156120a95780358352918301918301612092565b509695505050505050565b600080604083850312156120c757600080fd5b823567ffffffffffffffff808211156120df57600080fd5b818501915085601f8301126120f357600080fd5b8135602061210361206a83612025565b82815260059290921b8401810191818101908984111561212257600080fd5b948201945b838610156121475761213886611f8e565b82529482019490820190612127565b9650508601359250508082111561215d57600080fd5b5061216a85828601612049565b9150509250929050565b6000806040838503121561218757600080fd5b8235915061219760208401611f8e565b90509250929050565b8015158114611be357600080fd5b6000602082840312156121c057600080fd5b8135611ecf816121a0565b6020808252825182820181905260009190848201906040850190845b81811015612203578351835292840192918401916001016121e7565b50909695505050505050565b6000806040838503121561222257600080fd5b50508035926020909101359150565b6020808252600e908201526d4e6f2072652d656e7472616e637960901b604082015260600190565b6020808252600e908201526d135a5b9d1a5b99c81c185d5cd95960921b604082015260600190565b6020808252602b908201527f436f6e747261637420686173206265656e20757067726164656420746f20612060408201526a6e6577206164647265737360a81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122f5576122f56122cc565b500190565b60006020828403121561230c57600080fd5b8151611ecf816121a0565b60006020828403121561232957600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600060001982141561235a5761235a6122cc565b5060010190565b60006001600160fb1b0383111561237757600080fd5b8260051b80858437600092019182525092915050565b60208082526013908201527221b0b63632b91034b9903737ba1030b236b4b760691b604082015260600190565b60008160001904831182151516156123d4576123d46122cc565b500290565b60005b838110156123f45781810151838201526020016123dc565b83811115612403576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516124418160178501602088016123d9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516124728160288401602088016123d9565b01602801949350505050565b602081526000825180602084015261249d8160408501602087016123d9565b601f01601f19169190910160400192915050565b6000816124c0576124c06122cc565b50600019019056fea264697066735822122094e7786a86665811d30de7b5d00e99b24ca73e005cfc5e205a020f901629356c64736f6c6343000809003300000000000000000000000010d2d273cb8f6179f1ddd2ee5689cdce363b9a010000000000000000000000009f4564b85cb77ce76cc725f29758cbfe20213aae000000000000000000000000577b1abe38de35e41243ee14910dffda313f6c11
Deployed Bytecode
0x6080604052600436106102765760003560e01c80638088fefc1161014f578063a217fddf116100c1578063d547741f1161007a578063d547741f1461075a578063dbe65bfa1461077a578063de6f742514610790578063e7ad0257146107b0578063e924e5a4146107c6578063ecb223ab146107e757600080fd5b8063a217fddf146106a5578063a34ee1b4146106ba578063af0a3af7146106da578063b01ffc02146106fa578063b11560c51461071a578063c1244e8d1461073a57600080fd5b8063936e175511610113578063936e1755146106075780639659867e14610627578063a0712d681461063d578063a0ef91df14610650578063a0f4a06014610665578063a1731bff1461068557600080fd5b80638088fefc1461056657806385d178f41461057c578063868ff4a2146105b457806391d14854146105c757806392e32333146105e757600080fd5b8063488e9294116101e857806364350334116101ac57806364350334146104b75780636b3ba901146104d7578063740d73f3146104ed57806374a7f6011461050d57806376c71ca11461053a5780637adda07d1461055057600080fd5b8063488e9294146104135780634b4687b5146104335780634d41e4f41461045457806357d159c61461048157806359e6c58d146104a157600080fd5b80632bd464551161023a5780632bd46455146103575780632e0e06e81461036d5780632f2ff15d1461038d57806336568abe146103ad578063372c12b1146103cd57806337cadd17146103fd57600080fd5b806301ffc9a71461028257806305d58e08146102b75780630900f010146102d7578063248a9ca3146102f9578063273065221461033757600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b506102a261029d366004611ed6565b610820565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102a26102d2366004611f4c565b610857565b3480156102e357600080fd5b506102f76102f2366004611faa565b610d8e565b005b34801561030557600080fd5b50610329610314366004611fc5565b60009081526020819052604090206001015490565b6040519081526020016102ae565b34801561034357600080fd5b506102f7610352366004611fc5565b610dd7565b34801561036357600080fd5b5061032960045481565b34801561037957600080fd5b506102f76103883660046120b4565b610e03565b34801561039957600080fd5b506102f76103a8366004612174565b610fb1565b3480156103b957600080fd5b506102f76103c8366004612174565b610fd6565b3480156103d957600080fd5b506102a26103e8366004611faa565b600f6020526000908152604090205460ff1681565b34801561040957600080fd5b5061032960065481565b34801561041f57600080fd5b506102f761042e366004611fc5565b611054565b34801561043f57600080fd5b50600e546102a290600160a01b900460ff1681565b34801561046057600080fd5b5061032961046f366004611faa565b60106020526000908152604090205481565b34801561048d57600080fd5b506102f761049c3660046121ae565b611080565b3480156104ad57600080fd5b5061032960055481565b3480156104c357600080fd5b506102f76104d23660046121ae565b611126565b3480156104e357600080fd5b50610329600b5481565b3480156104f957600080fd5b506102f7610508366004611f4c565b61116b565b34801561051957600080fd5b5061052d610528366004611fc5565b6112bb565b6040516102ae91906121cb565b34801561054657600080fd5b5061032960075481565b34801561055c57600080fd5b50610329600c5481565b34801561057257600080fd5b50610329600a5481565b34801561058857600080fd5b50600d5461059c906001600160a01b031681565b6040516001600160a01b0390911681526020016102ae565b6102a26105c2366004611fc5565b61131d565b3480156105d357600080fd5b506102a26105e2366004612174565b6115e8565b3480156105f357600080fd5b506102f7610602366004611faa565b611611565b34801561061357600080fd5b506102f7610622366004611fc5565b61165a565b34801561063357600080fd5b5061032960085481565b6102a261064b366004611fc5565b611686565b34801561065c57600080fd5b506102f7611899565b34801561067157600080fd5b5061032961068036600461220f565b6119a7565b34801561069157600080fd5b506102f76106a0366004611fc5565b6119d8565b3480156106b157600080fd5b50610329600081565b3480156106c657600080fd5b5060025461059c906001600160a01b031681565b3480156106e657600080fd5b5060015461059c906001600160a01b031681565b34801561070657600080fd5b506102f7610715366004611fc5565b611a04565b34801561072657600080fd5b506102f7610735366004611f4c565b611a30565b34801561074657600080fd5b50600e5461059c906001600160a01b031681565b34801561076657600080fd5b506102f7610775366004612174565b611b88565b34801561078657600080fd5b5061032960035481565b34801561079c57600080fd5b506102f76107ab366004611fc5565b611bad565b3480156107bc57600080fd5b5061032960095481565b3480156107d257600080fd5b50600e546102a290600160a81b900460ff1681565b3480156107f357600080fd5b506102a2610802366004611faa565b6001600160a01b03166000908152600f602052604090205460ff1690565b60006001600160e01b03198216637965db0b60e01b148061085157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600e54600090600160b01b900460ff161561088d5760405162461bcd60e51b815260040161088490612231565b60405180910390fd5b600e805460ff60b01b1916600160b01b17908190558290600160a81b900460ff16156108cb5760405162461bcd60e51b815260040161088490612259565b8060021461091b5760405162461bcd60e51b815260206004820152601960248201527f596f752063616e206f6e6c792073776170203220666f722031000000000000006044820152606401610884565b600e546001600160a01b0316156109445760405162461bcd60e51b815260040161088490612281565b336000908152600f602052604090205460ff168061096c5750600e54600160a01b900460ff16155b6109a95760405162461bcd60e51b815260206004820152600e60248201526d13d393164815d2125511531254d560921b6044820152606401610884565b6005546006546109ba9060016122e2565b1115610a145760405162461bcd60e51b815260206004820152602360248201527f4d6178696d756d20636170206f66206275726e2d746f2d6d696e7420726561636044820152621a195960ea1b6064820152608401610884565b6002546001600160a01b031663e985e9c5336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015230602482015260440160206040518083038186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa391906122fa565b610aef5760405162461bcd60e51b815260206004820152601960248201527f6e6f7420617070726f76656420636861696e62756e6e696573000000000000006044820152606401610884565b6001546040805163fa96509b60e01b815290516000926001600160a01b03169163fa96509b916004808301926020929190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190612317565b90506000610b7b8260016122e2565b905060005b83811015610c73576002546001600160a01b03166342842e0e3361dead8a8a86818110610baf57610baf612330565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610c0657600080fd5b505af1158015610c1a573d6000803e3d6000fd5b50505060008381526011602052604090209050878783818110610c3f57610c3f612330565b8354600181018555600094855260209485902091909402929092013591909201555080610c6b81612346565b915050610b80565b5060068054906000610c8483612346565b91905055506002600c6000828254610c9c91906122e2565b90915550506001546001600160a01b031663f0dda65c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401602060405180830381600087803b158015610cfb57600080fd5b505af1158015610d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3391906122fa565b50808686604051610d45929190612361565b604051908190038120907ff80940db8e579e41502a738664b6b72949c27269402794ebd6b50bfd8986a06090600090a35050600e805460ff60b01b191690555060019392505050565b610d996000336115e8565b610db55760405162461bcd60e51b81526004016108849061238d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610de26000336115e8565b610dfe5760405162461bcd60e51b81526004016108849061238d565b600555565b610e0e6000336115e8565b610e2a5760405162461bcd60e51b81526004016108849061238d565b60ff82511115610e7c5760405162461bcd60e51b815260206004820152601760248201527f65786365656465642061646472657373206c656e6774680000000000000000006044820152606401610884565b8051825114610ebf5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610884565b60005b8251811015610fac5760015483516001600160a01b039091169063f0dda65c90859084908110610ef457610ef4612330565b6020026020010151848481518110610f0e57610f0e612330565b60200260200101516040518363ffffffff1660e01b8152600401610f479291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015610f6157600080fd5b505af1158015610f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9991906122fa565b5080610fa481612346565b915050610ec2565b505050565b600082815260208190526040902060010154610fcc81611bd9565b610fac8383611be6565b6001600160a01b03811633146110465760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610884565b6110508282611c6a565b5050565b61105f6000336115e8565b61107b5760405162461bcd60e51b81526004016108849061238d565b600b55565b61108b6000336115e8565b6110a75760405162461bcd60e51b81526004016108849061238d565b600e5460ff600160a81b90910416151581151514156111085760405162461bcd60e51b815260206004820152601e60248201527f416c726561647920696e206465736972656420706175736520737461746500006044820152606401610884565b600e8054911515600160a81b0260ff60a81b19909216919091179055565b6111316000336115e8565b61114d5760405162461bcd60e51b81526004016108849061238d565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6111766000336115e8565b6111925760405162461bcd60e51b81526004016108849061238d565b60005b81811015610fac5760008383838181106111b1576111b1612330565b90506020020160208101906111c69190611faa565b90506001600160a01b03811661121e5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616464207a65726f20616464726573730000000000000000006044820152606401610884565b6001600160a01b0381166000908152600f602052604090205460ff16156112875760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f7420616464206475706c69636174652061646472657373000000006044820152606401610884565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055806112b381612346565b915050611195565b60008181526011602090815260409182902080548351818402810184019094528084526060939283018282801561131157602002820191906000526020600020905b8154815260200190600101908083116112fd575b50505050509050919050565b600e54600090600160b01b900460ff161561134a5760405162461bcd60e51b815260040161088490612231565b600e805460ff60b01b1916600160b01b1790819055600160a81b900460ff16156113865760405162461bcd60e51b815260040161088490612259565b336000908152600f602052604090205460ff166113dc5760405162461bcd60e51b81526020600482015260146024820152734f4e4c592057484954454c49535420555345525360601b6044820152606401610884565b600b54336000908152601060205260409020546113fa9084906122e2565b11156114485760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d696e74204c696d69742045786365656420000000006044820152606401610884565b60095482600a5461145991906122e2565b11156114a75760405162461bcd60e51b815260206004820152601960248201527f77686974656c697374206d696e742063617020657863656564000000000000006044820152606401610884565b816003546114b591906123ba565b3410156115045760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420616d6f756e742070726f7669646564000000006044820152606401610884565b33600090815260106020526040812080548492906115239084906122e2565b9250508190555081600a600082825461153c91906122e2565b90915550506001546001600160a01b031663f0dda65c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561159b57600080fd5b505af11580156115af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d391906122fa565b5050600e805460ff60b01b1916905550600190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61161c6000336115e8565b6116385760405162461bcd60e51b81526004016108849061238d565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6116656000336115e8565b6116815760405162461bcd60e51b81526004016108849061238d565b600755565b600e54600090600160b01b900460ff16156116b35760405162461bcd60e51b815260040161088490612231565b600e805460ff60b01b1916600160b01b1790819055600160a81b900460ff16156116ef5760405162461bcd60e51b815260040161088490612259565b600e54600160a01b900460ff161561173a5760405162461bcd60e51b815260206004820152600e60248201526d13d393164815d2125511531254d560921b6044820152606401610884565b600e546001600160a01b0316156117635760405162461bcd60e51b815260040161088490612281565b60148211156117c05760405162461bcd60e51b8152602060048201526024808201527f596f752063616e206d696e742061206d6178696d756d206f66203230206174206044820152636f6e636560e01b6064820152608401610884565b816004546117ce91906123ba565b34101561181d5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420616d6f756e742070726f7669646564000000006044820152606401610884565b6007548260085461182e91906122e2565b11156118875760405162461bcd60e51b815260206004820152602260248201527f4d6178696d756d20636170206f66207061792d746f2d6d696e74207265616368604482015261195960f21b6064820152608401610884565b816008600082825461153c91906122e2565b6118a46000336115e8565b6118c05760405162461bcd60e51b81526004016108849061238d565b478061190e5760405162461bcd60e51b815260206004820152601a60248201527f696e76616c696420616d6f756e7420746f2077697468647261770000000000006044820152606401610884565b600d546040516000916001600160a01b03169083908381818185875af1925050503d806000811461195b576040519150601f19603f3d011682016040523d82523d6000602084013e611960565b606091505b50509050806110505760405162461bcd60e51b8152602060048201526013602482015272195d1a081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610884565b601160205281600052604060002081815481106119c357600080fd5b90600052602060002001600091509150505481565b6119e36000336115e8565b6119ff5760405162461bcd60e51b81526004016108849061238d565b600955565b611a0f6000336115e8565b611a2b5760405162461bcd60e51b81526004016108849061238d565b600355565b611a3b6000336115e8565b611a575760405162461bcd60e51b81526004016108849061238d565b60005b81811015610fac576000838383818110611a7657611a76612330565b9050602002016020810190611a8b9190611faa565b90506001600160a01b038116611ae35760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742072656d6f7665207a65726f20616464726573730000000000006044820152606401610884565b6001600160a01b0381166000908152600f602052604090205460ff16611b575760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742072656d6f7665206e6f6e2077686974656c697374206164647260448201526265737360e81b6064820152608401610884565b6001600160a01b03166000908152600f60205260409020805460ff1916905580611b8081612346565b915050611a5a565b600082815260208190526040902060010154611ba381611bd9565b610fac8383611c6a565b611bb86000336115e8565b611bd45760405162461bcd60e51b81526004016108849061238d565b600455565b611be38133611ccf565b50565b611bf082826115e8565b611050576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611c263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611c7482826115e8565b15611050576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611cd982826115e8565b61105057611cf1816001600160a01b03166014611d33565b611cfc836020611d33565b604051602001611d0d929190612409565b60408051601f198184030181529082905262461bcd60e51b82526108849160040161247e565b60606000611d428360026123ba565b611d4d9060026122e2565b67ffffffffffffffff811115611d6557611d65611fde565b6040519080825280601f01601f191660200182016040528015611d8f576020820181803683370190505b509050600360fc1b81600081518110611daa57611daa612330565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dd957611dd9612330565b60200101906001600160f81b031916908160001a9053506000611dfd8460026123ba565b611e089060016122e2565b90505b6001811115611e80576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e3c57611e3c612330565b1a60f81b828281518110611e5257611e52612330565b60200101906001600160f81b031916908160001a90535060049490941c93611e79816124b1565b9050611e0b565b508315611ecf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610884565b9392505050565b600060208284031215611ee857600080fd5b81356001600160e01b031981168114611ecf57600080fd5b60008083601f840112611f1257600080fd5b50813567ffffffffffffffff811115611f2a57600080fd5b6020830191508360208260051b8501011115611f4557600080fd5b9250929050565b60008060208385031215611f5f57600080fd5b823567ffffffffffffffff811115611f7657600080fd5b611f8285828601611f00565b90969095509350505050565b80356001600160a01b0381168114611fa557600080fd5b919050565b600060208284031215611fbc57600080fd5b611ecf82611f8e565b600060208284031215611fd757600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561201d5761201d611fde565b604052919050565b600067ffffffffffffffff82111561203f5761203f611fde565b5060051b60200190565b600082601f83011261205a57600080fd5b8135602061206f61206a83612025565b611ff4565b82815260059290921b8401810191818101908684111561208e57600080fd5b8286015b848110156120a95780358352918301918301612092565b509695505050505050565b600080604083850312156120c757600080fd5b823567ffffffffffffffff808211156120df57600080fd5b818501915085601f8301126120f357600080fd5b8135602061210361206a83612025565b82815260059290921b8401810191818101908984111561212257600080fd5b948201945b838610156121475761213886611f8e565b82529482019490820190612127565b9650508601359250508082111561215d57600080fd5b5061216a85828601612049565b9150509250929050565b6000806040838503121561218757600080fd5b8235915061219760208401611f8e565b90509250929050565b8015158114611be357600080fd5b6000602082840312156121c057600080fd5b8135611ecf816121a0565b6020808252825182820181905260009190848201906040850190845b81811015612203578351835292840192918401916001016121e7565b50909695505050505050565b6000806040838503121561222257600080fd5b50508035926020909101359150565b6020808252600e908201526d4e6f2072652d656e7472616e637960901b604082015260600190565b6020808252600e908201526d135a5b9d1a5b99c81c185d5cd95960921b604082015260600190565b6020808252602b908201527f436f6e747261637420686173206265656e20757067726164656420746f20612060408201526a6e6577206164647265737360a81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122f5576122f56122cc565b500190565b60006020828403121561230c57600080fd5b8151611ecf816121a0565b60006020828403121561232957600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600060001982141561235a5761235a6122cc565b5060010190565b60006001600160fb1b0383111561237757600080fd5b8260051b80858437600092019182525092915050565b60208082526013908201527221b0b63632b91034b9903737ba1030b236b4b760691b604082015260600190565b60008160001904831182151516156123d4576123d46122cc565b500290565b60005b838110156123f45781810151838201526020016123dc565b83811115612403576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516124418160178501602088016123d9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516124728160288401602088016123d9565b01602801949350505050565b602081526000825180602084015261249d8160408501602087016123d9565b601f01601f19169190910160400192915050565b6000816124c0576124c06122cc565b50600019019056fea264697066735822122094e7786a86665811d30de7b5d00e99b24ca73e005cfc5e205a020f901629356c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000010d2d273cb8f6179f1ddd2ee5689cdce363b9a010000000000000000000000009f4564b85cb77ce76cc725f29758cbfe20213aae000000000000000000000000577b1abe38de35e41243ee14910dffda313f6c11
-----Decoded View---------------
Arg [0] : _zbToken (address): 0x10D2d273cb8F6179F1dDd2EE5689cdcE363B9A01
Arg [1] : _cbToken (address): 0x9f4564b85Cb77cE76Cc725F29758cbfe20213aAE
Arg [2] : _withdrawWallet (address): 0x577B1abe38De35E41243EE14910dFfda313f6c11
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000010d2d273cb8f6179f1ddd2ee5689cdce363b9a01
Arg [1] : 0000000000000000000000009f4564b85cb77ce76cc725f29758cbfe20213aae
Arg [2] : 000000000000000000000000577b1abe38de35e41243ee14910dffda313f6c11
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 32 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.