Polygon Sponsored slots available. Book your slot here!
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,046 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 82097855 | 43 days ago | IN | 0 POL | 0.00315929 | ||||
| Approve | 76006258 | 186 days ago | IN | 0 POL | 0.00142883 | ||||
| Approve | 76006209 | 186 days ago | IN | 0 POL | 0.00150822 | ||||
| Approve | 75512655 | 198 days ago | IN | 0 POL | 0.0022382 | ||||
| Approve | 75389817 | 201 days ago | IN | 0 POL | 0.00162932 | ||||
| Approve | 69321531 | 352 days ago | IN | 0 POL | 0.00072804 | ||||
| Approve | 64917968 | 463 days ago | IN | 0 POL | 0.00201688 | ||||
| Approve | 63153891 | 507 days ago | IN | 0 POL | 0.00079638 | ||||
| Approve | 61080337 | 559 days ago | IN | 0 POL | 0.00077657 | ||||
| Approve | 60892007 | 563 days ago | IN | 0 POL | 0.00066737 | ||||
| Approve | 59438267 | 600 days ago | IN | 0 POL | 0.00082511 | ||||
| Approve | 58788761 | 616 days ago | IN | 0 POL | 0.0007523 | ||||
| Approve | 58466966 | 624 days ago | IN | 0 POL | 0.0007523 | ||||
| Approve | 58401467 | 626 days ago | IN | 0 POL | 0.00089791 | ||||
| Approve | 57955349 | 637 days ago | IN | 0 POL | 0.00097072 | ||||
| Approve | 56739831 | 669 days ago | IN | 0 POL | 0.0009491 | ||||
| Approve | 56739334 | 669 days ago | IN | 0 POL | 0.0010499 | ||||
| Approve | 56738963 | 669 days ago | IN | 0 POL | 0.00094824 | ||||
| Approve | 56738004 | 669 days ago | IN | 0 POL | 0.00166464 | ||||
| Approve | 55221699 | 709 days ago | IN | 0 POL | 0.00286321 | ||||
| Approve | 55221674 | 709 days ago | IN | 0 POL | 0.00545838 | ||||
| Approve | 55221259 | 709 days ago | IN | 0 POL | 0.00348477 | ||||
| Approve | 55221196 | 709 days ago | IN | 0 POL | 0.0066433 | ||||
| Approve | 55153824 | 711 days ago | IN | 0 POL | 0.00265876 | ||||
| Approve | 55144427 | 711 days ago | IN | 0 POL | 0.00482016 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PAPR
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* This contract is the one of $PAPR ERC20 token.
* by PaprPrintr
*
* _____ _____ _ _
*| __ \ | __ \ (_) | |
*| |__) |__ _ _ __ _ __ | |__) |_ __ _ _ __ | |_ _ __
*| ___// _ || _ \ | __|| ___/| __|| || _ \ | __|| __|
*| | | (_| || |_) || | | | | | | || | | || |_ | |
*|_| \__,_|| .__/ |_| |_| |_| |_||_| |_| \__||_|
* |_|
*/
import '@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol';
import './owner/DoubleOperator.sol';
import './interfaces/IOracle.sol';
/**
* @title PAPR base contract
* @notice ..
* @author PaprPrintr's team
*/
contract PAPR is ERC20Burnable, DoubleOperator {
/* ========== STATE VARIABLES ========== */
// Fees
uint256 constant public maxPriceTaxRates = 15e17;
uint256 constant public minPriceTaxRates = 6e17;
uint256 constant public paprMultiplierStepExpansion = 10e16; // 10 cents
//list of fees for every price range
mapping(uint256 => uint256) private feesTaxRate;
uint256 public lockRatio = 70;
//list of addresses which exclude fees
mapping(address => bool) public senderExcludedAddresses;
mapping(address => bool) public recipientExcludedAddresses;
// Oracle
address public paprOracle;
address public papr;
address public injector;
/* ========== CONSTRUCTOR ========== */
constructor() public ERC20('PAPR', 'PAPR') {
_mint(msg.sender, 25000 * 10**18);
// Set the array of tax rate according to the price
// sub 0.6 = 30%
feesTaxRate[0] = 30;
// 0.6 - 0.7 = 29 %
feesTaxRate[1] = 29;
// 0.7 - 0.8 = 27 %
feesTaxRate[2] = 27;
// 0.8 - 0.9 = 26%
feesTaxRate[3] = 26;
// 0.9 - 1.0 = 25%
feesTaxRate[4] = 25;
// 1.0 - 1.1 = 8 %
feesTaxRate[5] = 8;
// 1.1 - 1.2 = 6 %
feesTaxRate[6] = 6;
// 1.2 - 1.3 = 4%
feesTaxRate[7] = 4;
// 1.3 - 1.4 = 3%
feesTaxRate[8] = 3;
// 1.4 - 1.5 = 2%
feesTaxRate[9] = 2;
// above 1.5 = 1%
feesTaxRate[10] = 1;
}
/* ========== FEES ========== */
// Check the mapping for excluded addresses with fees (Treasury/Boardroom)
// ==> Fees do not apply to the core algorithm.
function isSenderExcludedAddresses(address _address) public view returns(bool isIndeed) {
return senderExcludedAddresses[_address];
}
// Add an address to the exluded mapping
function addSenderExcludedAddresses(address newAddress) public onlyDoubleOperator returns(bool) {
require(!isSenderExcludedAddresses(newAddress));
senderExcludedAddresses[newAddress] = true;
return true;
}
// Removes an address from the excluded mapping
function removeSenderExcludedAddresses(address oldAddress) public onlyDoubleOperator returns(bool) {
require(isSenderExcludedAddresses(oldAddress));
senderExcludedAddresses[oldAddress] = false;
return true;
}
//---------------- RECIPIENT -------------------//
function isRecipientExcludedAddresses(address _address) public view returns(bool isIndeed) {
return recipientExcludedAddresses[_address];
}
// Add an address to the exluded mapping
function addRecipientExcludedAddresses(address newAddress) public onlyDoubleOperator returns(bool) {
require(!isRecipientExcludedAddresses(newAddress));
recipientExcludedAddresses[newAddress] = true;
return true;
}
// Removes an address from the excluded mapping
function removeRecipientExcludedAddresses(address oldAddress) public onlyDoubleOperator returns(bool) {
require(isRecipientExcludedAddresses(oldAddress));
recipientExcludedAddresses[oldAddress] = false;
return true;
}
//---------------- RECIPIENT -------------------//
// Get fees for a price range (index) :
function getfeesTaxRate(uint256 index) public view returns(uint256) {
return feesTaxRate[index];
}
// Set fees for a price range (index) :
function setfeesTaxRate(uint256 index, uint256 fees) public onlyDoubleOperator {
require(fees <= 40);
feesTaxRate[index] = fees;
}
function setfeesLockRate(uint256 _lockRatio) public onlyDoubleOperator {
lockRatio = _lockRatio;
}
function getLockRatio() public view returns(uint256) {
return lockRatio;
}
// Return number of times over the cents step (paprMultiplierStepExpansion) :
function _countTimesOverCents() internal returns (uint256) {
uint256 paprPrice = getPaprPrice();
if (paprPrice >= maxPriceTaxRates) {
return 10;
} else if (paprPrice <= minPriceTaxRates) {
return 0;
} else {
uint256 count;
paprPrice = paprPrice.sub(minPriceTaxRates);
count = paprPrice.div(paprMultiplierStepExpansion);
return count.add(1);
}
}
/* ========== ORACLE ========== */
// Set new Oracle on the PAPR contract
function setpaprOracleAddress(address newOracle) public onlyDoubleOperator {
paprOracle = newOracle;
}
// Reference the PAPR address to itself as an argument for the Oracle
function setpaprAddress(address newPaprAddress) public onlyDoubleOperator {
papr = newPaprAddress;
}
function setInjectorAddress(address newInjector) public onlyDoubleOperator {
injector = newInjector;
}
/* ========== MAIN FUNCTIONS ========== */
function mint(address recipient_, uint256 amount_) public onlySecondaryOperator returns (bool) {
uint256 balanceBefore = balanceOf(recipient_);
_mint(recipient_, amount_);
uint256 balanceAfter = balanceOf(recipient_);
return balanceAfter > balanceBefore;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
uint256 paprPrice = getPaprPrice();
bool senderExcludedAddresses = isSenderExcludedAddresses(sender);
bool recipientExcludedAddresses = isRecipientExcludedAddresses(recipient);
if (senderExcludedAddresses == true) {
_transfer(sender, recipient, amount);
} else if (recipientExcludedAddresses == true) {
_transfer(sender, recipient, amount);
}
else {
_transferWithFees(sender, recipient, amount);
}
_approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function _transferWithFees(address sender, address recipient, uint256 amount) internal returns (bool) {
uint256 feesAmount = amount.mul(feesTaxRate[_countTimesOverCents()]).div(100);
uint256 amountAfterFees = amount.sub(feesAmount);
uint256 feesForLiquidity = feesAmount.mul(lockRatio).div(100);
uint256 feesForBurn = feesAmount.sub(feesForLiquidity);
burnFrom(sender, feesForBurn);
_transfer(sender, injector, feesForLiquidity);
_transfer(sender, recipient, amountAfterFees);
return true;
}
/* ========== GET FUNCTIONS ========== */
function getPaprPrice() public view returns (uint256 paprPrice) {
try IOracle(paprOracle).consult(papr, 1e18) returns (uint256 price) {
return price;
} catch {
revert("Failed to consult PAPR price from the oracle");
}
}
function _updatePaprPrice() internal {
try IOracle(paprOracle).update() {} catch {}
}
}pragma solidity ^0.6.0;
interface IOracle {
function update() external;
function consult(address token, uint256 amountIn)
external
view
returns (uint256 amountOut);
// function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestamp);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "@openzeppelin/contracts/GSN/Context.sol";
import '../utils/DoubleOwnable.sol';
contract DoubleOperator is Context, DoubleOwnable {
address private _primaryOperator;
address private _secondaryOperator;
event PrimaryOperatorTransferred(
address indexed previousOperator,
address indexed newOperator
);
event SecondaryOperatorTransferred(
address indexed previousOperator,
address indexed newOperator
);
constructor() internal {
_primaryOperator = _msgSender();
emit PrimaryOperatorTransferred(address(0), _primaryOperator);
}
function primaryOperator() public view returns (address) {
return _primaryOperator;
}
function operator() public view returns (address) {
return _secondaryOperator;
}
modifier onlyDoubleOperator() {
require(
(_primaryOperator == msg.sender || _secondaryOperator == msg.sender),
'operator: caller is not the operator'
);
_;
}
modifier onlySecondaryOperator() {
require(
_secondaryOperator == msg.sender,
'operator: caller is not the operator'
);
_;
}
function isOperator() public view returns (bool) {
return _msgSender() == _primaryOperator || _msgSender() == _secondaryOperator;
}
function transferPrimaryOperator(address newOperator_) public onlyPrimaryOwner {
_transferPrimaryOperator(newOperator_);
}
function _transferPrimaryOperator(address newOperator_) internal {
require(
newOperator_ != address(0),
'operator: zero address given for new operator'
);
emit PrimaryOperatorTransferred(address(0), newOperator_);
_primaryOperator = newOperator_;
}
function setSecondaryOperator(address newOperator_) external onlyPrimaryOwner {
require(
newOperator_ != address(0),
'operator: zero address given for new operator'
);
emit SecondaryOperatorTransferred(address(0), newOperator_);
_secondaryOperator = newOperator_;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/GSN/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 DoubleOwnable is Context {
address private _primaryOwner;
address private _secondaryOwner;
event PrimaryOwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event SecondaryOwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () public {
address msgSender = _msgSender();
_primaryOwner = msgSender;
emit PrimaryOwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current primary owner.
*/
function primaryOwner() public view virtual returns (address) {
return _primaryOwner;
}
/**
* @dev Returns the address of the current secondary owner.
*/
function secondaryOwner() public view virtual returns (address) {
return _secondaryOwner;
}
/**
* @dev Throws if called by any account other than the primary owner.
*/
modifier onlyPrimaryOwner() {
require(primaryOwner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Throws if called by any account other than the both owners.
*/
modifier onlyOwner() {
require(primaryOwner() == _msgSender() || secondaryOwner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyPrimaryOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyPrimaryOwner {
emit PrimaryOwnershipTransferred(_primaryOwner, address(0));
_primaryOwner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferPrimaryOwnership(address newOwner) public virtual onlyPrimaryOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit PrimaryOwnershipTransferred(_primaryOwner, newOwner);
_primaryOwner = newOwner;
}
/**
* @dev Set secondary ownership of the contract to a new account (`newOwner`).
* Can only be called by the primary owner.
*/
function setSecondaryOwnership(address newOwner) public virtual onlyPrimaryOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit SecondaryOwnershipTransferred(_secondaryOwner, newOwner);
_secondaryOwner = newOwner;
}
}// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol";
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
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) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
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) {
// 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) {
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) {
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) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @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) {
require(b <= a, "SafeMath: subtraction overflow");
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) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @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. 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) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
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) {
require(b > 0, "SafeMath: modulo by zero");
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) {
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.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* 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) {
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) {
require(b > 0, errorMessage);
return a % b;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of 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 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
* a default value of 18.
*
* To select a different value for {decimals}, use {_setupDecimals}.
*
* All three of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_) public {
_name = name_;
_symbol = symbol_;
_decimals = 18;
}
/**
* @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 value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* 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 _decimals;
}
/**
* @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:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, 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}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), 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}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
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) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is 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:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, 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:
*
* - `to` 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 = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(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);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal virtual {
_decimals = decimals_;
}
/**
* @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 to 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 { }
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../../utils/Context.sol";
import "./ERC20.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 {
using SafeMath for uint256;
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");
_approve(account, _msgSender(), decreasedAllowance);
_burn(account, amount);
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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 GSN 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 payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"PrimaryOperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"PrimaryOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"SecondaryOperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"SecondaryOwnershipTransferred","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":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"addRecipientExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"addSenderExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"getLockRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPaprPrice","outputs":[{"internalType":"uint256","name":"paprPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getfeesTaxRate","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":[],"name":"injector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isRecipientExcludedAddresses","outputs":[{"internalType":"bool","name":"isIndeed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isSenderExcludedAddresses","outputs":[{"internalType":"bool","name":"isIndeed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPriceTaxRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPriceTaxRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"papr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paprMultiplierStepExpansion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paprOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primaryOperator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primaryOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"recipientExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"oldAddress","type":"address"}],"name":"removeRecipientExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oldAddress","type":"address"}],"name":"removeSenderExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"secondaryOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"senderExcludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newInjector","type":"address"}],"name":"setInjectorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"setSecondaryOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setSecondaryOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockRatio","type":"uint256"}],"name":"setfeesLockRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"fees","type":"uint256"}],"name":"setfeesTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPaprAddress","type":"address"}],"name":"setpaprAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOracle","type":"address"}],"name":"setpaprOracleAddress","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferPrimaryOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferPrimaryOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526046600a553480156200001657600080fd5b506040805180820182526004808252632820a82960e11b602080840182815285518087019096529285528401528151919291620000569160039162000460565b5080516200006c90600490602084019062000460565b50506005805460ff1916601217905550600062000088620002e6565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f56f6901da0707d3d8416ac2f62822ccd03d37a5110397590a1f144dd028213cb908290a350620000e8620002e6565b600780546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f744c6b2916e4b560756a288df9f7203a517b90f2f08fcc7405d828202e379ebd908290a36200014a3369054b40b1f852bda00000620002ea565b6009602052601e7fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b55601d7f92e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a3655601b7f6cde3cea4b3a3fb2488b2808bae7556f4a405e50f65e1794383bc026131b13c355601a7fc575c31fea594a6eb97c8e9d3f9caee4c16218c6ef37e923234c0fe9014a61e75560197f8dc18c4ccfd75f5c815b63770fa542fd953e8fef7e0e44bbdd4913470ce7e9cb5560087f74b05292d1d4b2b48b65261b07099d24244bcb069f138d9a6bfdcf776becac4c5560067fbb6daa0c283751197dfdc76590680f9005e97d6f23870deb1164ab60b28b9f5f5560047fae6299332bcd708cd60e3a8defa55de28078a50a4cf2b3de3a546253240ff9e15560037fc7694af312c4f286114180fd0ba6a52461fcee8a381636770b19a343af92538a5560027f87e8a52529e8ece4ef759037313542a6429ff494a9fab9027fb79db90124eba655600a60005260017f502e20e4e219e0c509d693958f17384c185f07a810a5d31c46c2be981e979c2555620004fc565b3390565b6001600160a01b03821662000346576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200035460008383620003f9565b6200037081600254620003fe60201b620017321790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620003a391839062001732620003fe821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000459576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004a357805160ff1916838001178555620004d3565b82800160010185558215620004d3579182015b82811115620004d3578251825591602001919060010190620004b6565b50620004e1929150620004e5565b5090565b5b80821115620004e15760008155600101620004e6565b6121cc806200050c6000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c80637f6e29a611610167578063bcbcb65b116100ce578063dd62ed3e11610087578063dd62ed3e14610779578063e28fc96c146107a7578063e5b853a7146107cd578063e5d6fe94146107f3578063ea5554c614610819578063f474584a1461083f57610295565b8063bcbcb65b146106bc578063c672e0c3146106e2578063cac7f82514610708578063d2e06b9c1461072e578063d33656e014610754578063d8934ddf1461075c57610295565b8063a457c2d711610120578063a457c2d714610608578063a9059cbb14610634578063b900a21b14610660578063b91c9f4014610668578063bc1caf0114610670578063bc731d2b1461069657610295565b80637f6e29a6146105d857806386847344146105e05780638e10be33146105e857806395d89b41146105f05780639c28f7e7146105f85780639c3709ea1461060057610295565b806342966c681161020b5780635b6c9592116101c45780635b6c95921461050c5780635cb258b6146105325780635f94e3de1461055857806370a082311461057e578063715018a6146105a457806379cc6790146105ac57610295565b806342966c68146104945780634361180e146104b15780634456eda2146104d757806346171610146104df5780634cde9a0b146104e7578063570ca7351461050457610295565b806323b872dd1161025d57806323b872dd1461039e578063313ce567146103d457806336a5a231146103f25780633950935114610416578063399efe791461044257806340c10f191461046857610295565b80630453bb921461029a57806306fdde03146102b4578063095ea7b3146103315780631355d9481461037157806318160ddd14610396575b600080fd5b6102a2610847565b60408051918252519081900360200190f35b6102bc61084e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f65781810151838201526020016102de565b50505050905090810190601f1680156103235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61035d6004803603604081101561034757600080fd5b506001600160a01b0381351690602001356108e4565b604080519115158252519081900360200190f35b6103946004803603604081101561038757600080fd5b5080359060200135610902565b005b6102a2610980565b61035d600480360360608110156103b457600080fd5b506001600160a01b03813581169160208101359091169060400135610986565b6103dc610a3e565b6040805160ff9092168252519081900360200190f35b6103fa610a47565b604080516001600160a01b039092168252519081900360200190f35b61035d6004803603604081101561042c57600080fd5b506001600160a01b038135169060200135610a56565b61035d6004803603602081101561045857600080fd5b50356001600160a01b0316610aa4565b61035d6004803603604081101561047e57600080fd5b506001600160a01b038135169060200135610b41565b610394600480360360208110156104aa57600080fd5b5035610bbb565b61035d600480360360208110156104c757600080fd5b50356001600160a01b0316610bcf565b61035d610c67565b6103fa610cb2565b610394600480360360208110156104fd57600080fd5b5035610cc1565b6103fa610d24565b61035d6004803603602081101561052257600080fd5b50356001600160a01b0316610d33565b6103946004803603602081101561054857600080fd5b50356001600160a01b0316610dd0565b6103946004803603602081101561056e57600080fd5b50356001600160a01b0316610ede565b6102a26004803603602081101561059457600080fd5b50356001600160a01b0316610fdd565b610394610ff8565b610394600480360360408110156105c257600080fd5b506001600160a01b0381351690602001356110aa565b6103fa6110f8565b6102a2611107565b6103fa611113565b6102bc611127565b6102a2611188565b6102a2611194565b61035d6004803603604081101561061e57600080fd5b506001600160a01b03813516906020013561119a565b61035d6004803603604081101561064a57600080fd5b506001600160a01b038135169060200135611202565b6102a2611216565b6103fa6112df565b6103946004803603602081101561068657600080fd5b50356001600160a01b03166112ee565b61035d600480360360208110156106ac57600080fd5b50356001600160a01b031661136e565b61035d600480360360208110156106d257600080fd5b50356001600160a01b031661138c565b610394600480360360208110156106f857600080fd5b50356001600160a01b0316611424565b6103946004803603602081101561071e57600080fd5b50356001600160a01b03166114a4565b61035d6004803603602081101561074457600080fd5b50356001600160a01b03166115a7565b6103fa6115c5565b6102a26004803603602081101561077257600080fd5b50356115d4565b6102a26004803603604081101561078f57600080fd5b506001600160a01b03813581169160200135166115e6565b610394600480360360208110156107bd57600080fd5b50356001600160a01b0316611611565b61035d600480360360208110156107e357600080fd5b50356001600160a01b031661167c565b6103946004803603602081101561080957600080fd5b50356001600160a01b0316611691565b61035d6004803603602081101561082f57600080fd5b50356001600160a01b0316611711565b6102a2611726565b600a545b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b5050505050905090565b60006108f86108f1611793565b8484611797565b5060015b92915050565b6007546001600160a01b031633148061092557506008546001600160a01b031633145b6109605760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b602881111561096e57600080fd5b60009182526009602052604090912055565b60025490565b600080610991611216565b9050600061099e8661136e565b905060006109ab866115a7565b9050600182151514156109c8576109c3878787611883565b6109eb565b600181151514156109de576109c3878787611883565b6109e98787876119de565b505b610a31876109f7611793565b610a2c8860405180606001604052806028815260200161207860289139610a258d610a20611793565b6115e6565b9190611a90565b611797565b5060019695505050505050565b60055460ff1690565b6006546001600160a01b031690565b60006108f8610a63611793565b84610a2c8560016000610a74611793565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611732565b6007546000906001600160a01b0316331480610aca57506008546001600160a01b031633145b610b055760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610b0e826115a7565b15610b1857600080fd5b506001600160a01b03166000908152600c60205260409020805460ff1916600190811790915590565b6008546000906001600160a01b03163314610b8d5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b6000610b9884610fdd565b9050610ba48484611b27565b6000610baf85610fdd565b91909111949350505050565b610bcc610bc6611793565b82611c17565b50565b6007546000906001600160a01b0316331480610bf557506008546001600160a01b031633145b610c305760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610c39826115a7565b610c4257600080fd5b506001600160a01b03166000908152600c60205260409020805460ff19169055600190565b6007546000906001600160a01b0316610c7e611793565b6001600160a01b03161480610cad57506008546001600160a01b0316610ca2611793565b6001600160a01b0316145b905090565b600f546001600160a01b031681565b6007546001600160a01b0316331480610ce457506008546001600160a01b031633145b610d1f5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600a55565b6008546001600160a01b031690565b6007546000906001600160a01b0316331480610d5957506008546001600160a01b031633145b610d945760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610d9d8261136e565b15610da757600080fd5b506001600160a01b03166000908152600b60205260409020805460ff1916600190811790915590565b610dd8611793565b6001600160a01b0316610de9611113565b6001600160a01b031614610e32576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b038116610e775760405162461bcd60e51b8152600401808060200182810382526026815260200180611f906026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f56f6901da0707d3d8416ac2f62822ccd03d37a5110397590a1f144dd028213cb90600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610ee6611793565b6001600160a01b0316610ef7611113565b6001600160a01b031614610f40576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b038116610f855760405162461bcd60e51b815260040180806020018281038252602d81526020018061202a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f5df858659329584deb34885988af7d0c33062e608000046bb63ce5a9e4b3bc1b908290a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b611000611793565b6001600160a01b0316611011611113565b6001600160a01b03161461105a576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f56f6901da0707d3d8416ac2f62822ccd03d37a5110397590a1f144dd028213cb908390a360058054610100600160a81b0319169055565b60006110d5826040518060600160405280602481526020016120c060249139610a2586610a20611793565b90506110e9836110e3611793565b83611797565b6110f38383611c17565b505050565b600d546001600160a01b031681565b6714d1120d7b16000081565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108da5780601f106108af576101008083540402835291602001916108da565b67016345785d8a000081565b600a5481565b60006108f86111a7611793565b84610a2c8560405180606001604052806025815260200161217260259139600160006111d1611793565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611a90565b60006108f861120f611793565b8484611883565b600d54600e5460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b15801561127857600080fd5b505afa92505050801561129d57506040513d602081101561129857600080fd5b505160015b6112d85760405162461bcd60e51b815260040180806020018281038252602c815260200180611ffe602c913960400191505060405180910390fd5b905061084b565b600e546001600160a01b031681565b6007546001600160a01b031633148061131157506008546001600160a01b031633145b61134c5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600b602052604090205460ff1690565b6007546000906001600160a01b03163314806113b257506008546001600160a01b031633145b6113ed5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b6113f68261136e565b6113ff57600080fd5b506001600160a01b03166000908152600b60205260409020805460ff19169055600190565b6007546001600160a01b031633148061144757506008546001600160a01b031633145b6114825760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6114ac611793565b6001600160a01b03166114bd611113565b6001600160a01b031614611506576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b03811661154b5760405162461bcd60e51b8152600401808060200182810382526026815260200180611f906026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907fd91e5ba07efb2e532a3d502f5fb4451cf8fe4006f3b90283d8f2f51a06e5358c90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600c602052604090205460ff1690565b6007546001600160a01b031690565b60009081526009602052604090205490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611619611793565b6001600160a01b031661162a611113565b6001600160a01b031614611673576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b610bcc81611d13565b600b6020526000908152604090205460ff1681565b6007546001600160a01b03163314806116b457506008546001600160a01b031633145b6116ef5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600c6020526000908152604090205460ff1681565b670853a0d2313c000081565b60008282018381101561178c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166117dc5760405162461bcd60e51b815260040180806020018281038252602481526020018061214e6024913960400191505060405180910390fd5b6001600160a01b0382166118215760405162461bcd60e51b8152600401808060200182810382526022815260200180611fb66022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166118c85760405162461bcd60e51b81526004018080602001828103825260258152602001806121296025913960400191505060405180910390fd5b6001600160a01b03821661190d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611f4b6023913960400191505060405180910390fd5b6119188383836110f3565b61195581604051806060016040528060268152602001611fd8602691396001600160a01b0386166000908152602081905260409020549190611a90565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546119849082611732565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080611a196064611a13600960006119f5611db0565b81526020019081526020016000205486611e2d90919063ffffffff16565b90611e86565b90506000611a278483611eed565b90506000611a456064611a13600a5486611e2d90919063ffffffff16565b90506000611a538483611eed565b9050611a5f88826110aa565b600f54611a779089906001600160a01b031684611883565b611a82888885611883565b506001979650505050505050565b60008184841115611b1f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ae4578181015183820152602001611acc565b50505050905090810190601f168015611b115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611b82576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611b8e600083836110f3565b600254611b9b9082611732565b6002556001600160a01b038216600090815260208190526040902054611bc19082611732565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216611c5c5760405162461bcd60e51b81526004018080602001828103825260218152602001806121086021913960400191505060405180910390fd5b611c68826000836110f3565b611ca581604051806060016040528060228152602001611f6e602291396001600160a01b0385166000908152602081905260409020549190611a90565b6001600160a01b038316600090815260208190526040902055600254611ccb9082611eed565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038116611d585760405162461bcd60e51b815260040180806020018281038252602d81526020018061202a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f744c6b2916e4b560756a288df9f7203a517b90f2f08fcc7405d828202e379ebd908290a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080611dbb611216565b90506714d1120d7b1600008110611dd657600a91505061084b565b670853a0d2313c00008111611def57600091505061084b565b6000611e0382670853a0d2313c0000611eed565b9150611e178267016345785d8a0000611e86565b9050611e24816001611732565b9250505061084b565b600082611e3c575060006108fc565b82820282848281611e4957fe5b041461178c5760405162461bcd60e51b81526004018080602001828103825260218152602001806120576021913960400191505060405180910390fd5b6000808211611edc576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611ee557fe5b049392505050565b600082821115611f44576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654661696c656420746f20636f6e73756c7420504150522070726963652066726f6d20746865206f7261636c656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204e70f68832de9ee193b16b398db65398f826777db62308b9ea818bbae19484d364736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102955760003560e01c80637f6e29a611610167578063bcbcb65b116100ce578063dd62ed3e11610087578063dd62ed3e14610779578063e28fc96c146107a7578063e5b853a7146107cd578063e5d6fe94146107f3578063ea5554c614610819578063f474584a1461083f57610295565b8063bcbcb65b146106bc578063c672e0c3146106e2578063cac7f82514610708578063d2e06b9c1461072e578063d33656e014610754578063d8934ddf1461075c57610295565b8063a457c2d711610120578063a457c2d714610608578063a9059cbb14610634578063b900a21b14610660578063b91c9f4014610668578063bc1caf0114610670578063bc731d2b1461069657610295565b80637f6e29a6146105d857806386847344146105e05780638e10be33146105e857806395d89b41146105f05780639c28f7e7146105f85780639c3709ea1461060057610295565b806342966c681161020b5780635b6c9592116101c45780635b6c95921461050c5780635cb258b6146105325780635f94e3de1461055857806370a082311461057e578063715018a6146105a457806379cc6790146105ac57610295565b806342966c68146104945780634361180e146104b15780634456eda2146104d757806346171610146104df5780634cde9a0b146104e7578063570ca7351461050457610295565b806323b872dd1161025d57806323b872dd1461039e578063313ce567146103d457806336a5a231146103f25780633950935114610416578063399efe791461044257806340c10f191461046857610295565b80630453bb921461029a57806306fdde03146102b4578063095ea7b3146103315780631355d9481461037157806318160ddd14610396575b600080fd5b6102a2610847565b60408051918252519081900360200190f35b6102bc61084e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f65781810151838201526020016102de565b50505050905090810190601f1680156103235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61035d6004803603604081101561034757600080fd5b506001600160a01b0381351690602001356108e4565b604080519115158252519081900360200190f35b6103946004803603604081101561038757600080fd5b5080359060200135610902565b005b6102a2610980565b61035d600480360360608110156103b457600080fd5b506001600160a01b03813581169160208101359091169060400135610986565b6103dc610a3e565b6040805160ff9092168252519081900360200190f35b6103fa610a47565b604080516001600160a01b039092168252519081900360200190f35b61035d6004803603604081101561042c57600080fd5b506001600160a01b038135169060200135610a56565b61035d6004803603602081101561045857600080fd5b50356001600160a01b0316610aa4565b61035d6004803603604081101561047e57600080fd5b506001600160a01b038135169060200135610b41565b610394600480360360208110156104aa57600080fd5b5035610bbb565b61035d600480360360208110156104c757600080fd5b50356001600160a01b0316610bcf565b61035d610c67565b6103fa610cb2565b610394600480360360208110156104fd57600080fd5b5035610cc1565b6103fa610d24565b61035d6004803603602081101561052257600080fd5b50356001600160a01b0316610d33565b6103946004803603602081101561054857600080fd5b50356001600160a01b0316610dd0565b6103946004803603602081101561056e57600080fd5b50356001600160a01b0316610ede565b6102a26004803603602081101561059457600080fd5b50356001600160a01b0316610fdd565b610394610ff8565b610394600480360360408110156105c257600080fd5b506001600160a01b0381351690602001356110aa565b6103fa6110f8565b6102a2611107565b6103fa611113565b6102bc611127565b6102a2611188565b6102a2611194565b61035d6004803603604081101561061e57600080fd5b506001600160a01b03813516906020013561119a565b61035d6004803603604081101561064a57600080fd5b506001600160a01b038135169060200135611202565b6102a2611216565b6103fa6112df565b6103946004803603602081101561068657600080fd5b50356001600160a01b03166112ee565b61035d600480360360208110156106ac57600080fd5b50356001600160a01b031661136e565b61035d600480360360208110156106d257600080fd5b50356001600160a01b031661138c565b610394600480360360208110156106f857600080fd5b50356001600160a01b0316611424565b6103946004803603602081101561071e57600080fd5b50356001600160a01b03166114a4565b61035d6004803603602081101561074457600080fd5b50356001600160a01b03166115a7565b6103fa6115c5565b6102a26004803603602081101561077257600080fd5b50356115d4565b6102a26004803603604081101561078f57600080fd5b506001600160a01b03813581169160200135166115e6565b610394600480360360208110156107bd57600080fd5b50356001600160a01b0316611611565b61035d600480360360208110156107e357600080fd5b50356001600160a01b031661167c565b6103946004803603602081101561080957600080fd5b50356001600160a01b0316611691565b61035d6004803603602081101561082f57600080fd5b50356001600160a01b0316611711565b6102a2611726565b600a545b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b5050505050905090565b60006108f86108f1611793565b8484611797565b5060015b92915050565b6007546001600160a01b031633148061092557506008546001600160a01b031633145b6109605760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b602881111561096e57600080fd5b60009182526009602052604090912055565b60025490565b600080610991611216565b9050600061099e8661136e565b905060006109ab866115a7565b9050600182151514156109c8576109c3878787611883565b6109eb565b600181151514156109de576109c3878787611883565b6109e98787876119de565b505b610a31876109f7611793565b610a2c8860405180606001604052806028815260200161207860289139610a258d610a20611793565b6115e6565b9190611a90565b611797565b5060019695505050505050565b60055460ff1690565b6006546001600160a01b031690565b60006108f8610a63611793565b84610a2c8560016000610a74611793565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611732565b6007546000906001600160a01b0316331480610aca57506008546001600160a01b031633145b610b055760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610b0e826115a7565b15610b1857600080fd5b506001600160a01b03166000908152600c60205260409020805460ff1916600190811790915590565b6008546000906001600160a01b03163314610b8d5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b6000610b9884610fdd565b9050610ba48484611b27565b6000610baf85610fdd565b91909111949350505050565b610bcc610bc6611793565b82611c17565b50565b6007546000906001600160a01b0316331480610bf557506008546001600160a01b031633145b610c305760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610c39826115a7565b610c4257600080fd5b506001600160a01b03166000908152600c60205260409020805460ff19169055600190565b6007546000906001600160a01b0316610c7e611793565b6001600160a01b03161480610cad57506008546001600160a01b0316610ca2611793565b6001600160a01b0316145b905090565b600f546001600160a01b031681565b6007546001600160a01b0316331480610ce457506008546001600160a01b031633145b610d1f5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600a55565b6008546001600160a01b031690565b6007546000906001600160a01b0316331480610d5957506008546001600160a01b031633145b610d945760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b610d9d8261136e565b15610da757600080fd5b506001600160a01b03166000908152600b60205260409020805460ff1916600190811790915590565b610dd8611793565b6001600160a01b0316610de9611113565b6001600160a01b031614610e32576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b038116610e775760405162461bcd60e51b8152600401808060200182810382526026815260200180611f906026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f56f6901da0707d3d8416ac2f62822ccd03d37a5110397590a1f144dd028213cb90600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610ee6611793565b6001600160a01b0316610ef7611113565b6001600160a01b031614610f40576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b038116610f855760405162461bcd60e51b815260040180806020018281038252602d81526020018061202a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f5df858659329584deb34885988af7d0c33062e608000046bb63ce5a9e4b3bc1b908290a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b611000611793565b6001600160a01b0316611011611113565b6001600160a01b03161461105a576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f56f6901da0707d3d8416ac2f62822ccd03d37a5110397590a1f144dd028213cb908390a360058054610100600160a81b0319169055565b60006110d5826040518060600160405280602481526020016120c060249139610a2586610a20611793565b90506110e9836110e3611793565b83611797565b6110f38383611c17565b505050565b600d546001600160a01b031681565b6714d1120d7b16000081565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108da5780601f106108af576101008083540402835291602001916108da565b67016345785d8a000081565b600a5481565b60006108f86111a7611793565b84610a2c8560405180606001604052806025815260200161217260259139600160006111d1611793565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611a90565b60006108f861120f611793565b8484611883565b600d54600e5460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b15801561127857600080fd5b505afa92505050801561129d57506040513d602081101561129857600080fd5b505160015b6112d85760405162461bcd60e51b815260040180806020018281038252602c815260200180611ffe602c913960400191505060405180910390fd5b905061084b565b600e546001600160a01b031681565b6007546001600160a01b031633148061131157506008546001600160a01b031633145b61134c5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600b602052604090205460ff1690565b6007546000906001600160a01b03163314806113b257506008546001600160a01b031633145b6113ed5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b6113f68261136e565b6113ff57600080fd5b506001600160a01b03166000908152600b60205260409020805460ff19169055600190565b6007546001600160a01b031633148061144757506008546001600160a01b031633145b6114825760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6114ac611793565b6001600160a01b03166114bd611113565b6001600160a01b031614611506576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b6001600160a01b03811661154b5760405162461bcd60e51b8152600401808060200182810382526026815260200180611f906026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907fd91e5ba07efb2e532a3d502f5fb4451cf8fe4006f3b90283d8f2f51a06e5358c90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600c602052604090205460ff1690565b6007546001600160a01b031690565b60009081526009602052604090205490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611619611793565b6001600160a01b031661162a611113565b6001600160a01b031614611673576040805162461bcd60e51b815260206004820181905260248201526000805160206120a0833981519152604482015290519081900360640190fd5b610bcc81611d13565b600b6020526000908152604090205460ff1681565b6007546001600160a01b03163314806116b457506008546001600160a01b031633145b6116ef5760405162461bcd60e51b81526004018080602001828103825260248152602001806120e46024913960400191505060405180910390fd5b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600c6020526000908152604090205460ff1681565b670853a0d2313c000081565b60008282018381101561178c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166117dc5760405162461bcd60e51b815260040180806020018281038252602481526020018061214e6024913960400191505060405180910390fd5b6001600160a01b0382166118215760405162461bcd60e51b8152600401808060200182810382526022815260200180611fb66022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166118c85760405162461bcd60e51b81526004018080602001828103825260258152602001806121296025913960400191505060405180910390fd5b6001600160a01b03821661190d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611f4b6023913960400191505060405180910390fd5b6119188383836110f3565b61195581604051806060016040528060268152602001611fd8602691396001600160a01b0386166000908152602081905260409020549190611a90565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546119849082611732565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080611a196064611a13600960006119f5611db0565b81526020019081526020016000205486611e2d90919063ffffffff16565b90611e86565b90506000611a278483611eed565b90506000611a456064611a13600a5486611e2d90919063ffffffff16565b90506000611a538483611eed565b9050611a5f88826110aa565b600f54611a779089906001600160a01b031684611883565b611a82888885611883565b506001979650505050505050565b60008184841115611b1f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ae4578181015183820152602001611acc565b50505050905090810190601f168015611b115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611b82576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611b8e600083836110f3565b600254611b9b9082611732565b6002556001600160a01b038216600090815260208190526040902054611bc19082611732565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216611c5c5760405162461bcd60e51b81526004018080602001828103825260218152602001806121086021913960400191505060405180910390fd5b611c68826000836110f3565b611ca581604051806060016040528060228152602001611f6e602291396001600160a01b0385166000908152602081905260409020549190611a90565b6001600160a01b038316600090815260208190526040902055600254611ccb9082611eed565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038116611d585760405162461bcd60e51b815260040180806020018281038252602d81526020018061202a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f744c6b2916e4b560756a288df9f7203a517b90f2f08fcc7405d828202e379ebd908290a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080611dbb611216565b90506714d1120d7b1600008110611dd657600a91505061084b565b670853a0d2313c00008111611def57600091505061084b565b6000611e0382670853a0d2313c0000611eed565b9150611e178267016345785d8a0000611e86565b9050611e24816001611732565b9250505061084b565b600082611e3c575060006108fc565b82820282848281611e4957fe5b041461178c5760405162461bcd60e51b81526004018080602001828103825260218152602001806120576021913960400191505060405180910390fd5b6000808211611edc576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611ee557fe5b049392505050565b600082821115611f44576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654661696c656420746f20636f6e73756c7420504150522070726963652066726f6d20746865206f7261636c656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204e70f68832de9ee193b16b398db65398f826777db62308b9ea818bbae19484d364736f6c634300060c0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 33 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.