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 2,830 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24119330 | 55 days ago | IN | 0 ETH | 0.00000406 | ||||
| Approve | 23927936 | 81 days ago | IN | 0 ETH | 0.000004 | ||||
| Approve | 23607474 | 126 days ago | IN | 0 ETH | 0.00000317 | ||||
| Approve | 23607225 | 126 days ago | IN | 0 ETH | 0.0000048 | ||||
| Approve | 23429810 | 151 days ago | IN | 0 ETH | 0.00000932 | ||||
| Transfer | 22858271 | 231 days ago | IN | 0 ETH | 0.00001382 | ||||
| Claim | 22858213 | 231 days ago | IN | 0 ETH | 0.0001411 | ||||
| Claim | 22809787 | 238 days ago | IN | 0 ETH | 0.00120687 | ||||
| Claim | 22215010 | 321 days ago | IN | 0 ETH | 0.00009673 | ||||
| Claim | 22041121 | 345 days ago | IN | 0 ETH | 0.00012088 | ||||
| Claim | 21914823 | 363 days ago | IN | 0 ETH | 0.00044016 | ||||
| Claim | 21750403 | 386 days ago | IN | 0 ETH | 0.00021681 | ||||
| Claim | 21689858 | 394 days ago | IN | 0 ETH | 0.00164621 | ||||
| Claim | 21556890 | 413 days ago | IN | 0 ETH | 0.00047524 | ||||
| Transfer | 21541285 | 415 days ago | IN | 0 ETH | 0.00022046 | ||||
| Transfer | 21301103 | 449 days ago | IN | 0 ETH | 0.00042208 | ||||
| Claim | 21214001 | 461 days ago | IN | 0 ETH | 0.00368917 | ||||
| Claim | 20951805 | 497 days ago | IN | 0 ETH | 0.00082904 | ||||
| Claim | 20909123 | 503 days ago | IN | 0 ETH | 0.00058362 | ||||
| Claim | 20728981 | 529 days ago | IN | 0 ETH | 0.0002645 | ||||
| Claim | 20710147 | 531 days ago | IN | 0 ETH | 0.00017472 | ||||
| Claim | 20380804 | 577 days ago | IN | 0 ETH | 0.00110973 | ||||
| Claim | 20220607 | 600 days ago | IN | 0 ETH | 0.00099014 | ||||
| Transfer | 20215776 | 600 days ago | IN | 0 ETH | 0.00007498 | ||||
| Claim | 20215751 | 600 days ago | IN | 0 ETH | 0.00064024 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Dugo
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./IDugo.sol";
error Dugo_FunctionLocked();
error Dugo_InvalidMaxSupply();
error Dugo_MaxSupplyReached();
error Dugo_NotAswangContract();
error Dugo_NotTokenOwner();
error Dugo_TokenIdOutOfRange();
interface IAswang is IERC721 {
function prayingStartedAt(uint256 tokenId) external view returns (uint256);
}
/** .,,,,.
,l;..,l;.
.co, ,ol.
;do'.'::'..ox;.
.cxl..:xOOk:..cxc.
.dk:. ;xxc:dk; ;xd,
,xx; 'xk;. 'xx, 'dx;
;xd, .dOxc;,;oOx. .okc.
.cko. .oOo'. .c0o. .lkl.
.okc. .:kx, .dkc. ;xd,
;xd, .. .. 'okc.
.lOo. .lko.
.oOl. :Od'
.dOc. ;kx'
,xk; ...'',,,,,,''... ,xk;
.:xx' ..';:coodddddddddoddoollc:;'. .okl.
.okl. ..''..... ....''.. :kk,
.:O0c ..,:loxkkxxkkdl:,.. 'xOc.
.o0k; .,:oxkkkkxoooooodxkO00Okxoc,.. .o0x.
,k0o. .;ldxdoc;'....',,;;;;,....,:lxOOOko:,. :0O;
.cOO:. .:odo:'. 'cdoc:,,,;:lloc' .':oxOOxc,. ,kKl.
.dX0; .:ooc'. 'lxd;. 'lko' .'cxOOxc' .xXk'
;OKd'.'oxl' ;dxc. .''. ,xk: .'cxOkl'.lK0:
.oK0:.'okl. ,xk:. .ldlldc. 'xk; .,okxc';OXd.
'kXx'.cxl. .oOd. .ck: ,xl. .lOd. ,oxl''xXO,
;0Kl..cl' .dOo. .oO: ,kx. cOx, .'cc..lKK:
.cKKo;cdo. .l0x' .ol;,lx:. .d0d' .cdc':0Xo.
.dX0c.oKXO:. 'x0l. ..... .lOOc. .xK0o.'xXx.
;OXk; .:k0Oo;. ;OKd' 'd00o. .:xxl;' .lKO:
.oKKo. .;okOko;. 'oOOd:'......,cx0KOl. .;oxo;. 'xKo.
'xXO: ..'cxO0Odc,. .,:lddxxkxkkkdc,. .'cxxd:... .c0k'
;0Xx' .;c;. .':ok00Odl;'. ...... ..;ldkxo;. .lko, ,O0;
.cKXd. .:dl' .';ldk00Oxoc;,... ..,;coxkkxl;.. .;xko, 'kKl.
.oKKl. ,oo, .:; .';lxkO00Okkxdoc:;:clodxOOOkoc;.. ,;. .;dxc. .dKx.
,kKO:. .;' 'oo. ..',::codkkxxkxdlc:,... ;xx; '::. .lKO;
.c0Xk, 'ol. 'l, .:c. 'oko. ;OKl.
.oKKo. .. .:;. 'dc. .;; .;, ;xl. .;xd, .. 'xXd.
.xX0c. .dk: .. .:c. ;xc .,dk. cOl. .,:. :Ok, .oKk'
'kXO: :Okc;. .'. .ld' .l0: .cx: ;cdkc. cKO;
;0XO; .dXx. .;; 'ko. ,:. .xKx' ;0Kc.
cKXx'.;O0dl' . ;; .. :dldkc. 'kKo.
.oXXd..oKO:.cd:,;cdl. .lko;;oOo''oOd' .dKd.
.dX0l. :OOdoloxdlc;,:' .:;,:ldxolllxOl. .lKx.
'xXO:. ........ ...... .c0k'
'OWNOoccccccccccc:c::::::;;;;,,,;;;,,,,,,,,;,,,,,,,;;,,,'''''''',,,,;;;;,,,,,;;,;;;;;;;;;;;:::::;::cccccccllccllllodONO'
:XWWWNXK00OO00000000000000OOOOOOO00OOOOO00000000000000KXXXXXXXXXKK00000000OO0O000OOOOOOOOOOOO000OOOO000OOOOOOOO00KXNNWNd
* @title Aswang Tribe $DUGO token
* @author Augminted Labs, LLC
*/
contract Dugo is IDugo, ERC20, Ownable, ReentrancyGuard {
IAswang public immutable ASWANG;
uint256 public immutable STARTED_AT;
uint256 public constant GENESIS_SUPPLY = 3333;
uint256 public constant TOTAL_SUPPLY = 6666;
uint256 public constant GENESIS_BASE_RATE = 5 ether;
uint256 public constant MANANANGGAL_BASE_RATE = 2 ether;
uint256 public constant EPOCH_DURATION = 180 days;
uint256 public maxSupply = 10_000_000 ether;
uint256 public totalClaimed;
mapping(bytes4 => bool) public functionLocked;
mapping(uint256 => uint256) internal _lastClaimedAt;
constructor(
IAswang aswang
)
ERC20("Dugo", "DUGO")
{
ASWANG = aswang;
STARTED_AT = block.timestamp;
}
/**
* @notice Modifier applied to functions that will be disabled when they're no longer needed
*/
modifier lockable() {
if (functionLocked[msg.sig]) revert Dugo_FunctionLocked();
_;
}
/**
* @notice Current !praying epoch
*/
function currentEpoch() public view returns (uint256) {
return (block.timestamp - STARTED_AT) / EPOCH_DURATION;
}
/**
* @notice Base rate of specified token
* @param tokenId Token to return base rate for
*/
function baseRate(uint256 tokenId) public pure returns (uint256) {
if (tokenId >= TOTAL_SUPPLY) revert Dugo_TokenIdOutOfRange();
return tokenId < GENESIS_SUPPLY ? GENESIS_BASE_RATE : MANANANGGAL_BASE_RATE;
}
/**
* @notice Calculate the $DUGO generation rate at a specified epoch
* @param _baseRate Base rate for a particular token
* @param epoch Epoch to calculate rate for
*/
function rate(uint256 _baseRate, uint256 epoch) internal pure returns (uint256) {
unchecked {
return epoch == 0 ? _baseRate : _baseRate / (epoch > 255 ? uint256(0) - 1 : 2 ** epoch);
}
}
/**
* @notice Last time $DUGO was claimed for a specified token
* @param tokenId Token to return the last claim time for
*/
function lastClaimedAt(uint256 tokenId) public view returns (uint256) {
uint256 prayingStartedAt = ASWANG.prayingStartedAt(tokenId);
if (prayingStartedAt == 0) return 0;
return prayingStartedAt > _lastClaimedAt[tokenId] ? prayingStartedAt : _lastClaimedAt[tokenId];
}
/**
* @notice The amount of currently claimable $DUGO for a specified token
* @param tokenId Token to return the amount of claimable $DUGO for
*/
function claimable(uint256 tokenId) public view returns (uint256) {
uint256 claimFrom = lastClaimedAt(tokenId);
if (claimFrom == 0) return 0;
uint256 totalClaimable;
uint256 _currentEpoch = currentEpoch();
uint256 _baseRate = baseRate(tokenId);
uint256 epochEndsAt = STARTED_AT + EPOCH_DURATION;
for (uint256 i; i <= _currentEpoch;) {
unchecked {
if (epochEndsAt > claimFrom) {
totalClaimable += ((i == _currentEpoch ? block.timestamp : epochEndsAt) - claimFrom)
* rate(_baseRate, i)
/ 1 days;
claimFrom = epochEndsAt;
}
epochEndsAt += EPOCH_DURATION;
++i;
}
}
return totalClaimable;
}
/**
* @notice Lower the maximum token supply
* @param newMaxSupply New max supply
*/
function lowerMaxSupply(uint256 newMaxSupply) external lockable onlyOwner {
if (newMaxSupply > maxSupply || newMaxSupply < totalClaimed) revert Dugo_InvalidMaxSupply();
maxSupply = newMaxSupply;
}
/**
* @notice ASWANG contract only function to burn a specified amount of $DUGO
* @param account Account to burn $DUGO from
* @param amount Amount of $DUGO to burn
*/
function burn(address account, uint256 amount) public override {
if (_msgSender() != address(ASWANG)) revert Dugo_NotAswangContract();
_burn(account, amount);
}
/**
* @notice ASWANG contract only function to claim $DUGO for a specified token
* @param account Account that owns the token
* @param tokenId Token to claim $DUGO for
*/
function claim(address account, uint256 tokenId) public override {
if (_msgSender() != address(ASWANG)) revert Dugo_NotAswangContract();
mint(account, claimable(tokenId));
}
/**
* @notice Claim $DUGO for specified tokens
* @param tokenIds Tokens to claim $DUGO for
*/
function claim(uint256[] calldata tokenIds) external {
if (totalClaimed >= maxSupply) revert Dugo_MaxSupplyReached();
uint256 totalClaimable;
for (uint256 i; i < tokenIds.length;) {
if (ASWANG.ownerOf(tokenIds[i]) != _msgSender()) revert Dugo_NotTokenOwner();
totalClaimable += claimable(tokenIds[i]);
_lastClaimedAt[tokenIds[i]] = block.timestamp;
unchecked { ++i; }
}
mint(_msgSender(), totalClaimable);
}
/**
* @notice Internal function to mint $DUGO to a specified owner
* @param to Address to mint $DUGO to
* @param amount Amount of $DUGO to mint
*/
function mint(address to, uint256 amount) internal {
if (totalClaimed < maxSupply) {
_mint(
to,
totalClaimed + amount < maxSupply ? amount : maxSupply - totalClaimed
);
totalClaimed += amount;
}
}
/**
* @notice Mint a specified amount of $DUGO to specified receivers
* @param receivers Receivers of the airdrop
* @param amounts Amounts of $DUGO to airdrop for corresponding receivers
*/
function airdrop(address[] calldata receivers, uint256[] calldata amounts) external lockable onlyOwner {
for (uint256 i; i < receivers.length;) {
_mint(receivers[i], amounts[i]);
unchecked {
totalClaimed += amounts[i];
++i;
}
}
}
/**
* @notice Recover ASWANG tokens accidentally transferred directly to the contract
* @param to Account to send the ASWANG to
* @param tokenId ASWANG to recover
*/
function recoveryTransfer(address to, uint256 tokenId) external lockable onlyOwner {
ASWANG.transferFrom(address(this), to, tokenId);
}
/**
* @notice Lock individual functions that are no longer needed. WARNING: THIS CANNOT BE UNDONE
* @dev Only affects functions with the lockable modifier
* @param id First 4 bytes of the calldata (i.e. function identifier)
*/
function lockFunction(bytes4 id) public onlyOwner {
functionLocked[id] = true;
}
}// 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/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 v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IDugo is IERC20 {
function burn(address, uint256) external;
function claim(address, uint256) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.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 (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 v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IAswang","name":"aswang","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Dugo_FunctionLocked","type":"error"},{"inputs":[],"name":"Dugo_InvalidMaxSupply","type":"error"},{"inputs":[],"name":"Dugo_MaxSupplyReached","type":"error"},{"inputs":[],"name":"Dugo_NotAswangContract","type":"error"},{"inputs":[],"name":"Dugo_NotTokenOwner","type":"error"},{"inputs":[],"name":"Dugo_TokenIdOutOfRange","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ASWANG","outputs":[{"internalType":"contract IAswang","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EPOCH_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS_BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANANANGGAL_BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STARTED_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","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":"tokenId","type":"uint256"}],"name":"baseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentEpoch","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":"bytes4","name":"","type":"bytes4"}],"name":"functionLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"lastClaimedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"id","type":"bytes4"}],"name":"lockFunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"lowerMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoveryTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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"}]Contract Creation Code
60c06040526a084595161401484a0000006007553480156200002057600080fd5b5060405162001bbc38038062001bbc8339810160408190526200004391620001df565b604051806040016040528060048152602001634475676f60e01b815250604051806040016040528060048152602001634455474f60e01b81525081600390805190602001906200009592919062000139565b508051620000ab90600490602084019062000139565b505050620000c8620000c2620000e360201b60201c565b620000e7565b60016006556001600160a01b03166080524260a0526200024d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001479062000211565b90600052602060002090601f0160209004810192826200016b5760008555620001b6565b82601f106200018657805160ff1916838001178555620001b6565b82800160010185558215620001b6579182015b82811115620001b657825182559160200191906001019062000199565b50620001c4929150620001c8565b5090565b5b80821115620001c45760008155600101620001c9565b600060208284031215620001f257600080fd5b81516001600160a01b03811681146200020a57600080fd5b9392505050565b600181811c908216806200022657607f821691505b6020821081036200024757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051611918620002a46000396000818161025c01528181610ac60152610d830152600081816102ac01528181610683015281816107c40152818161094301528181610b0c0152610c0301526119186000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638da5cb5b11610125578063aad3ec96116100ad578063d1d58b251161007c578063d1d58b251461048a578063d54ad2a11461049d578063d5abeb01146104a6578063dd62ed3e146104af578063f2fde38b146104e857600080fd5b8063aad3ec961461042e578063bbadfe7614610441578063be89ca8414610464578063c4e9374d1461047757600080fd5b80639dc29fac116100f45780639dc29fac146103dc578063a457c2d7146103ef578063a4c35c9414610402578063a70b9f0c14610411578063a9059cbb1461041b57600080fd5b80638da5cb5b146103b1578063902d55a5146103c257806395d89b41146103cb57806399ec6765146103d357600080fd5b806339509351116101a8578063672434821161017757806367243482146103525780636ba4c1381461036557806370a0823114610378578063715018a6146103a157806376671808146103a957600080fd5b8063395093511461030a57806339ea79141461031d57806352e123d31461032c57806357f576eb1461033f57600080fd5b806323b872dd116101e457806323b872dd146102945780632cb10d86146102a7578063313ce567146102e657806334531828146102f557600080fd5b806306fdde0314610216578063095ea7b3146102345780630a9bb92f1461025757806318160ddd1461028c575b600080fd5b61021e6104fb565b60405161022b9190611540565b60405180910390f35b6102476102423660046115aa565b61058d565b604051901515815260200161022b565b61027e7f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161022b565b60025461027e565b6102476102a23660046115d6565b6105a5565b6102ce7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161022b565b6040516012815260200161022b565b610308610303366004611617565b6105c9565b005b6102476103183660046115aa565b610621565b61027e671bc16d674ec8000081565b61027e61033a366004611641565b610660565b61030861034d3660046115aa565b610733565b6103086103603660046116a6565b610824565b610308610373366004611712565b610910565b61027e610386366004611754565b6001600160a01b031660009081526020819052604090205490565b610308610a85565b61027e610abb565b6005546001600160a01b03166102ce565b61027e611a0a81565b61021e610afa565b61027e610d0581565b6103086103ea3660046115aa565b610b09565b6102476103fd3660046115aa565b610b60565b61027e674563918244f4000081565b61027e62ed4e0081565b6102476104293660046115aa565b610bf2565b61030861043c3660046115aa565b610c00565b61024761044f366004611617565b60096020526000908152604090205460ff1681565b61027e610472366004611641565b610c5b565b610308610485366004611641565b610ca6565b61027e610498366004611641565b610d3f565b61027e60085481565b61027e60075481565b61027e6104bd366004611771565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103086104f6366004611754565b610e0e565b60606003805461050a906117aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610536906117aa565b80156105835780601f1061055857610100808354040283529160200191610583565b820191906000526020600020905b81548152906001019060200180831161056657829003601f168201915b5050505050905090565b60003361059b818585610ea9565b5060019392505050565b6000336105b3858285610fcd565b6105be85858561105f565b506001949350505050565b6005546001600160a01b031633146105fc5760405162461bcd60e51b81526004016105f3906117e4565b60405180910390fd5b6001600160e01b0319166000908152600960205260409020805460ff19166001179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061059b908290869061065b90879061182f565b610ea9565b60405163cd197a4f60e01b81526004810182905260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cd197a4f90602401602060405180830381865afa1580156106ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ee9190611847565b9050806000036107015750600092915050565b6000838152600a6020526040902054811161072a576000838152600a602052604090205461072c565b805b9392505050565b600080356001600160e01b03191681526009602052604090205460ff161561076e576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b031633146107985760405162461bcd60e51b81526004016105f3906117e4565b6040516323b872dd60e01b81523060048201526001600160a01b038381166024830152604482018390527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401600060405180830381600087803b15801561080857600080fd5b505af115801561081c573d6000803e3d6000fd5b505050505050565b600080356001600160e01b03191681526009602052604090205460ff161561085f576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b031633146108895760405162461bcd60e51b81526004016105f3906117e4565b60005b83811015610909576108dc8585838181106108a9576108a9611860565b90506020020160208101906108be9190611754565b8484848181106108d0576108d0611860565b9050602002013561122d565b8282828181106108ee576108ee611860565b6008805460209092029390930135019091555060010161088c565b5050505050565b6007546008541061093457604051631554dc2760e01b815260040160405180910390fd5b6000805b82811015610a7557337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e86868581811061098257610982611860565b905060200201356040518263ffffffff1660e01b81526004016109a791815260200190565b602060405180830381865afa1580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e89190611876565b6001600160a01b031614610a0f576040516379da728760e11b815260040160405180910390fd5b610a30848483818110610a2457610a24611860565b90506020020135610d3f565b610a3a908361182f565b915042600a6000868685818110610a5357610a53611860565b6020908102929092013583525081019190915260400160002055600101610938565b50610a80338261130c565b505050565b6005546001600160a01b03163314610aaf5760405162461bcd60e51b81526004016105f3906117e4565b610ab96000611368565b565b600062ed4e00610aeb7f000000000000000000000000000000000000000000000000000000000000000042611893565b610af591906118c0565b905090565b60606004805461050a906117aa565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610b52576040516339a8a56160e01b815260040160405180910390fd5b610b5c82826113ba565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610be55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f3565b6105be8286868403610ea9565b60003361059b81858561105f565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c49576040516339a8a56160e01b815260040160405180910390fd5b610b5c82610c5683610d3f565b61130c565b6000611a0a8210610c7f57604051634fd6398160e01b815260040160405180910390fd5b610d058210610c9657671bc16d674ec80000610ca0565b674563918244f400005b92915050565b600080356001600160e01b03191681526009602052604090205460ff1615610ce1576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b03163314610d0b5760405162461bcd60e51b81526004016105f3906117e4565b600754811180610d1c575060085481105b15610d3a576040516307bd90f960e11b815260040160405180910390fd5b600755565b600080610d4b83610660565b905080600003610d5e5750600092915050565b600080610d69610abb565b90506000610d7686610c5b565b90506000610da762ed4e007f000000000000000000000000000000000000000000000000000000000000000061182f565b905060005b838111610e025785821115610df15762015180610dc98483611508565b87868414610dd75784610dd9565b425b030281610de857610de86118aa565b04850194508195505b62ed4e009190910190600101610dac565b50929695505050505050565b6005546001600160a01b03163314610e385760405162461bcd60e51b81526004016105f3906117e4565b6001600160a01b038116610e9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f3565b610ea681611368565b50565b6001600160a01b038316610f0b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f3565b6001600160a01b038216610f6c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611059578181101561104c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f3565b6110598484848403610ea9565b50505050565b6001600160a01b0383166110c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f3565b6001600160a01b0382166111255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f3565b6001600160a01b0383166000908152602081905260409020548181101561119d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906111d490849061182f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161122091815260200190565b60405180910390a3611059565b6001600160a01b0382166112835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105f3565b8060026000828254611295919061182f565b90915550506001600160a01b038216600090815260208190526040812080548392906112c290849061182f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6007546008541015610b5c5761134d826007548360085461132d919061182f565b10611347576008546007546113429190611893565b61122d565b8261122d565b806008600082825461135f919061182f565b90915550505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661141a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105f3565b6001600160a01b0382166000908152602081905260409020548181101561148e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105f3565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114bd908490611893565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600081156115395760ff8211611521578160020a611525565b6000195b8381611533576115336118aa565b0461072c565b5090919050565b600060208083528351808285015260005b8181101561156d57858101830151858201604001528201611551565b8181111561157f576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610ea657600080fd5b600080604083850312156115bd57600080fd5b82356115c881611595565b946020939093013593505050565b6000806000606084860312156115eb57600080fd5b83356115f681611595565b9250602084013561160681611595565b929592945050506040919091013590565b60006020828403121561162957600080fd5b81356001600160e01b03198116811461072c57600080fd5b60006020828403121561165357600080fd5b5035919050565b60008083601f84011261166c57600080fd5b50813567ffffffffffffffff81111561168457600080fd5b6020830191508360208260051b850101111561169f57600080fd5b9250929050565b600080600080604085870312156116bc57600080fd5b843567ffffffffffffffff808211156116d457600080fd5b6116e08883890161165a565b909650945060208701359150808211156116f957600080fd5b506117068782880161165a565b95989497509550505050565b6000806020838503121561172557600080fd5b823567ffffffffffffffff81111561173c57600080fd5b6117488582860161165a565b90969095509350505050565b60006020828403121561176657600080fd5b813561072c81611595565b6000806040838503121561178457600080fd5b823561178f81611595565b9150602083013561179f81611595565b809150509250929050565b600181811c908216806117be57607f821691505b6020821081036117de57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561184257611842611819565b500190565b60006020828403121561185957600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561188857600080fd5b815161072c81611595565b6000828210156118a5576118a5611819565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826118dd57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220352b24f4fe350130260e54a08e18bd5f4f514d8ed7d612e8b81e0057e5e8e35164736f6c634300080e0033000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e88
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80638da5cb5b11610125578063aad3ec96116100ad578063d1d58b251161007c578063d1d58b251461048a578063d54ad2a11461049d578063d5abeb01146104a6578063dd62ed3e146104af578063f2fde38b146104e857600080fd5b8063aad3ec961461042e578063bbadfe7614610441578063be89ca8414610464578063c4e9374d1461047757600080fd5b80639dc29fac116100f45780639dc29fac146103dc578063a457c2d7146103ef578063a4c35c9414610402578063a70b9f0c14610411578063a9059cbb1461041b57600080fd5b80638da5cb5b146103b1578063902d55a5146103c257806395d89b41146103cb57806399ec6765146103d357600080fd5b806339509351116101a8578063672434821161017757806367243482146103525780636ba4c1381461036557806370a0823114610378578063715018a6146103a157806376671808146103a957600080fd5b8063395093511461030a57806339ea79141461031d57806352e123d31461032c57806357f576eb1461033f57600080fd5b806323b872dd116101e457806323b872dd146102945780632cb10d86146102a7578063313ce567146102e657806334531828146102f557600080fd5b806306fdde0314610216578063095ea7b3146102345780630a9bb92f1461025757806318160ddd1461028c575b600080fd5b61021e6104fb565b60405161022b9190611540565b60405180910390f35b6102476102423660046115aa565b61058d565b604051901515815260200161022b565b61027e7f0000000000000000000000000000000000000000000000000000000062bbc1ce81565b60405190815260200161022b565b60025461027e565b6102476102a23660046115d6565b6105a5565b6102ce7f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e8881565b6040516001600160a01b03909116815260200161022b565b6040516012815260200161022b565b610308610303366004611617565b6105c9565b005b6102476103183660046115aa565b610621565b61027e671bc16d674ec8000081565b61027e61033a366004611641565b610660565b61030861034d3660046115aa565b610733565b6103086103603660046116a6565b610824565b610308610373366004611712565b610910565b61027e610386366004611754565b6001600160a01b031660009081526020819052604090205490565b610308610a85565b61027e610abb565b6005546001600160a01b03166102ce565b61027e611a0a81565b61021e610afa565b61027e610d0581565b6103086103ea3660046115aa565b610b09565b6102476103fd3660046115aa565b610b60565b61027e674563918244f4000081565b61027e62ed4e0081565b6102476104293660046115aa565b610bf2565b61030861043c3660046115aa565b610c00565b61024761044f366004611617565b60096020526000908152604090205460ff1681565b61027e610472366004611641565b610c5b565b610308610485366004611641565b610ca6565b61027e610498366004611641565b610d3f565b61027e60085481565b61027e60075481565b61027e6104bd366004611771565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103086104f6366004611754565b610e0e565b60606003805461050a906117aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610536906117aa565b80156105835780601f1061055857610100808354040283529160200191610583565b820191906000526020600020905b81548152906001019060200180831161056657829003601f168201915b5050505050905090565b60003361059b818585610ea9565b5060019392505050565b6000336105b3858285610fcd565b6105be85858561105f565b506001949350505050565b6005546001600160a01b031633146105fc5760405162461bcd60e51b81526004016105f3906117e4565b60405180910390fd5b6001600160e01b0319166000908152600960205260409020805460ff19166001179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061059b908290869061065b90879061182f565b610ea9565b60405163cd197a4f60e01b81526004810182905260009081906001600160a01b037f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e88169063cd197a4f90602401602060405180830381865afa1580156106ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ee9190611847565b9050806000036107015750600092915050565b6000838152600a6020526040902054811161072a576000838152600a602052604090205461072c565b805b9392505050565b600080356001600160e01b03191681526009602052604090205460ff161561076e576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b031633146107985760405162461bcd60e51b81526004016105f3906117e4565b6040516323b872dd60e01b81523060048201526001600160a01b038381166024830152604482018390527f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e8816906323b872dd90606401600060405180830381600087803b15801561080857600080fd5b505af115801561081c573d6000803e3d6000fd5b505050505050565b600080356001600160e01b03191681526009602052604090205460ff161561085f576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b031633146108895760405162461bcd60e51b81526004016105f3906117e4565b60005b83811015610909576108dc8585838181106108a9576108a9611860565b90506020020160208101906108be9190611754565b8484848181106108d0576108d0611860565b9050602002013561122d565b8282828181106108ee576108ee611860565b6008805460209092029390930135019091555060010161088c565b5050505050565b6007546008541061093457604051631554dc2760e01b815260040160405180910390fd5b6000805b82811015610a7557337f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e886001600160a01b0316636352211e86868581811061098257610982611860565b905060200201356040518263ffffffff1660e01b81526004016109a791815260200190565b602060405180830381865afa1580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e89190611876565b6001600160a01b031614610a0f576040516379da728760e11b815260040160405180910390fd5b610a30848483818110610a2457610a24611860565b90506020020135610d3f565b610a3a908361182f565b915042600a6000868685818110610a5357610a53611860565b6020908102929092013583525081019190915260400160002055600101610938565b50610a80338261130c565b505050565b6005546001600160a01b03163314610aaf5760405162461bcd60e51b81526004016105f3906117e4565b610ab96000611368565b565b600062ed4e00610aeb7f0000000000000000000000000000000000000000000000000000000062bbc1ce42611893565b610af591906118c0565b905090565b60606004805461050a906117aa565b337f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e886001600160a01b031614610b52576040516339a8a56160e01b815260040160405180910390fd5b610b5c82826113ba565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610be55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f3565b6105be8286868403610ea9565b60003361059b81858561105f565b337f000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e886001600160a01b031614610c49576040516339a8a56160e01b815260040160405180910390fd5b610b5c82610c5683610d3f565b61130c565b6000611a0a8210610c7f57604051634fd6398160e01b815260040160405180910390fd5b610d058210610c9657671bc16d674ec80000610ca0565b674563918244f400005b92915050565b600080356001600160e01b03191681526009602052604090205460ff1615610ce1576040516305954a1d60e01b815260040160405180910390fd5b6005546001600160a01b03163314610d0b5760405162461bcd60e51b81526004016105f3906117e4565b600754811180610d1c575060085481105b15610d3a576040516307bd90f960e11b815260040160405180910390fd5b600755565b600080610d4b83610660565b905080600003610d5e5750600092915050565b600080610d69610abb565b90506000610d7686610c5b565b90506000610da762ed4e007f0000000000000000000000000000000000000000000000000000000062bbc1ce61182f565b905060005b838111610e025785821115610df15762015180610dc98483611508565b87868414610dd75784610dd9565b425b030281610de857610de86118aa565b04850194508195505b62ed4e009190910190600101610dac565b50929695505050505050565b6005546001600160a01b03163314610e385760405162461bcd60e51b81526004016105f3906117e4565b6001600160a01b038116610e9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f3565b610ea681611368565b50565b6001600160a01b038316610f0b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f3565b6001600160a01b038216610f6c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611059578181101561104c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f3565b6110598484848403610ea9565b50505050565b6001600160a01b0383166110c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f3565b6001600160a01b0382166111255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f3565b6001600160a01b0383166000908152602081905260409020548181101561119d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906111d490849061182f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161122091815260200190565b60405180910390a3611059565b6001600160a01b0382166112835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105f3565b8060026000828254611295919061182f565b90915550506001600160a01b038216600090815260208190526040812080548392906112c290849061182f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6007546008541015610b5c5761134d826007548360085461132d919061182f565b10611347576008546007546113429190611893565b61122d565b8261122d565b806008600082825461135f919061182f565b90915550505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661141a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105f3565b6001600160a01b0382166000908152602081905260409020548181101561148e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105f3565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114bd908490611893565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600081156115395760ff8211611521578160020a611525565b6000195b8381611533576115336118aa565b0461072c565b5090919050565b600060208083528351808285015260005b8181101561156d57858101830151858201604001528201611551565b8181111561157f576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610ea657600080fd5b600080604083850312156115bd57600080fd5b82356115c881611595565b946020939093013593505050565b6000806000606084860312156115eb57600080fd5b83356115f681611595565b9250602084013561160681611595565b929592945050506040919091013590565b60006020828403121561162957600080fd5b81356001600160e01b03198116811461072c57600080fd5b60006020828403121561165357600080fd5b5035919050565b60008083601f84011261166c57600080fd5b50813567ffffffffffffffff81111561168457600080fd5b6020830191508360208260051b850101111561169f57600080fd5b9250929050565b600080600080604085870312156116bc57600080fd5b843567ffffffffffffffff808211156116d457600080fd5b6116e08883890161165a565b909650945060208701359150808211156116f957600080fd5b506117068782880161165a565b95989497509550505050565b6000806020838503121561172557600080fd5b823567ffffffffffffffff81111561173c57600080fd5b6117488582860161165a565b90969095509350505050565b60006020828403121561176657600080fd5b813561072c81611595565b6000806040838503121561178457600080fd5b823561178f81611595565b9150602083013561179f81611595565b809150509250929050565b600181811c908216806117be57607f821691505b6020821081036117de57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561184257611842611819565b500190565b60006020828403121561185957600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561188857600080fd5b815161072c81611595565b6000828210156118a5576118a5611819565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826118dd57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220352b24f4fe350130260e54a08e18bd5f4f514d8ed7d612e8b81e0057e5e8e35164736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e88
-----Decoded View---------------
Arg [0] : aswang (address): 0xb189789434a4728F45B88B009BeE5f4b339e3e88
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b189789434a4728f45b88b009bee5f4b339e3e88
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.