Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 781,437 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 92521765 | 4 secs ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92521728 | 21 secs ago | IN | 0 BNB | 0.00000232 | ||||
| Approve | 92521686 | 40 secs ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92521591 | 1 min ago | IN | 0 BNB | 0.00000232 | ||||
| Approve | 92521569 | 1 min ago | IN | 0 BNB | 0.00000304 | ||||
| Transfer | 92521516 | 1 min ago | IN | 0 BNB | 0.00001792 | ||||
| Approve | 92521470 | 2 mins ago | IN | 0 BNB | 0.00000232 | ||||
| Approve | 92521469 | 2 mins ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92521400 | 2 mins ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92521334 | 3 mins ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92521300 | 3 mins ago | IN | 0 BNB | 0.00000301 | ||||
| Transfer | 92521295 | 3 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Transfer | 92521258 | 3 mins ago | IN | 0 BNB | 0.0000181 | ||||
| Approve | 92521255 | 3 mins ago | IN | 0 BNB | 0.00000468 | ||||
| Approve | 92521239 | 4 mins ago | IN | 0 BNB | 0.00000307 | ||||
| Transfer | 92521227 | 4 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Transfer | 92521022 | 5 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Transfer | 92520967 | 6 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Approve | 92520965 | 6 mins ago | IN | 0 BNB | 0.00000304 | ||||
| Approve | 92520928 | 6 mins ago | IN | 0 BNB | 0.00000304 | ||||
| Transfer | 92520917 | 6 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Transfer | 92520763 | 7 mins ago | IN | 0 BNB | 0.00001792 | ||||
| Approve | 92520737 | 7 mins ago | IN | 0 BNB | 0.00000301 | ||||
| Approve | 92520596 | 8 mins ago | IN | 0 BNB | 0.00000301 | ||||
| Approve | 92520544 | 9 mins ago | IN | 0 BNB | 0.0000019 |
Latest 3 internal transactions
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 79258456 | 69 days ago | Contract Creation | 0 BNB | |||
| 79258456 | 69 days ago | Contract Creation | 0 BNB | |||
| 79258456 | 69 days ago | Contract Creation | 0 BNB |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
DDN
Compiler Version
v0.8.31+commit.fd3a2265
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "./interface/IStaking.sol";
contract Pool {
mapping(address => bool) private _feeWhiteList;
constructor() {
_feeWhiteList[msg.sender] = true;
}
function claimToken(address token, address to, uint256 amount) external {
if (_feeWhiteList[msg.sender]) {
IERC20(token).transfer(to, amount);
}
}
function setFeeWhiteList(address _address, bool _white) external {
if (_feeWhiteList[msg.sender]) {
_feeWhiteList[_address] = _white;
}
}
}
contract DDN is ERC20, Ownable {
address public _fundAddress;
address public _swapAddress;
Pool public levelPool;
Pool public contributionPool;
Pool public topPool;
uint256 public feeTotal;
uint256 public levelTotal;
uint256 public contributionTotal;
struct DailyFee {
uint256 totalFee;
uint256 destroyFee;
uint256 markFee;
uint256 fundFee;
uint256 daoFee;
uint256 topFee;
}
mapping(uint256 => DailyFee) public dailyFees;
struct MonthlyFee {
uint256 totalFee;
uint256 destroyFee;
uint256 markFee;
uint256 fundFee;
uint256 daoFee;
uint256 topFee;
}
mapping(uint256 => MonthlyFee) public monthlyFees;
uint256 private _totalFee = 30;
uint256 private _destoryFee = 15;
uint256 private _markFee = 15;
uint256 private _fundFee = 10;
uint256 private _daoFee = 56;
uint256 private _topFee = 4;
IStaking staking;
mapping(address => bool) private _isAuthorize;
mapping(address => bool) private _whiteMapping;
constructor(
address initialOwner,
address swapPool,
address pool
) ERC20("DDN", "DDN") Ownable(initialOwner) {
levelPool = new Pool();
contributionPool = new Pool();
topPool = new Pool();
_mint(address(0xdead), 500_000_000 ether);
_mint(swapPool, 200_000_000 ether);
_mint(pool, 300_000_000 ether);
}
modifier onlyAuthorize() {
require(_isAuthorize[msg.sender] == true, "caller is not Authorize");
_;
}
function _getCurrentDay() private view returns (uint256) {
return block.timestamp / 86400;
}
function _getCurrentMonth() private view returns (uint256) {
return block.timestamp / (86400 * 30);
}
function _update(address from, address to, uint256 value) internal virtual override {
if (from == address(0) || to == address(0) || to == address(0xdead)) {
return super._update(from, to, value);
}
if (_swapAddress == from) {
return super._update(from, to, value);
}
if (_whiteMapping[from] || _whiteMapping[to]) {
return super._update(from, to, value);
}
uint256 totalFee = value * _totalFee / 100;
uint256 destoryFee = totalFee * _destoryFee / 100;
uint256 markFee = totalFee * _markFee / 100;
uint256 fundFee = totalFee * _fundFee / 100;
uint256 daoFee = totalFee * _daoFee / 100;
uint256 topFee = totalFee * _topFee / 100;
super._update(from, address(0), destoryFee);
super._update(from, _fundAddress, fundFee);
super._update(from, address(topPool), topFee);
staking.distributeTopRewards(_topFee);
super._update(from, address(levelPool), daoFee);
staking.distributeRewards(daoFee);
super._update(from, address(contributionPool), markFee);
staking.distributeContributionRewards(markFee);
feeTotal += totalFee;
levelTotal += daoFee;
contributionTotal += markFee;
uint256 currentDay = _getCurrentDay();
DailyFee storage dayFee = dailyFees[currentDay];
dayFee.totalFee += totalFee;
dayFee.destroyFee += destoryFee;
dayFee.markFee += markFee;
dayFee.fundFee += fundFee;
dayFee.daoFee += daoFee;
dayFee.topFee += topFee;
uint256 currentMonth = _getCurrentMonth();
MonthlyFee storage monthFee = monthlyFees[currentMonth];
monthFee.totalFee += totalFee;
monthFee.destroyFee += destoryFee;
monthFee.markFee += markFee;
monthFee.fundFee += fundFee;
monthFee.daoFee += daoFee;
monthFee.topFee += topFee;
return super._update(from, to, value);
}
function mint(address addr, uint256 amount) public onlyAuthorize {
super._mint(addr, amount);
}
function transferByDead(address _to, uint256 _amount) public onlyAuthorize {
super._update(address(0xdead), _to, _amount);
}
function setOtherAddress(
address fundAddress,
address _stake
) public onlyAuthorize {
_fundAddress = fundAddress;
staking = IStaking(_stake);
}
function setWhite(address addr, bool isWhite) public onlyAuthorize {
_whiteMapping[addr] = isWhite;
}
function setAuthorize(address _authorize, bool _b) public onlyOwner {
_isAuthorize[_authorize] = _b;
}
function sendDDNForLevelPool(address _address, uint256 _amount) public onlyAuthorize {
levelPool.claimToken(address(this), _address, _amount);
}
function sendDDNForContributionPool(address _address, uint256 _amount) public onlyAuthorize {
contributionPool.claimToken(address(this), _address, _amount);
}
function sendDDNForTopPool(address _address, uint256 _amount) public onlyAuthorize {
topPool.claimToken(address(this), _address, _amount);
}
function getByAddr(address addr) public view returns (bool) {
return _whiteMapping[addr];
}
function getDailyFee(uint256 day) public view returns (DailyFee memory) {
return dailyFees[day];
}
function getCurrentDayFee() public view returns (DailyFee memory) {
uint256 currentDay = _getCurrentDay();
return dailyFees[currentDay];
}
function getMonthlyFee(uint256 month) public view returns (MonthlyFee memory) {
return monthlyFees[month];
}
function getCurrentMonthFee() public view returns (MonthlyFee memory) {
uint256 currentMonth = _getCurrentMonth();
return monthlyFees[currentMonth];
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IStaking{
function distributeRewards(uint256) external;
function distributeContributionRewards(uint256) external;
function distributeTopRewards(uint256) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.20;
import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys a `value` amount of tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 value) public virtual {
_burn(_msgSender(), value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, deducting from
* the caller's allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `value`.
*/
function burnFrom(address account, uint256 value) public virtual {
_spendAllowance(account, _msgSender(), value);
_burn(account, value);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* Both values are immutable: they can only be set once during construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/// @inheritdoc IERC20
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/// @inheritdoc IERC20
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/// @inheritdoc IERC20
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance < type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity >=0.6.2;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"swapPool","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_fundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contributionPool","outputs":[{"internalType":"contract Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contributionTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyFees","outputs":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getByAddr","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentDayFee","outputs":[{"components":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","type":"uint256"}],"internalType":"struct DDN.DailyFee","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentMonthFee","outputs":[{"components":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","type":"uint256"}],"internalType":"struct DDN.MonthlyFee","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"day","type":"uint256"}],"name":"getDailyFee","outputs":[{"components":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","type":"uint256"}],"internalType":"struct DDN.DailyFee","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"month","type":"uint256"}],"name":"getMonthlyFee","outputs":[{"components":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","type":"uint256"}],"internalType":"struct DDN.MonthlyFee","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelPool","outputs":[{"internalType":"contract Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"monthlyFees","outputs":[{"internalType":"uint256","name":"totalFee","type":"uint256"},{"internalType":"uint256","name":"destroyFee","type":"uint256"},{"internalType":"uint256","name":"markFee","type":"uint256"},{"internalType":"uint256","name":"fundFee","type":"uint256"},{"internalType":"uint256","name":"daoFee","type":"uint256"},{"internalType":"uint256","name":"topFee","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":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendDDNForContributionPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendDDNForLevelPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendDDNForTopPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_authorize","type":"address"},{"internalType":"bool","name":"_b","type":"bool"}],"name":"setAuthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fundAddress","type":"address"},{"internalType":"address","name":"_stake","type":"address"}],"name":"setOtherAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isWhite","type":"bool"}],"name":"setWhite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"topPool","outputs":[{"internalType":"contract Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferByDead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052601e601055600f601155600f601255600a6013556038601455600460155534801561002d575f5ffd5b506040516123b73803806123b783398101604081905261004c91610888565b60408051808201825260038082526222222760e91b60208084018290528451808601909552828552840152859290610084838261095f565b506004610091828261095f565b5050506001600160a01b0381166100c257604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100cb816101e8565b506040516100d890610860565b604051809103905ff0801580156100f1573d5f5f3e3d5ffd5b50600880546001600160a01b0319166001600160a01b039290921691909117905560405161011e90610860565b604051809103905ff080158015610137573d5f5f3e3d5ffd5b50600980546001600160a01b0319166001600160a01b039290921691909117905560405161016490610860565b604051809103905ff08015801561017d573d5f5f3e3d5ffd5b50600a80546001600160a01b0319166001600160a01b03929092169190911790556101b661dead6b019d971e4fe8401e74000000610239565b6101cb826aa56fa5b99019a5c8000000610239565b6101e0816af8277896582678ac000000610239565b505050610a7c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166102625760405163ec442f0560e01b81525f60048201526024016100b9565b61026d5f8383610271565b5050565b6001600160a01b038316158061028e57506001600160a01b038216155b806102a357506001600160a01b03821661dead145b156102b8576102b3838383610719565b505050565b6007546001600160a01b038085169116036102d8576102b3838383610719565b6001600160a01b0383165f9081526018602052604090205460ff168061031557506001600160a01b0382165f9081526018602052604090205460ff165b15610325576102b3838383610719565b5f6064601054836103369190610a2d565b6103409190610a4a565b90505f6064601154836103539190610a2d565b61035d9190610a4a565b90505f6064601254846103709190610a2d565b61037a9190610a4a565b90505f60646013548561038d9190610a2d565b6103979190610a4a565b90505f6064601454866103aa9190610a2d565b6103b49190610a4a565b90505f6064601554876103c79190610a2d565b6103d19190610a4a565b90506103de895f87610719565b6006546103f6908a906001600160a01b031685610719565b600a5461040e908a906001600160a01b031683610719565b6016546015546040516369aef6f760e11b81526001600160a01b039092169163d35dedee916104439160040190815260200190565b5f604051808303815f87803b15801561045a575f5ffd5b505af115801561046c573d5f5f3e3d5ffd5b505060085461048892508b91506001600160a01b031684610719565b601654604051630b32e9c760e31b8152600481018490526001600160a01b03909116906359974e38906024015f604051808303815f87803b1580156104cb575f5ffd5b505af11580156104dd573d5f5f3e3d5ffd5b50506009546104f992508b91506001600160a01b031686610719565b601654604051632fcc0ed760e21b8152600481018690526001600160a01b039091169063bf303b5c906024015f604051808303815f87803b15801561053c575f5ffd5b505af115801561054e573d5f5f3e3d5ffd5b5050505085600b5f8282546105639190610a69565b9250508190555081600c5f82825461057b9190610a69565b9250508190555083600d5f8282546105939190610a69565b909155505f90506105a261083f565b5f818152600e60205260408120805492935091899183916105c4908490610a69565b9250508190555086816001015f8282546105de9190610a69565b9250508190555085816002015f8282546105f89190610a69565b9250508190555084816003015f8282546106129190610a69565b9250508190555083816004015f82825461062c9190610a69565b9250508190555082816005015f8282546106469190610a69565b909155505f9050610655610852565b5f818152600f602052604081208054929350918b918391610677908490610a69565b9250508190555088816001015f8282546106919190610a69565b9250508190555087816002015f8282546106ab9190610a69565b9250508190555086816003015f8282546106c59190610a69565b9250508190555085816004015f8282546106df9190610a69565b9250508190555084816005015f8282546106f99190610a69565b9091555061070a90508d8d8d610719565b50505050505050505050505050565b6001600160a01b038316610743578060025f8282546107389190610a69565b909155506107b39050565b6001600160a01b0383165f90815260208190526040902054818110156107955760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b9565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166107cf576002805482900390556107ed565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161083291815260200190565b60405180910390a3505050565b5f61084d6201518042610a4a565b905090565b5f61084d62278d0042610a4a565b6102538061216483390190565b80516001600160a01b0381168114610883575f5ffd5b919050565b5f5f5f6060848603121561089a575f5ffd5b6108a38461086d565b92506108b16020850161086d565b91506108bf6040850161086d565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806108f057607f821691505b60208210810361090e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102b357805f5260205f20601f840160051c810160208510156109395750805b601f840160051c820191505b81811015610958575f8155600101610945565b5050505050565b81516001600160401b03811115610978576109786108c8565b61098c8161098684546108dc565b84610914565b6020601f8211600181146109be575f83156109a75750848201515b5f19600385901b1c1916600184901b178455610958565b5f84815260208120601f198516915b828110156109ed57878501518255602094850194600190920191016109cd565b5084821015610a0a57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a4457610a44610a19565b92915050565b5f82610a6457634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610a4457610a44610a19565b6116db80610a895f395ff3fe608060405234801561000f575f5ffd5b5060043610610208575f3560e01c806370a082311161011f578063aaeac158116100a9578063dd62ed3e11610079578063dd62ed3e146104c0578063e1c68422146104f8578063ece44bc61461050b578063f2fde38b1461054d578063f348c30714610560575f5ffd5b8063aaeac1581461047e578063ac9ec9c014610491578063bc53e1f81461049a578063d32abb8b146104ad575f5ffd5b80638da5cb5b116100ef5780638da5cb5b1461042c57806395d89b411461043d57806398b666d514610445578063a711382c14610458578063a9059cbb1461046b575f5ffd5b806370a082311461037a578063715018a6146103a25780638230af5a146103aa5780638c188efc146103bd575f5ffd5b8063313ce567116101a05780634724087411610170578063472408741461031b57806347f3293a1461032e5780634891c06a14610341578063552f488d146103545780636fa6c2c214610367575f5ffd5b8063313ce567146102e557806337bfc1ef146102f45780633f19732f146102fd57806340c10f1914610306575f5ffd5b806323b872dd116101db57806323b872dd14610274578063259a1a341461028757806327878484146102b25780632fc9a25f146102dd575f5ffd5b806306fdde031461020c578063095ea7b31461022a578063121ba2651461024d57806318160ddd14610262575b5f5ffd5b610214610573565b6040516102219190611443565b60405180910390f35b61023d610238366004611493565b610603565b6040519015158152602001610221565b61025561061c565b60405161022191906114bb565b6002545b604051908152602001610221565b61023d6102823660046114fe565b6106b2565b61023d610295366004611538565b6001600160a01b03165f9081526018602052604090205460ff1690565b600a546102c5906001600160a01b031681565b6040516001600160a01b039091168152602001610221565b6102556106d5565b60405160128152602001610221565b610266600b5481565b610266600d5481565b610319610314366004611493565b61076b565b005b610319610329366004611558565b6107b5565b61025561033c366004611591565b610812565b6009546102c5906001600160a01b031681565b6008546102c5906001600160a01b031681565b610255610375366004611591565b61089d565b610266610388366004611538565b6001600160a01b03165f9081526020819052604090205490565b610319610928565b6006546102c5906001600160a01b031681565b6103ff6103cb366004611591565b600e6020525f9081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610221565b6005546001600160a01b03166102c5565b61021461093b565b610319610453366004611493565b61094a565b610319610466366004611493565b61098a565b61023d610479366004611493565b610a29565b61031961048c366004611558565b610a36565b610266600c5481565b6103196104a83660046115a8565b610a68565b6007546102c5906001600160a01b031681565b6102666104ce3660046115a8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610319610506366004611493565b610ac9565b6103ff610519366004611591565b600f6020525f9081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b61031961055b366004611538565b610b3b565b61031961056e366004611493565b610b78565b606060038054610582906115d9565b80601f01602080910402602001604051908101604052809291908181526020018280546105ae906115d9565b80156105f95780601f106105d0576101008083540402835291602001916105f9565b820191905f5260205f20905b8154815290600101906020018083116105dc57829003601f168201915b5050505050905090565b5f33610610818585610bea565b60019150505b92915050565b61064f6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f610658610bfc565b5f908152600f6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015292915050565b5f336106bf858285610c0f565b6106ca858585610c8b565b506001949350505050565b6107086040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f610711610ce8565b5f908152600e6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015292915050565b335f9081526017602052604090205460ff1615156001146107a75760405162461bcd60e51b815260040161079e90611611565b60405180910390fd5b6107b18282610cf6565b5050565b335f9081526017602052604090205460ff1615156001146107e85760405162461bcd60e51b815260040161079e90611611565b6001600160a01b03919091165f908152601860205260409020805460ff1916911515919091179055565b6108456040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b505f908152600f6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b6108d06040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b505f908152600e6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b610930610d2a565b6109395f610d57565b565b606060048054610582906115d9565b335f9081526017602052604090205460ff16151560011461097d5760405162461bcd60e51b815260040161079e90611611565b6107b161dead8383610da8565b335f9081526017602052604090205460ff1615156001146109bd5760405162461bcd60e51b815260040161079e90611611565b60095460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064015b5f604051808303815f87803b158015610a0f575f5ffd5b505af1158015610a21573d5f5f3e3d5ffd5b505050505050565b5f33610610818585610c8b565b610a3e610d2a565b6001600160a01b03919091165f908152601760205260409020805460ff1916911515919091179055565b335f9081526017602052604090205460ff161515600114610a9b5760405162461bcd60e51b815260040161079e90611611565b600680546001600160a01b039384166001600160a01b03199182161790915560168054929093169116179055565b335f9081526017602052604090205460ff161515600114610afc5760405162461bcd60e51b815260040161079e90611611565b600a5460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064016109f8565b610b43610d2a565b6001600160a01b038116610b6c57604051631e4fbdf760e01b81525f600482015260240161079e565b610b7581610d57565b50565b335f9081526017602052604090205460ff161515600114610bab5760405162461bcd60e51b815260040161079e90611611565b60085460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064016109f8565b610bf78383836001610ece565b505050565b5f610c0a62278d004261165c565b905090565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015610c855781811015610c7757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161079e565b610c8584848484035f610ece565b50505050565b6001600160a01b038316610cb457604051634b637e8f60e11b81525f600482015260240161079e565b6001600160a01b038216610cdd5760405163ec442f0560e01b81525f600482015260240161079e565b610bf7838383610fa0565b5f610c0a620151804261165c565b6001600160a01b038216610d1f5760405163ec442f0560e01b81525f600482015260240161079e565b6107b15f8383610fa0565b6005546001600160a01b031633146109395760405163118cdaa760e01b815233600482015260240161079e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610dd2578060025f828254610dc7919061167b565b90915550610e429050565b6001600160a01b0383165f9081526020819052604090205481811015610e245760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161079e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610e5e57600280548290039055610e7c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ec191815260200190565b60405180910390a3505050565b6001600160a01b038416610ef75760405163e602df0560e01b81525f600482015260240161079e565b6001600160a01b038316610f2057604051634a1406b160e11b81525f600482015260240161079e565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610c8557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f9291815260200190565b60405180910390a350505050565b6001600160a01b0383161580610fbd57506001600160a01b038216155b80610fd257506001600160a01b03821661dead145b15610fe257610bf7838383610da8565b6007546001600160a01b0380851691160361100257610bf7838383610da8565b6001600160a01b0383165f9081526018602052604090205460ff168061103f57506001600160a01b0382165f9081526018602052604090205460ff165b1561104f57610bf7838383610da8565b5f606460105483611060919061168e565b61106a919061165c565b90505f60646011548361107d919061168e565b611087919061165c565b90505f60646012548461109a919061168e565b6110a4919061165c565b90505f6064601354856110b7919061168e565b6110c1919061165c565b90505f6064601454866110d4919061168e565b6110de919061165c565b90505f6064601554876110f1919061168e565b6110fb919061165c565b9050611108895f87610da8565b600654611120908a906001600160a01b031685610da8565b600a54611138908a906001600160a01b031683610da8565b6016546015546040516369aef6f760e11b81526001600160a01b039092169163d35dedee9161116d9160040190815260200190565b5f604051808303815f87803b158015611184575f5ffd5b505af1158015611196573d5f5f3e3d5ffd5b50506008546111b292508b91506001600160a01b031684610da8565b601654604051630b32e9c760e31b8152600481018490526001600160a01b03909116906359974e38906024015f604051808303815f87803b1580156111f5575f5ffd5b505af1158015611207573d5f5f3e3d5ffd5b505060095461122392508b91506001600160a01b031686610da8565b601654604051632fcc0ed760e21b8152600481018690526001600160a01b039091169063bf303b5c906024015f604051808303815f87803b158015611266575f5ffd5b505af1158015611278573d5f5f3e3d5ffd5b5050505085600b5f82825461128d919061167b565b9250508190555081600c5f8282546112a5919061167b565b9250508190555083600d5f8282546112bd919061167b565b909155505f90506112cc610ce8565b5f818152600e60205260408120805492935091899183916112ee90849061167b565b9250508190555086816001015f828254611308919061167b565b9250508190555085816002015f828254611322919061167b565b9250508190555084816003015f82825461133c919061167b565b9250508190555083816004015f828254611356919061167b565b9250508190555082816005015f828254611370919061167b565b909155505f905061137f610bfc565b5f818152600f602052604081208054929350918b9183916113a190849061167b565b9250508190555088816001015f8282546113bb919061167b565b9250508190555087816002015f8282546113d5919061167b565b9250508190555086816003015f8282546113ef919061167b565b9250508190555085816004015f828254611409919061167b565b9250508190555084816005015f828254611423919061167b565b9091555061143490508d8d8d610da8565b50505050505050505050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461148e575f5ffd5b919050565b5f5f604083850312156114a4575f5ffd5b6114ad83611478565b946020939093013593505050565b60c081016106168284805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a08301525050565b5f5f5f60608486031215611510575f5ffd5b61151984611478565b925061152760208501611478565b929592945050506040919091013590565b5f60208284031215611548575f5ffd5b61155182611478565b9392505050565b5f5f60408385031215611569575f5ffd5b61157283611478565b915060208301358015158114611586575f5ffd5b809150509250929050565b5f602082840312156115a1575f5ffd5b5035919050565b5f5f604083850312156115b9575f5ffd5b6115c283611478565b91506115d060208401611478565b90509250929050565b600181811c908216806115ed57607f821691505b60208210810361160b57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526017908201527f63616c6c6572206973206e6f7420417574686f72697a65000000000000000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261167657634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561061657610616611648565b80820281158282048414176106165761061661164856fea2646970667358221220d02830059e69296e3d8149f0943e3c64c5efbfa89e36a2d92ae4c1f056625db364736f6c634300081f00336080604052348015600e575f5ffd5b50335f908152602081905260409020805460ff1916600117905561021e806100355f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063125bfb6614610038578063d83d41431461004d575b5f5ffd5b61004b610046366004610148565b610060565b005b61004b61005b366004610191565b6100ee565b335f9081526020819052604090205460ff16156100e95760405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af11580156100c3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e791906101c6565b505b505050565b335f9081526020819052604090205460ff1615610129576001600160a01b0382165f908152602081905260409020805460ff19168215151790555b5050565b80356001600160a01b0381168114610143575f5ffd5b919050565b5f5f5f6060848603121561015a575f5ffd5b6101638461012d565b92506101716020850161012d565b9150604084013590509250925092565b801515811461018e575f5ffd5b50565b5f5f604083850312156101a2575f5ffd5b6101ab8361012d565b915060208301356101bb81610181565b809150509250929050565b5f602082840312156101d6575f5ffd5b81516101e181610181565b939250505056fea2646970667358221220b1a26154514d3c82df282e8d3319b33ab1faca8f0fb42a0ad904b8f2493b362d64736f6c634300081f0033000000000000000000000000f8472e1aefd4000db720fa86e6c77d7c7b5b2255000000000000000000000000a80e041103475ce7846448e9cf6e389269bd0f7e000000000000000000000000a858ef319008b8df16df98300b956198f3ecc0c0
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610208575f3560e01c806370a082311161011f578063aaeac158116100a9578063dd62ed3e11610079578063dd62ed3e146104c0578063e1c68422146104f8578063ece44bc61461050b578063f2fde38b1461054d578063f348c30714610560575f5ffd5b8063aaeac1581461047e578063ac9ec9c014610491578063bc53e1f81461049a578063d32abb8b146104ad575f5ffd5b80638da5cb5b116100ef5780638da5cb5b1461042c57806395d89b411461043d57806398b666d514610445578063a711382c14610458578063a9059cbb1461046b575f5ffd5b806370a082311461037a578063715018a6146103a25780638230af5a146103aa5780638c188efc146103bd575f5ffd5b8063313ce567116101a05780634724087411610170578063472408741461031b57806347f3293a1461032e5780634891c06a14610341578063552f488d146103545780636fa6c2c214610367575f5ffd5b8063313ce567146102e557806337bfc1ef146102f45780633f19732f146102fd57806340c10f1914610306575f5ffd5b806323b872dd116101db57806323b872dd14610274578063259a1a341461028757806327878484146102b25780632fc9a25f146102dd575f5ffd5b806306fdde031461020c578063095ea7b31461022a578063121ba2651461024d57806318160ddd14610262575b5f5ffd5b610214610573565b6040516102219190611443565b60405180910390f35b61023d610238366004611493565b610603565b6040519015158152602001610221565b61025561061c565b60405161022191906114bb565b6002545b604051908152602001610221565b61023d6102823660046114fe565b6106b2565b61023d610295366004611538565b6001600160a01b03165f9081526018602052604090205460ff1690565b600a546102c5906001600160a01b031681565b6040516001600160a01b039091168152602001610221565b6102556106d5565b60405160128152602001610221565b610266600b5481565b610266600d5481565b610319610314366004611493565b61076b565b005b610319610329366004611558565b6107b5565b61025561033c366004611591565b610812565b6009546102c5906001600160a01b031681565b6008546102c5906001600160a01b031681565b610255610375366004611591565b61089d565b610266610388366004611538565b6001600160a01b03165f9081526020819052604090205490565b610319610928565b6006546102c5906001600160a01b031681565b6103ff6103cb366004611591565b600e6020525f9081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610221565b6005546001600160a01b03166102c5565b61021461093b565b610319610453366004611493565b61094a565b610319610466366004611493565b61098a565b61023d610479366004611493565b610a29565b61031961048c366004611558565b610a36565b610266600c5481565b6103196104a83660046115a8565b610a68565b6007546102c5906001600160a01b031681565b6102666104ce3660046115a8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610319610506366004611493565b610ac9565b6103ff610519366004611591565b600f6020525f9081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b61031961055b366004611538565b610b3b565b61031961056e366004611493565b610b78565b606060038054610582906115d9565b80601f01602080910402602001604051908101604052809291908181526020018280546105ae906115d9565b80156105f95780601f106105d0576101008083540402835291602001916105f9565b820191905f5260205f20905b8154815290600101906020018083116105dc57829003601f168201915b5050505050905090565b5f33610610818585610bea565b60019150505b92915050565b61064f6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f610658610bfc565b5f908152600f6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015292915050565b5f336106bf858285610c0f565b6106ca858585610c8b565b506001949350505050565b6107086040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f610711610ce8565b5f908152600e6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015292915050565b335f9081526017602052604090205460ff1615156001146107a75760405162461bcd60e51b815260040161079e90611611565b60405180910390fd5b6107b18282610cf6565b5050565b335f9081526017602052604090205460ff1615156001146107e85760405162461bcd60e51b815260040161079e90611611565b6001600160a01b03919091165f908152601860205260409020805460ff1916911515919091179055565b6108456040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b505f908152600f6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b6108d06040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b505f908152600e6020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b610930610d2a565b6109395f610d57565b565b606060048054610582906115d9565b335f9081526017602052604090205460ff16151560011461097d5760405162461bcd60e51b815260040161079e90611611565b6107b161dead8383610da8565b335f9081526017602052604090205460ff1615156001146109bd5760405162461bcd60e51b815260040161079e90611611565b60095460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064015b5f604051808303815f87803b158015610a0f575f5ffd5b505af1158015610a21573d5f5f3e3d5ffd5b505050505050565b5f33610610818585610c8b565b610a3e610d2a565b6001600160a01b03919091165f908152601760205260409020805460ff1916911515919091179055565b335f9081526017602052604090205460ff161515600114610a9b5760405162461bcd60e51b815260040161079e90611611565b600680546001600160a01b039384166001600160a01b03199182161790915560168054929093169116179055565b335f9081526017602052604090205460ff161515600114610afc5760405162461bcd60e51b815260040161079e90611611565b600a5460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064016109f8565b610b43610d2a565b6001600160a01b038116610b6c57604051631e4fbdf760e01b81525f600482015260240161079e565b610b7581610d57565b50565b335f9081526017602052604090205460ff161515600114610bab5760405162461bcd60e51b815260040161079e90611611565b60085460405163092dfdb360e11b81523060048201526001600160a01b038481166024830152604482018490529091169063125bfb66906064016109f8565b610bf78383836001610ece565b505050565b5f610c0a62278d004261165c565b905090565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015610c855781811015610c7757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161079e565b610c8584848484035f610ece565b50505050565b6001600160a01b038316610cb457604051634b637e8f60e11b81525f600482015260240161079e565b6001600160a01b038216610cdd5760405163ec442f0560e01b81525f600482015260240161079e565b610bf7838383610fa0565b5f610c0a620151804261165c565b6001600160a01b038216610d1f5760405163ec442f0560e01b81525f600482015260240161079e565b6107b15f8383610fa0565b6005546001600160a01b031633146109395760405163118cdaa760e01b815233600482015260240161079e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610dd2578060025f828254610dc7919061167b565b90915550610e429050565b6001600160a01b0383165f9081526020819052604090205481811015610e245760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161079e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610e5e57600280548290039055610e7c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ec191815260200190565b60405180910390a3505050565b6001600160a01b038416610ef75760405163e602df0560e01b81525f600482015260240161079e565b6001600160a01b038316610f2057604051634a1406b160e11b81525f600482015260240161079e565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610c8557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f9291815260200190565b60405180910390a350505050565b6001600160a01b0383161580610fbd57506001600160a01b038216155b80610fd257506001600160a01b03821661dead145b15610fe257610bf7838383610da8565b6007546001600160a01b0380851691160361100257610bf7838383610da8565b6001600160a01b0383165f9081526018602052604090205460ff168061103f57506001600160a01b0382165f9081526018602052604090205460ff165b1561104f57610bf7838383610da8565b5f606460105483611060919061168e565b61106a919061165c565b90505f60646011548361107d919061168e565b611087919061165c565b90505f60646012548461109a919061168e565b6110a4919061165c565b90505f6064601354856110b7919061168e565b6110c1919061165c565b90505f6064601454866110d4919061168e565b6110de919061165c565b90505f6064601554876110f1919061168e565b6110fb919061165c565b9050611108895f87610da8565b600654611120908a906001600160a01b031685610da8565b600a54611138908a906001600160a01b031683610da8565b6016546015546040516369aef6f760e11b81526001600160a01b039092169163d35dedee9161116d9160040190815260200190565b5f604051808303815f87803b158015611184575f5ffd5b505af1158015611196573d5f5f3e3d5ffd5b50506008546111b292508b91506001600160a01b031684610da8565b601654604051630b32e9c760e31b8152600481018490526001600160a01b03909116906359974e38906024015f604051808303815f87803b1580156111f5575f5ffd5b505af1158015611207573d5f5f3e3d5ffd5b505060095461122392508b91506001600160a01b031686610da8565b601654604051632fcc0ed760e21b8152600481018690526001600160a01b039091169063bf303b5c906024015f604051808303815f87803b158015611266575f5ffd5b505af1158015611278573d5f5f3e3d5ffd5b5050505085600b5f82825461128d919061167b565b9250508190555081600c5f8282546112a5919061167b565b9250508190555083600d5f8282546112bd919061167b565b909155505f90506112cc610ce8565b5f818152600e60205260408120805492935091899183916112ee90849061167b565b9250508190555086816001015f828254611308919061167b565b9250508190555085816002015f828254611322919061167b565b9250508190555084816003015f82825461133c919061167b565b9250508190555083816004015f828254611356919061167b565b9250508190555082816005015f828254611370919061167b565b909155505f905061137f610bfc565b5f818152600f602052604081208054929350918b9183916113a190849061167b565b9250508190555088816001015f8282546113bb919061167b565b9250508190555087816002015f8282546113d5919061167b565b9250508190555086816003015f8282546113ef919061167b565b9250508190555085816004015f828254611409919061167b565b9250508190555084816005015f828254611423919061167b565b9091555061143490508d8d8d610da8565b50505050505050505050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461148e575f5ffd5b919050565b5f5f604083850312156114a4575f5ffd5b6114ad83611478565b946020939093013593505050565b60c081016106168284805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a08301525050565b5f5f5f60608486031215611510575f5ffd5b61151984611478565b925061152760208501611478565b929592945050506040919091013590565b5f60208284031215611548575f5ffd5b61155182611478565b9392505050565b5f5f60408385031215611569575f5ffd5b61157283611478565b915060208301358015158114611586575f5ffd5b809150509250929050565b5f602082840312156115a1575f5ffd5b5035919050565b5f5f604083850312156115b9575f5ffd5b6115c283611478565b91506115d060208401611478565b90509250929050565b600181811c908216806115ed57607f821691505b60208210810361160b57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526017908201527f63616c6c6572206973206e6f7420417574686f72697a65000000000000000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261167657634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561061657610616611648565b80820281158282048414176106165761061661164856fea2646970667358221220d02830059e69296e3d8149f0943e3c64c5efbfa89e36a2d92ae4c1f056625db364736f6c634300081f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f8472e1aefd4000db720fa86e6c77d7c7b5b2255000000000000000000000000a80e041103475ce7846448e9cf6e389269bd0f7e000000000000000000000000a858ef319008b8df16df98300b956198f3ecc0c0
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xF8472E1AEFd4000db720FA86e6C77D7c7b5B2255
Arg [1] : swapPool (address): 0xa80E041103475CE7846448E9cf6E389269bd0F7E
Arg [2] : pool (address): 0xa858Ef319008B8df16Df98300B956198F3ecC0C0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f8472e1aefd4000db720fa86e6c77d7c7b5b2255
Arg [1] : 000000000000000000000000a80e041103475ce7846448e9cf6e389269bd0f7e
Arg [2] : 000000000000000000000000a858ef319008b8df16df98300b956198f3ecc0c0
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.64
Net Worth in BNB
Token Allocations
OBS
100.00%
Multichain Portfolio | 32 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BSC | 100.00% | $0.00213 | 300 | $0.6388 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.