Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 484 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Complete Batch M... | 44624536 | 23 hrs ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44624528 | 23 hrs ago | IN | 0 ETH | 0.00000118 | ||||
| Complete Batch M... | 44581336 | 47 hrs ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44581328 | 47 hrs ago | IN | 0 ETH | 0.00000118 | ||||
| Complete Batch M... | 44538136 | 2 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44538128 | 2 days ago | IN | 0 ETH | 0.00000118 | ||||
| Complete Batch M... | 44494937 | 3 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44494929 | 3 days ago | IN | 0 ETH | 0.00000118 | ||||
| Complete Batch M... | 44451736 | 4 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44451728 | 4 days ago | IN | 0 ETH | 0.00000118 | ||||
| Complete Batch M... | 44408536 | 5 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44408528 | 5 days ago | IN | 0 ETH | 0.00000125 | ||||
| Complete Batch M... | 44365336 | 6 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44365328 | 6 days ago | IN | 0 ETH | 0.00000124 | ||||
| Complete Batch M... | 44322137 | 7 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44322129 | 7 days ago | IN | 0 ETH | 0.00000124 | ||||
| Complete Batch M... | 44278936 | 8 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44278928 | 8 days ago | IN | 0 ETH | 0.00000124 | ||||
| Complete Batch M... | 44235737 | 9 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44235728 | 9 days ago | IN | 0 ETH | 0.00000131 | ||||
| Complete Batch M... | 44192536 | 10 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44192528 | 10 days ago | IN | 0 ETH | 0.00000124 | ||||
| Complete Batch M... | 44149337 | 11 days ago | IN | 0 ETH | 0.00000019 | ||||
| Batch Mint | 44149328 | 11 days ago | IN | 0 ETH | 0.00000131 | ||||
| Complete Batch M... | 44106137 | 12 days ago | IN | 0 ETH | 0.00000019 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BuidlGuidlBread
Compiler Version
v0.8.30+commit.73712a01
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity 0.8.30;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IBuidlGuidlBread} from "./IBuidlGuidlBread.sol";
contract BuidlGuidlBread is ERC20, Ownable, IBuidlGuidlBread {
uint256 public constant BATCH_MINT_COOLDOWN = 23 hours;
uint256 public constant OWNER_MINT_COOLDOWN = 24 hours;
uint256 public constant OWNER_MINT_LIMIT = 10_000 ether;
uint256 public constant PAUSE_DURATION = 24 hours;
address public batchMinterAddress;
address public pauseAddress;
uint256 public batchMintLimit = 480 ether;
uint256 public lastBatchMintTime;
uint256 public totalBatchMintedInPeriod;
uint256 public lastOwnerMintTime;
uint256 public totalOwnerMintedInPeriod;
uint256 public pauseEndTime = 0;
bool public batchMintingOccurredThisPeriod;
/// @notice Sets owner (multisig), batch minter, and pause addresses
/// @notice Minting balances to users from previous buggy contract (0xE20a0e016c84C9683B5F258f3ECCb0B365ffB8Fa)
/// @param initialOwner The address that will own the contract and receive initial tokens
/// @param batchMinterAddress_ The address authorized to perform batch mint/burn operations
/// @param pauseAddress_ The address authorized to pause minting
constructor(
address initialOwner,
address batchMinterAddress_,
address pauseAddress_
) ERC20("BuidlGuidl Bread", "BGBRD") Ownable(initialOwner) {
if (batchMinterAddress_ == address(0)) revert CannotSetZeroAddress();
if (pauseAddress_ == address(0)) revert CannotSetZeroAddress();
batchMinterAddress = batchMinterAddress_;
pauseAddress = pauseAddress_;
_mint(0xfe952CB6F4B8F4ACd5337153dA5C7c93Dc3e44e1, 150 ether);
_mint(0x38c772B96D73733F425746bd368B4B4435A37967, 597 ether);
_mint(0x693eDBCF118EC982f5A8101498b6c789470B0b89, 150 ether);
_mint(0x992AB820a2776Ff79284B9844D338B5C5fc792e9, 138 ether);
_mint(0xEc70792d7EA81568E183A01a9c3FF1c3a4689c4A, 142 ether);
_mint(0xB4F53bd85c00EF22946d24Ae26BC38Ac64F5E7B1, 149 ether);
_mint(0xE56D10CCC8671dC2E2De8e84e6D2b1f5Bdd803d0, 227 ether);
_mint(0xcBf407C33d68a55CB594Ffc8f4fD1416Bba39DA5, 150 ether);
_mint(0x68B4bd3B2e2845734AD4BC355E2ad2d525Cf6cE6, 107 ether);
_mint(0x5dCb5f4F39Caa6Ca25380cfc42280330b49d3c93, 150 ether);
_mint(0x34aA3F359A9D614239015126635CE7732c18fDF3, 276 ether);
_mint(0xb7582571aEe76D57b28D4308639aeA1D02E1B5AA, 149 ether);
_mint(0xDA22919e01E249Ba4c96DbA46beE29E4981835FC, 78 ether);
}
/// @notice Updates the Batch Minter address
/// @param newAddress The new address that will be authorized to perform batch operations
/// @dev Only the contract owner can call this function
function setBatchMinterAddress(address newAddress) public onlyOwner {
if (newAddress == address(0)) revert CannotSetZeroAddress();
batchMinterAddress = newAddress;
}
/// @notice Updates the address that has pausing privileges
/// @param newAddress The new address that will be authorized to perform pauses
/// @dev Only the contract owner can call this function
function setPauseAddress(address newAddress) public onlyOwner {
if (newAddress == address(0)) revert CannotSetZeroAddress();
pauseAddress = newAddress;
}
/// @notice Sets the maximum amount that can be minted per cooldown period globally
/// @param newLimit The new mint limit in wei (with 18 decimals)
/// @dev Only the contract owner can call this function. Limit must be greater than 0
function setBatchMintLimit(uint256 newLimit) public onlyOwner {
if (newLimit == 0) revert BatchMintLimitCannotBeZero();
batchMintLimit = newLimit;
emit BatchMintLimitUpdated(newLimit);
}
modifier onlyBatchMinter() {
if (msg.sender != batchMinterAddress) revert UnauthorizedBatchMinter();
_;
}
modifier onlyPause() {
if (msg.sender != pauseAddress) revert UnauthorizedPause();
_;
}
/// @notice Pauses the minting functionality for 24 hours
/// @dev Only the pause address can call this function
function pauseMinting() public onlyPause {
pauseEndTime = block.timestamp + PAUSE_DURATION;
emit MintingPaused(pauseEndTime);
}
/// @notice Returns the remaining time until the pause is over
/// @return The number of seconds remaining in the pause period (0 if no pause or pause has ended)
function getRemainingPauseTime() public view returns (uint256) {
if (pauseEndTime == 0 || block.timestamp >= pauseEndTime) {
return 0;
}
return pauseEndTime - block.timestamp;
}
/// @notice Returns the remaining cooldown time before batch minting can resume globally
/// @return The number of seconds remaining in the cooldown period (0 if cooldown has passed)
function getRemainingBatchMintCooldown() public view returns (uint256) {
uint256 timeSinceLastReset = block.timestamp - lastBatchMintTime;
if (timeSinceLastReset >= BATCH_MINT_COOLDOWN) {
return 0;
}
return BATCH_MINT_COOLDOWN - timeSinceLastReset;
}
/// @notice Returns the amount of tokens batch minted in the current period
/// @return The amount of tokens batch minted in the current period
function getTotalBatchMintedInPeriod() public view returns (uint256) {
return totalBatchMintedInPeriod;
}
/// @notice Returns the remaining amount that can be batch minted in the current period
/// @return The amount of tokens that can still be batch minted in the current period
function getRemainingBatchMintAmount() public view returns (uint256) {
if (totalBatchMintedInPeriod >= batchMintLimit) {
return 0;
}
return batchMintLimit - totalBatchMintedInPeriod;
}
/// @notice Completes the current batch minting period and resets for the next period
/// @dev Only the RPC Bread Minter can call this function after minting has occurred
/// @dev Blocked when minting is paused to prevent period reset during emergency
function completeBatchMintingPeriod() public onlyBatchMinter {
if (!batchMintingOccurredThisPeriod) revert NoBatchMintingOccurredThisPeriod();
// Reset the period
totalBatchMintedInPeriod = 0;
lastBatchMintTime = block.timestamp;
batchMintingOccurredThisPeriod = false;
emit BatchMintingPeriodCompleted(block.timestamp);
}
/// @notice Mints tokens to multiple addresses in a single transaction
/// @param addresses Array of recipient addresses
/// @param amounts Array of amounts to mint (must match addresses array length)
/// @dev Only the authorized Batch Minter can call this function
/// @dev Enforces overall rate limiting and validates all inputs
/// @dev Maximum batch size is 100 to prevent gas issues
function batchMint(address[] calldata addresses, uint256[] calldata amounts) public onlyBatchMinter {
if (addresses.length != amounts.length) revert ArrayLengthMismatch();
if (addresses.length == 0) revert EmptyArrays();
if (addresses.length > 100) revert BatchSizeTooLarge(); // Prevent gas issues with large arrays
if (block.timestamp < pauseEndTime) revert CannotMintWhilePaused();
// Calculate total amount to check against global limit
uint256 totalAmount = 0;
for (uint256 i = 0; i < amounts.length; i++) {
if (amounts[i] == 0) revert CannotMintZeroAmount();
totalAmount += amounts[i];
}
// Check global rate limit for the total amount
_checkBatchMintRateLimit(totalAmount);
// Perform the mints
for (uint256 i = 0; i < addresses.length; i++) {
if (addresses[i] == address(0)) revert CannotMintToZeroAddress();
_mint(addresses[i], amounts[i]);
emit BatchMint(addresses[i], amounts[i]);
}
// Update global tracking
totalBatchMintedInPeriod += totalAmount;
batchMintingOccurredThisPeriod = true;
}
/// @notice Returns the remaining cooldown time before owner minting can resume
/// @return The number of seconds remaining in the owner mint cooldown period (0 if cooldown has passed)
function getRemainingOwnerMintCooldown() public view returns (uint256) {
uint256 timeSinceLastMint = block.timestamp - lastOwnerMintTime;
if (timeSinceLastMint >= OWNER_MINT_COOLDOWN) {
return 0;
}
return OWNER_MINT_COOLDOWN - timeSinceLastMint;
}
/// @notice Returns the amount of tokens owner minted in the current period
/// @return The amount of tokens owner minted in the current period
function getTotalOwnerMintedInPeriod() public view returns (uint256) {
// If cooldown period has passed, the period has effectively reset
if (block.timestamp >= lastOwnerMintTime + OWNER_MINT_COOLDOWN) {
return 0;
}
return totalOwnerMintedInPeriod;
}
/// @notice Returns the remaining amount that can be owner minted in the current period
/// @return The amount of tokens that can still be owner minted in the current period
function getRemainingOwnerMintAmount() public view returns (uint256) {
// If cooldown period has passed, return full limit
if (block.timestamp >= lastOwnerMintTime + OWNER_MINT_COOLDOWN) {
return OWNER_MINT_LIMIT;
}
if (totalOwnerMintedInPeriod >= OWNER_MINT_LIMIT) {
return 0;
}
return OWNER_MINT_LIMIT - totalOwnerMintedInPeriod;
}
/// @notice Mints tokens to a single address (can be called by owner only)
/// @param to The address to mint tokens to
/// @param amount The amount of tokens to mint
/// @dev Only the contract owner can call this function
/// @dev Enforces 24-hour cooldown and owner mint limit
/// @dev Respects global pause functionality
function ownerMint(address to, uint256 amount) public onlyOwner {
if (block.timestamp < pauseEndTime) revert CannotMintWhilePaused();
if (amount == 0) revert CannotMintZeroAmount();
if (to == address(0)) revert CannotMintToZeroAddress();
// If cooldown period has passed or this is the first mint ever, start a new period
if (lastOwnerMintTime == 0 || block.timestamp >= lastOwnerMintTime + OWNER_MINT_COOLDOWN) {
totalOwnerMintedInPeriod = 0;
lastOwnerMintTime = block.timestamp; // Only update timestamp when starting new period
} else {
// Still in active cooldown period, check if we would exceed limit
if (totalOwnerMintedInPeriod + amount > OWNER_MINT_LIMIT) {
revert OwnerMintAmountExceedsLimit();
}
}
// Check if amount would exceed limit for this period
if (amount > OWNER_MINT_LIMIT) revert OwnerMintAmountExceedsLimit();
_mint(to, amount);
// Update tracking (but don't reset the cooldown timer)
totalOwnerMintedInPeriod += amount;
emit OwnerMint(to, amount);
}
/// @dev Internal function to check and enforce batch mint rate limiting for token minting
/// @param amount The amount of tokens being minted
/// @notice Checks if cooldown has passed and validates amount against current period limit
function _checkBatchMintRateLimit(uint256 amount) internal view {
// Check if cooldown period has passed since last reset
if (block.timestamp < lastBatchMintTime + BATCH_MINT_COOLDOWN) revert BatchMintCooldownNotExpired();
// Check if the amount would exceed the global limit for this period
if (totalBatchMintedInPeriod + amount > batchMintLimit) revert BatchMintAmountExceedsLimit();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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 (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}//SPDX-License-Identifier: MIT
pragma solidity 0.8.30;
interface IBuidlGuidlBread {
event BatchMint(address indexed user, uint256 amount);
event OwnerMint(address indexed to, uint256 amount);
event BatchMintLimitUpdated(uint256 newLimit);
event MintingPaused(uint256 endTime);
event BatchMintingPeriodCompleted(uint256 timestamp);
error CannotSetZeroAddress();
error BatchMintLimitCannotBeZero();
error UnauthorizedBatchMinter();
error UnauthorizedPause();
error BatchMintCooldownNotExpired();
error BatchMintAmountExceedsLimit();
error NoBatchMintingOccurredThisPeriod();
error ArrayLengthMismatch();
error EmptyArrays();
error BatchSizeTooLarge();
error CannotMintWhilePaused();
error CannotMintZeroAmount();
error CannotMintToZeroAddress();
error OwnerMintCooldownNotExpired();
error OwnerMintAmountExceedsLimit();
}{
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"batchMinterAddress_","type":"address"},{"internalType":"address","name":"pauseAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"BatchMintAmountExceedsLimit","type":"error"},{"inputs":[],"name":"BatchMintCooldownNotExpired","type":"error"},{"inputs":[],"name":"BatchMintLimitCannotBeZero","type":"error"},{"inputs":[],"name":"BatchSizeTooLarge","type":"error"},{"inputs":[],"name":"CannotMintToZeroAddress","type":"error"},{"inputs":[],"name":"CannotMintWhilePaused","type":"error"},{"inputs":[],"name":"CannotMintZeroAmount","type":"error"},{"inputs":[],"name":"CannotSetZeroAddress","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EmptyArrays","type":"error"},{"inputs":[],"name":"NoBatchMintingOccurredThisPeriod","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerMintAmountExceedsLimit","type":"error"},{"inputs":[],"name":"OwnerMintCooldownNotExpired","type":"error"},{"inputs":[],"name":"UnauthorizedBatchMinter","type":"error"},{"inputs":[],"name":"UnauthorizedPause","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BatchMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"BatchMintLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"BatchMintingPeriodCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"MintingPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BATCH_MINT_COOLDOWN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_MINT_COOLDOWN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSE_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"batchMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batchMinterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batchMintingOccurredThisPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"completeBatchMintingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingBatchMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingBatchMintCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingOwnerMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingOwnerMintCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalBatchMintedInPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalOwnerMintedInPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBatchMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastOwnerMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setBatchMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setBatchMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setPauseAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBatchMintedInPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalOwnerMintedInPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052681a055690d9db8000006008556000600d5534801561002257600080fd5b50604051611aff380380611aff83398101604081905261004191610534565b826040518060400160405280601081526020016f109d5a591b11dd5a591b08109c99585960821b815250604051806040016040528060058152602001641091d0949160da1b81525081600390816100989190610616565b5060046100a58282610616565b5050506001600160a01b0381166100d757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6100e081610362565b506001600160a01b03821661010857604051632969679960e11b815260040160405180910390fd5b6001600160a01b03811661012f57604051632969679960e11b815260040160405180910390fd5b600680546001600160a01b038085166001600160a01b031992831617909255600780549284169290911691909117905561018673fe952cb6f4b8f4acd5337153da5c7c93dc3e44e1680821ab0d44149800006103b4565b6101ad7338c772b96d73733f425746bd368b4b4435a3796768205d0a10f55c3400006103b4565b6101d473693edbcf118ec982f5a8101498b6c789470b0b89680821ab0d44149800006103b4565b6101fb73992ab820a2776ff79284b9844d338b5c5fc792e968077b227cd83be800006103b4565b61022273ec70792d7ea81568e183a01a9c3ff1c3a4689c4a6807b2a557a6d97800006103b4565b61024973b4f53bd85c00ef22946d24ae26bc38ac64f5e7b1680813ca56906d3400006103b4565b61027073e56d10ccc8671dc2e2de8e84e6d2b1f5bdd803d0680c4e42014d6dac00006103b4565b61029773cbf407c33d68a55cb594ffc8f4fd1416bba39da5680821ab0d44149800006103b4565b6102be7368b4bd3b2e2845734ad4bc355e2ad2d525cf6ce66805ccec5d16f6cc00006103b4565b6102e5735dcb5f4f39caa6ca25380cfc42280330b49d3c93680821ab0d44149800006103b4565b61030c7334aa3f359a9d614239015126635ce7732c18fdf3680ef644f9b077d000006103b4565b61033373b7582571aee76d57b28d4308639aea1d02e1b5aa680813ca56906d3400006103b4565b61035a73da22919e01e249ba4c96dba46bee29e4981835fc68043a77aabd007800006103b4565b5050506106fb565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166103de5760405163ec442f0560e01b8152600060048201526024016100ce565b6103ea600083836103ee565b5050565b6001600160a01b03831661041957806002600082825461040e91906106d4565b9091555061048b9050565b6001600160a01b0383166000908152602081905260409020548181101561046c5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100ce565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166104a7576002805482900390556104c6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161050b91815260200190565b60405180910390a3505050565b80516001600160a01b038116811461052f57600080fd5b919050565b60008060006060848603121561054957600080fd5b61055284610518565b925061056060208501610518565b915061056e60408501610518565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806105a157607f821691505b6020821081036105c157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561061157806000526020600020601f840160051c810160208510156105ee5750805b601f840160051c820191505b8181101561060e57600081556001016105fa565b50505b505050565b81516001600160401b0381111561062f5761062f610577565b6106438161063d845461058d565b846105c7565b6020601f821160018114610677576000831561065f5750848201515b600019600385901b1c1916600184901b17845561060e565b600084815260208120601f198516915b828110156106a75787850151825560209485019460019092019101610687565b50848210156106c55786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156106f557634e487b7160e01b600052601160045260246000fd5b92915050565b6113f58061070a6000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063685731071161013b578063a2e2eb13116100b8578063cf1614851161007c578063cf16148514610448578063da8fbf2a14610452578063dd62ed3e1461045a578063f2fde38b14610493578063f4d98ca3146104a657600080fd5b8063a2e2eb1314610409578063a9059cbb1461041c578063afe133021461042f578063b1305faf14610437578063c6bd6bc81461043f57600080fd5b806389c47394116100ff57806389c47394146103d55780638da5cb5b146103e857806395d89b41146103f957806396a377af146102b25780639ca407561461040157600080fd5b8063685731071461038057806370a0823114610393578063715018a6146103bc5780637ef787da146103c4578063800f0aad146103cc57600080fd5b80633088f3e4116101c9578063484b973c1161018d578063484b973c146103205780634cd64b4d1461033357806354d8b1761461033c57806357312481146103445780635d12a6ec1461036f57600080fd5b80633088f3e4146102e0578063313ce567146102f35780633b84f817146103025780633e1bf3931461030a57806341b996811461031757600080fd5b80631c312b98116102105780631c312b981461029d57806321b4deee146102b257806323b872dd146102bc57806323e5b0b0146102cf5780632bf6b553146102d757600080fd5b806306fdde0314610242578063095ea7b31461026057806318160ddd146102835780631a257c1d14610295575b600080fd5b61024a6104af565b6040516102579190611137565b60405180910390f35b61027361026e3660046111a1565b610541565b6040519015158152602001610257565b6002545b604051908152602001610257565b61028761055b565b6102b06102ab3660046111cb565b610581565b005b6102876201518081565b6102736102ca3660046111ed565b6105d2565b600a54610287565b610287600d5481565b6102b06102ee3660046111cb565b6105f6565b60405160128152602001610257565b610287610647565b600e546102739060ff1681565b610287600a5481565b6102b061032e3660046111a1565b61067f565b61028760095481565b6102876107ea565b600754610357906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b61028769021e19e0c9bab240000081565b6102b061038e366004611276565b610812565b6102876103a13660046111cb565b6001600160a01b031660009081526020819052604090205490565b6102b0610a99565b6102b0610aad565b610287600b5481565b6102b06103e33660046112e7565b610b46565b6005546001600160a01b0316610357565b61024a610baa565b610287610bb9565b600654610357906001600160a01b031681565b61027361042a3660046111a1565b610c11565b610287610c1f565b610287610c51565b61028760085481565b6102876201437081565b6102b0610c7f565b610287610468366004611300565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b06104a13660046111cb565b610cec565b610287600c5481565b6060600380546104be90611333565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611333565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b60003361054f818585610d2f565b60019150505b92915050565b600062015180600b5461056e9190611383565b421061057a5750600090565b50600c5490565b610589610d41565b6001600160a01b0381166105b057604051632969679960e11b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000336105e0858285610d6e565b6105eb858585610dec565b506001949350505050565b6105fe610d41565b6001600160a01b03811661062557604051632969679960e11b815260040160405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600b54426106589190611396565b905062015180811061066c57600091505090565b6106798162015180611396565b91505090565b610687610d41565b600d544210156106aa5760405163269576db60e01b815260040160405180910390fd5b806000036106cb576040516303ccd49d60e01b815260040160405180910390fd5b6001600160a01b0382166106f2576040516389a4ea1960e01b815260040160405180910390fd5b600b541580610711575062015180600b5461070d9190611383565b4210155b15610724576000600c5542600b5561075c565b69021e19e0c9bab240000081600c5461073d9190611383565b111561075c57604051630774b37760e21b815260040160405180910390fd5b69021e19e0c9bab240000081111561078757604051630774b37760e21b815260040160405180910390fd5b6107918282610e4b565b80600c60008282546107a39190611383565b90915550506040518181526001600160a01b038316907f76dcb19d73dc6c5a49de41d75b9ab52e3d44ca8cd90c330c238bacb4f8b5b4f59060200160405180910390a25050565b6000600854600a54106107fd5750600090565b600a5460085461080d9190611396565b905090565b6006546001600160a01b0316331461083d57604051636093662d60e01b815260040160405180910390fd5b82811461085d5760405163512509d360e11b815260040160405180910390fd5b600083900361087f5760405163a600c81d60e01b815260040160405180910390fd5b60648311156108a157604051631e80759560e21b815260040160405180910390fd5b600d544210156108c45760405163269576db60e01b815260040160405180910390fd5b6000805b82811015610937578383828181106108e2576108e26113a9565b90506020020135600003610909576040516303ccd49d60e01b815260040160405180910390fd5b83838281811061091b5761091b6113a9565b905060200201358261092d9190611383565b91506001016108c8565b5061094181610e85565b60005b84811015610a6d576000868683818110610960576109606113a9565b905060200201602081019061097591906111cb565b6001600160a01b03160361099c576040516389a4ea1960e01b815260040160405180910390fd5b6109e48686838181106109b1576109b16113a9565b90506020020160208101906109c691906111cb565b8585848181106109d8576109d86113a9565b90506020020135610e4b565b8585828181106109f6576109f66113a9565b9050602002016020810190610a0b91906111cb565b6001600160a01b03167f4b6dcabdeaeb0ec6121e2e093c11a74bd84844268dc1131fd8ba3b363a82d7e8858584818110610a4757610a476113a9565b90506020020135604051610a5d91815260200190565b60405180910390a2600101610944565b5080600a6000828254610a809190611383565b9091555050600e805460ff191660011790555050505050565b610aa1610d41565b610aab6000610ee6565b565b6006546001600160a01b03163314610ad857604051636093662d60e01b815260040160405180910390fd5b600e5460ff16610afb5760405163632150cd60e01b815260040160405180910390fd5b6000600a55426009819055600e805460ff191690556040519081527fb9cecf4f4de9abfb9c14d26ae60e353d6e177707f9179b5937c9baec9fbadfe9906020015b60405180910390a1565b610b4e610d41565b80600003610b6f57604051630ced08f560e31b815260040160405180910390fd5b60088190556040518181527fd9e2131a28c9d9de2d1dca598162fa87a666e3007ebf5fb04700450a68a4cff99060200160405180910390a150565b6060600480546104be90611333565b600062015180600b54610bcc9190611383565b4210610be1575069021e19e0c9bab240000090565b69021e19e0c9bab2400000600c5410610bfa5750600090565b600c5461080d9069021e19e0c9bab2400000611396565b60003361054f818585610dec565b60008060095442610c309190611396565b9050620143708110610c4457600091505090565b6106798162014370611396565b6000600d5460001480610c665750600d544210155b15610c715750600090565b42600d5461080d9190611396565b6007546001600160a01b03163314610caa57604051632ce5db9f60e01b815260040160405180910390fd5b610cb76201518042611383565b600d8190556040519081527f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae1190602001610b3c565b610cf4610d41565b6001600160a01b038116610d2357604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610d2c81610ee6565b50565b610d3c8383836001610f38565b505050565b6005546001600160a01b03163314610aab5760405163118cdaa760e01b8152336004820152602401610d1a565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610de65781811015610dd757604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610d1a565b610de684848484036000610f38565b50505050565b6001600160a01b038316610e1657604051634b637e8f60e11b815260006004820152602401610d1a565b6001600160a01b038216610e405760405163ec442f0560e01b815260006004820152602401610d1a565b610d3c83838361100d565b6001600160a01b038216610e755760405163ec442f0560e01b815260006004820152602401610d1a565b610e816000838361100d565b5050565b62014370600954610e969190611383565b421015610eb657604051632ed6564360e21b815260040160405180910390fd5b60085481600a54610ec79190611383565b1115610d2c57604051635b9b900160e01b815260040160405180910390fd5b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610f625760405163e602df0560e01b815260006004820152602401610d1a565b6001600160a01b038316610f8c57604051634a1406b160e11b815260006004820152602401610d1a565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610de657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fff91815260200190565b60405180910390a350505050565b6001600160a01b03831661103857806002600082825461102d9190611383565b909155506110aa9050565b6001600160a01b0383166000908152602081905260409020548181101561108b5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610d1a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166110c6576002805482900390556110e5565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161112a91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156111655760208186018101516040868401015201611148565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461119c57600080fd5b919050565b600080604083850312156111b457600080fd5b6111bd83611185565b946020939093013593505050565b6000602082840312156111dd57600080fd5b6111e682611185565b9392505050565b60008060006060848603121561120257600080fd5b61120b84611185565b925061121960208501611185565b929592945050506040919091013590565b60008083601f84011261123c57600080fd5b50813567ffffffffffffffff81111561125457600080fd5b6020830191508360208260051b850101111561126f57600080fd5b9250929050565b6000806000806040858703121561128c57600080fd5b843567ffffffffffffffff8111156112a357600080fd5b6112af8782880161122a565b909550935050602085013567ffffffffffffffff8111156112cf57600080fd5b6112db8782880161122a565b95989497509550505050565b6000602082840312156112f957600080fd5b5035919050565b6000806040838503121561131357600080fd5b61131c83611185565b915061132a60208401611185565b90509250929050565b600181811c9082168061134757607f821691505b60208210810361136757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105555761055561136d565b818103818111156105555761055561136d565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c8d0cc349cf083a5652a8dcf16021e5b7c0abf115b3a1f12629ab8999507f13e64736f6c634300081e00330000000000000000000000008c4f1fb34565650e176d2cd2761b3be10ca8d35b000000000000000000000000ac9a4652df3878d24f35a6a6c022544aee9748ff00000000000000000000000038c772b96d73733f425746bd368b4b4435a37967
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063685731071161013b578063a2e2eb13116100b8578063cf1614851161007c578063cf16148514610448578063da8fbf2a14610452578063dd62ed3e1461045a578063f2fde38b14610493578063f4d98ca3146104a657600080fd5b8063a2e2eb1314610409578063a9059cbb1461041c578063afe133021461042f578063b1305faf14610437578063c6bd6bc81461043f57600080fd5b806389c47394116100ff57806389c47394146103d55780638da5cb5b146103e857806395d89b41146103f957806396a377af146102b25780639ca407561461040157600080fd5b8063685731071461038057806370a0823114610393578063715018a6146103bc5780637ef787da146103c4578063800f0aad146103cc57600080fd5b80633088f3e4116101c9578063484b973c1161018d578063484b973c146103205780634cd64b4d1461033357806354d8b1761461033c57806357312481146103445780635d12a6ec1461036f57600080fd5b80633088f3e4146102e0578063313ce567146102f35780633b84f817146103025780633e1bf3931461030a57806341b996811461031757600080fd5b80631c312b98116102105780631c312b981461029d57806321b4deee146102b257806323b872dd146102bc57806323e5b0b0146102cf5780632bf6b553146102d757600080fd5b806306fdde0314610242578063095ea7b31461026057806318160ddd146102835780631a257c1d14610295575b600080fd5b61024a6104af565b6040516102579190611137565b60405180910390f35b61027361026e3660046111a1565b610541565b6040519015158152602001610257565b6002545b604051908152602001610257565b61028761055b565b6102b06102ab3660046111cb565b610581565b005b6102876201518081565b6102736102ca3660046111ed565b6105d2565b600a54610287565b610287600d5481565b6102b06102ee3660046111cb565b6105f6565b60405160128152602001610257565b610287610647565b600e546102739060ff1681565b610287600a5481565b6102b061032e3660046111a1565b61067f565b61028760095481565b6102876107ea565b600754610357906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b61028769021e19e0c9bab240000081565b6102b061038e366004611276565b610812565b6102876103a13660046111cb565b6001600160a01b031660009081526020819052604090205490565b6102b0610a99565b6102b0610aad565b610287600b5481565b6102b06103e33660046112e7565b610b46565b6005546001600160a01b0316610357565b61024a610baa565b610287610bb9565b600654610357906001600160a01b031681565b61027361042a3660046111a1565b610c11565b610287610c1f565b610287610c51565b61028760085481565b6102876201437081565b6102b0610c7f565b610287610468366004611300565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b06104a13660046111cb565b610cec565b610287600c5481565b6060600380546104be90611333565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611333565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b60003361054f818585610d2f565b60019150505b92915050565b600062015180600b5461056e9190611383565b421061057a5750600090565b50600c5490565b610589610d41565b6001600160a01b0381166105b057604051632969679960e11b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000336105e0858285610d6e565b6105eb858585610dec565b506001949350505050565b6105fe610d41565b6001600160a01b03811661062557604051632969679960e11b815260040160405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600b54426106589190611396565b905062015180811061066c57600091505090565b6106798162015180611396565b91505090565b610687610d41565b600d544210156106aa5760405163269576db60e01b815260040160405180910390fd5b806000036106cb576040516303ccd49d60e01b815260040160405180910390fd5b6001600160a01b0382166106f2576040516389a4ea1960e01b815260040160405180910390fd5b600b541580610711575062015180600b5461070d9190611383565b4210155b15610724576000600c5542600b5561075c565b69021e19e0c9bab240000081600c5461073d9190611383565b111561075c57604051630774b37760e21b815260040160405180910390fd5b69021e19e0c9bab240000081111561078757604051630774b37760e21b815260040160405180910390fd5b6107918282610e4b565b80600c60008282546107a39190611383565b90915550506040518181526001600160a01b038316907f76dcb19d73dc6c5a49de41d75b9ab52e3d44ca8cd90c330c238bacb4f8b5b4f59060200160405180910390a25050565b6000600854600a54106107fd5750600090565b600a5460085461080d9190611396565b905090565b6006546001600160a01b0316331461083d57604051636093662d60e01b815260040160405180910390fd5b82811461085d5760405163512509d360e11b815260040160405180910390fd5b600083900361087f5760405163a600c81d60e01b815260040160405180910390fd5b60648311156108a157604051631e80759560e21b815260040160405180910390fd5b600d544210156108c45760405163269576db60e01b815260040160405180910390fd5b6000805b82811015610937578383828181106108e2576108e26113a9565b90506020020135600003610909576040516303ccd49d60e01b815260040160405180910390fd5b83838281811061091b5761091b6113a9565b905060200201358261092d9190611383565b91506001016108c8565b5061094181610e85565b60005b84811015610a6d576000868683818110610960576109606113a9565b905060200201602081019061097591906111cb565b6001600160a01b03160361099c576040516389a4ea1960e01b815260040160405180910390fd5b6109e48686838181106109b1576109b16113a9565b90506020020160208101906109c691906111cb565b8585848181106109d8576109d86113a9565b90506020020135610e4b565b8585828181106109f6576109f66113a9565b9050602002016020810190610a0b91906111cb565b6001600160a01b03167f4b6dcabdeaeb0ec6121e2e093c11a74bd84844268dc1131fd8ba3b363a82d7e8858584818110610a4757610a476113a9565b90506020020135604051610a5d91815260200190565b60405180910390a2600101610944565b5080600a6000828254610a809190611383565b9091555050600e805460ff191660011790555050505050565b610aa1610d41565b610aab6000610ee6565b565b6006546001600160a01b03163314610ad857604051636093662d60e01b815260040160405180910390fd5b600e5460ff16610afb5760405163632150cd60e01b815260040160405180910390fd5b6000600a55426009819055600e805460ff191690556040519081527fb9cecf4f4de9abfb9c14d26ae60e353d6e177707f9179b5937c9baec9fbadfe9906020015b60405180910390a1565b610b4e610d41565b80600003610b6f57604051630ced08f560e31b815260040160405180910390fd5b60088190556040518181527fd9e2131a28c9d9de2d1dca598162fa87a666e3007ebf5fb04700450a68a4cff99060200160405180910390a150565b6060600480546104be90611333565b600062015180600b54610bcc9190611383565b4210610be1575069021e19e0c9bab240000090565b69021e19e0c9bab2400000600c5410610bfa5750600090565b600c5461080d9069021e19e0c9bab2400000611396565b60003361054f818585610dec565b60008060095442610c309190611396565b9050620143708110610c4457600091505090565b6106798162014370611396565b6000600d5460001480610c665750600d544210155b15610c715750600090565b42600d5461080d9190611396565b6007546001600160a01b03163314610caa57604051632ce5db9f60e01b815260040160405180910390fd5b610cb76201518042611383565b600d8190556040519081527f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae1190602001610b3c565b610cf4610d41565b6001600160a01b038116610d2357604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610d2c81610ee6565b50565b610d3c8383836001610f38565b505050565b6005546001600160a01b03163314610aab5760405163118cdaa760e01b8152336004820152602401610d1a565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610de65781811015610dd757604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610d1a565b610de684848484036000610f38565b50505050565b6001600160a01b038316610e1657604051634b637e8f60e11b815260006004820152602401610d1a565b6001600160a01b038216610e405760405163ec442f0560e01b815260006004820152602401610d1a565b610d3c83838361100d565b6001600160a01b038216610e755760405163ec442f0560e01b815260006004820152602401610d1a565b610e816000838361100d565b5050565b62014370600954610e969190611383565b421015610eb657604051632ed6564360e21b815260040160405180910390fd5b60085481600a54610ec79190611383565b1115610d2c57604051635b9b900160e01b815260040160405180910390fd5b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610f625760405163e602df0560e01b815260006004820152602401610d1a565b6001600160a01b038316610f8c57604051634a1406b160e11b815260006004820152602401610d1a565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610de657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fff91815260200190565b60405180910390a350505050565b6001600160a01b03831661103857806002600082825461102d9190611383565b909155506110aa9050565b6001600160a01b0383166000908152602081905260409020548181101561108b5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610d1a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166110c6576002805482900390556110e5565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161112a91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156111655760208186018101516040868401015201611148565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461119c57600080fd5b919050565b600080604083850312156111b457600080fd5b6111bd83611185565b946020939093013593505050565b6000602082840312156111dd57600080fd5b6111e682611185565b9392505050565b60008060006060848603121561120257600080fd5b61120b84611185565b925061121960208501611185565b929592945050506040919091013590565b60008083601f84011261123c57600080fd5b50813567ffffffffffffffff81111561125457600080fd5b6020830191508360208260051b850101111561126f57600080fd5b9250929050565b6000806000806040858703121561128c57600080fd5b843567ffffffffffffffff8111156112a357600080fd5b6112af8782880161122a565b909550935050602085013567ffffffffffffffff8111156112cf57600080fd5b6112db8782880161122a565b95989497509550505050565b6000602082840312156112f957600080fd5b5035919050565b6000806040838503121561131357600080fd5b61131c83611185565b915061132a60208401611185565b90509250929050565b600181811c9082168061134757607f821691505b60208210810361136757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105555761055561136d565b818103818111156105555761055561136d565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c8d0cc349cf083a5652a8dcf16021e5b7c0abf115b3a1f12629ab8999507f13e64736f6c634300081e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008c4f1fb34565650e176d2cd2761b3be10ca8d35b000000000000000000000000ac9a4652df3878d24f35a6a6c022544aee9748ff00000000000000000000000038c772b96d73733f425746bd368b4b4435a37967
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x8c4f1FB34565650e176d2cd2761B3be10Ca8d35b
Arg [1] : batchMinterAddress_ (address): 0xaC9A4652dF3878d24f35A6a6c022544aeE9748Ff
Arg [2] : pauseAddress_ (address): 0x38c772B96D73733F425746bd368B4B4435A37967
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000008c4f1fb34565650e176d2cd2761b3be10ca8d35b
Arg [1] : 000000000000000000000000ac9a4652df3878d24f35a6a6c022544aee9748ff
Arg [2] : 00000000000000000000000038c772b96d73733f425746bd368b4b4435a37967
Loading...
Loading
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 ]
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.