Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 29 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 23241551 | 167 days ago | IN | 0 ETH | 0.00000927 | ||||
| Approve | 23241500 | 167 days ago | IN | 0 ETH | 0.00002452 | ||||
| Approve | 22703952 | 242 days ago | IN | 0 ETH | 0.00002038 | ||||
| Approve | 22703773 | 242 days ago | IN | 0 ETH | 0.00003214 | ||||
| Approve | 22698189 | 243 days ago | IN | 0 ETH | 0.0000231 | ||||
| Approve | 22698174 | 243 days ago | IN | 0 ETH | 0.00001657 | ||||
| Approve | 22697749 | 243 days ago | IN | 0 ETH | 0.00004953 | ||||
| Approve | 22651763 | 249 days ago | IN | 0 ETH | 0.00003901 | ||||
| Approve | 22481967 | 273 days ago | IN | 0 ETH | 0.00021868 | ||||
| Approve | 22475947 | 274 days ago | IN | 0 ETH | 0.00030989 | ||||
| Approve | 22438624 | 279 days ago | IN | 0 ETH | 0.00006174 | ||||
| Approve | 22376644 | 288 days ago | IN | 0 ETH | 0.00001072 | ||||
| Approve | 22375066 | 288 days ago | IN | 0 ETH | 0.00004856 | ||||
| Approve | 22348347 | 292 days ago | IN | 0 ETH | 0.00001419 | ||||
| Approve | 22348297 | 292 days ago | IN | 0 ETH | 0.00001666 | ||||
| Approve | 22348287 | 292 days ago | IN | 0 ETH | 0.00003016 | ||||
| Approve | 22348275 | 292 days ago | IN | 0 ETH | 0.00001387 | ||||
| Approve | 22348263 | 292 days ago | IN | 0 ETH | 0.00002387 | ||||
| Approve | 22325045 | 295 days ago | IN | 0 ETH | 0.0003869 | ||||
| Approve | 22229427 | 308 days ago | IN | 0 ETH | 0.00002153 | ||||
| Approve | 22223626 | 309 days ago | IN | 0 ETH | 0.00002508 | ||||
| Approve | 22222999 | 309 days ago | IN | 0 ETH | 0.00004325 | ||||
| Approve | 22222836 | 309 days ago | IN | 0 ETH | 0.00002041 | ||||
| Approve | 22194126 | 313 days ago | IN | 0 ETH | 0.0000729 | ||||
| Set Admin | 22022501 | 337 days ago | IN | 0 ETH | 0.00003653 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Anima
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./utils/AccessProtected.sol";
contract Anima is
ERC20,
ERC20Burnable,
Pausable,
AccessProtected,
ReentrancyGuard
{
using ECDSA for bytes32;
using SafeMath for uint256;
struct Checkpoint {
uint256 amount;
uint256 createdAt; // Timestamp in seconds, UTC.
}
mapping(address => bool) public minter;
mapping(address => Checkpoint) private _checkpoints;
uint256 public dailyAnimaLimit;
event MinterAdded(address indexed _minter);
event MinterRemoved(address indexed _minter);
event DailyAnimaLimitUpdated(uint256 indexed _dailyAnimaLimit);
event AnimaCheckpoint(address indexed _owner, uint256 indexed _amount);
constructor() ERC20("Anima", "ANIMA") {}
/// @dev ERC20 _beforeTokenTransfer hook.
/// @param from Sender address.
/// @param to Recipient address.
/// @param amount Amount of tokens.
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal override whenNotPaused {
super._beforeTokenTransfer(from, to, amount);
}
/// @dev Return address is a minter or not.
/// @param _addr Address to check.
function isMinter(address _addr) public view returns (bool) {
return minter[_addr];
}
/// @dev Add minter.
/// @param _addr Address to add.
function addMinter(address _addr) public onlyOwner {
minter[_addr] = true;
emit MinterAdded(_addr);
}
/// @dev Remove minter.
/// @param _addr Address to remove.
function removeMinter(address _addr) public onlyOwner {
minter[_addr] = false;
emit MinterRemoved(_addr);
}
/// @dev pause contract
function pause() public onlyOwner {
_pause();
}
/// @dev unpause contract
function unpause() public onlyOwner {
_unpause();
}
/// @dev Set dailyAnimaLimit
/// @param _dailyAnimaLimit dailyAnimaLimit
function setDailyAnimaLimit(uint256 _dailyAnimaLimit) public onlyOwner {
dailyAnimaLimit = _dailyAnimaLimit;
emit DailyAnimaLimitUpdated(_dailyAnimaLimit);
}
/// @dev Mint Anima
/// @param to Recipient address.
/// @param amount Amount of tokens.
function mint(address to, uint256 amount) external whenNotPaused onlyAdmin {
_mint(to, amount);
}
/// @dev Mint Anima
/// @param _owner Recipient address.
/// @param _amount Amount of tokens.
/// @param _createdAt Timestamp in seconds, UTC.
/// @param _signature Signature of _owner, _amount and _createdAt.
function mintAnima(
address _owner,
uint256 _amount,
uint256 _createdAt,
bytes memory _signature
) external nonReentrant returns (uint256 _balance) {
// Verify signature
bytes32 _hash = keccak256(
abi.encodePacked(block.chainid, _owner, _amount, _createdAt)
);
address _signer = _hash.toEthSignedMessageHash().recover(_signature);
// Verify signer is a minter and signature is not expired
require(
isMinter(_signer) && _createdAt + 600 >= block.timestamp, //valid signature period is 10 minutes
"Invalid signature"
);
// Mint Anima
return _mintAnima(_owner, _amount, _createdAt);
}
/// @dev Mint Anima
/// @param _owner Recipient address.
/// @param _amount Amount of tokens.
/// @param _createdAt Timestamp in seconds, UTC.
function _mintAnima(
address _owner,
uint256 _amount,
uint256 _createdAt
) internal whenNotPaused returns (uint256 _balance) {
Checkpoint storage _checkpoint = _checkpoints[_owner];
// Require checkpoint creation time to be strictly increasing to prevent replay attacks.
uint256 currentDay = _createdAt / 1 days;
uint256 checkpointDay = _checkpoint.createdAt / 1 days;
uint256 _days = currentDay - checkpointDay;
// Check _amount is greater than the previous checkpoint amount
require(
_amount > _checkpoint.amount,
"mintAnima: query for over-limit amount"
);
uint256 _mintedAmount = _amount.sub(_checkpoint.amount);
// Enforce a daily limit for gained Anima
require(
_mintedAmount <= dailyAnimaLimit.mul(_days),
"dailyAnimaLimit: query for over-limit amount"
);
// Mint additional amount
_mint(_owner, _mintedAmount);
// Update checkpoint
_checkpoint.amount = _amount;
_checkpoint.createdAt = _createdAt;
emit AnimaCheckpoint(_owner, _amount);
return balanceOf(_owner);
}
/// @dev Get checkpoint
/// @param _owner Recipient address.
function getCheckpoint(
address _owner
) external view returns (Checkpoint memory) {
return _checkpoints[_owner];
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* 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}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* 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 value {ERC20} uses, unless this function is
* 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, _allowances[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 = _allowances[owner][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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;
}
_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;
_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;
}
_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 Spend `amount` form the allowance of `owner` toward `spender`.
*
* 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 {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `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 Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
abstract contract AccessProtected is Context, Ownable {
mapping(address => bool) internal _admins; // user address => admin? mapping
event AdminAccessSet(address _admin, bool _enabled);
/**
* @notice Set Admin Access
*
* @param admin - Address of Admin
* @param enabled - Enable/Disable Admin Access
*/
function setAdmin(address admin, bool enabled) external onlyOwner {
_admins[admin] = enabled;
emit AdminAccessSet(admin, enabled);
}
/**
* @notice Check Admin Access
*
* @param admin - Address of Admin
* @return whether user has admin access
*/
function isAdmin(address admin) public view returns (bool) {
return _admins[admin];
}
/**
* Throws if called by any account other than the Admin.
*/
modifier onlyAdmin() {
require(
_admins[_msgSender()] || _msgSender() == owner(),
"Caller does not have Admin Access"
);
_;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_admin","type":"address"},{"indexed":false,"internalType":"bool","name":"_enabled","type":"bool"}],"name":"AdminAccessSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"AnimaCheckpoint","type":"event"},{"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":"uint256","name":"_dailyAnimaLimit","type":"uint256"}],"name":"DailyAnimaLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"}],"name":"MinterRemoved","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","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":"amount","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dailyAnimaLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getCheckpoint","outputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"createdAt","type":"uint256"}],"internalType":"struct Anima.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_createdAt","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintAnima","outputs":[{"internalType":"uint256","name":"_balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dailyAnimaLimit","type":"uint256"}],"name":"setDailyAnimaLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"amount","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":"amount","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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600581526020017f416e696d610000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f414e494d41000000000000000000000000000000000000000000000000000000815250816003908051906020019062000096929190620001c9565b508060049080519060200190620000af929190620001c9565b5050506000600560006101000a81548160ff021916908315150217905550620000ed620000e1620000fb60201b60201c565b6200010360201b60201c565b6001600781905550620002de565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d790620002a8565b90600052602060002090601f016020900481019282620001fb576000855562000247565b82601f106200021657805160ff191683800117855562000247565b8280016001018555821562000247579182015b828111156200024657825182559160200191906001019062000229565b5b5090506200025691906200025a565b5090565b5b80821115620002755760008160009055506001016200025b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002c157607f821691505b60208210811415620002d857620002d762000279565b5b50919050565b613b0880620002ee6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634b0bddd2116101045780638da5cb5b116100a2578063a9059cbb11610071578063a9059cbb14610543578063aa271e1a14610573578063dd62ed3e146105a3578063f2fde38b146105d3576101da565b80638da5cb5b146104bb57806395d89b41146104d9578063983b2d56146104f7578063a457c2d714610513576101da565b8063715018a6116100de578063715018a61461046d57806379cc6790146104775780638456cb59146104935780638c43c8171461049d576101da565b80634b0bddd2146104035780635c975abb1461041f57806370a082311461043d576101da565b80633092afd51161017c5780633e53ec731161014b5780633e53ec73146103915780633f4ba83a146103c157806340c10f19146103cb57806342966c68146103e7576101da565b80633092afd5146102f7578063313ce5671461031357806339509351146103315780633dd08c3814610361576101da565b806318160ddd116101b857806318160ddd1461025d57806323b872dd1461027b57806324d7806c146102ab5780632d3b1fd3146102db576101da565b806306fdde03146101df5780630959c10b146101fd578063095ea7b31461022d575b600080fd5b6101e76105ef565b6040516101f491906125f6565b60405180910390f35b610217600480360381019061021291906127f5565b610681565b6040516102249190612887565b60405180910390f35b610247600480360381019061024291906128a2565b6107a1565b60405161025491906128fd565b60405180910390f35b6102656107c4565b6040516102729190612887565b60405180910390f35b61029560048036038101906102909190612918565b6107ce565b6040516102a291906128fd565b60405180910390f35b6102c560048036038101906102c0919061296b565b6107fd565b6040516102d291906128fd565b60405180910390f35b6102f560048036038101906102f09190612998565b610853565b005b610311600480360381019061030c919061296b565b610906565b005b61031b610a20565b60405161032891906129e1565b60405180910390f35b61034b600480360381019061034691906128a2565b610a29565b60405161035891906128fd565b60405180910390f35b61037b6004803603810190610376919061296b565b610ad3565b60405161038891906128fd565b60405180910390f35b6103ab60048036038101906103a6919061296b565b610af3565b6040516103b89190612a3a565b60405180910390f35b6103c9610b60565b005b6103e560048036038101906103e091906128a2565b610be6565b005b61040160048036038101906103fc9190612998565b610d13565b005b61041d60048036038101906104189190612a81565b610d27565b005b610427610e37565b60405161043491906128fd565b60405180910390f35b6104576004803603810190610452919061296b565b610e4e565b6040516104649190612887565b60405180910390f35b610475610e96565b005b610491600480360381019061048c91906128a2565b610f1e565b005b61049b610f3e565b005b6104a5610fc4565b6040516104b29190612887565b60405180910390f35b6104c3610fca565b6040516104d09190612ad0565b60405180910390f35b6104e1610ff4565b6040516104ee91906125f6565b60405180910390f35b610511600480360381019061050c919061296b565b611086565b005b61052d600480360381019061052891906128a2565b6111a0565b60405161053a91906128fd565b60405180910390f35b61055d600480360381019061055891906128a2565b61128a565b60405161056a91906128fd565b60405180910390f35b61058d6004803603810190610588919061296b565b6112ad565b60405161059a91906128fd565b60405180910390f35b6105bd60048036038101906105b89190612aeb565b611303565b6040516105ca9190612887565b60405180910390f35b6105ed60048036038101906105e8919061296b565b61138a565b005b6060600380546105fe90612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461062a90612b5a565b80156106775780601f1061064c57610100808354040283529160200191610677565b820191906000526020600020905b81548152906001019060200180831161065a57829003601f168201915b5050505050905090565b6000600260075414156106c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c090612bd8565b60405180910390fd5b60026007819055506000468686866040516020016106ea9493929190612c61565b604051602081830303815290604052805190602001209050600061071f8461071184611482565b6114b290919063ffffffff16565b905061072a816112ad565b8015610743575042610258866107409190612cde565b10155b610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990612d80565b60405180910390fd5b61078d8787876114d9565b925050506001600781905550949350505050565b6000806107ac6116cf565b90506107b98185856116d7565b600191505092915050565b6000600254905090565b6000806107d96116cf565b90506107e68582856118a2565b6107f185858561192e565b60019150509392505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61085b6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610879610fca565b73ffffffffffffffffffffffffffffffffffffffff16146108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c690612dec565b60405180910390fd5b80600a81905550807f9cec89991aaf45cfb82b516375cf6452475c912f4ca3e0bcb7a75686e701edd360405160405180910390a250565b61090e6116cf565b73ffffffffffffffffffffffffffffffffffffffff1661092c610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097990612dec565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b60006012905090565b600080610a346116cf565b9050610ac8818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ac39190612cde565b6116d7565b600191505092915050565b60086020528060005260406000206000915054906101000a900460ff1681565b610afb612543565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b610b686116cf565b73ffffffffffffffffffffffffffffffffffffffff16610b86610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd390612dec565b60405180910390fd5b610be4611baf565b565b610bee610e37565b15610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590612e58565b60405180910390fd5b60066000610c3a6116cf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610cc65750610c90610fca565b73ffffffffffffffffffffffffffffffffffffffff16610cae6116cf565b73ffffffffffffffffffffffffffffffffffffffff16145b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90612eea565b60405180910390fd5b610d0f8282611c51565b5050565b610d24610d1e6116cf565b82611db1565b50565b610d2f6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610d4d610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9a90612dec565b60405180910390fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fe529461c8529abc0e0fe7c5ee361f74fe22e0b7574df1fc0b7558a282091fb788282604051610e2b929190612f0a565b60405180910390a15050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e9e6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610ebc610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0990612dec565b60405180910390fd5b610f1c6000611f88565b565b610f3082610f2a6116cf565b836118a2565b610f3a8282611db1565b5050565b610f466116cf565b73ffffffffffffffffffffffffffffffffffffffff16610f64610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190612dec565b60405180910390fd5b610fc261204e565b565b600a5481565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461100390612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461102f90612b5a565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050505050905090565b61108e6116cf565b73ffffffffffffffffffffffffffffffffffffffff166110ac610fca565b73ffffffffffffffffffffffffffffffffffffffff1614611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f990612dec565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b6000806111ab6116cf565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890612fa5565b60405180910390fd5b61127e82868684036116d7565b60019250505092915050565b6000806112956116cf565b90506112a281858561192e565b600191505092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113926116cf565b73ffffffffffffffffffffffffffffffffffffffff166113b0610fca565b73ffffffffffffffffffffffffffffffffffffffff1614611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90612dec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90613037565b60405180910390fd5b61147f81611f88565b50565b60008160405160200161149591906130d9565b604051602081830303815290604052805190602001209050919050565b60008060006114c185856120f1565b915091506114ce81612174565b819250505092915050565b60006114e3610e37565b15611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a90612e58565b60405180910390fd5b6000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006201518084611577919061312e565b9050600062015180836001015461158e919061312e565b90506000818361159e919061315f565b9050836000015487116115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd90613205565b60405180910390fd5b60006115ff85600001548961234990919063ffffffff16565b905061161682600a5461235f90919063ffffffff16565b811115611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90613297565b60405180910390fd5b6116628982611c51565b878560000181905550868560010181905550878973ffffffffffffffffffffffffffffffffffffffff167f2a4ec77a2269d5ea85b38eb8fc67ef903fce42b83be099248d4c70e3bdc4a7a360405160405180910390a36116c189610e4e565b955050505050509392505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173e90613329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae906133bb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118959190612887565b60405180910390a3505050565b60006118ae8484611303565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611928578181101561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190613427565b60405180910390fd5b61192784848484036116d7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561199e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611995906134b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a059061354b565b60405180910390fd5b611a19838383612375565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a96906135dd565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b329190612cde565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b969190612887565b60405180910390a3611ba98484846123cd565b50505050565b611bb7610e37565b611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90613649565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611c3a6116cf565b604051611c479190612ad0565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb8906136b5565b60405180910390fd5b611ccd60008383612375565b8060026000828254611cdf9190612cde565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d349190612cde565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d999190612887565b60405180910390a3611dad600083836123cd565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890613747565b60405180910390fd5b611e2d82600083612375565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaa906137d9565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611f0a919061315f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f6f9190612887565b60405180910390a3611f83836000846123cd565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612056610e37565b15612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d90612e58565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120da6116cf565b6040516120e79190612ad0565b60405180910390a1565b6000806041835114156121335760008060006020860151925060408601519150606086015160001a9050612127878285856123d2565b9450945050505061216d565b6040835114156121645760008060208501519150604085015190506121598683836124df565b93509350505061216d565b60006002915091505b9250929050565b60006004811115612188576121876137f9565b5b81600481111561219b5761219a6137f9565b5b14156121a657612346565b600160048111156121ba576121b96137f9565b5b8160048111156121cd576121cc6137f9565b5b141561220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590613874565b60405180910390fd5b60026004811115612222576122216137f9565b5b816004811115612235576122346137f9565b5b1415612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d906138e0565b60405180910390fd5b6003600481111561228a576122896137f9565b5b81600481111561229d5761229c6137f9565b5b14156122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613972565b60405180910390fd5b6004808111156122f1576122f06137f9565b5b816004811115612304576123036137f9565b5b1415612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90613a04565b60405180910390fd5b5b50565b60008183612357919061315f565b905092915050565b6000818361236d9190613a24565b905092915050565b61237d610e37565b156123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490612e58565b60405180910390fd5b6123c883838361253e565b505050565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561240d5760006003915091506124d6565b601b8560ff16141580156124255750601c8560ff1614155b156124375760006004915091506124d6565b60006001878787876040516000815260200160405260405161245c9493929190613a8d565b6020604051602081039080840390855afa15801561247e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124cd576000600192509250506124d6565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6125229190612cde565b9050612530878288856123d2565b935093505050935093915050565b505050565b604051806040016040528060008152602001600081525090565b600081519050919050565b600082825260208201905092915050565b60005b8381101561259757808201518184015260208101905061257c565b838111156125a6576000848401525b50505050565b6000601f19601f8301169050919050565b60006125c88261255d565b6125d28185612568565b93506125e2818560208601612579565b6125eb816125ac565b840191505092915050565b6000602082019050818103600083015261261081846125bd565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126578261262c565b9050919050565b6126678161264c565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b6000819050919050565b61269d8161268a565b81146126a857600080fd5b50565b6000813590506126ba81612694565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612702826125ac565b810181811067ffffffffffffffff82111715612721576127206126ca565b5b80604052505050565b6000612734612618565b905061274082826126f9565b919050565b600067ffffffffffffffff8211156127605761275f6126ca565b5b612769826125ac565b9050602081019050919050565b82818337600083830152505050565b600061279861279384612745565b61272a565b9050828152602081018484840111156127b4576127b36126c5565b5b6127bf848285612776565b509392505050565b600082601f8301126127dc576127db6126c0565b5b81356127ec848260208601612785565b91505092915050565b6000806000806080858703121561280f5761280e612622565b5b600061281d87828801612675565b945050602061282e878288016126ab565b935050604061283f878288016126ab565b925050606085013567ffffffffffffffff8111156128605761285f612627565b5b61286c878288016127c7565b91505092959194509250565b6128818161268a565b82525050565b600060208201905061289c6000830184612878565b92915050565b600080604083850312156128b9576128b8612622565b5b60006128c785828601612675565b92505060206128d8858286016126ab565b9150509250929050565b60008115159050919050565b6128f7816128e2565b82525050565b600060208201905061291260008301846128ee565b92915050565b60008060006060848603121561293157612930612622565b5b600061293f86828701612675565b935050602061295086828701612675565b9250506040612961868287016126ab565b9150509250925092565b60006020828403121561298157612980612622565b5b600061298f84828501612675565b91505092915050565b6000602082840312156129ae576129ad612622565b5b60006129bc848285016126ab565b91505092915050565b600060ff82169050919050565b6129db816129c5565b82525050565b60006020820190506129f660008301846129d2565b92915050565b612a058161268a565b82525050565b604082016000820151612a2160008501826129fc565b506020820151612a3460208501826129fc565b50505050565b6000604082019050612a4f6000830184612a0b565b92915050565b612a5e816128e2565b8114612a6957600080fd5b50565b600081359050612a7b81612a55565b92915050565b60008060408385031215612a9857612a97612622565b5b6000612aa685828601612675565b9250506020612ab785828601612a6c565b9150509250929050565b612aca8161264c565b82525050565b6000602082019050612ae56000830184612ac1565b92915050565b60008060408385031215612b0257612b01612622565b5b6000612b1085828601612675565b9250506020612b2185828601612675565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b7257607f821691505b60208210811415612b8657612b85612b2b565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612bc2601f83612568565b9150612bcd82612b8c565b602082019050919050565b60006020820190508181036000830152612bf181612bb5565b9050919050565b6000819050919050565b612c13612c0e8261268a565b612bf8565b82525050565b60008160601b9050919050565b6000612c3182612c19565b9050919050565b6000612c4382612c26565b9050919050565b612c5b612c568261264c565b612c38565b82525050565b6000612c6d8287612c02565b602082019150612c7d8286612c4a565b601482019150612c8d8285612c02565b602082019150612c9d8284612c02565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ce98261268a565b9150612cf48361268a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d2957612d28612caf565b5b828201905092915050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000612d6a601183612568565b9150612d7582612d34565b602082019050919050565b60006020820190508181036000830152612d9981612d5d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612dd6602083612568565b9150612de182612da0565b602082019050919050565b60006020820190508181036000830152612e0581612dc9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612e42601083612568565b9150612e4d82612e0c565b602082019050919050565b60006020820190508181036000830152612e7181612e35565b9050919050565b7f43616c6c657220646f6573206e6f7420686176652041646d696e20416363657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ed4602183612568565b9150612edf82612e78565b604082019050919050565b60006020820190508181036000830152612f0381612ec7565b9050919050565b6000604082019050612f1f6000830185612ac1565b612f2c60208301846128ee565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612f8f602583612568565b9150612f9a82612f33565b604082019050919050565b60006020820190508181036000830152612fbe81612f82565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613021602683612568565b915061302c82612fc5565b604082019050919050565b6000602082019050818103600083015261305081613014565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613098601c83613057565b91506130a382613062565b601c82019050919050565b6000819050919050565b6000819050919050565b6130d36130ce826130ae565b6130b8565b82525050565b60006130e48261308b565b91506130f082846130c2565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131398261268a565b91506131448361268a565b925082613154576131536130ff565b5b828204905092915050565b600061316a8261268a565b91506131758361268a565b92508282101561318857613187612caf565b5b828203905092915050565b7f6d696e74416e696d613a20717565727920666f72206f7665722d6c696d69742060008201527f616d6f756e740000000000000000000000000000000000000000000000000000602082015250565b60006131ef602683612568565b91506131fa82613193565b604082019050919050565b6000602082019050818103600083015261321e816131e2565b9050919050565b7f6461696c79416e696d614c696d69743a20717565727920666f72206f7665722d60008201527f6c696d697420616d6f756e740000000000000000000000000000000000000000602082015250565b6000613281602c83612568565b915061328c82613225565b604082019050919050565b600060208201905081810360008301526132b081613274565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613313602483612568565b915061331e826132b7565b604082019050919050565b6000602082019050818103600083015261334281613306565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a5602283612568565b91506133b082613349565b604082019050919050565b600060208201905081810360008301526133d481613398565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613411601d83612568565b915061341c826133db565b602082019050919050565b6000602082019050818103600083015261344081613404565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006134a3602583612568565b91506134ae82613447565b604082019050919050565b600060208201905081810360008301526134d281613496565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613535602383612568565b9150613540826134d9565b604082019050919050565b6000602082019050818103600083015261356481613528565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135c7602683612568565b91506135d28261356b565b604082019050919050565b600060208201905081810360008301526135f6816135ba565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613633601483612568565b915061363e826135fd565b602082019050919050565b6000602082019050818103600083015261366281613626565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061369f601f83612568565b91506136aa82613669565b602082019050919050565b600060208201905081810360008301526136ce81613692565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613731602183612568565b915061373c826136d5565b604082019050919050565b6000602082019050818103600083015261376081613724565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006137c3602283612568565b91506137ce82613767565b604082019050919050565b600060208201905081810360008301526137f2816137b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061385e601883612568565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006138ca601f83612568565b91506138d582613894565b602082019050919050565b600060208201905081810360008301526138f9816138bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061395c602283612568565b915061396782613900565b604082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006139ee602283612568565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b6000613a2f8261268a565b9150613a3a8361268a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7357613a72612caf565b5b828202905092915050565b613a87816130ae565b82525050565b6000608082019050613aa26000830187613a7e565b613aaf60208301866129d2565b613abc6040830185613a7e565b613ac96060830184613a7e565b9594505050505056fea26469706673582212202820fcabd744bf7c67686d8fbc39c2b12e8990bc20504b8250c5e7d09c57cdfc64736f6c634300080c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80634b0bddd2116101045780638da5cb5b116100a2578063a9059cbb11610071578063a9059cbb14610543578063aa271e1a14610573578063dd62ed3e146105a3578063f2fde38b146105d3576101da565b80638da5cb5b146104bb57806395d89b41146104d9578063983b2d56146104f7578063a457c2d714610513576101da565b8063715018a6116100de578063715018a61461046d57806379cc6790146104775780638456cb59146104935780638c43c8171461049d576101da565b80634b0bddd2146104035780635c975abb1461041f57806370a082311461043d576101da565b80633092afd51161017c5780633e53ec731161014b5780633e53ec73146103915780633f4ba83a146103c157806340c10f19146103cb57806342966c68146103e7576101da565b80633092afd5146102f7578063313ce5671461031357806339509351146103315780633dd08c3814610361576101da565b806318160ddd116101b857806318160ddd1461025d57806323b872dd1461027b57806324d7806c146102ab5780632d3b1fd3146102db576101da565b806306fdde03146101df5780630959c10b146101fd578063095ea7b31461022d575b600080fd5b6101e76105ef565b6040516101f491906125f6565b60405180910390f35b610217600480360381019061021291906127f5565b610681565b6040516102249190612887565b60405180910390f35b610247600480360381019061024291906128a2565b6107a1565b60405161025491906128fd565b60405180910390f35b6102656107c4565b6040516102729190612887565b60405180910390f35b61029560048036038101906102909190612918565b6107ce565b6040516102a291906128fd565b60405180910390f35b6102c560048036038101906102c0919061296b565b6107fd565b6040516102d291906128fd565b60405180910390f35b6102f560048036038101906102f09190612998565b610853565b005b610311600480360381019061030c919061296b565b610906565b005b61031b610a20565b60405161032891906129e1565b60405180910390f35b61034b600480360381019061034691906128a2565b610a29565b60405161035891906128fd565b60405180910390f35b61037b6004803603810190610376919061296b565b610ad3565b60405161038891906128fd565b60405180910390f35b6103ab60048036038101906103a6919061296b565b610af3565b6040516103b89190612a3a565b60405180910390f35b6103c9610b60565b005b6103e560048036038101906103e091906128a2565b610be6565b005b61040160048036038101906103fc9190612998565b610d13565b005b61041d60048036038101906104189190612a81565b610d27565b005b610427610e37565b60405161043491906128fd565b60405180910390f35b6104576004803603810190610452919061296b565b610e4e565b6040516104649190612887565b60405180910390f35b610475610e96565b005b610491600480360381019061048c91906128a2565b610f1e565b005b61049b610f3e565b005b6104a5610fc4565b6040516104b29190612887565b60405180910390f35b6104c3610fca565b6040516104d09190612ad0565b60405180910390f35b6104e1610ff4565b6040516104ee91906125f6565b60405180910390f35b610511600480360381019061050c919061296b565b611086565b005b61052d600480360381019061052891906128a2565b6111a0565b60405161053a91906128fd565b60405180910390f35b61055d600480360381019061055891906128a2565b61128a565b60405161056a91906128fd565b60405180910390f35b61058d6004803603810190610588919061296b565b6112ad565b60405161059a91906128fd565b60405180910390f35b6105bd60048036038101906105b89190612aeb565b611303565b6040516105ca9190612887565b60405180910390f35b6105ed60048036038101906105e8919061296b565b61138a565b005b6060600380546105fe90612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461062a90612b5a565b80156106775780601f1061064c57610100808354040283529160200191610677565b820191906000526020600020905b81548152906001019060200180831161065a57829003601f168201915b5050505050905090565b6000600260075414156106c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c090612bd8565b60405180910390fd5b60026007819055506000468686866040516020016106ea9493929190612c61565b604051602081830303815290604052805190602001209050600061071f8461071184611482565b6114b290919063ffffffff16565b905061072a816112ad565b8015610743575042610258866107409190612cde565b10155b610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990612d80565b60405180910390fd5b61078d8787876114d9565b925050506001600781905550949350505050565b6000806107ac6116cf565b90506107b98185856116d7565b600191505092915050565b6000600254905090565b6000806107d96116cf565b90506107e68582856118a2565b6107f185858561192e565b60019150509392505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61085b6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610879610fca565b73ffffffffffffffffffffffffffffffffffffffff16146108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c690612dec565b60405180910390fd5b80600a81905550807f9cec89991aaf45cfb82b516375cf6452475c912f4ca3e0bcb7a75686e701edd360405160405180910390a250565b61090e6116cf565b73ffffffffffffffffffffffffffffffffffffffff1661092c610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097990612dec565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b60006012905090565b600080610a346116cf565b9050610ac8818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ac39190612cde565b6116d7565b600191505092915050565b60086020528060005260406000206000915054906101000a900460ff1681565b610afb612543565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b610b686116cf565b73ffffffffffffffffffffffffffffffffffffffff16610b86610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd390612dec565b60405180910390fd5b610be4611baf565b565b610bee610e37565b15610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590612e58565b60405180910390fd5b60066000610c3a6116cf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610cc65750610c90610fca565b73ffffffffffffffffffffffffffffffffffffffff16610cae6116cf565b73ffffffffffffffffffffffffffffffffffffffff16145b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90612eea565b60405180910390fd5b610d0f8282611c51565b5050565b610d24610d1e6116cf565b82611db1565b50565b610d2f6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610d4d610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9a90612dec565b60405180910390fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fe529461c8529abc0e0fe7c5ee361f74fe22e0b7574df1fc0b7558a282091fb788282604051610e2b929190612f0a565b60405180910390a15050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e9e6116cf565b73ffffffffffffffffffffffffffffffffffffffff16610ebc610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0990612dec565b60405180910390fd5b610f1c6000611f88565b565b610f3082610f2a6116cf565b836118a2565b610f3a8282611db1565b5050565b610f466116cf565b73ffffffffffffffffffffffffffffffffffffffff16610f64610fca565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190612dec565b60405180910390fd5b610fc261204e565b565b600a5481565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461100390612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461102f90612b5a565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050505050905090565b61108e6116cf565b73ffffffffffffffffffffffffffffffffffffffff166110ac610fca565b73ffffffffffffffffffffffffffffffffffffffff1614611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f990612dec565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b6000806111ab6116cf565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890612fa5565b60405180910390fd5b61127e82868684036116d7565b60019250505092915050565b6000806112956116cf565b90506112a281858561192e565b600191505092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113926116cf565b73ffffffffffffffffffffffffffffffffffffffff166113b0610fca565b73ffffffffffffffffffffffffffffffffffffffff1614611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90612dec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90613037565b60405180910390fd5b61147f81611f88565b50565b60008160405160200161149591906130d9565b604051602081830303815290604052805190602001209050919050565b60008060006114c185856120f1565b915091506114ce81612174565b819250505092915050565b60006114e3610e37565b15611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a90612e58565b60405180910390fd5b6000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006201518084611577919061312e565b9050600062015180836001015461158e919061312e565b90506000818361159e919061315f565b9050836000015487116115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd90613205565b60405180910390fd5b60006115ff85600001548961234990919063ffffffff16565b905061161682600a5461235f90919063ffffffff16565b811115611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90613297565b60405180910390fd5b6116628982611c51565b878560000181905550868560010181905550878973ffffffffffffffffffffffffffffffffffffffff167f2a4ec77a2269d5ea85b38eb8fc67ef903fce42b83be099248d4c70e3bdc4a7a360405160405180910390a36116c189610e4e565b955050505050509392505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173e90613329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae906133bb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118959190612887565b60405180910390a3505050565b60006118ae8484611303565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611928578181101561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190613427565b60405180910390fd5b61192784848484036116d7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561199e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611995906134b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a059061354b565b60405180910390fd5b611a19838383612375565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a96906135dd565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b329190612cde565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b969190612887565b60405180910390a3611ba98484846123cd565b50505050565b611bb7610e37565b611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90613649565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611c3a6116cf565b604051611c479190612ad0565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb8906136b5565b60405180910390fd5b611ccd60008383612375565b8060026000828254611cdf9190612cde565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d349190612cde565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d999190612887565b60405180910390a3611dad600083836123cd565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890613747565b60405180910390fd5b611e2d82600083612375565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaa906137d9565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611f0a919061315f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f6f9190612887565b60405180910390a3611f83836000846123cd565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612056610e37565b15612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d90612e58565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120da6116cf565b6040516120e79190612ad0565b60405180910390a1565b6000806041835114156121335760008060006020860151925060408601519150606086015160001a9050612127878285856123d2565b9450945050505061216d565b6040835114156121645760008060208501519150604085015190506121598683836124df565b93509350505061216d565b60006002915091505b9250929050565b60006004811115612188576121876137f9565b5b81600481111561219b5761219a6137f9565b5b14156121a657612346565b600160048111156121ba576121b96137f9565b5b8160048111156121cd576121cc6137f9565b5b141561220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590613874565b60405180910390fd5b60026004811115612222576122216137f9565b5b816004811115612235576122346137f9565b5b1415612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d906138e0565b60405180910390fd5b6003600481111561228a576122896137f9565b5b81600481111561229d5761229c6137f9565b5b14156122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613972565b60405180910390fd5b6004808111156122f1576122f06137f9565b5b816004811115612304576123036137f9565b5b1415612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90613a04565b60405180910390fd5b5b50565b60008183612357919061315f565b905092915050565b6000818361236d9190613a24565b905092915050565b61237d610e37565b156123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490612e58565b60405180910390fd5b6123c883838361253e565b505050565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561240d5760006003915091506124d6565b601b8560ff16141580156124255750601c8560ff1614155b156124375760006004915091506124d6565b60006001878787876040516000815260200160405260405161245c9493929190613a8d565b6020604051602081039080840390855afa15801561247e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124cd576000600192509250506124d6565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6125229190612cde565b9050612530878288856123d2565b935093505050935093915050565b505050565b604051806040016040528060008152602001600081525090565b600081519050919050565b600082825260208201905092915050565b60005b8381101561259757808201518184015260208101905061257c565b838111156125a6576000848401525b50505050565b6000601f19601f8301169050919050565b60006125c88261255d565b6125d28185612568565b93506125e2818560208601612579565b6125eb816125ac565b840191505092915050565b6000602082019050818103600083015261261081846125bd565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126578261262c565b9050919050565b6126678161264c565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b6000819050919050565b61269d8161268a565b81146126a857600080fd5b50565b6000813590506126ba81612694565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612702826125ac565b810181811067ffffffffffffffff82111715612721576127206126ca565b5b80604052505050565b6000612734612618565b905061274082826126f9565b919050565b600067ffffffffffffffff8211156127605761275f6126ca565b5b612769826125ac565b9050602081019050919050565b82818337600083830152505050565b600061279861279384612745565b61272a565b9050828152602081018484840111156127b4576127b36126c5565b5b6127bf848285612776565b509392505050565b600082601f8301126127dc576127db6126c0565b5b81356127ec848260208601612785565b91505092915050565b6000806000806080858703121561280f5761280e612622565b5b600061281d87828801612675565b945050602061282e878288016126ab565b935050604061283f878288016126ab565b925050606085013567ffffffffffffffff8111156128605761285f612627565b5b61286c878288016127c7565b91505092959194509250565b6128818161268a565b82525050565b600060208201905061289c6000830184612878565b92915050565b600080604083850312156128b9576128b8612622565b5b60006128c785828601612675565b92505060206128d8858286016126ab565b9150509250929050565b60008115159050919050565b6128f7816128e2565b82525050565b600060208201905061291260008301846128ee565b92915050565b60008060006060848603121561293157612930612622565b5b600061293f86828701612675565b935050602061295086828701612675565b9250506040612961868287016126ab565b9150509250925092565b60006020828403121561298157612980612622565b5b600061298f84828501612675565b91505092915050565b6000602082840312156129ae576129ad612622565b5b60006129bc848285016126ab565b91505092915050565b600060ff82169050919050565b6129db816129c5565b82525050565b60006020820190506129f660008301846129d2565b92915050565b612a058161268a565b82525050565b604082016000820151612a2160008501826129fc565b506020820151612a3460208501826129fc565b50505050565b6000604082019050612a4f6000830184612a0b565b92915050565b612a5e816128e2565b8114612a6957600080fd5b50565b600081359050612a7b81612a55565b92915050565b60008060408385031215612a9857612a97612622565b5b6000612aa685828601612675565b9250506020612ab785828601612a6c565b9150509250929050565b612aca8161264c565b82525050565b6000602082019050612ae56000830184612ac1565b92915050565b60008060408385031215612b0257612b01612622565b5b6000612b1085828601612675565b9250506020612b2185828601612675565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b7257607f821691505b60208210811415612b8657612b85612b2b565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612bc2601f83612568565b9150612bcd82612b8c565b602082019050919050565b60006020820190508181036000830152612bf181612bb5565b9050919050565b6000819050919050565b612c13612c0e8261268a565b612bf8565b82525050565b60008160601b9050919050565b6000612c3182612c19565b9050919050565b6000612c4382612c26565b9050919050565b612c5b612c568261264c565b612c38565b82525050565b6000612c6d8287612c02565b602082019150612c7d8286612c4a565b601482019150612c8d8285612c02565b602082019150612c9d8284612c02565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ce98261268a565b9150612cf48361268a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d2957612d28612caf565b5b828201905092915050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000612d6a601183612568565b9150612d7582612d34565b602082019050919050565b60006020820190508181036000830152612d9981612d5d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612dd6602083612568565b9150612de182612da0565b602082019050919050565b60006020820190508181036000830152612e0581612dc9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612e42601083612568565b9150612e4d82612e0c565b602082019050919050565b60006020820190508181036000830152612e7181612e35565b9050919050565b7f43616c6c657220646f6573206e6f7420686176652041646d696e20416363657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ed4602183612568565b9150612edf82612e78565b604082019050919050565b60006020820190508181036000830152612f0381612ec7565b9050919050565b6000604082019050612f1f6000830185612ac1565b612f2c60208301846128ee565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612f8f602583612568565b9150612f9a82612f33565b604082019050919050565b60006020820190508181036000830152612fbe81612f82565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613021602683612568565b915061302c82612fc5565b604082019050919050565b6000602082019050818103600083015261305081613014565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613098601c83613057565b91506130a382613062565b601c82019050919050565b6000819050919050565b6000819050919050565b6130d36130ce826130ae565b6130b8565b82525050565b60006130e48261308b565b91506130f082846130c2565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131398261268a565b91506131448361268a565b925082613154576131536130ff565b5b828204905092915050565b600061316a8261268a565b91506131758361268a565b92508282101561318857613187612caf565b5b828203905092915050565b7f6d696e74416e696d613a20717565727920666f72206f7665722d6c696d69742060008201527f616d6f756e740000000000000000000000000000000000000000000000000000602082015250565b60006131ef602683612568565b91506131fa82613193565b604082019050919050565b6000602082019050818103600083015261321e816131e2565b9050919050565b7f6461696c79416e696d614c696d69743a20717565727920666f72206f7665722d60008201527f6c696d697420616d6f756e740000000000000000000000000000000000000000602082015250565b6000613281602c83612568565b915061328c82613225565b604082019050919050565b600060208201905081810360008301526132b081613274565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613313602483612568565b915061331e826132b7565b604082019050919050565b6000602082019050818103600083015261334281613306565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a5602283612568565b91506133b082613349565b604082019050919050565b600060208201905081810360008301526133d481613398565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613411601d83612568565b915061341c826133db565b602082019050919050565b6000602082019050818103600083015261344081613404565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006134a3602583612568565b91506134ae82613447565b604082019050919050565b600060208201905081810360008301526134d281613496565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613535602383612568565b9150613540826134d9565b604082019050919050565b6000602082019050818103600083015261356481613528565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135c7602683612568565b91506135d28261356b565b604082019050919050565b600060208201905081810360008301526135f6816135ba565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613633601483612568565b915061363e826135fd565b602082019050919050565b6000602082019050818103600083015261366281613626565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061369f601f83612568565b91506136aa82613669565b602082019050919050565b600060208201905081810360008301526136ce81613692565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613731602183612568565b915061373c826136d5565b604082019050919050565b6000602082019050818103600083015261376081613724565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006137c3602283612568565b91506137ce82613767565b604082019050919050565b600060208201905081810360008301526137f2816137b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061385e601883612568565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006138ca601f83612568565b91506138d582613894565b602082019050919050565b600060208201905081810360008301526138f9816138bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061395c602283612568565b915061396782613900565b604082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006139ee602283612568565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b6000613a2f8261268a565b9150613a3a8361268a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7357613a72612caf565b5b828202905092915050565b613a87816130ae565b82525050565b6000608082019050613aa26000830187613a7e565b613aaf60208301866129d2565b613abc6040830185613a7e565b613ac96060830184613a7e565b9594505050505056fea26469706673582212202820fcabd744bf7c67686d8fbc39c2b12e8990bc20504b8250c5e7d09c57cdfc64736f6c634300080c0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.