Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- SunMinimealSOIL
- Optimization enabled
- true
- Compiler version
- v0.8.20+commit.a1b79de6
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-06-14T12:30:21.842333Z
Constructor Arguments
0x000000000000000000000000ae9f91ae203968aff753ad4be037744e3c5db082000000000000000000000000ae9f91ae203968aff753ad4be037744e3c5db0820000000000000000000000000000000000000000000000000000000034fb5de0
Arg [0] (address) : 0xae9f91ae203968aff753ad4be037744e3c5db082
Arg [1] (address) : 0xae9f91ae203968aff753ad4be037744e3c5db082
Arg [2] (uint256) : 888888800
contracts/SUNMinimealSOIL.sol
// File @openzeppelin/contracts/utils/Context.sol@v4.9.0
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.18;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
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 {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @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 {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(
address owner,
address spender
) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
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);
}
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.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.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => 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 override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(
address account
) public view virtual override 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 `amount`.
*/
function transfer(
address to,
uint256 amount
) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(
address owner,
address spender
) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` 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 amount
) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* 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 `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(
address spender,
uint256 addedValue
) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(
address spender,
uint256 subtractedValue
) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `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.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(
fromBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(
currentAllowance >= amount,
"ERC20: insufficient allowance"
);
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
/**
* @title SunMiniMealSoil
* @dev ERC20 token contract with additional functionalities for batch minting and token claiming using batchId.
*/
contract SunMinimealSOIL is ERC20, Ownable, ReentrancyGuard {
uint public constant MAX_SUPPLY = 5000000000 * 10 ** 2;
uint public constant MIN_SUPPLY = 1000000 * 10 ** 2;
struct AirdropDetail {
uint256 id;
uint256 user_id;
address recipient;
uint256 amount;
}
struct PLSAirdropDetail {
uint256 id;
uint256 user_id;
address payable recipient;
}
mapping(uint256 => bool) public usedBatch;
mapping(uint256 => bool) public PLSusedBatch;
mapping(uint256 => bool) public isClaimed;
mapping(address => bool) public isthisWalletClaimed;
event Claim(AirdropDetail[] airdropDetails, uint256 indexed batchId);
event Burn(uint indexed userId, uint amount, address userAddress);
event Deposit(
PLSAirdropDetail[] plsAirdropDetail,
uint amount,
uint256 indexed batchId
);
error LIMITEXCEEDEDERROR(string message);
/**
* @dev Constructor function to initialize the token contract.
*/
constructor(address _owner,address _liquidityCreator,uint256 _initialLiquidity) ERC20("SUN Minimeal", "SOIL") Ownable(_owner) {
_mint(_liquidityCreator,_initialLiquidity);
}
function deposit(
PLSAirdropDetail[] calldata plsAirdropDetail,
uint256 _amount,
uint256 _batchId
) public payable onlyOwner {
require(!PLSusedBatch[_batchId], "batch id already used");
for (uint256 i = 0; i < plsAirdropDetail.length; i++) {
require(!isClaimed[plsAirdropDetail[i].user_id], "user already claimed PLS");
require(!isthisWalletClaimed[plsAirdropDetail[i].recipient], "wallet address already claimed PLS");
plsAirdropDetail[i].recipient.transfer(_amount);
isClaimed[plsAirdropDetail[i].user_id] = true;
isthisWalletClaimed[plsAirdropDetail[i].recipient] = true;
}
PLSusedBatch[_batchId] = true;
emit Deposit(plsAirdropDetail, _amount, _batchId);
}
/**
* @dev Function to retrieve the number of decimals for the token.
* @return The number of decimals.
*/
function decimals() public view virtual override returns (uint8) {
return 2;
}
/**
* @dev Function to burn tokens from the sender's balance.
* @param _amount Amount of tokens to burn.
* @param _userId ID of the user.
*/
function burn(uint256 _amount, uint _userId) public {
// Calculate the new total supply after burning
uint newTotalSupply = totalSupply() - _amount;
require(
newTotalSupply >= MIN_SUPPLY && newTotalSupply <= MAX_SUPPLY,
"Burn would exceed limits"
);
_burn(_msgSender(), _amount);
emit Burn(_userId, _amount, msg.sender);
}
/**
* @dev Hook function called before any token transfer.
* It checks if the total supply after transfer will not exceed limits.
* @param from Address of the sender.
* @param to Address of the recipient.
* @param amount Amount of tokens being transferred.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal override {
if (totalSupply() + amount >= MAX_SUPPLY) {
_transferOwnership(address(0));
}
super._beforeTokenTransfer(from, to, amount);
}
/**
* @dev Function for admin to send tokens to user.
* @param airdropDetails users address and their respective claim amount
* @param _sumAmounts sum of Amounts of tokens claimed by each recipient.
*/
function claim(
AirdropDetail[] calldata airdropDetails,
uint256 _sumAmounts,
uint256 _batchId
) public nonReentrant onlyOwner {
require(!usedBatch[_batchId], "batch id already used");
if (totalSupply() + _sumAmounts > MAX_SUPPLY) {
revert LIMITEXCEEDEDERROR(
"you can't mint more than maximum supply"
);
}
for (uint256 i = 0; i < airdropDetails.length; i++) {
_mint(airdropDetails[i].recipient, airdropDetails[i].amount);
}
usedBatch[_batchId] = true;
emit Claim(airdropDetails, _batchId);
}
}
Compiler Settings
{"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_owner","internalType":"address"},{"type":"address","name":"_liquidityCreator","internalType":"address"},{"type":"uint256","name":"_initialLiquidity","internalType":"uint256"}]},{"type":"error","name":"LIMITEXCEEDEDERROR","inputs":[{"type":"string","name":"message","internalType":"string"}]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Burn","inputs":[{"type":"uint256","name":"userId","internalType":"uint256","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"address","name":"userAddress","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Claim","inputs":[{"type":"tuple[]","name":"airdropDetails","internalType":"struct SunMinimealSOIL.AirdropDetail[]","indexed":false,"components":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"user_id","internalType":"uint256"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"uint256","name":"batchId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Deposit","inputs":[{"type":"tuple[]","name":"plsAirdropDetail","internalType":"struct SunMinimealSOIL.PLSAirdropDetail[]","indexed":false,"components":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"user_id","internalType":"uint256"},{"type":"address","name":"recipient","internalType":"address payable"}]},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"batchId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_SUPPLY","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MIN_SUPPLY","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"PLSusedBatch","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"uint256","name":"_userId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[{"type":"tuple[]","name":"airdropDetails","internalType":"struct SunMinimealSOIL.AirdropDetail[]","components":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"user_id","internalType":"uint256"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"uint256","name":"_sumAmounts","internalType":"uint256"},{"type":"uint256","name":"_batchId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"deposit","inputs":[{"type":"tuple[]","name":"plsAirdropDetail","internalType":"struct SunMinimealSOIL.PLSAirdropDetail[]","components":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"user_id","internalType":"uint256"},{"type":"address","name":"recipient","internalType":"address payable"}]},{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"uint256","name":"_batchId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isClaimed","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isthisWalletClaimed","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"usedBatch","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]}]
Contract Creation Code
0x608060405234801562000010575f80fd5b5060405162001a8138038062001a8183398101604081905262000033916200026f565b826040518060400160405280600c81526020016b14d55388135a5b9a5b59585b60a21b8152506040518060400160405280600481526020016314d3d25360e21b81525081600390816200008791906200034c565b5060046200009682826200034c565b5050506001600160a01b038116620000c857604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000d381620000ee565b506001600655620000e582826200013f565b5050506200043a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001975760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000bf565b620001a45f83836200020d565b8060025f828254620001b7919062000414565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b64746a528800816200021e60025490565b6200022a919062000414565b106200023b576200023b5f620000ee565b6200024e8383836001600160e01b038416565b505050565b80516001600160a01b03811681146200026a575f80fd5b919050565b5f805f6060848603121562000282575f80fd5b6200028d8462000253565b92506200029d6020850162000253565b9150604084015190509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620002d657607f821691505b602082108103620002f557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200024e575f81815260208120601f850160051c81016020861015620003235750805b601f850160051c820191505b8181101562000344578281556001016200032f565b505050505050565b81516001600160401b03811115620003685762000368620002ad565b6200038081620003798454620002c1565b84620002fb565b602080601f831160018114620003b6575f84156200039e5750858301515b5f19600386901b1c1916600185901b17855562000344565b5f85815260208120601f198616915b82811015620003e657888601518255948401946001909101908401620003c5565b50858210156200040457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200043457634e487b7160e01b5f52601160045260245ffd5b92915050565b61163980620004485f395ff3fe60806040526004361061013c575f3560e01c8063715018a6116100b3578063a457c2d71161006d578063a457c2d71461039b578063a9059cbb146103ba578063b2914d3d146103d9578063b390c0ab146103ec578063dd62ed3e1461040b578063f2fde38b1461042a575f80fd5b8063715018a6146102c25780638da5cb5b146102d65780638e52ef6d146102fd57806394debc4b1461032b57806395d89b41146103595780639e34070f1461036d575f80fd5b8063313ce56711610104578063313ce5671461020457806332cb6b0c1461021f57806335917c6414610237578063395093511461024e57806368d262c51461026d57806370a082311461028e575f80fd5b806306fdde0314610140578063095ea7b31461016a57806318160ddd1461019957806323b872dd146101b75780632715dfff146101d6575b5f80fd5b34801561014b575f80fd5b50610154610449565b604051610161919061125d565b60405180910390f35b348015610175575f80fd5b506101896101843660046112bc565b6104d9565b6040519015158152602001610161565b3480156101a4575f80fd5b506002545b604051908152602001610161565b3480156101c2575f80fd5b506101896101d13660046112e6565b6104f2565b3480156101e1575f80fd5b506101896101f0366004611324565b60086020525f908152604090205460ff1681565b34801561020f575f80fd5b5060405160028152602001610161565b34801561022a575f80fd5b506101a964746a52880081565b348015610242575f80fd5b506101a96305f5e10081565b348015610259575f80fd5b506101896102683660046112bc565b610515565b348015610278575f80fd5b5061028c61028736600461133b565b610536565b005b348015610299575f80fd5b506101a96102a83660046113b6565b6001600160a01b03165f9081526020819052604090205490565b3480156102cd575f80fd5b5061028c6106e9565b3480156102e1575f80fd5b506005546040516001600160a01b039091168152602001610161565b348015610308575f80fd5b50610189610317366004611324565b60076020525f908152604090205460ff1681565b348015610336575f80fd5b506101896103453660046113b6565b600a6020525f908152604090205460ff1681565b348015610364575f80fd5b506101546106fc565b348015610378575f80fd5b50610189610387366004611324565b60096020525f908152604090205460ff1681565b3480156103a6575f80fd5b506101896103b53660046112bc565b61070b565b3480156103c5575f80fd5b506101896103d43660046112bc565b610785565b61028c6103e73660046113d8565b610792565b3480156103f7575f80fd5b5061028c610406366004611437565b610a86565b348015610416575f80fd5b506101a9610425366004611457565b610b4b565b348015610435575f80fd5b5061028c6104443660046113b6565b610b75565b6060600380546104589061148e565b80601f01602080910402602001604051908101604052809291908181526020018280546104849061148e565b80156104cf5780601f106104a6576101008083540402835291602001916104cf565b820191905f5260205f20905b8154815290600101906020018083116104b257829003601f168201915b5050505050905090565b5f336104e6818585610bee565b60019150505b92915050565b5f336104ff858285610d12565b61050a858585610d84565b506001949350505050565b5f336104e68185856105278383610b4b565b61053191906114da565b610bee565b61053e610f31565b610546610f8a565b5f8181526007602052604090205460ff16156105a15760405162461bcd60e51b815260206004820152601560248201527418985d18da081a5908185b1c9958591e481d5cd959605a1b60448201526064015b60405180910390fd5b64746a528800826105b160025490565b6105bb91906114da565b111561061a57604051631df9b36160e21b815260206004820152602760248201527f796f752063616e2774206d696e74206d6f7265207468616e206d6178696d756d60448201526620737570706c7960c81b6064820152608401610598565b5f5b8381101561068457610672858583818110610639576106396114ed565b905060800201604001602081019061065191906113b6565b868684818110610663576106636114ed565b90506080020160600135610fe4565b8061067c81611501565b91505061061c565b505f8181526007602052604090819020805460ff191660011790555181907faf47818927e43830b60f0d5ac97e4b6435dc00f1237e73eb8e9dd9102325cc5a906106d19087908790611519565b60405180910390a26106e36001600655565b50505050565b6106f1610f8a565b6106fa5f6110ac565b565b6060600480546104589061148e565b5f33816107188286610b4b565b9050838110156107785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610598565b61050a8286868403610bee565b5f336104e6818585610d84565b61079a610f8a565b5f8181526008602052604090205460ff16156107f05760405162461bcd60e51b815260206004820152601560248201527418985d18da081a5908185b1c9958591e481d5cd959605a1b6044820152606401610598565b5f5b83811015610a295760095f86868481811061080f5761080f6114ed565b60206060909102929092018201358352508101919091526040015f205460ff161561087c5760405162461bcd60e51b815260206004820152601860248201527f7573657220616c726561647920636c61696d656420504c5300000000000000006044820152606401610598565b600a5f868684818110610891576108916114ed565b90506060020160400160208101906108a991906113b6565b6001600160a01b0316815260208101919091526040015f205460ff161561091d5760405162461bcd60e51b815260206004820152602260248201527f77616c6c6574206164647265737320616c726561647920636c61696d656420506044820152614c5360f01b6064820152608401610598565b84848281811061092f5761092f6114ed565b905060600201604001602081019061094791906113b6565b6001600160a01b03166108fc8490811502906040515f60405180830381858888f1935050505015801561097c573d5f803e3d5ffd5b50600160095f878785818110610994576109946114ed565b9050606002016020013581526020019081526020015f205f6101000a81548160ff0219169083151502179055506001600a5f8787858181106109d8576109d86114ed565b90506060020160400160208101906109f091906113b6565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905580610a2181611501565b9150506107f2565b505f8181526008602052604090819020805460ff191660011790555181907fb8025e62e0b8da00cfbdc09f66c15d91e4819559ecd995bb6b4abcdd4722720190610a7890879087908790611585565b60405180910390a250505050565b5f82610a9160025490565b610a9b91906115f0565b90506305f5e1008110158015610ab6575064746a5288008111155b610b025760405162461bcd60e51b815260206004820152601860248201527f4275726e20776f756c6420657863656564206c696d69747300000000000000006044820152606401610598565b610b0c33846110fd565b6040805184815233602082015283917f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc910160405180910390a2505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b7d610f8a565b6001600160a01b038116610be25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610598565b610beb816110ac565b50565b6001600160a01b038316610c505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610598565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610598565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f610d1d8484610b4b565b90505f1981146106e35781811015610d775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610598565b6106e38484848403610bee565b6001600160a01b038316610de85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610598565b6001600160a01b038216610e4a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610598565b610e55838383611230565b6001600160a01b0383165f9081526020819052604090205481811015610ecc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610598565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106e3565b600260065403610f835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610598565b6002600655565b6005546001600160a01b031633146106fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610598565b6001600160a01b03821661103a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610598565b6110455f8383611230565b8060025f82825461105691906114da565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661115d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610598565b611168825f83611230565b6001600160a01b0382165f90815260208190526040902054818110156111db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610598565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d05565b64746a5288008161124060025490565b61124a91906114da565b10611258576112585f6110ac565b505050565b5f6020808352835180828501525f5b818110156112885785810183015185820160400152820161126c565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610beb575f80fd5b5f80604083850312156112cd575f80fd5b82356112d8816112a8565b946020939093013593505050565b5f805f606084860312156112f8575f80fd5b8335611303816112a8565b92506020840135611313816112a8565b929592945050506040919091013590565b5f60208284031215611334575f80fd5b5035919050565b5f805f806060858703121561134e575f80fd5b843567ffffffffffffffff80821115611365575f80fd5b818701915087601f830112611378575f80fd5b813581811115611386575f80fd5b8860208260071b850101111561139a575f80fd5b6020928301999098509187013596604001359550909350505050565b5f602082840312156113c6575f80fd5b81356113d1816112a8565b9392505050565b5f805f80606085870312156113eb575f80fd5b843567ffffffffffffffff80821115611402575f80fd5b818701915087601f830112611415575f80fd5b813581811115611423575f80fd5b88602060608302850101111561139a575f80fd5b5f8060408385031215611448575f80fd5b50508035926020909101359150565b5f8060408385031215611468575f80fd5b8235611473816112a8565b91506020830135611483816112a8565b809150509250929050565b600181811c908216806114a257607f821691505b6020821081036114c057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104ec576104ec6114c6565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611512576115126114c6565b5060010190565b60208082528181018390525f90604080840186845b87811015611578578135835284820135858401528382013561154f816112a8565b6001600160a01b031683850152606082810135908401526080928301929091019060010161152e565b5090979650505050505050565b60408082528181018490525f90606080840187845b888110156115da578135835260208083013590840152848201356115bd816112a8565b6001600160a01b031683860152918301919083019060010161159a565b5050809350505050826020830152949350505050565b818103818111156104ec576104ec6114c656fea26469706673582212200c99d3e8e3e8872e447c0a0ab20292ae821fe874fa1ed448e7d88460ae55964864736f6c63430008140033000000000000000000000000ae9f91ae203968aff753ad4be037744e3c5db082000000000000000000000000ae9f91ae203968aff753ad4be037744e3c5db0820000000000000000000000000000000000000000000000000000000034fb5de0
Deployed ByteCode
0x60806040526004361061013c575f3560e01c8063715018a6116100b3578063a457c2d71161006d578063a457c2d71461039b578063a9059cbb146103ba578063b2914d3d146103d9578063b390c0ab146103ec578063dd62ed3e1461040b578063f2fde38b1461042a575f80fd5b8063715018a6146102c25780638da5cb5b146102d65780638e52ef6d146102fd57806394debc4b1461032b57806395d89b41146103595780639e34070f1461036d575f80fd5b8063313ce56711610104578063313ce5671461020457806332cb6b0c1461021f57806335917c6414610237578063395093511461024e57806368d262c51461026d57806370a082311461028e575f80fd5b806306fdde0314610140578063095ea7b31461016a57806318160ddd1461019957806323b872dd146101b75780632715dfff146101d6575b5f80fd5b34801561014b575f80fd5b50610154610449565b604051610161919061125d565b60405180910390f35b348015610175575f80fd5b506101896101843660046112bc565b6104d9565b6040519015158152602001610161565b3480156101a4575f80fd5b506002545b604051908152602001610161565b3480156101c2575f80fd5b506101896101d13660046112e6565b6104f2565b3480156101e1575f80fd5b506101896101f0366004611324565b60086020525f908152604090205460ff1681565b34801561020f575f80fd5b5060405160028152602001610161565b34801561022a575f80fd5b506101a964746a52880081565b348015610242575f80fd5b506101a96305f5e10081565b348015610259575f80fd5b506101896102683660046112bc565b610515565b348015610278575f80fd5b5061028c61028736600461133b565b610536565b005b348015610299575f80fd5b506101a96102a83660046113b6565b6001600160a01b03165f9081526020819052604090205490565b3480156102cd575f80fd5b5061028c6106e9565b3480156102e1575f80fd5b506005546040516001600160a01b039091168152602001610161565b348015610308575f80fd5b50610189610317366004611324565b60076020525f908152604090205460ff1681565b348015610336575f80fd5b506101896103453660046113b6565b600a6020525f908152604090205460ff1681565b348015610364575f80fd5b506101546106fc565b348015610378575f80fd5b50610189610387366004611324565b60096020525f908152604090205460ff1681565b3480156103a6575f80fd5b506101896103b53660046112bc565b61070b565b3480156103c5575f80fd5b506101896103d43660046112bc565b610785565b61028c6103e73660046113d8565b610792565b3480156103f7575f80fd5b5061028c610406366004611437565b610a86565b348015610416575f80fd5b506101a9610425366004611457565b610b4b565b348015610435575f80fd5b5061028c6104443660046113b6565b610b75565b6060600380546104589061148e565b80601f01602080910402602001604051908101604052809291908181526020018280546104849061148e565b80156104cf5780601f106104a6576101008083540402835291602001916104cf565b820191905f5260205f20905b8154815290600101906020018083116104b257829003601f168201915b5050505050905090565b5f336104e6818585610bee565b60019150505b92915050565b5f336104ff858285610d12565b61050a858585610d84565b506001949350505050565b5f336104e68185856105278383610b4b565b61053191906114da565b610bee565b61053e610f31565b610546610f8a565b5f8181526007602052604090205460ff16156105a15760405162461bcd60e51b815260206004820152601560248201527418985d18da081a5908185b1c9958591e481d5cd959605a1b60448201526064015b60405180910390fd5b64746a528800826105b160025490565b6105bb91906114da565b111561061a57604051631df9b36160e21b815260206004820152602760248201527f796f752063616e2774206d696e74206d6f7265207468616e206d6178696d756d60448201526620737570706c7960c81b6064820152608401610598565b5f5b8381101561068457610672858583818110610639576106396114ed565b905060800201604001602081019061065191906113b6565b868684818110610663576106636114ed565b90506080020160600135610fe4565b8061067c81611501565b91505061061c565b505f8181526007602052604090819020805460ff191660011790555181907faf47818927e43830b60f0d5ac97e4b6435dc00f1237e73eb8e9dd9102325cc5a906106d19087908790611519565b60405180910390a26106e36001600655565b50505050565b6106f1610f8a565b6106fa5f6110ac565b565b6060600480546104589061148e565b5f33816107188286610b4b565b9050838110156107785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610598565b61050a8286868403610bee565b5f336104e6818585610d84565b61079a610f8a565b5f8181526008602052604090205460ff16156107f05760405162461bcd60e51b815260206004820152601560248201527418985d18da081a5908185b1c9958591e481d5cd959605a1b6044820152606401610598565b5f5b83811015610a295760095f86868481811061080f5761080f6114ed565b60206060909102929092018201358352508101919091526040015f205460ff161561087c5760405162461bcd60e51b815260206004820152601860248201527f7573657220616c726561647920636c61696d656420504c5300000000000000006044820152606401610598565b600a5f868684818110610891576108916114ed565b90506060020160400160208101906108a991906113b6565b6001600160a01b0316815260208101919091526040015f205460ff161561091d5760405162461bcd60e51b815260206004820152602260248201527f77616c6c6574206164647265737320616c726561647920636c61696d656420506044820152614c5360f01b6064820152608401610598565b84848281811061092f5761092f6114ed565b905060600201604001602081019061094791906113b6565b6001600160a01b03166108fc8490811502906040515f60405180830381858888f1935050505015801561097c573d5f803e3d5ffd5b50600160095f878785818110610994576109946114ed565b9050606002016020013581526020019081526020015f205f6101000a81548160ff0219169083151502179055506001600a5f8787858181106109d8576109d86114ed565b90506060020160400160208101906109f091906113b6565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905580610a2181611501565b9150506107f2565b505f8181526008602052604090819020805460ff191660011790555181907fb8025e62e0b8da00cfbdc09f66c15d91e4819559ecd995bb6b4abcdd4722720190610a7890879087908790611585565b60405180910390a250505050565b5f82610a9160025490565b610a9b91906115f0565b90506305f5e1008110158015610ab6575064746a5288008111155b610b025760405162461bcd60e51b815260206004820152601860248201527f4275726e20776f756c6420657863656564206c696d69747300000000000000006044820152606401610598565b610b0c33846110fd565b6040805184815233602082015283917f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc910160405180910390a2505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b7d610f8a565b6001600160a01b038116610be25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610598565b610beb816110ac565b50565b6001600160a01b038316610c505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610598565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610598565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f610d1d8484610b4b565b90505f1981146106e35781811015610d775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610598565b6106e38484848403610bee565b6001600160a01b038316610de85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610598565b6001600160a01b038216610e4a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610598565b610e55838383611230565b6001600160a01b0383165f9081526020819052604090205481811015610ecc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610598565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106e3565b600260065403610f835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610598565b6002600655565b6005546001600160a01b031633146106fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610598565b6001600160a01b03821661103a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610598565b6110455f8383611230565b8060025f82825461105691906114da565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661115d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610598565b611168825f83611230565b6001600160a01b0382165f90815260208190526040902054818110156111db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610598565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d05565b64746a5288008161124060025490565b61124a91906114da565b10611258576112585f6110ac565b505050565b5f6020808352835180828501525f5b818110156112885785810183015185820160400152820161126c565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610beb575f80fd5b5f80604083850312156112cd575f80fd5b82356112d8816112a8565b946020939093013593505050565b5f805f606084860312156112f8575f80fd5b8335611303816112a8565b92506020840135611313816112a8565b929592945050506040919091013590565b5f60208284031215611334575f80fd5b5035919050565b5f805f806060858703121561134e575f80fd5b843567ffffffffffffffff80821115611365575f80fd5b818701915087601f830112611378575f80fd5b813581811115611386575f80fd5b8860208260071b850101111561139a575f80fd5b6020928301999098509187013596604001359550909350505050565b5f602082840312156113c6575f80fd5b81356113d1816112a8565b9392505050565b5f805f80606085870312156113eb575f80fd5b843567ffffffffffffffff80821115611402575f80fd5b818701915087601f830112611415575f80fd5b813581811115611423575f80fd5b88602060608302850101111561139a575f80fd5b5f8060408385031215611448575f80fd5b50508035926020909101359150565b5f8060408385031215611468575f80fd5b8235611473816112a8565b91506020830135611483816112a8565b809150509250929050565b600181811c908216806114a257607f821691505b6020821081036114c057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104ec576104ec6114c6565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611512576115126114c6565b5060010190565b60208082528181018390525f90604080840186845b87811015611578578135835284820135858401528382013561154f816112a8565b6001600160a01b031683850152606082810135908401526080928301929091019060010161152e565b5090979650505050505050565b60408082528181018490525f90606080840187845b888110156115da578135835260208083013590840152848201356115bd816112a8565b6001600160a01b031683860152918301919083019060010161159a565b5050809350505050826020830152949350505050565b818103818111156104ec576104ec6114c656fea26469706673582212200c99d3e8e3e8872e447c0a0ab20292ae821fe874fa1ed448e7d88460ae55964864736f6c63430008140033