Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 224 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 329622062 | 225 days ago | IN | 0 ETH | 0.00000059 | ||||
| Approve | 232825065 | 507 days ago | IN | 0 ETH | 0.00000063 | ||||
| Transfer | 209649221 | 574 days ago | IN | 0 ETH | 0.00000061 | ||||
| Transfer | 209649173 | 574 days ago | IN | 0 ETH | 0.00000056 | ||||
| Transfer | 168755991 | 696 days ago | IN | 0 ETH | 0.00005737 | ||||
| Transfer | 163800709 | 710 days ago | IN | 0 ETH | 0.00003166 | ||||
| Transfer | 163339087 | 712 days ago | IN | 0 ETH | 0.00004755 | ||||
| Approve | 163257003 | 712 days ago | IN | 0 ETH | 0.00005527 | ||||
| Approve | 161314704 | 718 days ago | IN | 0 ETH | 0.00021088 | ||||
| Approve | 161314644 | 718 days ago | IN | 0 ETH | 0.00012386 | ||||
| Approve | 161314616 | 718 days ago | IN | 0 ETH | 0.00012386 | ||||
| Approve | 160027579 | 722 days ago | IN | 0 ETH | 0.00008562 | ||||
| Approve | 160013258 | 722 days ago | IN | 0 ETH | 0.0000799 | ||||
| Approve | 157797290 | 729 days ago | IN | 0 ETH | 0.00014214 | ||||
| Approve | 152906176 | 744 days ago | IN | 0 ETH | 0.00004659 | ||||
| Approve | 150900321 | 750 days ago | IN | 0 ETH | 0.00005151 | ||||
| Approve | 148726329 | 757 days ago | IN | 0 ETH | 0.00008221 | ||||
| Approve | 148082042 | 759 days ago | IN | 0 ETH | 0.00008453 | ||||
| Approve | 147983445 | 759 days ago | IN | 0 ETH | 0.00003364 | ||||
| Approve | 147950255 | 759 days ago | IN | 0 ETH | 0.0000444 | ||||
| Approve | 147907849 | 759 days ago | IN | 0 ETH | 0.00004739 | ||||
| Approve | 147565224 | 760 days ago | IN | 0 ETH | 0.00004838 | ||||
| Approve | 146357211 | 764 days ago | IN | 0 ETH | 0.00003639 | ||||
| Approve | 146355575 | 764 days ago | IN | 0 ETH | 0.00003478 | ||||
| Approve | 145650699 | 766 days ago | IN | 0 ETH | 0.00003776 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
HottToken
Compiler Version
v0.8.18+commit.87f61d96
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.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./interfaces/tokens/IHottToken.sol";
/*
* HOTT is Firepot's native ERC20 token.
* It has an hard cap and manages its own emissions and allocations.
*/
contract HottToken is Ownable, ERC20("Firepot Token", "HOTT"), IHottToken {
using SafeMath for uint256;
uint256 public constant MAX_EMISSION_RATE = 0 ether;
uint256 public constant MAX_SUPPLY_LIMIT = 1_000_000_000 ether;
uint256 public elasticMaxSupply; // Once deployed, controlled through governance only
uint256 public emissionRate; // Token emission per second
uint256 public override lastEmissionTime;
uint256 public masterReserve; // Pending rewards for the master
uint256 public constant ALLOCATION_PRECISION = 100;
// Allocations emitted over time. When < 100%, the rest is minted into the treasury (default 15%)
uint256 public farmingAllocation = 50; // = 50%
uint256 public legacyAllocation; // V1 holders allocation
address public masterAddress;
address public treasuryAddress;
constructor(uint256 maxSupply_, uint256 initialSupply, uint256 initialEmissionRate) {
require(initialEmissionRate <= MAX_EMISSION_RATE, "invalid emission rate");
require(maxSupply_ <= MAX_SUPPLY_LIMIT, "invalid initial maxSupply");
require(initialSupply <= maxSupply_, "invalid initial supply");
elasticMaxSupply = maxSupply_;
emissionRate = initialEmissionRate;
_mint(msg.sender, initialSupply);
}
/********************************************/
/****************** EVENTS ******************/
/********************************************/
event ClaimMasterRewards(uint256 amount);
event AllocationsDistributed(uint256 masterShare, uint256 treasuryShare);
event InitializeMasterAddress(address masterAddress);
event InitializeEmissionStart(uint256 startTime);
event UpdateAllocations(uint256 farmingAllocation, uint256 legacyAllocation, uint256 treasuryAllocation);
event UpdateEmissionRate(uint256 previousEmissionRate, uint256 newEmissionRate);
event UpdateMaxSupply(uint256 previousMaxSupply, uint256 newMaxSupply);
event UpdateTreasuryAddress(address previousTreasuryAddress, address newTreasuryAddress);
/***********************************************/
/****************** MODIFIERS ******************/
/***********************************************/
/*
* @dev Throws error if called by any account other than the master
*/
modifier onlyMaster() {
require(msg.sender == masterAddress, "HottToken: caller is not the master");
_;
}
/**************************************************/
/****************** PUBLIC VIEWS ******************/
/**************************************************/
/**
* @dev Returns total master allocation
*/
function masterAllocation() public view returns (uint256) {
return farmingAllocation.add(legacyAllocation);
}
/**
* @dev Returns master emission rate
*/
function masterEmissionRate() public view override returns (uint256) {
return emissionRate.mul(farmingAllocation.add(legacyAllocation)).div(ALLOCATION_PRECISION);
}
/**
* @dev Returns treasury allocation
*/
function treasuryAllocation() public view returns (uint256) {
return uint256(ALLOCATION_PRECISION).sub(masterAllocation());
}
/*****************************************************************/
/****************** EXTERNAL PUBLIC FUNCTIONS ******************/
/*****************************************************************/
/**
* @dev Mint rewards and distribute it between master and treasury
*
* Treasury share is directly minted to the treasury address
* Master incentives are minted into this contract and claimed later by the master contract
*/
function emitAllocations() public {
uint256 circulatingSupply = totalSupply();
uint256 currentBlockTimestamp = _currentBlockTimestamp();
uint256 _lastEmissionTime = lastEmissionTime; // gas saving
uint256 _maxSupply = elasticMaxSupply; // gas saving
// if already up to date or not started
if (currentBlockTimestamp <= _lastEmissionTime || _lastEmissionTime == 0) {
return;
}
// if max supply is already reached or emissions deactivated
if (_maxSupply <= circulatingSupply || emissionRate == 0) {
lastEmissionTime = currentBlockTimestamp;
return;
}
uint256 newEmissions = currentBlockTimestamp.sub(_lastEmissionTime).mul(emissionRate);
// cap new emissions if exceeding max supply
if(_maxSupply < circulatingSupply.add(newEmissions)) {
newEmissions = _maxSupply.sub(circulatingSupply);
}
// calculate master and treasury shares from new emissions
uint256 masterShare = newEmissions.mul(masterAllocation()).div(ALLOCATION_PRECISION);
// sub to avoid rounding errors
uint256 treasuryShare = newEmissions.sub(masterShare);
lastEmissionTime = currentBlockTimestamp;
// add master shares to its claimable reserve
masterReserve = masterReserve.add(masterShare);
// mint shares
_mint(address(this), masterShare);
_mint(treasuryAddress, treasuryShare);
emit AllocationsDistributed(masterShare, treasuryShare);
}
/**
* @dev Sends to Master contract the asked "amount" from masterReserve
*
* Can only be called by the MasterContract
*/
function claimMasterRewards(uint256 amount) external override onlyMaster returns (uint256 effectiveAmount) {
// update emissions
emitAllocations();
// cap asked amount with available reserve
effectiveAmount = Math.min(masterReserve, amount);
// if no rewards to transfer
if (effectiveAmount == 0) {
return effectiveAmount;
}
// remove claimed rewards from reserve and transfer to master
masterReserve = masterReserve.sub(effectiveAmount);
_transfer(address(this), masterAddress, effectiveAmount);
emit ClaimMasterRewards(effectiveAmount);
}
/**
* @dev Burns "amount" of HOTT by sending it to the burn address
*/
function burn(uint256 amount) external override {
_burn(msg.sender, amount);
}
/*****************************************************************/
/****************** EXTERNAL OWNABLE FUNCTIONS ******************/
/*****************************************************************/
/**
* @dev Setup Master contract address
*
* Can only be initialized once
* Must only be called by the owner
*/
function initializeMasterAddress(address masterAddress_) external onlyOwner {
require(masterAddress == address(0), "initializeMasterAddress: master already initialized");
require(masterAddress_ != address(0), "initializeMasterAddress: master initialized to zero address");
masterAddress = masterAddress_;
emit InitializeMasterAddress(masterAddress_);
}
/**
* @dev Set emission start time
*
* Can only be initialized once
* Must only be called by the owner
*/
function initializeEmissionStart(uint256 startTime) external onlyOwner {
require(lastEmissionTime == 0, "initializeEmissionStart: emission start already initialized");
require(_currentBlockTimestamp() < startTime, "initializeEmissionStart: invalid");
lastEmissionTime = startTime;
emit InitializeEmissionStart(startTime);
}
/**
* @dev Updates emission allocations between farming incentives, legacy holders and treasury (remaining share)
*
* Must only be called by the owner
*/
function updateAllocations(uint256 farmingAllocation_, uint256 legacyAllocation_) external onlyOwner {
// apply emissions before changes
emitAllocations();
// total sum of allocations can't be > 100%
uint256 totalAllocationsSet = farmingAllocation_.add(legacyAllocation_);
require(totalAllocationsSet <= 100, "updateAllocations: total allocation is too high");
// set new allocations
farmingAllocation = farmingAllocation_;
legacyAllocation = legacyAllocation_;
emit UpdateAllocations(farmingAllocation_, legacyAllocation_, treasuryAllocation());
}
/**
* @dev Updates HOTT emission rate per second
*
* Must only be called by the owner
*/
function updateEmissionRate(uint256 emissionRate_) external onlyOwner {
require(emissionRate_ <= MAX_EMISSION_RATE, "updateEmissionRate: can't exceed maximum");
// apply emissions before changes
emitAllocations();
emit UpdateEmissionRate(emissionRate, emissionRate_);
emissionRate = emissionRate_;
}
/**
* @dev Updates HOTT max supply
*
* Must only be called by the owner
*/
function updateMaxSupply(uint256 maxSupply_) external onlyOwner {
require(maxSupply_ >= totalSupply(), "updateMaxSupply: can't be lower than current circulating supply");
require(maxSupply_ <= MAX_SUPPLY_LIMIT, "updateMaxSupply: invalid maxSupply");
emit UpdateMaxSupply(elasticMaxSupply, maxSupply_);
elasticMaxSupply = maxSupply_;
}
/**
* @dev Updates treasury address
*
* Must only be called by owner
*/
function updateTreasuryAddress(address treasuryAddress_) external onlyOwner {
require(treasuryAddress_ != address(0), "updateTreasuryAddress: invalid address");
emit UpdateTreasuryAddress(treasuryAddress, treasuryAddress_);
treasuryAddress = treasuryAddress_;
}
/********************************************************/
/****************** INTERNAL FUNCTIONS ******************/
/********************************************************/
/**
* @dev Utility function to get the current block timestamp
*/
function _currentBlockTimestamp() internal view virtual returns (uint256) {
/* solhint-disable not-rely-on-time */
return block.timestamp;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IHottToken is IERC20 {
function lastEmissionTime() external view returns (uint256);
function claimMasterRewards(uint256 amount) external returns (uint256 effectiveAmount);
function masterEmissionRate() external view returns (uint256);
function burn(uint256 amount) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 subtraction 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 (last updated v4.9.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1, "Math: mulDiv overflow");
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}// 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 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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"initialEmissionRate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"masterShare","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryShare","type":"uint256"}],"name":"AllocationsDistributed","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimMasterRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"InitializeEmissionStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"masterAddress","type":"address"}],"name":"InitializeMasterAddress","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"farmingAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"legacyAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryAllocation","type":"uint256"}],"name":"UpdateAllocations","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousEmissionRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newEmissionRate","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMaxSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"UpdateMaxSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousTreasuryAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasuryAddress","type":"address"}],"name":"UpdateTreasuryAddress","type":"event"},{"inputs":[],"name":"ALLOCATION_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"uint256","name":"amount","type":"uint256"}],"name":"claimMasterRewards","outputs":[{"internalType":"uint256","name":"effectiveAmount","type":"uint256"}],"stateMutability":"nonpayable","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":[],"name":"elasticMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emitAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farmingAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"startTime","type":"uint256"}],"name":"initializeEmissionStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterAddress_","type":"address"}],"name":"initializeMasterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastEmissionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legacyAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterEmissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterReserve","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":[],"name":"renounceOwnership","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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"farmingAllocation_","type":"uint256"},{"internalType":"uint256","name":"legacyAllocation_","type":"uint256"}],"name":"updateAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"emissionRate_","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryAddress_","type":"address"}],"name":"updateTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526032600a553480156200001657600080fd5b5060405162003a9f38038062003a9f83398181016040528101906200003c91906200047a565b6040518060400160405280600d81526020017f46697265706f7420546f6b656e000000000000000000000000000000000000008152506040518060400160405280600481526020017f484f545400000000000000000000000000000000000000000000000000000000815250620000c8620000bc620001f660201b60201c565b620001fe60201b60201c565b8160049081620000d9919062000746565b508060059081620000eb919062000746565b505050600081111562000135576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012c906200088e565b60405180910390fd5b6b033b2e3c9fd0803ce800000083111562000187576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017e9062000900565b60405180910390fd5b82821115620001cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001c49062000972565b60405180910390fd5b8260068190555080600781905550620001ed3383620002c260201b60201c565b50505062000a9e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000334576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032b90620009e4565b60405180910390fd5b62000348600083836200043060201b60201c565b80600360008282546200035c919062000a35565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000410919062000a81565b60405180910390a36200042c600083836200043560201b60201c565b5050565b505050565b505050565b600080fd5b6000819050919050565b62000454816200043f565b81146200046057600080fd5b50565b600081519050620004748162000449565b92915050565b6000806000606084860312156200049657620004956200043a565b5b6000620004a68682870162000463565b9350506020620004b98682870162000463565b9250506040620004cc8682870162000463565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055857607f821691505b6020821081036200056e576200056d62000510565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000599565b620005e4868362000599565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000627620006216200061b846200043f565b620005fc565b6200043f565b9050919050565b6000819050919050565b620006438362000606565b6200065b62000652826200062e565b848454620005a6565b825550505050565b600090565b6200067262000663565b6200067f81848462000638565b505050565b5b81811015620006a7576200069b60008262000668565b60018101905062000685565b5050565b601f821115620006f657620006c08162000574565b620006cb8462000589565b81016020851015620006db578190505b620006f3620006ea8562000589565b83018262000684565b50505b505050565b600082821c905092915050565b60006200071b60001984600802620006fb565b1980831691505092915050565b600062000736838362000708565b9150826002028217905092915050565b6200075182620004d6565b67ffffffffffffffff8111156200076d576200076c620004e1565b5b6200077982546200053f565b62000786828285620006ab565b600060209050601f831160018114620007be5760008415620007a9578287015190505b620007b5858262000728565b86555062000825565b601f198416620007ce8662000574565b60005b82811015620007f857848901518255600182019150602085019450602081019050620007d1565b8683101562000818578489015162000814601f89168262000708565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f696e76616c696420656d697373696f6e20726174650000000000000000000000600082015250565b6000620008766015836200082d565b915062000883826200083e565b602082019050919050565b60006020820190508181036000830152620008a98162000867565b9050919050565b7f696e76616c696420696e697469616c206d6178537570706c7900000000000000600082015250565b6000620008e86019836200082d565b9150620008f582620008b0565b602082019050919050565b600060208201905081810360008301526200091b81620008d9565b9050919050565b7f696e76616c696420696e697469616c20737570706c7900000000000000000000600082015250565b60006200095a6016836200082d565b9150620009678262000922565b602082019050919050565b600060208201905081810360008301526200098d816200094b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620009cc601f836200082d565b9150620009d98262000994565b602082019050919050565b60006020820190508181036000830152620009ff81620009bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000a42826200043f565b915062000a4f836200043f565b925082820190508082111562000a6a5762000a6962000a06565b5b92915050565b62000a7b816200043f565b82525050565b600060208201905062000a98600083018462000a70565b92915050565b612ff18062000aae6000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063b71144a4116100b8578063e4ef9dce1161007c578063e4ef9dce1461065d578063ed424fd014610667578063f103b43314610685578063f2fde38b146106a1578063fc1852fb146106bd57610226565b8063b71144a4146105b7578063c5f956af146105d3578063c68bb4c5146105f1578063d365a08e1461060f578063dd62ed3e1461062d57610226565b80638f88bba3116100ff5780638f88bba3146104fd57806395d89b411461051b57806396afc45014610539578063a457c2d714610557578063a9059cbb1461058757610226565b8063715018a6146104895780637813570514610493578063841e4561146104c35780638da5cb5b146104df57610226565b806339509351116101b3578063439af45e11610182578063439af45e146103e35780634f3147ba14610401578063617d11261461041f57806367c0f2781461043d57806370a082311461045957610226565b8063395093511461035b57806339eb41891461038b57806342966c68146103a9578063436cc3d6146103c557610226565b80630ba84cd2116101fa5780630ba84cd2146102b557806318160ddd146102d157806323b872dd146102ef57806327dede2d1461031f578063313ce5671461033d57610226565b80624fbf6b1461022b5780630495d11c1461024957806306fdde0314610267578063095ea7b314610285575b600080fd5b6102336106d9565b6040516102409190611e45565b60405180910390f35b6102516106de565b60405161025e9190611e45565b60405180910390f35b61026f6106e4565b60405161027c9190611ef0565b60405180910390f35b61029f600480360381019061029a9190611fa1565b610776565b6040516102ac9190611ffc565b60405180910390f35b6102cf60048036038101906102ca9190612017565b610799565b005b6102d9610832565b6040516102e69190611e45565b60405180910390f35b61030960048036038101906103049190612044565b61083c565b6040516103169190611ffc565b60405180910390f35b61032761086b565b6040516103349190611e45565b60405180910390f35b610345610871565b60405161035291906120b3565b60405180910390f35b61037560048036038101906103709190611fa1565b61087a565b6040516103829190611ffc565b60405180910390f35b6103936108b1565b6040516103a09190611e45565b60405180910390f35b6103c360048036038101906103be9190612017565b6108f6565b005b6103cd610903565b6040516103da9190611e45565b60405180910390f35b6103eb610908565b6040516103f89190611e45565b60405180910390f35b61040961090e565b6040516104169190611e45565b60405180910390f35b610427610930565b6040516104349190611e45565b60405180910390f35b610457600480360381019061045291906120ce565b610940565b005b610473600480360381019061046e91906120ce565b610ac3565b6040516104809190611e45565b60405180910390f35b610491610b0c565b005b6104ad60048036038101906104a89190612017565b610b20565b6040516104ba9190611e45565b60405180910390f35b6104dd60048036038101906104d891906120ce565b610c56565b005b6104e7610d6c565b6040516104f4919061210a565b60405180910390f35b610505610d95565b6040516105129190611e45565b60405180910390f35b610523610d9b565b6040516105309190611ef0565b60405180910390f35b610541610e2d565b60405161054e9190611e45565b60405180910390f35b610571600480360381019061056c9190611fa1565b610e33565b60405161057e9190611ffc565b60405180910390f35b6105a1600480360381019061059c9190611fa1565b610eaa565b6040516105ae9190611ffc565b60405180910390f35b6105d160048036038101906105cc9190612125565b610ecd565b005b6105db610f8d565b6040516105e8919061210a565b60405180910390f35b6105f9610fb3565b6040516106069190611e45565b60405180910390f35b610617610fd1565b604051610624919061210a565b60405180910390f35b61064760048036038101906106429190612165565b610ff7565b6040516106549190611e45565b60405180910390f35b61066561107e565b005b61066f611225565b60405161067c9190611e45565b60405180910390f35b61069f600480360381019061069a9190612017565b61122b565b005b6106bb60048036038101906106b691906120ce565b611311565b005b6106d760048036038101906106d29190612017565b611394565b005b606481565b600b5481565b6060600480546106f3906121d4565b80601f016020809104026020016040519081016040528092919081815260200182805461071f906121d4565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b60008061078161146b565b905061078e818585611473565b600191505092915050565b6107a161163c565b60008111156107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc90612277565b60405180910390fd5b6107ed61107e565b7f16b9091836a63537907593ebc3a80f3528891f3575b10f58ad7dd9c29fd0d44f60075482604051610820929190612297565b60405180910390a18060078190555050565b6000600354905090565b60008061084761146b565b90506108548582856116ba565b61085f858585611746565b60019150509392505050565b60095481565b60006012905090565b60008061088561146b565b90506108a68185856108978589610ff7565b6108a191906122ef565b611473565b600191505092915050565b60006108f160646108e36108d2600b54600a546119bf90919063ffffffff16565b6007546119d590919063ffffffff16565b6119eb90919063ffffffff16565b905090565b6109003382611a01565b50565b600081565b60085481565b600061092b61091b610fb3565b6064611bd090919063ffffffff16565b905090565b6b033b2e3c9fd0803ce800000081565b61094861163c565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d090612395565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3f90612427565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fcba13eb1e65d2c1588ce6d10f862f4535cc67855c3f31e3d2732f8fb6b5317b281604051610ab8919061210a565b60405180910390a150565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b1461163c565b610b1e6000611be6565b565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906124b9565b60405180910390fd5b610bba61107e565b610bc660095483611caa565b90506000810315610c5157610be681600954611bd090919063ffffffff16565b600981905550610c1930600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611746565b7f45102e9ef2c4f14fd9f3e8510c4bb2ad67fe498584602f26647da23039f1253181604051610c489190611e45565b60405180910390a15b919050565b610c5e61163c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc49061254b565b60405180910390fd5b7f5634a90413b79beba6c5f37aa8f19d1aee84a5320ff20ac7bd1ac63280867d5c600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051610d2092919061256b565b60405180910390a180600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b606060058054610daa906121d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd6906121d4565b8015610e235780601f10610df857610100808354040283529160200191610e23565b820191906000526020600020905b815481529060010190602001808311610e0657829003601f168201915b5050505050905090565b60075481565b600080610e3e61146b565b90506000610e4c8286610ff7565b905083811015610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890612606565b60405180910390fd5b610e9e8286868403611473565b60019250505092915050565b600080610eb561146b565b9050610ec2818585611746565b600191505092915050565b610ed561163c565b610edd61107e565b6000610ef282846119bf90919063ffffffff16565b90506064811115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90612698565b60405180910390fd5b82600a8190555081600b819055507fa4a1bde80c0d4ba37d1bd0feec135fb515a9def4e8baee90221348069946b86c8383610f7161090e565b604051610f80939291906126b8565b60405180910390a1505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610fcc600b54600a546119bf90919063ffffffff16565b905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611088610832565b90506000611094611cc3565b9050600060085490506000600654905081831115806110b35750600082145b156110c15750505050611223565b83811115806110d257506000600754145b156110e7578260088190555050505050611223565b60006111106007546111028587611bd090919063ffffffff16565b6119d590919063ffffffff16565b905061112581866119bf90919063ffffffff16565b8210156111425761113f8583611bd090919063ffffffff16565b90505b60006111716064611163611154610fb3565b856119d590919063ffffffff16565b6119eb90919063ffffffff16565b905060006111888284611bd090919063ffffffff16565b9050856008819055506111a6826009546119bf90919063ffffffff16565b6009819055506111b63083611ccb565b6111e2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611ccb565b7f26c155e7637ca49a34c19c7f8cb8533322897de0808134df1a98f715571116848282604051611213929190612297565b60405180910390a1505050505050505b565b60065481565b61123361163c565b61123b610832565b81101561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490612761565b60405180910390fd5b6b033b2e3c9fd0803ce80000008111156112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c3906127f3565b60405180910390fd5b7f6a84334bf6663b783f2bbfcaf459b2cbc73570cf346a46d9e6a0f290fcf3ebfc600654826040516112ff929190612297565b60405180910390a18060068190555050565b61131961163c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137f90612885565b60405180910390fd5b61139181611be6565b50565b61139c61163c565b6000600854146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890612917565b60405180910390fd5b806113ea611cc3565b1061142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190612983565b60405180910390fd5b806008819055507f10e116be9bb4f621259f592ccd7e00d783e796535f2a5f3bc91a79da0fc3456d816040516114609190611e45565b60405180910390a150565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990612a15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890612aa7565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161162f9190611e45565b60405180910390a3505050565b61164461146b565b73ffffffffffffffffffffffffffffffffffffffff16611662610d6c565b73ffffffffffffffffffffffffffffffffffffffff16146116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af90612b13565b60405180910390fd5b565b60006116c68484610ff7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146117405781811015611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990612b7f565b60405180910390fd5b61173f8484848403611473565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90612c11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90612ca3565b60405180910390fd5b61182f838383611e22565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad90612d35565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119a69190611e45565b60405180910390a36119b9848484611e27565b50505050565b600081836119cd91906122ef565b905092915050565b600081836119e39190612d55565b905092915050565b600081836119f99190612dc6565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790612e69565b60405180910390fd5b611a7c82600083611e22565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90612efb565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bb79190611e45565b60405180910390a3611bcb83600084611e27565b505050565b60008183611bde9190612f1b565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818310611cb95781611cbb565b825b905092915050565b600042905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3190612f9b565b60405180910390fd5b611d4660008383611e22565b8060036000828254611d5891906122ef565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e0a9190611e45565b60405180910390a3611e1e60008383611e27565b5050565b505050565b505050565b6000819050919050565b611e3f81611e2c565b82525050565b6000602082019050611e5a6000830184611e36565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e9a578082015181840152602081019050611e7f565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ec282611e60565b611ecc8185611e6b565b9350611edc818560208601611e7c565b611ee581611ea6565b840191505092915050565b60006020820190508181036000830152611f0a8184611eb7565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f4282611f17565b9050919050565b611f5281611f37565b8114611f5d57600080fd5b50565b600081359050611f6f81611f49565b92915050565b611f7e81611e2c565b8114611f8957600080fd5b50565b600081359050611f9b81611f75565b92915050565b60008060408385031215611fb857611fb7611f12565b5b6000611fc685828601611f60565b9250506020611fd785828601611f8c565b9150509250929050565b60008115159050919050565b611ff681611fe1565b82525050565b60006020820190506120116000830184611fed565b92915050565b60006020828403121561202d5761202c611f12565b5b600061203b84828501611f8c565b91505092915050565b60008060006060848603121561205d5761205c611f12565b5b600061206b86828701611f60565b935050602061207c86828701611f60565b925050604061208d86828701611f8c565b9150509250925092565b600060ff82169050919050565b6120ad81612097565b82525050565b60006020820190506120c860008301846120a4565b92915050565b6000602082840312156120e4576120e3611f12565b5b60006120f284828501611f60565b91505092915050565b61210481611f37565b82525050565b600060208201905061211f60008301846120fb565b92915050565b6000806040838503121561213c5761213b611f12565b5b600061214a85828601611f8c565b925050602061215b85828601611f8c565b9150509250929050565b6000806040838503121561217c5761217b611f12565b5b600061218a85828601611f60565b925050602061219b85828601611f60565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806121ec57607f821691505b6020821081036121ff576121fe6121a5565b5b50919050565b7f757064617465456d697373696f6e526174653a2063616e27742065786365656460008201527f206d6178696d756d000000000000000000000000000000000000000000000000602082015250565b6000612261602883611e6b565b915061226c82612205565b604082019050919050565b6000602082019050818103600083015261229081612254565b9050919050565b60006040820190506122ac6000830185611e36565b6122b96020830184611e36565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006122fa82611e2c565b915061230583611e2c565b925082820190508082111561231d5761231c6122c0565b5b92915050565b7f696e697469616c697a654d6173746572416464726573733a206d61737465722060008201527f616c726561647920696e697469616c697a656400000000000000000000000000602082015250565b600061237f603383611e6b565b915061238a82612323565b604082019050919050565b600060208201905081810360008301526123ae81612372565b9050919050565b7f696e697469616c697a654d6173746572416464726573733a206d61737465722060008201527f696e697469616c697a656420746f207a65726f20616464726573730000000000602082015250565b6000612411603b83611e6b565b915061241c826123b5565b604082019050919050565b6000602082019050818103600083015261244081612404565b9050919050565b7f486f7474546f6b656e3a2063616c6c6572206973206e6f7420746865206d617360008201527f7465720000000000000000000000000000000000000000000000000000000000602082015250565b60006124a3602383611e6b565b91506124ae82612447565b604082019050919050565b600060208201905081810360008301526124d281612496565b9050919050565b7f7570646174655472656173757279416464726573733a20696e76616c6964206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612535602683611e6b565b9150612540826124d9565b604082019050919050565b6000602082019050818103600083015261256481612528565b9050919050565b600060408201905061258060008301856120fb565b61258d60208301846120fb565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006125f0602583611e6b565b91506125fb82612594565b604082019050919050565b6000602082019050818103600083015261261f816125e3565b9050919050565b7f757064617465416c6c6f636174696f6e733a20746f74616c20616c6c6f63617460008201527f696f6e20697320746f6f20686967680000000000000000000000000000000000602082015250565b6000612682602f83611e6b565b915061268d82612626565b604082019050919050565b600060208201905081810360008301526126b181612675565b9050919050565b60006060820190506126cd6000830186611e36565b6126da6020830185611e36565b6126e76040830184611e36565b949350505050565b7f7570646174654d6178537570706c793a2063616e2774206265206c6f7765722060008201527f7468616e2063757272656e742063697263756c6174696e6720737570706c7900602082015250565b600061274b603f83611e6b565b9150612756826126ef565b604082019050919050565b6000602082019050818103600083015261277a8161273e565b9050919050565b7f7570646174654d6178537570706c793a20696e76616c6964206d61785375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b60006127dd602283611e6b565b91506127e882612781565b604082019050919050565b6000602082019050818103600083015261280c816127d0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061286f602683611e6b565b915061287a82612813565b604082019050919050565b6000602082019050818103600083015261289e81612862565b9050919050565b7f696e697469616c697a65456d697373696f6e53746172743a20656d697373696f60008201527f6e20737461727420616c726561647920696e697469616c697a65640000000000602082015250565b6000612901603b83611e6b565b915061290c826128a5565b604082019050919050565b60006020820190508181036000830152612930816128f4565b9050919050565b7f696e697469616c697a65456d697373696f6e53746172743a20696e76616c6964600082015250565b600061296d602083611e6b565b915061297882612937565b602082019050919050565b6000602082019050818103600083015261299c81612960565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129ff602483611e6b565b9150612a0a826129a3565b604082019050919050565b60006020820190508181036000830152612a2e816129f2565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a91602283611e6b565b9150612a9c82612a35565b604082019050919050565b60006020820190508181036000830152612ac081612a84565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612afd602083611e6b565b9150612b0882612ac7565b602082019050919050565b60006020820190508181036000830152612b2c81612af0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b69601d83611e6b565b9150612b7482612b33565b602082019050919050565b60006020820190508181036000830152612b9881612b5c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612bfb602583611e6b565b9150612c0682612b9f565b604082019050919050565b60006020820190508181036000830152612c2a81612bee565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c8d602383611e6b565b9150612c9882612c31565b604082019050919050565b60006020820190508181036000830152612cbc81612c80565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612d1f602683611e6b565b9150612d2a82612cc3565b604082019050919050565b60006020820190508181036000830152612d4e81612d12565b9050919050565b6000612d6082611e2c565b9150612d6b83611e2c565b9250828202612d7981611e2c565b91508282048414831517612d9057612d8f6122c0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612dd182611e2c565b9150612ddc83611e2c565b925082612dec57612deb612d97565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e53602183611e6b565b9150612e5e82612df7565b604082019050919050565b60006020820190508181036000830152612e8281612e46565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ee5602283611e6b565b9150612ef082612e89565b604082019050919050565b60006020820190508181036000830152612f1481612ed8565b9050919050565b6000612f2682611e2c565b9150612f3183611e2c565b9250828203905081811115612f4957612f486122c0565b5b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612f85601f83611e6b565b9150612f9082612f4f565b602082019050919050565b60006020820190508181036000830152612fb481612f78565b905091905056fea2646970667358221220b17343f8e1c769530581aac0540f5cb857d84abf6c9771e4d2ad75808b0dcf1f64736f6c634300081200330000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063b71144a4116100b8578063e4ef9dce1161007c578063e4ef9dce1461065d578063ed424fd014610667578063f103b43314610685578063f2fde38b146106a1578063fc1852fb146106bd57610226565b8063b71144a4146105b7578063c5f956af146105d3578063c68bb4c5146105f1578063d365a08e1461060f578063dd62ed3e1461062d57610226565b80638f88bba3116100ff5780638f88bba3146104fd57806395d89b411461051b57806396afc45014610539578063a457c2d714610557578063a9059cbb1461058757610226565b8063715018a6146104895780637813570514610493578063841e4561146104c35780638da5cb5b146104df57610226565b806339509351116101b3578063439af45e11610182578063439af45e146103e35780634f3147ba14610401578063617d11261461041f57806367c0f2781461043d57806370a082311461045957610226565b8063395093511461035b57806339eb41891461038b57806342966c68146103a9578063436cc3d6146103c557610226565b80630ba84cd2116101fa5780630ba84cd2146102b557806318160ddd146102d157806323b872dd146102ef57806327dede2d1461031f578063313ce5671461033d57610226565b80624fbf6b1461022b5780630495d11c1461024957806306fdde0314610267578063095ea7b314610285575b600080fd5b6102336106d9565b6040516102409190611e45565b60405180910390f35b6102516106de565b60405161025e9190611e45565b60405180910390f35b61026f6106e4565b60405161027c9190611ef0565b60405180910390f35b61029f600480360381019061029a9190611fa1565b610776565b6040516102ac9190611ffc565b60405180910390f35b6102cf60048036038101906102ca9190612017565b610799565b005b6102d9610832565b6040516102e69190611e45565b60405180910390f35b61030960048036038101906103049190612044565b61083c565b6040516103169190611ffc565b60405180910390f35b61032761086b565b6040516103349190611e45565b60405180910390f35b610345610871565b60405161035291906120b3565b60405180910390f35b61037560048036038101906103709190611fa1565b61087a565b6040516103829190611ffc565b60405180910390f35b6103936108b1565b6040516103a09190611e45565b60405180910390f35b6103c360048036038101906103be9190612017565b6108f6565b005b6103cd610903565b6040516103da9190611e45565b60405180910390f35b6103eb610908565b6040516103f89190611e45565b60405180910390f35b61040961090e565b6040516104169190611e45565b60405180910390f35b610427610930565b6040516104349190611e45565b60405180910390f35b610457600480360381019061045291906120ce565b610940565b005b610473600480360381019061046e91906120ce565b610ac3565b6040516104809190611e45565b60405180910390f35b610491610b0c565b005b6104ad60048036038101906104a89190612017565b610b20565b6040516104ba9190611e45565b60405180910390f35b6104dd60048036038101906104d891906120ce565b610c56565b005b6104e7610d6c565b6040516104f4919061210a565b60405180910390f35b610505610d95565b6040516105129190611e45565b60405180910390f35b610523610d9b565b6040516105309190611ef0565b60405180910390f35b610541610e2d565b60405161054e9190611e45565b60405180910390f35b610571600480360381019061056c9190611fa1565b610e33565b60405161057e9190611ffc565b60405180910390f35b6105a1600480360381019061059c9190611fa1565b610eaa565b6040516105ae9190611ffc565b60405180910390f35b6105d160048036038101906105cc9190612125565b610ecd565b005b6105db610f8d565b6040516105e8919061210a565b60405180910390f35b6105f9610fb3565b6040516106069190611e45565b60405180910390f35b610617610fd1565b604051610624919061210a565b60405180910390f35b61064760048036038101906106429190612165565b610ff7565b6040516106549190611e45565b60405180910390f35b61066561107e565b005b61066f611225565b60405161067c9190611e45565b60405180910390f35b61069f600480360381019061069a9190612017565b61122b565b005b6106bb60048036038101906106b691906120ce565b611311565b005b6106d760048036038101906106d29190612017565b611394565b005b606481565b600b5481565b6060600480546106f3906121d4565b80601f016020809104026020016040519081016040528092919081815260200182805461071f906121d4565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b60008061078161146b565b905061078e818585611473565b600191505092915050565b6107a161163c565b60008111156107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc90612277565b60405180910390fd5b6107ed61107e565b7f16b9091836a63537907593ebc3a80f3528891f3575b10f58ad7dd9c29fd0d44f60075482604051610820929190612297565b60405180910390a18060078190555050565b6000600354905090565b60008061084761146b565b90506108548582856116ba565b61085f858585611746565b60019150509392505050565b60095481565b60006012905090565b60008061088561146b565b90506108a68185856108978589610ff7565b6108a191906122ef565b611473565b600191505092915050565b60006108f160646108e36108d2600b54600a546119bf90919063ffffffff16565b6007546119d590919063ffffffff16565b6119eb90919063ffffffff16565b905090565b6109003382611a01565b50565b600081565b60085481565b600061092b61091b610fb3565b6064611bd090919063ffffffff16565b905090565b6b033b2e3c9fd0803ce800000081565b61094861163c565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d090612395565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3f90612427565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fcba13eb1e65d2c1588ce6d10f862f4535cc67855c3f31e3d2732f8fb6b5317b281604051610ab8919061210a565b60405180910390a150565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b1461163c565b610b1e6000611be6565b565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906124b9565b60405180910390fd5b610bba61107e565b610bc660095483611caa565b90506000810315610c5157610be681600954611bd090919063ffffffff16565b600981905550610c1930600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611746565b7f45102e9ef2c4f14fd9f3e8510c4bb2ad67fe498584602f26647da23039f1253181604051610c489190611e45565b60405180910390a15b919050565b610c5e61163c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc49061254b565b60405180910390fd5b7f5634a90413b79beba6c5f37aa8f19d1aee84a5320ff20ac7bd1ac63280867d5c600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051610d2092919061256b565b60405180910390a180600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b606060058054610daa906121d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd6906121d4565b8015610e235780601f10610df857610100808354040283529160200191610e23565b820191906000526020600020905b815481529060010190602001808311610e0657829003601f168201915b5050505050905090565b60075481565b600080610e3e61146b565b90506000610e4c8286610ff7565b905083811015610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890612606565b60405180910390fd5b610e9e8286868403611473565b60019250505092915050565b600080610eb561146b565b9050610ec2818585611746565b600191505092915050565b610ed561163c565b610edd61107e565b6000610ef282846119bf90919063ffffffff16565b90506064811115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90612698565b60405180910390fd5b82600a8190555081600b819055507fa4a1bde80c0d4ba37d1bd0feec135fb515a9def4e8baee90221348069946b86c8383610f7161090e565b604051610f80939291906126b8565b60405180910390a1505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610fcc600b54600a546119bf90919063ffffffff16565b905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611088610832565b90506000611094611cc3565b9050600060085490506000600654905081831115806110b35750600082145b156110c15750505050611223565b83811115806110d257506000600754145b156110e7578260088190555050505050611223565b60006111106007546111028587611bd090919063ffffffff16565b6119d590919063ffffffff16565b905061112581866119bf90919063ffffffff16565b8210156111425761113f8583611bd090919063ffffffff16565b90505b60006111716064611163611154610fb3565b856119d590919063ffffffff16565b6119eb90919063ffffffff16565b905060006111888284611bd090919063ffffffff16565b9050856008819055506111a6826009546119bf90919063ffffffff16565b6009819055506111b63083611ccb565b6111e2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611ccb565b7f26c155e7637ca49a34c19c7f8cb8533322897de0808134df1a98f715571116848282604051611213929190612297565b60405180910390a1505050505050505b565b60065481565b61123361163c565b61123b610832565b81101561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490612761565b60405180910390fd5b6b033b2e3c9fd0803ce80000008111156112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c3906127f3565b60405180910390fd5b7f6a84334bf6663b783f2bbfcaf459b2cbc73570cf346a46d9e6a0f290fcf3ebfc600654826040516112ff929190612297565b60405180910390a18060068190555050565b61131961163c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137f90612885565b60405180910390fd5b61139181611be6565b50565b61139c61163c565b6000600854146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890612917565b60405180910390fd5b806113ea611cc3565b1061142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190612983565b60405180910390fd5b806008819055507f10e116be9bb4f621259f592ccd7e00d783e796535f2a5f3bc91a79da0fc3456d816040516114609190611e45565b60405180910390a150565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990612a15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890612aa7565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161162f9190611e45565b60405180910390a3505050565b61164461146b565b73ffffffffffffffffffffffffffffffffffffffff16611662610d6c565b73ffffffffffffffffffffffffffffffffffffffff16146116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af90612b13565b60405180910390fd5b565b60006116c68484610ff7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146117405781811015611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990612b7f565b60405180910390fd5b61173f8484848403611473565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90612c11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90612ca3565b60405180910390fd5b61182f838383611e22565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad90612d35565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119a69190611e45565b60405180910390a36119b9848484611e27565b50505050565b600081836119cd91906122ef565b905092915050565b600081836119e39190612d55565b905092915050565b600081836119f99190612dc6565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790612e69565b60405180910390fd5b611a7c82600083611e22565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90612efb565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bb79190611e45565b60405180910390a3611bcb83600084611e27565b505050565b60008183611bde9190612f1b565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818310611cb95781611cbb565b825b905092915050565b600042905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3190612f9b565b60405180910390fd5b611d4660008383611e22565b8060036000828254611d5891906122ef565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e0a9190611e45565b60405180910390a3611e1e60008383611e27565b5050565b505050565b505050565b6000819050919050565b611e3f81611e2c565b82525050565b6000602082019050611e5a6000830184611e36565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e9a578082015181840152602081019050611e7f565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ec282611e60565b611ecc8185611e6b565b9350611edc818560208601611e7c565b611ee581611ea6565b840191505092915050565b60006020820190508181036000830152611f0a8184611eb7565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f4282611f17565b9050919050565b611f5281611f37565b8114611f5d57600080fd5b50565b600081359050611f6f81611f49565b92915050565b611f7e81611e2c565b8114611f8957600080fd5b50565b600081359050611f9b81611f75565b92915050565b60008060408385031215611fb857611fb7611f12565b5b6000611fc685828601611f60565b9250506020611fd785828601611f8c565b9150509250929050565b60008115159050919050565b611ff681611fe1565b82525050565b60006020820190506120116000830184611fed565b92915050565b60006020828403121561202d5761202c611f12565b5b600061203b84828501611f8c565b91505092915050565b60008060006060848603121561205d5761205c611f12565b5b600061206b86828701611f60565b935050602061207c86828701611f60565b925050604061208d86828701611f8c565b9150509250925092565b600060ff82169050919050565b6120ad81612097565b82525050565b60006020820190506120c860008301846120a4565b92915050565b6000602082840312156120e4576120e3611f12565b5b60006120f284828501611f60565b91505092915050565b61210481611f37565b82525050565b600060208201905061211f60008301846120fb565b92915050565b6000806040838503121561213c5761213b611f12565b5b600061214a85828601611f8c565b925050602061215b85828601611f8c565b9150509250929050565b6000806040838503121561217c5761217b611f12565b5b600061218a85828601611f60565b925050602061219b85828601611f60565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806121ec57607f821691505b6020821081036121ff576121fe6121a5565b5b50919050565b7f757064617465456d697373696f6e526174653a2063616e27742065786365656460008201527f206d6178696d756d000000000000000000000000000000000000000000000000602082015250565b6000612261602883611e6b565b915061226c82612205565b604082019050919050565b6000602082019050818103600083015261229081612254565b9050919050565b60006040820190506122ac6000830185611e36565b6122b96020830184611e36565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006122fa82611e2c565b915061230583611e2c565b925082820190508082111561231d5761231c6122c0565b5b92915050565b7f696e697469616c697a654d6173746572416464726573733a206d61737465722060008201527f616c726561647920696e697469616c697a656400000000000000000000000000602082015250565b600061237f603383611e6b565b915061238a82612323565b604082019050919050565b600060208201905081810360008301526123ae81612372565b9050919050565b7f696e697469616c697a654d6173746572416464726573733a206d61737465722060008201527f696e697469616c697a656420746f207a65726f20616464726573730000000000602082015250565b6000612411603b83611e6b565b915061241c826123b5565b604082019050919050565b6000602082019050818103600083015261244081612404565b9050919050565b7f486f7474546f6b656e3a2063616c6c6572206973206e6f7420746865206d617360008201527f7465720000000000000000000000000000000000000000000000000000000000602082015250565b60006124a3602383611e6b565b91506124ae82612447565b604082019050919050565b600060208201905081810360008301526124d281612496565b9050919050565b7f7570646174655472656173757279416464726573733a20696e76616c6964206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612535602683611e6b565b9150612540826124d9565b604082019050919050565b6000602082019050818103600083015261256481612528565b9050919050565b600060408201905061258060008301856120fb565b61258d60208301846120fb565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006125f0602583611e6b565b91506125fb82612594565b604082019050919050565b6000602082019050818103600083015261261f816125e3565b9050919050565b7f757064617465416c6c6f636174696f6e733a20746f74616c20616c6c6f63617460008201527f696f6e20697320746f6f20686967680000000000000000000000000000000000602082015250565b6000612682602f83611e6b565b915061268d82612626565b604082019050919050565b600060208201905081810360008301526126b181612675565b9050919050565b60006060820190506126cd6000830186611e36565b6126da6020830185611e36565b6126e76040830184611e36565b949350505050565b7f7570646174654d6178537570706c793a2063616e2774206265206c6f7765722060008201527f7468616e2063757272656e742063697263756c6174696e6720737570706c7900602082015250565b600061274b603f83611e6b565b9150612756826126ef565b604082019050919050565b6000602082019050818103600083015261277a8161273e565b9050919050565b7f7570646174654d6178537570706c793a20696e76616c6964206d61785375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b60006127dd602283611e6b565b91506127e882612781565b604082019050919050565b6000602082019050818103600083015261280c816127d0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061286f602683611e6b565b915061287a82612813565b604082019050919050565b6000602082019050818103600083015261289e81612862565b9050919050565b7f696e697469616c697a65456d697373696f6e53746172743a20656d697373696f60008201527f6e20737461727420616c726561647920696e697469616c697a65640000000000602082015250565b6000612901603b83611e6b565b915061290c826128a5565b604082019050919050565b60006020820190508181036000830152612930816128f4565b9050919050565b7f696e697469616c697a65456d697373696f6e53746172743a20696e76616c6964600082015250565b600061296d602083611e6b565b915061297882612937565b602082019050919050565b6000602082019050818103600083015261299c81612960565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129ff602483611e6b565b9150612a0a826129a3565b604082019050919050565b60006020820190508181036000830152612a2e816129f2565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a91602283611e6b565b9150612a9c82612a35565b604082019050919050565b60006020820190508181036000830152612ac081612a84565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612afd602083611e6b565b9150612b0882612ac7565b602082019050919050565b60006020820190508181036000830152612b2c81612af0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b69601d83611e6b565b9150612b7482612b33565b602082019050919050565b60006020820190508181036000830152612b9881612b5c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612bfb602583611e6b565b9150612c0682612b9f565b604082019050919050565b60006020820190508181036000830152612c2a81612bee565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c8d602383611e6b565b9150612c9882612c31565b604082019050919050565b60006020820190508181036000830152612cbc81612c80565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612d1f602683611e6b565b9150612d2a82612cc3565b604082019050919050565b60006020820190508181036000830152612d4e81612d12565b9050919050565b6000612d6082611e2c565b9150612d6b83611e2c565b9250828202612d7981611e2c565b91508282048414831517612d9057612d8f6122c0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612dd182611e2c565b9150612ddc83611e2c565b925082612dec57612deb612d97565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e53602183611e6b565b9150612e5e82612df7565b604082019050919050565b60006020820190508181036000830152612e8281612e46565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ee5602283611e6b565b9150612ef082612e89565b604082019050919050565b60006020820190508181036000830152612f1481612ed8565b9050919050565b6000612f2682611e2c565b9150612f3183611e2c565b9250828203905081811115612f4957612f486122c0565b5b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612f85601f83611e6b565b9150612f9082612f4f565b602082019050919050565b60006020820190508181036000830152612fb481612f78565b905091905056fea2646970667358221220b17343f8e1c769530581aac0540f5cb857d84abf6c9771e4d2ad75808b0dcf1f64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 1000000000000000000000000000
Arg [1] : initialSupply (uint256): 1000000000000000000000000000
Arg [2] : initialEmissionRate (uint256): 0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [1] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.