Contract 0xa88b94b4f103c760d577091db1d68dafb679019e 1

 

Contract Overview

Balance:
0.019918259057941857 BNB

BNB Value:
$8.13 (@ $408.24/BNB)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf83a358ef57fd46dbc017b6b0cb4415960586f55b9a365ca4ee684ea3dbc47ecClaim110479682021-09-19 10:28:4813 hrs 2 mins ago0xb8f8f9377efb96e8b618cb05b601188fc2290936 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000638055
0x3f96c8e022ebb0b939ae513b41bc4c401b620ea374e663e5392e564fddd4a79cApprove110449322021-09-19 7:51:0515 hrs 39 mins ago0x79d17093024e62d986cfeaeadc9d5dadec523648 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00007297
0x7a7e93552c57c57bd19602af2f2d2b1131ae336a6ed919c178dd1472057bba3fApprove110375422021-09-19 1:41:1521 hrs 49 mins ago0x89156bf9656b213d4b179e441c78267fa1d9f0e9 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000312004
0xdd7b5157962d5b16a875f545e3c1291cc65b834cf5fa46c6c5e8c365f8a2e14dClaim110219742021-09-18 12:39:391 day 10 hrs ago0xd8979c254fd0b9230fb941cc8cb7a70b73a535e1 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000738335
0x6efba58a78ca378a28b51bbf62233c0bc86f91e8128d6449708bf4e1f3042749Approve110207362021-09-18 11:37:341 day 11 hrs ago0xfd0f9bc75783a0d524f9530c2453327223958466 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x6ba16e5ab7b7e1a4e53e6657bbe73042e25f1c1ffea72b56fc4cca9a241ade72Approve110207182021-09-18 11:36:401 day 11 hrs ago0x26be65ee17805907fd0d2b0ec896bf0561e836ec IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xc02d0c836c4caa788a1c0a3e884eebcdf4639d80b3385b985f95549a371148c2Approve110162782021-09-18 7:54:191 day 15 hrs ago0xd979f60c5b91cb08f9f97e66980472a9d425773f IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xe22c4968a80623c8dc24bb02d5dc12d6d4a86a9df12948e43f340b905d23dff6Approve109938342021-09-17 13:10:202 days 10 hrs ago0xc08dc5634fc3f3876a5fe56978921b28daf18202 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x9df5a649f91fc612d30c4d70b82235fea44f80efe4eb0e2be4d14e2934fea601Approve109789462021-09-17 0:45:072 days 22 hrs ago0x3ed54ace688779116e445133c532d288b4b28b6b IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000312004
0xeaa181e54889fb078589641fe1b91cee1d415075347a455594cca5998237b2a7Approve109773412021-09-16 23:24:513 days 6 mins ago0x75ae2dda76aea5d7ecb0fd205efbfe989c8b986e IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x5d63a470b19a6e619348fd6c7ce81b30baeda0140d264a63f84ee00038c42ad1Claim109730522021-09-16 19:50:233 days 3 hrs ago0x4914e283ee83b56810eea7f5ef2ca96c6c20dc54 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00031548
0x940b7422d22be0655153656e5c9b76c37fd7b85e1459ba7a9777002345296411Claim109666212021-09-16 14:27:413 days 9 hrs ago0x8b446c8467347310bc304511aa58738365ffc448 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000638055
0xa780b2258e7ef28b529f279799d0e992b7e4c2345701b3b2b8c4009f3786e74bApprove109553092021-09-16 5:00:093 days 18 hrs ago0x8cc7bc33f5188b1fb683bedc4dbffa77b136833b IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00012566
0x46374c14ceec0fe7bba36d4a57fd08f28ea3dd79b2f70ccd0f9145bec31ba13aApprove109553052021-09-16 4:59:573 days 18 hrs ago0x8cc7bc33f5188b1fb683bedc4dbffa77b136833b IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00014666
0xf3d7e895285938d717c24ae32823a7d96a96c9f68e2b5a6155cd73accefa898fApprove109455872021-09-15 20:53:564 days 2 hrs ago0xabe7e63b4bd06444c3c7b4dc12078ec38da18586 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xc8db29466e0e31be0ba8814717837b7eda3c2ff74cad3acb0bbc9533be3d5406Approve109316632021-09-15 9:16:254 days 14 hrs ago0x50c2781f612821204694427f9ecfa6dda6f56cac IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xa6dc39e50d959d3aa35a817e088ec3a7a55f442d3624b1350476a54185ba2866Approve109058542021-09-14 11:38:135 days 11 hrs ago0x0c1ddea90bc19f70dd5fb9f3ec0f5a0d45540e7f IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xf29f0a755e15e89d0e11b052a88bfacfd443eadddd328e7fb03db4f7c13da336Approve109019282021-09-14 8:21:295 days 15 hrs ago0x3cf412d970474804623bb4e3a42de13f9bca5436 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xe762b022db10b6118634b131f05cb77fec8914fdd1be2b34003f61a9f0eef640Claim108850852021-09-13 18:18:556 days 5 hrs ago0x4914e283ee83b56810eea7f5ef2ca96c6c20dc54 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00031548
0xb3a45a0dafb277902343cb4d3da0364b6bc7af4b72a37c4de361a3bc37bc3b43Approve108838822021-09-13 17:18:446 days 6 hrs ago0x5fe858c78c4b83e4c3d7d47e1cd7f450953a6ccf IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x9ffb8cdb7f6360bbd09d0487ad7893121ae48f789b18070c60369e358a9b5a4aClaim108705832021-09-13 6:10:486 days 17 hrs ago0x8b446c8467347310bc304511aa58738365ffc448 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.000638055
0x4142c4252691d1b5713663b06ec3de56d92e932af5882525903add3709191243Approve108536382021-09-12 16:02:387 days 7 hrs ago0xad67404bb3e0ba9ca1500d9bf6b19ee91f03f4d2 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0xcd52fa0faebd93213483204697049d30ad64cb45039517cf11834bf895d26f67Approve108356182021-09-12 1:01:247 days 22 hrs ago0x3a2c5f78d1cd02ed77c9bf8679c0e8ccde8b40c3 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x2d0e894f4b0c477a9bf1874b045f56c4eb1f7319aac8af081a8c3f09d91486f2Approve108297282021-09-11 20:03:138 days 3 hrs ago0x329763225746507c6cbbd4dc1ff9cbf529f07ba6 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
0x41173b5fbec9cbd42f20f854e4476d31c3062328e33bb5fef32fb9df71b4422dApprove108255552021-09-11 16:32:208 days 6 hrs ago0x543ae632b9183317d61e01b4f43e9d93a1e70092 IN  0xa88b94b4f103c760d577091db1d68dafb679019e0 BNB0.00022286
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8f929bb2e41518b884ea68dd934bea048926e133509b054c6bd3bffdcbadd68b110207212021-09-18 11:36:491 day 11 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.005559817653121662 BNB
0x8f929bb2e41518b884ea68dd934bea048926e133509b054c6bd3bffdcbadd68b110207212021-09-18 11:36:491 day 11 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.005559817653121662 BNB
0x8f929bb2e41518b884ea68dd934bea048926e133509b054c6bd3bffdcbadd68b110207212021-09-18 11:36:491 day 11 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.018559036669700255 BNB
0x8f929bb2e41518b884ea68dd934bea048926e133509b054c6bd3bffdcbadd68b110207212021-09-18 11:36:491 day 11 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.018559036669700255 BNB
0xf5c47f38c3f21aa1c707cc5e894cc111bc93070917f0061ce768c2cb61f96bfb110162872021-09-18 7:54:461 day 15 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.003358883095453773 BNB
0xf5c47f38c3f21aa1c707cc5e894cc111bc93070917f0061ce768c2cb61f96bfb110162872021-09-18 7:54:461 day 15 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.003358883095453773 BNB
0xf5c47f38c3f21aa1c707cc5e894cc111bc93070917f0061ce768c2cb61f96bfb110162872021-09-18 7:54:461 day 15 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.011205387197018602 BNB
0xf5c47f38c3f21aa1c707cc5e894cc111bc93070917f0061ce768c2cb61f96bfb110162872021-09-18 7:54:461 day 15 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.011205387197018602 BNB
0x7474167f25a7c9e8dde48288509497cc3bc618b2b7cf96629e6f7b365002a4d4109773582021-09-16 23:25:423 days 5 mins ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.001419792289491229 BNB
0x7474167f25a7c9e8dde48288509497cc3bc618b2b7cf96629e6f7b365002a4d4109773582021-09-16 23:25:423 days 5 mins ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.001419792289491229 BNB
0x7474167f25a7c9e8dde48288509497cc3bc618b2b7cf96629e6f7b365002a4d4109773582021-09-16 23:25:423 days 5 mins ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.004734253881957237 BNB
0x7474167f25a7c9e8dde48288509497cc3bc618b2b7cf96629e6f7b365002a4d4109773582021-09-16 23:25:423 days 5 mins ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.004734253881957237 BNB
0xaac9c52d313071f96b6c99fdf09e7388d7080adea5fc5c891437cbdab926daa8109553112021-09-16 5:00:153 days 18 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.001419792289491229 BNB
0xaac9c52d313071f96b6c99fdf09e7388d7080adea5fc5c891437cbdab926daa8109553112021-09-16 5:00:153 days 18 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.001419792289491229 BNB
0xaac9c52d313071f96b6c99fdf09e7388d7080adea5fc5c891437cbdab926daa8109553112021-09-16 5:00:153 days 18 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.004734253881957237 BNB
0xaac9c52d313071f96b6c99fdf09e7388d7080adea5fc5c891437cbdab926daa8109553112021-09-16 5:00:153 days 18 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.004734253881957237 BNB
0xf938ca5dba02f7df8b49b5357345454e42125f88dcd818d09562f64c54d2ae57109553072021-09-16 5:00:033 days 18 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.001419792289491229 BNB
0xf938ca5dba02f7df8b49b5357345454e42125f88dcd818d09562f64c54d2ae57109553072021-09-16 5:00:033 days 18 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.001419792289491229 BNB
0xf938ca5dba02f7df8b49b5357345454e42125f88dcd818d09562f64c54d2ae57109553072021-09-16 5:00:033 days 18 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.004734253881957237 BNB
0xf938ca5dba02f7df8b49b5357345454e42125f88dcd818d09562f64c54d2ae57109553072021-09-16 5:00:033 days 18 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.004734253881957237 BNB
0xfa85b97aa45d06d37e3804679ba8d8995564d25e29730fddc5307d5b2b50762a109316702021-09-15 9:16:464 days 14 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.000654674700657262 BNB
0xfa85b97aa45d06d37e3804679ba8d8995564d25e29730fddc5307d5b2b50762a109316702021-09-15 9:16:464 days 14 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.000654674700657262 BNB
0xfa85b97aa45d06d37e3804679ba8d8995564d25e29730fddc5307d5b2b50762a109316702021-09-15 9:16:464 days 14 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e0xfd0f9bc75783a0d524f9530c24533272239584660.002182590509098289 BNB
0xfa85b97aa45d06d37e3804679ba8d8995564d25e29730fddc5307d5b2b50762a109316702021-09-15 9:16:464 days 14 hrs ago PancakeSwap: Router v2 0xa88b94b4f103c760d577091db1d68dafb679019e0.002182590509098289 BNB
0xa29798b8c6207e157f22b1179caac033da7aa68fdb14fa9c2a3fc52e50ebee60109150962021-09-14 19:22:385 days 4 hrs ago 0xa88b94b4f103c760d577091db1d68dafb679019e PancakeSwap: Router v20.000710304250075173 BNB
[ Download CSV Export 
Loading
This contract contains unverified libraries: IterableMapping

Contract Source Code Verified (Exact Match)

Contract Name:
BabyPooCake

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : babypoocake.sol
/*
What's better than earn $cake or $poo?  
Get rewards from both at the same time! 
#BABYPOOCAKE is the first CAKE & POO reflection token.
Stealth launch soon: Join telegram!
https://t.me/babypoocakeofficial
*/
// SPDX-License-Identifier: Unlicensed
 
pragma solidity ^0.8.4;
 
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(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;
    }
}
 
abstract contract Ownable is Context {
    address private _owner;
 
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
 
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
 
    function owner() public view virtual returns (address) {
        return _owner;
    }
 
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
 
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
 
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
 
interface IERC20 {
    function totalSupply() external view returns (uint256);
 
    function balanceOf(address account) external view returns (uint256);
 
    function transfer(address recipient, uint256 amount) external returns (bool);
 
    function allowance(address owner, address spender) external view returns (uint256);
 
    function approve(address spender, uint256 amount) external returns (bool);
 
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
 
    event Transfer(address indexed from, address indexed to, uint256 value);
 
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
 
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;
 
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }
 
    function name() public view virtual returns (string memory) {
        return _name;
    }
 
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }
 
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }
 
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
 
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }
 
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
 
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }
 
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
 
    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;
    }
 
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }
 
    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;
    }
 
    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);
    }
 
    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);
    }
 
    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);
    }
 
    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);
    }
 
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }
 
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
 
 
interface IDividendPayingToken {
  function dividendOf(address _owner) external view returns(uint256);
 
  function withdrawDividend() external;
 
  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );
 
  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount
  );
}
 
interface IDividendPayingTokenOptional {
  function withdrawableDividendOf(address _owner) external view returns(uint256);
 
  function withdrawnDividendOf(address _owner) external view returns(uint256);
 
  function accumulativeDividendOf(address _owner) external view returns(uint256);
}
 
contract DividendPayingToken is ERC20, IDividendPayingToken, IDividendPayingTokenOptional {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;
 
  uint256 constant internal magnitude = 2**128;
 
  uint256 internal magnifiedDividendPerShare;
  uint256 internal lastAmount;
 
  address public dividendToken;
 
 
  mapping(address => int256) internal magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;
  mapping(address => bool) _isAuth;
 
  uint256 public totalDividendsDistributed;
 
  modifier onlyAuth() {
    require(_isAuth[msg.sender], "Auth: caller is not the authorized");
    _;
  }
 
  constructor(string memory _name, string memory _symbol, address _token) ERC20(_name, _symbol) {
    dividendToken = _token;
    _isAuth[msg.sender] = true;
  }
 
  function setAuth(address account) external onlyAuth{
      _isAuth[account] = true;
  }
 
 
  function distributeDividends(uint256 amount) public {
    require(totalSupply() > 0);
 
    if (amount > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (amount).mul(magnitude) / totalSupply()
      );
      emit DividendsDistributed(msg.sender, amount);
 
      totalDividendsDistributed = totalDividendsDistributed.add(amount);
    }
  }
 
  function withdrawDividend() public virtual override {
    _withdrawDividendOfUser(payable(msg.sender));
  }
 
  function setDividendTokenAddress(address newToken) external virtual onlyAuth{
      dividendToken = newToken;
  }
 
  function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend);
      bool success = IERC20(dividendToken).transfer(user, _withdrawableDividend);
 
      if(!success) {
        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
        return 0;
      }
 
      return _withdrawableDividend;
    }
 
    return 0;
  }
 
 
  function dividendOf(address _owner) public view override returns(uint256) {
    return withdrawableDividendOf(_owner);
  }
 
  function withdrawableDividendOf(address _owner) public view override returns(uint256) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
  }
 
  function withdrawnDividendOf(address _owner) public view override returns(uint256) {
    return withdrawnDividends[_owner];
  }
 
 
  function accumulativeDividendOf(address _owner) public view override returns(uint256) {
    return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }
 
  function _transfer(address from, address to, uint256 value) internal virtual override {
    require(false);
 
    int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }
 
  function _mint(address account, uint256 value) internal override {
    super._mint(account, value);
 
    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }
 
  function _burn(address account, uint256 value) internal override {
    super._burn(account, value);
 
    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }
 
  function _setBalance(address account, uint256 newBalance) internal {
    uint256 currentBalance = balanceOf(account);
 
    if(newBalance > currentBalance) {
      uint256 mintAmount = newBalance.sub(currentBalance);
      _mint(account, mintAmount);
    } else if(newBalance < currentBalance) {
      uint256 burnAmount = currentBalance.sub(newBalance);
      _burn(account, burnAmount);
    }
  }
}
 
////////////////////////////////
///////// Interfaces ///////////
////////////////////////////////
 
interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
 
    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
 
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);
 
    function createPair(address tokenA, address tokenB) external returns (address pair);
 
    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
 
interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
 
    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
 
    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
 
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);
 
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
 
    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);
 
    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);
 
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;
 
    function initialize(address, address) external;
}
 
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
 
    function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); 
function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); 
function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); 
function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); 
function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); 
function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); 
function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); 
function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); 
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); 
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); 
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); 
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); 
 
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
 
interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); 
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); 
 
 
function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; 
function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; 
function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; 
 
}
 
////////////////////////////////
////////// Libraries ///////////
////////////////////////////////
 
library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }
 
    function get(Map storage map, address key) public view returns (uint) {
        return map.values[key];
    }
 
    function getIndexOfKey(Map storage map, address key) public view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }
 
    function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
        return map.keys[index];
    }
 
 
 
    function size(Map storage map) public view returns (uint) {
        return map.keys.length;
    }
 
    function set(Map storage map, address key, uint val) public {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }
 
    function remove(Map storage map, address key) public {
        if (!map.inserted[key]) {
            return;
        }
 
        delete map.inserted[key];
        delete map.values[key];
 
        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];
 
        map.indexOf[lastKey] = index;
        delete map.indexOf[key];
 
        map.keys[index] = lastKey;
        map.keys.pop();
    }
}
 
library SafeMath {
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }
 
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }
 
    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);
    }
 
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }
 
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }
 
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }
 
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }
 
    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;
    }
 
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }
 
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }
 
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }
 
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }
 
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}
 
library SafeMathInt {
  function mul(int256 a, int256 b) internal pure returns (int256) {
    // Prevent overflow when multiplying INT256_MIN with -1
    // https://github.com/RequestNetwork/requestNetwork/issues/43
    require(!(a == - 2**255 && b == -1) && !(b == - 2**255 && a == -1));
 
    int256 c = a * b;
    require((b == 0) || (c / b == a));
    return c;
  }
 
  function div(int256 a, int256 b) internal pure returns (int256) {
    // Prevent overflow when dividing INT256_MIN by -1
    // https://github.com/RequestNetwork/requestNetwork/issues/43
    require(!(a == - 2**255 && b == -1) && (b > 0));
 
    return a / b;
  }
 
  function sub(int256 a, int256 b) internal pure returns (int256) {
    require((b >= 0 && a - b <= a) || (b < 0 && a - b > a));
 
    return a - b;
  }
 
  function add(int256 a, int256 b) internal pure returns (int256) {
    int256 c = a + b;
    require((b >= 0 && c >= a) || (b < 0 && c < a));
    return c;
  }
 
  function toUint256Safe(int256 a) internal pure returns (uint256) {
    require(a >= 0);
    return uint256(a);
  }
}
 
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}
 
////////////////////////////////
/////////// Tokens /////////////
////////////////////////////////
 
contract BabyPooCake is ERC20, Ownable {
    using SafeMath for uint256;
 
    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;
 
    address public uniDividendToken;
    address public cakeDividendToken;
    address public deadAddress = 0x000000000000000000000000000000000000dEaD;
 
    bool private swapping;
    bool public tradingIsEnabled = false;
    bool public marketingEnabled = true;
    bool public swapAndLiquifyEnabled = true;
    bool public uniDividendEnabled = true;
    bool public cakeDividendEnabled = true;
 
    POOCOINDividendTracker public poocoinDividendTracker;
    CAKEDividendTracker public cakeDividendTracker;
 
    address private marketingWallet;
 
    uint256 public maxBuyTranscationAmount = 1 * 10**18;
    uint256 public maxSellTransactionAmount = 10 * 10**12 * 10**18;
    uint256 public maxWalletBalance = 20 * 10**12 * 10**18;
    uint256 public swapTokensAtAmount = 20 * 10**6 * 10**18;
 
    uint256 public liquidityFee = 3;
    uint256 public previousLiquidityFee;
    uint256 public uniDividendRewardsFee = 4;
    uint256 public previousUniDividendRewardsFee;
    uint256 public cakeDividendRewardsFee = 4;
    uint256 public previousCakeDividendRewardsFee;
    uint256 private marketingFee = 5;
    uint256 private previousMarketingFee;
    uint256 public totalFees = uniDividendRewardsFee.add(marketingFee).add(cakeDividendRewardsFee).add(liquidityFee);
 
 
    uint256 public sellFeeIncreaseFactor = 130;
 
    uint256 public gasForProcessing = 600000;
 
    address public presaleAddress;
 
    mapping (address => bool) private isExcludedFromFees;
 
    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;
 
    event UpdatepoocoinDividendTracker(address indexed newAddress, address indexed oldAddress);
    event UpdatecakeDividendTracker(address indexed newAddress, address indexed oldAddress);
 
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
 
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event MarketingEnabledUpdated(bool enabled);
    event UniDividendEnabledUpdated(bool enabled);
    event CakeDividendEnabledUpdated(bool enabled);
 
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
 
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
 
    event MarketingWalletUpdated(address indexed newMarketingWallet, address indexed oldMarketingWallet);
 
    event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue);
 
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 bnbReceived,
        uint256 tokensIntoLiqudity
    );
 
    event SendDividends(
    	uint256 amount
    );
 
    event ProcessedpoocoinDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );
 
    event ProcessedcakeDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );
 
    constructor() ERC20("BabyPooCake", "BPC") {
    	poocoinDividendTracker = new POOCOINDividendTracker();
    	cakeDividendTracker = new CAKEDividendTracker();
 
    	marketingWallet = 0x26BE65Ee17805907fd0d2b0EC896bF0561e836Ec;
    	uniDividendToken = 0xB27ADAfFB9fEa1801459a1a81B17218288c097cc;
        cakeDividendToken = 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82;
 
    	//0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3 Testnet
    	//0x10ED43C718714eb63d5aA57B78B54704E256024E Mainet V2
    	
    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
         // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
 
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;
 
        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);
 
        excludeFromDividend(address(poocoinDividendTracker));
        excludeFromDividend(address(cakeDividendTracker));
        excludeFromDividend(address(this));
        excludeFromDividend(address(_uniswapV2Router));
        excludeFromDividend(deadAddress);
 
        // exclude from paying fees or having max transaction amount
        excludeFromFees(marketingWallet, true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);
        excludeFromFees(owner(), true);
 
        setAuthOnDividends(owner());
 
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1e11 * (10**18));
    }
 
    receive() external payable {
 
  	}
 
  	function whitelistDxSale(address _presaleAddress, address _routerAddress) external onlyOwner {
  	    presaleAddress = _presaleAddress;
        poocoinDividendTracker.excludeFromDividends(_presaleAddress);
        cakeDividendTracker.excludeFromDividends(_presaleAddress);
        excludeFromFees(_presaleAddress, true);
 
        poocoinDividendTracker.excludeFromDividends(_routerAddress);
        cakeDividendTracker.excludeFromDividends(_routerAddress);
        excludeFromFees(_routerAddress, true);
  	}
 
  	function prepareForPartherOrExchangeListing(address _partnerOrExchangeAddress) external onlyOwner {
  	    poocoinDividendTracker.excludeFromDividends(_partnerOrExchangeAddress);
        cakeDividendTracker.excludeFromDividends(_partnerOrExchangeAddress);
        excludeFromFees(_partnerOrExchangeAddress, true);
  	}
 
  	function setWalletBalance(uint256 _maxWalletBalance) external onlyOwner{
  	    maxWalletBalance = _maxWalletBalance;
  	}
 
  	function setMaxBuyTransaction(uint256 _maxTxn) external onlyOwner {
  	    maxBuyTranscationAmount = _maxTxn * (10**18);
  	}
 
  	function setMaxSellTransaction(uint256 _maxTxn) external onlyOwner {
  	    maxSellTransactionAmount = _maxTxn * (10**18);
  	}
 
  	function updateUniDividendToken(address _newContract) external onlyOwner {
  	    uniDividendToken = _newContract;
  	    poocoinDividendTracker.setDividendTokenAddress(_newContract);
  	}
 
  	function updateCakeDividendToken(address _newContract) external onlyOwner {
  	    cakeDividendToken = _newContract;
  	    cakeDividendTracker.setDividendTokenAddress(_newContract);
  	}
 
  	function updateMarketingWallet(address _newWallet) external onlyOwner {
  	    require(_newWallet != marketingWallet, "BabyPooCake: The marketing wallet is already this address");
        excludeFromFees(_newWallet, true);
        emit MarketingWalletUpdated(marketingWallet, _newWallet);
  	    marketingWallet = _newWallet;
  	}
 
  	function setSwapTokensAtAmount(uint256 _swapAmount) external onlyOwner {
  	    swapTokensAtAmount = _swapAmount * (10**18);
  	}
 
  	function setSellTransactionMultiplier(uint256 _multiplier) external onlyOwner {
  	    sellFeeIncreaseFactor = _multiplier;
  	}
 
 
    function setTradingIsEnabled(bool _enabled) external onlyOwner {
        tradingIsEnabled = _enabled;
    }
 
    function setAuthOnDividends(address account) public onlyOwner{
        cakeDividendTracker.setAuth(account);
        poocoinDividendTracker.setAuth(account);
    }
 
 
    function setUniDividendEnabled(bool _enabled) external onlyOwner {
        require(uniDividendEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousUniDividendRewardsFee = uniDividendRewardsFee;
            uniDividendRewardsFee = 0;
            uniDividendEnabled = _enabled;
        } else {
            uniDividendRewardsFee = previousUniDividendRewardsFee;
            totalFees = uniDividendRewardsFee.add(marketingFee).add(cakeDividendRewardsFee).add(liquidityFee);
            uniDividendEnabled = _enabled;
        }
 
        emit UniDividendEnabledUpdated(_enabled);
    }
 
    function setCakeDividendEnabled(bool _enabled) external onlyOwner {
        require(cakeDividendEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousCakeDividendRewardsFee = cakeDividendRewardsFee;
            cakeDividendRewardsFee = 0;
            cakeDividendEnabled = _enabled;
        } else {
            cakeDividendRewardsFee = previousCakeDividendRewardsFee;
            totalFees = cakeDividendRewardsFee.add(marketingFee).add(uniDividendRewardsFee).add(liquidityFee);
            cakeDividendEnabled = _enabled;
        }
 
        emit CakeDividendEnabledUpdated(_enabled);
    }
 
    function setMarketingEnabled(bool _enabled) external onlyOwner {
        require(marketingEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousMarketingFee = marketingFee;
            marketingFee = 0;
            marketingEnabled = _enabled;
        } else {
            marketingFee = previousMarketingFee;
            totalFees = marketingFee.add(cakeDividendRewardsFee).add(uniDividendRewardsFee).add(liquidityFee);
            marketingEnabled = _enabled;
        }
 
        emit MarketingEnabledUpdated(_enabled);
    }
 
    function setSwapAndLiquifyEnabled(bool _enabled) external onlyOwner {
        require(swapAndLiquifyEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousLiquidityFee = liquidityFee;
            liquidityFee = 0;
            swapAndLiquifyEnabled = _enabled;
        } else {
            liquidityFee = previousLiquidityFee;
            totalFees = cakeDividendRewardsFee.add(marketingFee).add(uniDividendRewardsFee).add(liquidityFee);
            swapAndLiquifyEnabled = _enabled;
        }
 
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }
 
 
    function updatepoocoinDividendTracker(address newAddress) external onlyOwner {
        require(newAddress != address(poocoinDividendTracker), "BabyPooCake: The dividend tracker already has that address");
 
        POOCOINDividendTracker newpoocoinDividendTracker = POOCOINDividendTracker(payable(newAddress));
 
        require(newpoocoinDividendTracker.owner() == address(this), "BabyPooCake: The new dividend tracker must be owned by the BabyPooCake token contract");
 
        newpoocoinDividendTracker.excludeFromDividends(address(newpoocoinDividendTracker));
        newpoocoinDividendTracker.excludeFromDividends(address(this));
        newpoocoinDividendTracker.excludeFromDividends(address(uniswapV2Router));
        newpoocoinDividendTracker.excludeFromDividends(address(deadAddress));
 
        emit UpdatepoocoinDividendTracker(newAddress, address(poocoinDividendTracker));
 
        poocoinDividendTracker = newpoocoinDividendTracker;
    }
 
    function updatecakeDividendTracker(address newAddress) external onlyOwner {
        require(newAddress != address(cakeDividendTracker), "BabyPooCake: The dividend tracker already has that address");
 
        CAKEDividendTracker newcakeDividendTracker = CAKEDividendTracker(payable(newAddress));
 
        require(newcakeDividendTracker.owner() == address(this), "BabyPooCake: The new dividend tracker must be owned by the BabyPooCake token contract");
 
        newcakeDividendTracker.excludeFromDividends(address(newcakeDividendTracker));
        newcakeDividendTracker.excludeFromDividends(address(this));
        newcakeDividendTracker.excludeFromDividends(address(uniswapV2Router));
        newcakeDividendTracker.excludeFromDividends(address(deadAddress));
 
        emit UpdatecakeDividendTracker(newAddress, address(cakeDividendTracker));
 
        cakeDividendTracker = newcakeDividendTracker;
    }
 
    function updateUniDividendRewardFee(uint8 newFee) external onlyOwner {
        uniDividendRewardsFee = newFee;
        totalFees = uniDividendRewardsFee.add(marketingFee).add(cakeDividendRewardsFee).add(liquidityFee);
    }
 
    function updateCakeDividendRewardFee(uint8 newFee) external onlyOwner {
        cakeDividendRewardsFee = newFee;
        totalFees = cakeDividendRewardsFee.add(uniDividendRewardsFee).add(marketingFee).add(liquidityFee);
    }
 
    function updateMarketingFee(uint8 newFee) external onlyOwner {
        marketingFee = newFee;
        totalFees = marketingFee.add(uniDividendRewardsFee).add(cakeDividendRewardsFee).add(liquidityFee);
    }
 
    function updateLiquidityFee(uint8 newFee) external onlyOwner {
        liquidityFee = newFee;
        totalFees = marketingFee.add(uniDividendRewardsFee).add(cakeDividendRewardsFee).add(liquidityFee);
    }
 
    function updateUniswapV2Router(address newAddress) external onlyOwner {
        require(newAddress != address(uniswapV2Router), "BabyPooCake: The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }
 
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(isExcludedFromFees[account] != excluded, "BabyPooCake: Account is already exluded from fees");
        isExcludedFromFees[account] = excluded;
 
        emit ExcludeFromFees(account, excluded);
    }
 
    function excludeFromDividend(address account) public onlyOwner {
        poocoinDividendTracker.excludeFromDividends(address(account));
        cakeDividendTracker.excludeFromDividends(address(account));
    }
 
    function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++) {
            isExcludedFromFees[accounts[i]] = excluded;
        }
 
        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }
 
    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "BabyPooCake: The PanadaSwap pair cannot be removed from automatedMarketMakerPairs");
 
        _setAutomatedMarketMakerPair(pair, value);
    }
 
    function _setAutomatedMarketMakerPair(address pair, bool value) private onlyOwner {
        require(automatedMarketMakerPairs[pair] != value, "BabyPooCake: Automated market maker pair is already set to that value");
        automatedMarketMakerPairs[pair] = value;
 
        if(value) {
            poocoinDividendTracker.excludeFromDividends(pair);
            cakeDividendTracker.excludeFromDividends(pair);
        }
 
        emit SetAutomatedMarketMakerPair(pair, value);
    }
 
    function updateGasForProcessing(uint256 newValue) external onlyOwner {
        require(newValue != gasForProcessing, "BabyPooCake: Cannot update gasForProcessing to same value");
        gasForProcessing = newValue;
        emit GasForProcessingUpdated(newValue, gasForProcessing);
    }
 
    function updateMinimumBalanceForDividends(uint256 newMinimumBalance) external onlyOwner {
        poocoinDividendTracker.updateMinimumTokenBalanceForDividends(newMinimumBalance);
        cakeDividendTracker.updateMinimumTokenBalanceForDividends(newMinimumBalance);
    }
 
    function updateClaimWait(uint256 claimWait) external onlyOwner {
        poocoinDividendTracker.updateClaimWait(claimWait);
        cakeDividendTracker.updateClaimWait(claimWait);
    }
 
    function getUniClaimWait() external view returns(uint256) {
        return poocoinDividendTracker.claimWait();
    }
 
    function getCakeClaimWait() external view returns(uint256) {
        return cakeDividendTracker.claimWait();
    }
 
    function getTotalUniDividendsDistributed() external view returns (uint256) {
        return poocoinDividendTracker.totalDividendsDistributed();
    }
 
    function getTotalCakeDividendsDistributed() external view returns (uint256) {
        return cakeDividendTracker.totalDividendsDistributed();
    }
 
    function getIsExcludedFromFees(address account) public view returns(bool) {
        return isExcludedFromFees[account];
    }
 
    function withdrawableUniDividendOf(address account) external view returns(uint256) {
    	return poocoinDividendTracker.withdrawableDividendOf(account);
  	}
 
  	function withdrawableCakeDividendOf(address account) external view returns(uint256) {
    	return cakeDividendTracker.withdrawableDividendOf(account);
  	}
 
	function uniDividendTokenBalanceOf(address account) external view returns (uint256) {
		return poocoinDividendTracker.balanceOf(account);
	}
 
	function cakeDividendTokenBalanceOf(address account) external view returns (uint256) {
		return cakeDividendTracker.balanceOf(account);
	}
 
    function getAccountUniDividendsInfo(address account)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
        return poocoinDividendTracker.getAccount(account);
    }
 
    function getAccountCakeDividendsInfo(address account)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
        return cakeDividendTracker.getAccount(account);
    }
 
	function getAccountUniDividendsInfoAtIndex(uint256 index)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	return poocoinDividendTracker.getAccountAtIndex(index);
    }
 
    function getAccountCakeDividendsInfoAtIndex(uint256 index)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	return cakeDividendTracker.getAccountAtIndex(index);
    }
 
	function processDividendTracker(uint256 gas) external onlyOwner {
		(uint256 uniIterations, uint256 uniClaims, uint256 uniLastProcessedIndex) = poocoinDividendTracker.process(gas);
		emit ProcessedpoocoinDividendTracker(uniIterations, uniClaims, uniLastProcessedIndex, false, gas, tx.origin);
 
		(uint256 cakeIterations, uint256 cakeClaims, uint256 cakeLastProcessedIndex) = cakeDividendTracker.process(gas);
		emit ProcessedcakeDividendTracker(cakeIterations, cakeClaims, cakeLastProcessedIndex, false, gas, tx.origin);
    }
 
    function claim() external {
		poocoinDividendTracker.processAccount(payable(msg.sender), false);
		cakeDividendTracker.processAccount(payable(msg.sender), false);
    }
    function getLastUniDividendProcessedIndex() external view returns(uint256) {
    	return poocoinDividendTracker.getLastProcessedIndex();
    }
 
    function getLastCakeDividendProcessedIndex() external view returns(uint256) {
    	return cakeDividendTracker.getLastProcessedIndex();
    }
 
    function getNumberOfUniDividendTokenHolders() external view returns(uint256) {
        return poocoinDividendTracker.getNumberOfTokenHolders();
    }
 
    function getNumberOfCakeDividendTokenHolders() external view returns(uint256) {
        return cakeDividendTracker.getNumberOfTokenHolders();
    }
 
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(tradingIsEnabled || (isExcludedFromFees[from] || isExcludedFromFees[to]), "BabyPooCake: Trading has not started yet");
 
        bool excludedAccount = isExcludedFromFees[from] || isExcludedFromFees[to];
 
        if(!automatedMarketMakerPairs[to] && tradingIsEnabled && !excludedAccount){
            require(balanceOf(to).add(amount) <= maxWalletBalance, 'Wallet balance is exceeding maxWalletBalance');
        }
 
        if (
            tradingIsEnabled &&
            automatedMarketMakerPairs[from] &&
            !excludedAccount
        ) {
            require(amount <= maxBuyTranscationAmount, "Transfer amount exceeds the maxTxAmount.");
 
        } else if (
        	tradingIsEnabled &&
            automatedMarketMakerPairs[to] &&
            !excludedAccount
        ) {
            require(amount <= maxSellTransactionAmount, "Sell transfer amount exceeds the maxSellTransactionAmount.");
        }
 
 
        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
 
        if (!swapping && canSwap && from != uniswapV2Pair) {
            swapping = true;
 
            if (marketingEnabled) {
                uint256 initialBalance = address(this).balance;
                uint256 swapTokens = contractTokenBalance.div(totalFees).mul(marketingFee);
                swapTokensForBNB(swapTokens);
                uint256 marketingPortion = address(this).balance.sub(initialBalance);
                transferToWallet(payable(marketingWallet), marketingPortion);
            }
 
            if(swapAndLiquifyEnabled) {
                uint256 liqTokens = contractTokenBalance.div(totalFees).mul(liquidityFee);
                swapAndLiquify(liqTokens);
            }
 
            if (uniDividendEnabled) {
                uint256 uniTokens = contractTokenBalance.div(totalFees).mul(uniDividendRewardsFee);
                swapAndSendUniDividends(uniTokens);
            }
 
            if (cakeDividendEnabled) {
                uint256 cakeTokens = contractTokenBalance.div(totalFees).mul(cakeDividendRewardsFee);
                swapAndSendCakeDividends(cakeTokens);
            }
 
                swapping = false;
        }
 
        bool takeFee = tradingIsEnabled && !swapping && !excludedAccount;
 
        if(takeFee) {
        	uint256 fees = amount.div(100).mul(totalFees);
 
            // if sell, multiply by 1.2
            if(automatedMarketMakerPairs[to]) {
                fees = fees.div(100).mul(sellFeeIncreaseFactor);
            }
 
        	amount = amount.sub(fees);
 
            super._transfer(from, address(this), fees);
        }
 
        super._transfer(from, to, amount);
 
        try poocoinDividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
        try cakeDividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
        try poocoinDividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}
        try cakeDividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}
 
        if(!swapping) {
	    	uint256 gas = gasForProcessing;
 
	    	try poocoinDividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
	    		emit ProcessedpoocoinDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
	    	}
	    	catch {
 
	    	}
 
	    	try cakeDividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
	    		emit ProcessedcakeDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
	    	}
	    	catch {
 
	    	}
        }
    }
 
 
    function swapAndLiquify(uint256 contractTokenBalance) private {
        // split the contract balance into halves
        uint256 half = contractTokenBalance.div(2);
        uint256 otherHalf = contractTokenBalance.sub(half);
 
        uint256 initialBalance = address(this).balance;
 
        swapTokensForBNB(half);
 
        uint256 newBalance = address(this).balance.sub(initialBalance);
 
        addLiquidity(otherHalf, newBalance);
 
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }
 
    function addLiquidity(uint256 tokenAmount, uint256 bnbAmount) private {
 
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: bnbAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            marketingWallet,
            block.timestamp
        );
    }
 
 
    function swapTokensForBNB(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
 
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
 
    }
 
    function swapTokensForDividendToken(uint256 _tokenAmount, address _recipient, address _dividendAddress) private {
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        path[2] = _dividendAddress;
 
        _approve(address(this), address(uniswapV2Router), _tokenAmount);
 
        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            _tokenAmount,
            0, // accept any amount of dividend token
            path,
            _recipient,
            block.timestamp
        );
    }
 
    function swapAndSendUniDividends(uint256 tokens) private {
        swapTokensForDividendToken(tokens, address(this), uniDividendToken);
        uint256 uniDividends = IERC20(uniDividendToken).balanceOf(address(this));
        transferDividends(uniDividendToken, address(poocoinDividendTracker), poocoinDividendTracker, uniDividends);
    }
 
    function swapAndSendCakeDividends(uint256 tokens) private {
        swapTokensForDividendToken(tokens, address(this), cakeDividendToken);
        uint256 cakeDividends = IERC20(cakeDividendToken).balanceOf(address(this));
        transferDividends(cakeDividendToken, address(cakeDividendTracker), cakeDividendTracker, cakeDividends);
    }
 
    function transferToWallet(address payable recipient, uint256 amount) private {
        recipient.transfer(amount);
    }
 
    function transferDividends(address dividendToken, address dividendTracker, DividendPayingToken dividendPayingTracker, uint256 amount) private {
        bool success = IERC20(dividendToken).transfer(dividendTracker, amount);
 
        if (success) {
            dividendPayingTracker.distributeDividends(amount);
            emit SendDividends(amount);
        }
    }
}
 
contract POOCOINDividendTracker is DividendPayingToken, Ownable {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;
 
    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;
 
    mapping (address => bool) public excludedFromDividends;
 
    mapping (address => uint256) public lastClaimTimes;
 
    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;
 
    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
 
    event Claim(address indexed account, uint256 amount, bool indexed automatic);
 
    constructor() DividendPayingToken("BabyPooCakeDividend_Tracker", "BabyPooCakeDividend_Tracker", 0xB27ADAfFB9fEa1801459a1a81B17218288c097cc) {
    	claimWait = 1800;
        minimumTokenBalanceForDividends = 2000000 * (10**18); //must hold 2000000+ tokens
    }
 
    function _transfer(address, address, uint256) pure internal override {
        require(false, "BabyPooCakeDividend_Tracker: No transfers allowed");
    }
 
    function withdrawDividend() pure public override {
        require(false, "BabyPooCakeDividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main BabyPooCake contract.");
    }
 
    function setDividendTokenAddress(address newToken) external override onlyOwner {
      dividendToken = newToken;
    }
 
    function updateMinimumTokenBalanceForDividends(uint256 _newMinimumBalance) external onlyOwner {
        require(_newMinimumBalance != minimumTokenBalanceForDividends, "New mimimum balance for dividend cannot be same as current minimum balance");
        minimumTokenBalanceForDividends = _newMinimumBalance * (10**18);
    }
 
    function excludeFromDividends(address account) external onlyOwner {
    	require(!excludedFromDividends[account]);
    	excludedFromDividends[account] = true;
 
    	_setBalance(account, 0);
    	tokenHoldersMap.remove(account);
 
    	emit ExcludeFromDividends(account);
    }
 
    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 1800 && newClaimWait <= 86400, "BabyPooCakeDividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "BabyPooCakeDividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }
 
    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }
 
    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }
 
 
    function getAccount(address _account)
        public view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;
 
        index = tokenHoldersMap.getIndexOfKey(account);
 
        iterationsUntilProcessed = -1;
 
        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(int256(lastProcessedIndex));
            }
            else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
                                                        tokenHoldersMap.keys.length.sub(lastProcessedIndex) :
                                                        0;
 
 
                iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray));
            }
        }
 
 
        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);
 
        lastClaimTime = lastClaimTimes[account];
 
        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime.add(claimWait) :
                                    0;
 
        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }
 
    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }
 
        address account = tokenHoldersMap.getKeyAtIndex(index);
 
        return getAccount(account);
    }
 
    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
    	if(lastClaimTime > block.timestamp)  {
    		return false;
    	}
 
    	return block.timestamp.sub(lastClaimTime) >= claimWait;
    }
 
    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(excludedFromDividends[account]) {
    		return;
    	}
 
    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}
 
    	processAccount(account, true);
    }
 
    function process(uint256 gas) public returns (uint256, uint256, uint256) {
    	uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;
 
    	if(numberOfTokenHolders == 0) {
    		return (0, 0, lastProcessedIndex);
    	}
 
    	uint256 _lastProcessedIndex = lastProcessedIndex;
 
    	uint256 gasUsed = 0;
 
    	uint256 gasLeft = gasleft();
 
    	uint256 iterations = 0;
    	uint256 claims = 0;
 
    	while(gasUsed < gas && iterations < numberOfTokenHolders) {
    		_lastProcessedIndex++;
 
    		if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
    			_lastProcessedIndex = 0;
    		}
 
    		address account = tokenHoldersMap.keys[_lastProcessedIndex];
 
    		if(canAutoClaim(lastClaimTimes[account])) {
    			if(processAccount(payable(account), true)) {
    				claims++;
    			}
    		}
 
    		iterations++;
 
    		uint256 newGasLeft = gasleft();
 
    		if(gasLeft > newGasLeft) {
    			gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
    		}
 
    		gasLeft = newGasLeft;
    	}
 
    	lastProcessedIndex = _lastProcessedIndex;
 
    	return (iterations, claims, lastProcessedIndex);
    }
 
    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);
 
    	if(amount > 0) {
    		lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
    		return true;
    	}
 
    	return false;
    }
}
 
contract CAKEDividendTracker is DividendPayingToken, Ownable {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;
 
    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;
 
    mapping (address => bool) public excludedFromDividends;
 
    mapping (address => uint256) public lastClaimTimes;
 
    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;
 
    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
 
    event Claim(address indexed account, uint256 amount, bool indexed automatic);
 
    constructor() DividendPayingToken("BabyPooCake_Cake_Dividend_Tracker", "BabyPooCake_Cake_Dividend_Tracker", 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82) {
    	claimWait = 1800;
        minimumTokenBalanceForDividends = 2000000 * (10**18); //must hold 2000000+ tokens
    }
 
    function _transfer(address, address, uint256) pure internal override {
        require(false, "BabyPooCake_Cake_Dividend_Tracker: No transfers allowed");
    }
 
    function withdrawDividend() pure public override {
        require(false, "BabyPooCake_Cake_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main BabyPooCake contract.");
    }
 
    function setDividendTokenAddress(address newToken) external override onlyOwner {
      dividendToken = newToken;
    }
 
    function updateMinimumTokenBalanceForDividends(uint256 _newMinimumBalance) external onlyOwner {
        require(_newMinimumBalance != minimumTokenBalanceForDividends, "New mimimum balance for dividend cannot be same as current minimum balance");
        minimumTokenBalanceForDividends = _newMinimumBalance * (10**18);
    }
 
    function excludeFromDividends(address account) external onlyOwner {
    	require(!excludedFromDividends[account]);
    	excludedFromDividends[account] = true;
 
    	_setBalance(account, 0);
    	tokenHoldersMap.remove(account);
 
    	emit ExcludeFromDividends(account);
    }
 
    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 1800 && newClaimWait <= 86400, "BabyPooCake_Cake_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "BabyPooCake_Cake_Dividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }
 
    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }
 
    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }
 
 
    function getAccount(address _account)
        public view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;
 
        index = tokenHoldersMap.getIndexOfKey(account);
 
        iterationsUntilProcessed = -1;
 
        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(int256(lastProcessedIndex));
            }
            else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
                                                        tokenHoldersMap.keys.length.sub(lastProcessedIndex) :
                                                        0;
 
 
                iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray));
            }
        }
 
 
        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);
 
        lastClaimTime = lastClaimTimes[account];
 
        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime.add(claimWait) :
                                    0;
 
        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }
 
    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }
 
        address account = tokenHoldersMap.getKeyAtIndex(index);
 
        return getAccount(account);
    }
 
    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
    	if(lastClaimTime > block.timestamp)  {
    		return false;
    	}
 
    	return block.timestamp.sub(lastClaimTime) >= claimWait;
    }
 
    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(excludedFromDividends[account]) {
    		return;
    	}
 
    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}
 
    	processAccount(account, true);
    }
 
    function process(uint256 gas) public returns (uint256, uint256, uint256) {
    	uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;
 
    	if(numberOfTokenHolders == 0) {
    		return (0, 0, lastProcessedIndex);
    	}
 
    	uint256 _lastProcessedIndex = lastProcessedIndex;
 
    	uint256 gasUsed = 0;
 
    	uint256 gasLeft = gasleft();
 
    	uint256 iterations = 0;
    	uint256 claims = 0;
 
    	while(gasUsed < gas && iterations < numberOfTokenHolders) {
    		_lastProcessedIndex++;
 
    		if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
    			_lastProcessedIndex = 0;
    		}
 
    		address account = tokenHoldersMap.keys[_lastProcessedIndex];
 
    		if(canAutoClaim(lastClaimTimes[account])) {
    			if(processAccount(payable(account), true)) {
    				claims++;
    			}
    		}
 
    		iterations++;
 
    		uint256 newGasLeft = gasleft();
 
    		if(gasLeft > newGasLeft) {
    			gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
    		}
 
    		gasLeft = newGasLeft;
    	}
 
    	lastProcessedIndex = _lastProcessedIndex;
 
    	return (iterations, claims, lastProcessedIndex);
    }
 
    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);
 
    	if(amount > 0) {
    		lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
    		return true;
    	}
 
    	return false;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "berlin",
  "libraries": {
    "/C/Users/yvesr/babypoocake/contracts/babypoocake.sol": {
      "IterableMapping": "0x096058757b106Ca20eA98B958A3bb2B0e078D81C"
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"CakeDividendEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"MarketingEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"MarketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedcakeDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedpoocoinDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"UniDividendEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdatecakeDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdatepoocoinDividendTracker","type":"event"},{"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cakeDividendEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cakeDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cakeDividendToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"cakeDividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cakeDividendTracker","outputs":[{"internalType":"contract CAKEDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountCakeDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountCakeDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountUniDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountUniDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCakeClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getIsExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastCakeDividendProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastUniDividendProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfCakeDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfUniDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalCakeDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalUniDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUniClaimWait","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":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTranscationAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poocoinDividendTracker","outputs":[{"internalType":"contract POOCOINDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_partnerOrExchangeAddress","type":"address"}],"name":"prepareForPartherOrExchangeListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousCakeDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousUniDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFeeIncreaseFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setAuthOnDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setCakeDividendEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setMarketingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxn","type":"uint256"}],"name":"setMaxBuyTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxn","type":"uint256"}],"name":"setMaxSellTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setSellTransactionMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTradingIsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setUniDividendEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletBalance","type":"uint256"}],"name":"setWalletBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingIsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniDividendEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniDividendToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"uniDividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateCakeDividendRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newContract","type":"address"}],"name":"updateCakeDividendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinimumBalance","type":"uint256"}],"name":"updateMinimumBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateUniDividendRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newContract","type":"address"}],"name":"updateUniDividendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updatecakeDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updatepoocoinDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_presaleAddress","type":"address"},{"internalType":"address","name":"_routerAddress","type":"address"}],"name":"whitelistDxSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableCakeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableUniDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600980547fffffffffffff0000000000ff00000000000000000000000000000000000000001679010101010000000000000000000000000000000000000000dead179055670de0b6b3a7640000600d556c7e37be2022c0914b2680000000600e556cfc6f7c40458122964d00000000600f556a108b2a2c280290940000006010556003601181905560046013819055601581905560056017819055620000d49291620000c09182908290620005a9602090811b620034dc17901c565b620005a960201b620034dc1790919060201c565b6019556082601a55620927c0601b55348015620000f057600080fd5b506040518060400160405280600b81526020016a42616279506f6f43616b6560a81b8152506040518060400160405280600381526020016242504360e81b81525081600390805190602001906200014992919062000c6d565b5080516200015f90600490602084019062000c6d565b50506005805460ff19166012179055506000620001793390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350604051620001dd9062000cfc565b604051809103906000f080158015620001fa573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b0392909216919091179055604051620002299062000d0a565b604051809103906000f08015801562000246573d6000803e3d6000fd5b50600b80546001600160a01b03929092166001600160a01b0319928316179055600c805482167326be65ee17805907fd0d2b0ec896bf0561e836ec17905560078054821673b27adaffb9fea1801459a1a81b17218288c097cc17905560088054909116730e09fabb73bd3ade0a17ecc321fd13a19e81ce821790556040805163c45a015560e01b815290517310ed43c718714eb63d5aa57b78b54704e256024e91600091839163c45a0155916004828101926020929190829003018186803b1580156200031257600080fd5b505afa15801562000327573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200034d919062000d2f565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200039657600080fd5b505afa158015620003ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d1919062000d2f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200041a57600080fd5b505af11580156200042f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000455919062000d2f565b600680546001600160a01b0319166001600160a01b038516179055606081901b6001600160601b03191660805290506200049181600162000617565b600a54620004a8906001600160a01b03166200083a565b600b54620004bf906001600160a01b03166200083a565b620004ca306200083a565b620004d5826200083a565b600954620004ec906001600160a01b03166200083a565b600c5462000505906001600160a01b0316600162000951565b6200051230600162000951565b6009546200052b906001600160a01b0316600162000951565b6200054f6200054760055461010090046001600160a01b031690565b600162000951565b620005716200056b60055461010090046001600160a01b031690565b62000a8c565b620005a16200058d60055461010090046001600160a01b031690565b6c01431e0fae6d7217caa000000062000b71565b505062000dbe565b600080620005b8838562000d5a565b905083811015620006105760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b9392505050565b6005546001600160a01b03610100909104163314620006685760405162461bcd60e51b815260206004820181905260248201526000805160206200a836833981519152604482015260640162000607565b6001600160a01b0382166000908152601e602052604090205460ff16151581151514156200070d5760405162461bcd60e51b815260206004820152604560248201527f42616279506f6f43616b653a204175746f6d61746564206d61726b6574206d6160448201527f6b6572207061697220697320616c72656164792073657420746f20746861742060648201526476616c756560d81b608482015260a40162000607565b6001600160a01b0382166000908152601e60205260409020805460ff19168215801591909117909155620007fe57600a5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b1580156200078357600080fd5b505af115801562000798573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b158015620007e457600080fd5b505af1158015620007f9573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b036101009091041633146200088b5760405162461bcd60e51b815260206004820181905260248201526000805160206200a836833981519152604482015260640162000607565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b158015620008d357600080fd5b505af1158015620008e8573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db091506024015b600060405180830381600087803b1580156200093557600080fd5b505af11580156200094a573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03610100909104163314620009a25760405162461bcd60e51b815260206004820181905260248201526000805160206200a836833981519152604482015260640162000607565b6001600160a01b0382166000908152601d602052604090205460ff161515811515141562000a2d5760405162461bcd60e51b815260206004820152603160248201527f42616279506f6f43616b653a204163636f756e7420697320616c72656164792060448201527065786c756465642066726f6d206665657360781b606482015260840162000607565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0361010090910416331462000add5760405162461bcd60e51b815260206004820181905260248201526000805160206200a836833981519152604482015260640162000607565b600b54604051632b2e05c160e01b81526001600160a01b03838116600483015290911690632b2e05c190602401600060405180830381600087803b15801562000b2557600080fd5b505af115801562000b3a573d6000803e3d6000fd5b5050600a54604051632b2e05c160e01b81526001600160a01b0385811660048301529091169250632b2e05c191506024016200091a565b6001600160a01b03821662000bc95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000607565b62000be581600254620005a960201b620034dc1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000c18918390620034dc620005a9821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b82805462000c7b9062000d81565b90600052602060002090601f01602090048101928262000c9f576000855562000cea565b82601f1062000cba57805160ff191683800117855562000cea565b8280016001018555821562000cea579182015b8281111562000cea57825182559160200191906001019062000ccd565b5062000cf892915062000d18565b5090565b6123f5806200606883390190565b6123d9806200845d83390190565b5b8082111562000cf8576000815560010162000d19565b60006020828403121562000d4257600080fd5b81516001600160a01b03811681146200061057600080fd5b6000821982111562000d7c57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168062000d9657607f821691505b6020821081141562000db857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c61527d62000deb600039600081816108e00152818161263201526139ed015261527d6000f3fe6080604052600436106104e45760003560e01c8063871c128d11610281578063c02466681161015a578063e27ad5eb116100cc578063e98030c711610085578063e98030c714610f5b578063f16ef0c514610f7b578063f2fde38b14610f9b578063f925ac6414610fbb578063fb7f634a14610fdb578063fc8ac94214610ffb57600080fd5b8063e27ad5eb14610eae578063e2f4560514610ece578063e3b7d84114610ee4578063e4bf1bcb14610efa578063e84d44f814610f1a578063e90865cf14610f3b57600080fd5b8063cd7a62071161011e578063cd7a620714610ddd578063cea6126e14610dfd578063d118f9ed14610e12578063d46d9ba114610e28578063dd62ed3e14610e48578063e1c8a7f614610e8e57600080fd5b8063c024666814610d52578063c072f7a014610d72578063c492f04614610d87578063c49b9a8014610da7578063c680014714610dc757600080fd5b8063a58686d7116101f3578063afa4f3b2116101b7578063afa4f3b214610c8c578063b13f725d14610cac578063b3b5e04314610ccc578063b62496f514610cec578063bbde77c114610d1c578063bed3e75914610d3257600080fd5b8063a58686d714610c0c578063a5b681bd14610c21578063a6b6388814610c36578063a9059cbb14610c4c578063aacebbe314610c6c57600080fd5b806395d89b411161024557806395d89b4114610b6b57806398118cb414610b805780639a7a23d614610b965780639c1b8af514610bb65780639e28125b14610bcc578063a457c2d714610bec57600080fd5b8063871c128d14610add5780638b33d2c214610afd5780638b93414c14610b135780638da5cb5b14610b285780638e10286e14610b4b57600080fd5b806333d01586116103be5780634e30a50f1161033057806365b8dbc0116102e957806365b8dbc014610a0f57806365becd9214610a2f578063700bb19114610a4f57806370a0823114610a6f578063715018a614610a8f5780637b16cea014610aa457600080fd5b80634e30a50f146109645780634e71d92d146109855780634e83ff6f1461099a5780634fd0dc24146109ba5780635928f2f9146109da5780635c38ffe2146109ef57600080fd5b80633c97029c116103825780633c97029c146108995780633eac349a146108ae57806349bd5a5e146108ce5780634a74bb02146109025780634d57810b146109235780634db90ca91461094357600080fd5b806333d01586146107f95780633921827d14610819578063395093511461083957806339bb598d146108595780633b364da81461087957600080fd5b8063183dc5d411610457578063263b5fcb1161041b578063263b5fcb146106fc57806327c8f8351461071c5780632d46ebe81461073c5780632fdc1cf11461075c578063313ce56714610772578063323a9ef51461079457600080fd5b8063183dc5d4146106715780631a6545a2146106915780631f2ef973146106a657806322bd3f7f146106c657806323b872dd146106dc57600080fd5b80631129e65b116104a95780631129e65b146105ae578063122fe685146105ce57806313114a9d146106065780631519f1f01461061c5780631694505e1461063c57806318160ddd1461065c57600080fd5b8062517db5146104f057806302259e9e1461051257806306fdde031461053b578063095ea7b31461055d57806309c58fcd1461058d57600080fd5b366104eb57005b600080fd5b3480156104fc57600080fd5b5061051061050b366004614b19565b61101b565b005b34801561051e57600080fd5b50610528600e5481565b6040519081526020015b60405180910390f35b34801561054757600080fd5b506105506112f8565b6040516105329190614e2d565b34801561056957600080fd5b5061057d610578366004614c65565b61138a565b6040519015158152602001610532565b34801561059957600080fd5b5060095461057d90600160a81b900460ff1681565b3480156105ba57600080fd5b506105106105c9366004614b19565b6113a1565b3480156105da57600080fd5b50601c546105ee906001600160a01b031681565b6040516001600160a01b039091168152602001610532565b34801561061257600080fd5b5061052860195481565b34801561062857600080fd5b50610510610637366004614db1565b61149d565b34801561064857600080fd5b506006546105ee906001600160a01b031681565b34801561066857600080fd5b50600254610528565b34801561067d57600080fd5b5061052861068c366004614b19565b611506565b34801561069d57600080fd5b50610528611585565b3480156106b257600080fd5b506105106106c1366004614d17565b611607565b3480156106d257600080fd5b50610528601a5481565b3480156106e857600080fd5b5061057d6106f7366004614b8c565b61170a565b34801561070857600080fd5b50610510610717366004614d17565b611773565b34801561072857600080fd5b506009546105ee906001600160a01b031681565b34801561074857600080fd5b50600a546105ee906001600160a01b031681565b34801561076857600080fd5b5061052860125481565b34801561077e57600080fd5b5060055460405160ff9091168152602001610532565b3480156107a057600080fd5b506107b46107af366004614b19565b61186f565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610532565b34801561080557600080fd5b50610510610814366004614b19565b611919565b34801561082557600080fd5b50610510610834366004614d17565b611a0b565b34801561084557600080fd5b5061057d610854366004614c65565b611b07565b34801561086557600080fd5b50610528610874366004614b19565b611b3d565b34801561088557600080fd5b50610510610894366004614d51565b611b70565b3480156108a557600080fd5b50610528611c2f565b3480156108ba57600080fd5b506105106108c9366004614b19565b611c74565b3480156108da57600080fd5b506105ee7f000000000000000000000000000000000000000000000000000000000000000081565b34801561090e57600080fd5b5060095461057d90600160b81b900460ff1681565b34801561092f57600080fd5b506008546105ee906001600160a01b031681565b34801561094f57600080fd5b5060095461057d90600160c81b900460ff1681565b34801561097057600080fd5b5060095461057d90600160c01b900460ff1681565b34801561099157600080fd5b50610510611ced565b3480156109a657600080fd5b506105106109b5366004614b53565b611df6565b3480156109c657600080fd5b506105106109d5366004614d51565b611fd3565b3480156109e657600080fd5b50610528612008565b3480156109fb57600080fd5b50610510610a0a366004614d51565b61204d565b348015610a1b57600080fd5b50610510610a2a366004614b19565b612095565b348015610a3b57600080fd5b50610510610a4a366004614b19565b612199565b348015610a5b57600080fd5b50610510610a6a366004614d51565b612212565b348015610a7b57600080fd5b50610528610a8a366004614b19565b612401565b348015610a9b57600080fd5b5061051061241c565b348015610ab057600080fd5b5061057d610abf366004614b19565b6001600160a01b03166000908152601d602052604090205460ff1690565b348015610ae957600080fd5b50610510610af8366004614d51565b61249c565b348015610b0957600080fd5b5061052860155481565b348015610b1f57600080fd5b50610528612579565b348015610b3457600080fd5b5060055461010090046001600160a01b03166105ee565b348015610b5757600080fd5b50610528610b66366004614b19565b6125be565b348015610b7757600080fd5b506105506125f1565b348015610b8c57600080fd5b5061052860115481565b348015610ba257600080fd5b50610510610bb1366004614bcd565b612600565b348015610bc257600080fd5b50610528601b5481565b348015610bd857600080fd5b50610528610be7366004614b19565b6126fc565b348015610bf857600080fd5b5061057d610c07366004614c65565b61272f565b348015610c1857600080fd5b5061052861277e565b348015610c2d57600080fd5b506105286127c3565b348015610c4257600080fd5b50610528600d5481565b348015610c5857600080fd5b5061057d610c67366004614c65565b612808565b348015610c7857600080fd5b50610510610c87366004614b19565b612815565b348015610c9857600080fd5b50610510610ca7366004614d51565b612930565b348015610cb857600080fd5b50610510610cc7366004614b19565b612978565b348015610cd857600080fd5b50610510610ce7366004614d51565b612a39565b348015610cf857600080fd5b5061057d610d07366004614b19565b601e6020526000908152604090205460ff1681565b348015610d2857600080fd5b50610528600f5481565b348015610d3e57600080fd5b50610510610d4d366004614db1565b612a81565b348015610d5e57600080fd5b50610510610d6d366004614bcd565b612ad4565b348015610d7e57600080fd5b50610528612bec565b348015610d9357600080fd5b50610510610da2366004614c91565b612c31565b348015610db357600080fd5b50610510610dc2366004614d17565b612d13565b348015610dd357600080fd5b5061052860165481565b348015610de957600080fd5b506107b4610df8366004614d51565b612e19565b348015610e0957600080fd5b50610528612e5b565b348015610e1e57600080fd5b5061052860145481565b348015610e3457600080fd5b50610510610e43366004614db1565b612ea0565b348015610e5457600080fd5b50610528610e63366004614b53565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610e9a57600080fd5b50610510610ea9366004614db1565b612ef3565b348015610eba57600080fd5b50610510610ec9366004614d17565b612f46565b348015610eda57600080fd5b5061052860105481565b348015610ef057600080fd5b5061052860135481565b348015610f0657600080fd5b506107b4610f15366004614d51565b612f94565b348015610f2657600080fd5b5060095461057d90600160b01b900460ff1681565b348015610f4757600080fd5b50600b546105ee906001600160a01b031681565b348015610f6757600080fd5b50610510610f76366004614d51565b612fd6565b348015610f8757600080fd5b506007546105ee906001600160a01b031681565b348015610fa757600080fd5b50610510610fb6366004614b19565b613095565b348015610fc757600080fd5b50610510610fd6366004614b19565b613191565b348015610fe757600080fd5b50610510610ff6366004614d51565b613465565b34801561100757600080fd5b506107b4611016366004614b19565b61349a565b6005546001600160a01b036101009091041633146110545760405162461bcd60e51b815260040161104b90614efc565b60405180910390fd5b600b546001600160a01b03828116911614156110825760405162461bcd60e51b815260040161104b90614ff1565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110ca57600080fd5b505afa1580156110de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111029190614b36565b6001600160a01b0316146111285760405162461bcd60e51b815260040161104b90614f31565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b15801561116a57600080fd5b505af115801561117e573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b1580156111c357600080fd5b505af11580156111d7573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561122257600080fd5b505af1158015611236573d6000803e3d6000fd5b505060095460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561128157600080fd5b505af1158015611295573d6000803e3d6000fd5b5050600b546040516001600160a01b03918216935090851691507ff0f3237250bc1a8f69c7b75d247c3a534e24dac1f24a40958c21b60cecad46ad90600090a3600b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600380546113079061512f565b80601f01602080910402602001604051908101604052809291908181526020018280546113339061512f565b80156113805780601f1061135557610100808354040283529160200191611380565b820191906000526020600020905b81548152906001019060200180831161136357829003601f168201915b5050505050905090565b6000611397338484613542565b5060015b92915050565b6005546001600160a01b036101009091041633146113d15760405162461bcd60e51b815260040161104b90614efc565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b15801561141857600080fd5b505af115801561142c573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db09150602401600060405180830381600087803b15801561147757600080fd5b505af115801561148b573d6000803e3d6000fd5b5050505061149a816001612ad4565b50565b6005546001600160a01b036101009091041633146114cd5760405162461bcd60e51b815260040161104b90614efc565b8060ff166011819055506115006011546114fa6015546114fa6013546017546134dc90919063ffffffff16565b906134dc565b60195550565b600b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024015b60206040518083038186803b15801561154d57600080fd5b505afa158015611561573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b9190614d6a565b600b546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b1580156115ca57600080fd5b505afa1580156115de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116029190614d6a565b905090565b6005546001600160a01b036101009091041633146116375760405162461bcd60e51b815260040161104b90614efc565b60095460ff600160c81b90910416151581151514156116685760405162461bcd60e51b815260040161104b90614ec5565b806116945760158054601655600090556009805460ff60c81b1916600160c81b831515021790556116d1565b60165460158190556011546013546017546116b6936114fa92918391906134dc565b6019556009805460ff60c81b1916600160c81b831515021790555b60405181151581527f38a96cde50758a4c550cefa72229f338a76cbbff6b55fb6f1aa07e0e075a527f906020015b60405180910390a150565b6000611717848484613667565b6117698433611764856040518060600160405280602881526020016151fb602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190613fa4565b613542565b5060019392505050565b6005546001600160a01b036101009091041633146117a35760405162461bcd60e51b815260040161104b90614efc565b60095460ff600160b01b90910416151581151514156117d45760405162461bcd60e51b815260040161104b90614ec5565b806118005760178054601855600090556009805460ff60b01b1916600160b01b8315150217905561183d565b6018546017819055601154601354601554611822936114fa92918391906134dc565b6019556009805460ff60b01b1916600160b01b831515021790555b60405181151581527f6ba6c1012539169f5a820a29533d8c8b797a1c7a5634edbd3124a80de0e75cba906020016116ff565b600a5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b1580156118c657600080fd5b505afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190614bfb565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b036101009091041633146119495760405162461bcd60e51b815260040161104b90614efc565b600b54604051632b2e05c160e01b81526001600160a01b03838116600483015290911690632b2e05c190602401600060405180830381600087803b15801561199057600080fd5b505af11580156119a4573d6000803e3d6000fd5b5050600a54604051632b2e05c160e01b81526001600160a01b0385811660048301529091169250632b2e05c191506024015b600060405180830381600087803b1580156119f057600080fd5b505af1158015611a04573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03610100909104163314611a3b5760405162461bcd60e51b815260040161104b90614efc565b60095460ff600160c01b9091041615158115151415611a6c5760405162461bcd60e51b815260040161104b90614ec5565b80611a985760138054601455600090556009805460ff60c01b1916600160c01b83151502179055611ad5565b6014546013819055601154601554601754611aba936114fa92918391906134dc565b6019556009805460ff60c01b1916600160c01b831515021790555b60405181151581527fe959c8836fbe858fc71471437f10fd918540d9133f5b96947ef01ada891365f8906020016116ff565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161139791859061176490866134dc565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401611535565b6005546001600160a01b03610100909104163314611ba05760405162461bcd60e51b815260040161104b90614efc565b600a54604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e8990602401600060405180830381600087803b158015611be657600080fd5b505af1158015611bfa573d6000803e3d6000fd5b5050600b54604051630dcb2e8960e01b8152600481018590526001600160a01b039091169250630dcb2e8991506024016119d6565b600b5460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b1580156115ca57600080fd5b6005546001600160a01b03610100909104163314611ca45760405162461bcd60e51b815260040161104b90614efc565b600880546001600160a01b0319166001600160a01b03838116918217909255600b54604051633f1f3fe960e11b8152600481019290925290911690637e3e7fd2906024016119d6565b600a5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015611d3957600080fd5b505af1158015611d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d719190614d34565b50600b5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015611dbe57600080fd5b505af1158015611dd2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149a9190614d34565b6005546001600160a01b03610100909104163314611e265760405162461bcd60e51b815260040161104b90614efc565b601c80546001600160a01b0319166001600160a01b03848116918217909255600a5460405163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b158015611e8457600080fd5b505af1158015611e98573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b158015611ee357600080fd5b505af1158015611ef7573d6000803e3d6000fd5b50505050611f06826001612ad4565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b158015611f4d57600080fd5b505af1158015611f61573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db09150602401600060405180830381600087803b158015611fac57600080fd5b505af1158015611fc0573d6000803e3d6000fd5b50505050611fcf816001612ad4565b5050565b6005546001600160a01b036101009091041633146120035760405162461bcd60e51b815260040161104b90614efc565b600f55565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b1580156115ca57600080fd5b6005546001600160a01b0361010090910416331461207d5760405162461bcd60e51b815260040161104b90614efc565b61208f81670de0b6b3a76400006150f9565b600e5550565b6005546001600160a01b036101009091041633146120c55760405162461bcd60e51b815260040161104b90614efc565b6006546001600160a01b038281169116141561213c5760405162461bcd60e51b815260206004820152603060248201527f42616279506f6f43616b653a2054686520726f7574657220616c72656164792060448201526f6861732074686174206164647265737360801b606482015260840161104b565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146121c95760405162461bcd60e51b815260040161104b90614efc565b600780546001600160a01b0319166001600160a01b03838116918217909255600a54604051633f1f3fe960e11b8152600481019290925290911690637e3e7fd2906024016119d6565b6005546001600160a01b036101009091041633146122425760405162461bcd60e51b815260040161104b90614efc565b600a546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b15801561229057600080fd5b505af11580156122a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c89190614d83565b604080518481526020810184905290810182905260608101889052929550909350915032906000907f7f6a22a54347a3e6b8562adaed65442692efe5df945c5c7ac55a220cbc8c0b959060800160405180910390a3600b546040516001624d3b8760e01b0319815260048101869052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b15801561236b57600080fd5b505af115801561237f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a39190614d83565b6040805184815260208101849052908101829052606081018b9052929550909350915032906000907f26421a4be1b35d71ef6d19e4c3273bf279df47893195f1d135b206e7f7e991289060800160405180910390a350505050505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b0361010090910416331461244c5760405162461bcd60e51b815260040161104b90614efc565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b036101009091041633146124cc5760405162461bcd60e51b815260040161104b90614efc565b601b548114156125445760405162461bcd60e51b815260206004820152603960248201527f42616279506f6f43616b653a2043616e6e6f742075706461746520676173466f60448201527f7250726f63657373696e6720746f2073616d652076616c756500000000000000606482015260840161104b565b601b819055604051819081907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a350565b600a54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b1580156115ca57600080fd5b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401611535565b6060600480546113079061512f565b6005546001600160a01b036101009091041633146126305760405162461bcd60e51b815260040161104b90614efc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156126f25760405162461bcd60e51b815260206004820152605160248201527f42616279506f6f43616b653a205468652050616e61646153776170207061697260448201527f2063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465606482015270644d61726b65744d616b6572506169727360781b608482015260a40161104b565b611fcf8282613fdb565b600a546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611535565b6000611397338461176485604051806060016040528060258152602001615223602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190613fa4565b600a5460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b1580156115ca57600080fd5b600a546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b1580156115ca57600080fd5b6000611397338484613667565b6005546001600160a01b036101009091041633146128455760405162461bcd60e51b815260040161104b90614efc565b600c546001600160a01b03828116911614156128c95760405162461bcd60e51b815260206004820152603960248201527f42616279506f6f43616b653a20546865206d61726b6574696e672077616c6c6560448201527f7420697320616c72656164792074686973206164647265737300000000000000606482015260840161104b565b6128d4816001612ad4565b600c546040516001600160a01b038084169216907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146129605760405162461bcd60e51b815260040161104b90614efc565b61297281670de0b6b3a76400006150f9565b60105550565b6005546001600160a01b036101009091041633146129a85760405162461bcd60e51b815260040161104b90614efc565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b1580156129ef57600080fd5b505af1158015612a03573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db091506024016119d6565b6005546001600160a01b03610100909104163314612a695760405162461bcd60e51b815260040161104b90614efc565b612a7b81670de0b6b3a76400006150f9565b600d5550565b6005546001600160a01b03610100909104163314612ab15760405162461bcd60e51b815260040161104b90614efc565b60ff81166015819055601154601754601354611500936114fa92918391906134dc565b6005546001600160a01b03610100909104163314612b045760405162461bcd60e51b815260040161104b90614efc565b6001600160a01b0382166000908152601d602052604090205460ff1615158115151415612b8d5760405162461bcd60e51b815260206004820152603160248201527f42616279506f6f43616b653a204163636f756e7420697320616c72656164792060448201527065786c756465642066726f6d206665657360781b606482015260840161104b565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600b54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b1580156115ca57600080fd5b6005546001600160a01b03610100909104163314612c615760405162461bcd60e51b815260040161104b90614efc565b60005b82811015612cd25781601d6000868685818110612c8357612c8361519b565b9050602002016020810190612c989190614b19565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580612cca8161516a565b915050612c64565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051612d0693929190614dd4565b60405180910390a1505050565b6005546001600160a01b03610100909104163314612d435760405162461bcd60e51b815260040161104b90614efc565b60095460ff600160b81b9091041615158115151415612d745760405162461bcd60e51b815260040161104b90614ec5565b80612da05760118054601255600090556009805460ff60b81b1916600160b81b83151502179055612de7565b601254601181905550612dcc6011546114fa6013546114fa6017546015546134dc90919063ffffffff16565b6019556009805460ff60b81b1916600160b81b831515021790555b60405181151581527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906020016116ff565b600b54604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016118ad565b600b54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b1580156115ca57600080fd5b6005546001600160a01b03610100909104163314612ed05760405162461bcd60e51b815260040161104b90614efc565b60ff81166017819055601154601554601354611500936114fa92918391906134dc565b6005546001600160a01b03610100909104163314612f235760405162461bcd60e51b815260040161104b90614efc565b60ff81166013819055601154601554601754611500936114fa92918391906134dc565b6005546001600160a01b03610100909104163314612f765760405162461bcd60e51b815260040161104b90614efc565b60098054911515600160a81b0260ff60a81b19909216919091179055565b600a54604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016118ad565b6005546001600160a01b036101009091041633146130065760405162461bcd60e51b815260040161104b90614efc565b600a5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401600060405180830381600087803b15801561304c57600080fd5b505af1158015613060573d6000803e3d6000fd5b5050600b5460405163e98030c760e01b8152600481018590526001600160a01b03909116925063e98030c791506024016119d6565b6005546001600160a01b036101009091041633146130c55760405162461bcd60e51b815260040161104b90614efc565b6001600160a01b03811661312a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161104b565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b036101009091041633146131c15760405162461bcd60e51b815260040161104b90614efc565b600a546001600160a01b03828116911614156131ef5760405162461bcd60e51b815260040161104b90614ff1565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561323757600080fd5b505afa15801561324b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326f9190614b36565b6001600160a01b0316146132955760405162461bcd60e51b815260040161104b90614f31565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156132d757600080fd5b505af11580156132eb573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561333057600080fd5b505af1158015613344573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561338f57600080fd5b505af11580156133a3573d6000803e3d6000fd5b505060095460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b1580156133ee57600080fd5b505af1158015613402573d6000803e3d6000fd5b5050600a546040516001600160a01b03918216935090851691507f19df6bd840671611cabc2a0812cbf002a9532b8f656c6a6624500045c7e2eb2590600090a3600a80546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b036101009091041633146134955760405162461bcd60e51b815260040161104b90614efc565b601a55565b600b5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024016118ad565b6000806134e983856150bf565b90508381101561353b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161104b565b9392505050565b6001600160a01b0383166135a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161104b565b6001600160a01b0382166136055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161104b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661368d5760405162461bcd60e51b815260040161104b90614fac565b6001600160a01b0382166136b35760405162461bcd60e51b815260040161104b90614e82565b600954600160a81b900460ff168061370557506001600160a01b0383166000908152601d602052604090205460ff168061370557506001600160a01b0382166000908152601d602052604090205460ff165b6137625760405162461bcd60e51b815260206004820152602860248201527f42616279506f6f43616b653a2054726164696e6720686173206e6f74207374616044820152671c9d1959081e595d60c21b606482015260840161104b565b6001600160a01b0383166000908152601d602052604081205460ff16806137a157506001600160a01b0383166000908152601d602052604090205460ff165b6001600160a01b0384166000908152601e602052604090205490915060ff161580156137d65750600954600160a81b900460ff165b80156137e0575080155b1561385857600f546137f5836114fa86612401565b11156138585760405162461bcd60e51b815260206004820152602c60248201527f57616c6c65742062616c616e636520697320657863656564696e67206d61785760448201526b616c6c657442616c616e636560a01b606482015260840161104b565b600954600160a81b900460ff16801561388957506001600160a01b0384166000908152601e602052604090205460ff165b8015613893575080155b1561390057600d548211156138fb5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161104b565b6139b8565b600954600160a81b900460ff16801561393157506001600160a01b0383166000908152601e602052604090205460ff165b801561393b575080155b156139b857600e548211156139b85760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e000000000000606482015260840161104b565b60006139c330612401565b60105460095491925082101590600160a01b900460ff161580156139e45750805b8015613a2257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031614155b15613b69576009805460ff60a01b1916600160a01b1790819055600160b01b900460ff1615613aa75760004790506000613a73601754613a6d601954876141d690919063ffffffff16565b90614231565b9050613a7e816142b0565b6000613a8a4784614419565b600c54909150613aa3906001600160a01b031682614475565b5050505b600954600160b81b900460ff1615613ae3576000613ad6601154613a6d601954866141d690919063ffffffff16565b9050613ae1816144b0565b505b600954600160c01b900460ff1615613b1f576000613b12601354613a6d601954866141d690919063ffffffff16565b9050613b1d81614538565b505b600954600160c81b900460ff1615613b5b576000613b4e601554613a6d601954866141d690919063ffffffff16565b9050613b59816145ee565b505b6009805460ff60a01b191690555b600954600090600160a81b900460ff168015613b8f5750600954600160a01b900460ff16155b8015613b99575083155b90508015613c0857601954600090613bb690613a6d8860646141d6565b6001600160a01b0388166000908152601e602052604090205490915060ff1615613bef57601a54613bec90613a6d8360646141d6565b90505b613bf98682614419565b9550613c068830836146a4565b505b613c138787876146a4565b600a546001600160a01b031663e30443bc88613c2e81612401565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613c7457600080fd5b505af1925050508015613c85575060015b50600b546001600160a01b031663e30443bc88613ca181612401565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613ce757600080fd5b505af1925050508015613cf8575060015b50600a546001600160a01b031663e30443bc87613d1481612401565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613d5a57600080fd5b505af1925050508015613d6b575060015b50600b546001600160a01b031663e30443bc87613d8781612401565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613dcd57600080fd5b505af1925050508015613dde575060015b50600954600160a01b900460ff16613f9b57601b54600a546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b158015613e3c57600080fd5b505af1925050508015613e6c575060408051601f3d908101601f19168201909252613e6991810190614d83565b60015b613e7557613ec6565b60408051848152602081018490529081018290526060810185905232906001907f7f6a22a54347a3e6b8562adaed65442692efe5df945c5c7ac55a220cbc8c0b959060800160405180910390a35050505b600b546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b158015613f0f57600080fd5b505af1925050508015613f3f575060408051601f3d908101601f19168201909252613f3c91810190614d83565b60015b613f4857613f99565b60408051848152602081018490529081018290526060810185905232906001907f26421a4be1b35d71ef6d19e4c3273bf279df47893195f1d135b206e7f7e991289060800160405180910390a35050505b505b50505050505050565b60008184841115613fc85760405162461bcd60e51b815260040161104b9190614e2d565b50613fd38385615118565b949350505050565b6005546001600160a01b0361010090910416331461400b5760405162461bcd60e51b815260040161104b90614efc565b6001600160a01b0382166000908152601e602052604090205460ff16151581151514156140ae5760405162461bcd60e51b815260206004820152604560248201527f42616279506f6f43616b653a204175746f6d61746564206d61726b6574206d6160448201527f6b6572207061697220697320616c72656164792073657420746f20746861742060648201526476616c756560d81b608482015260a40161104b565b6001600160a01b0382166000908152601e60205260409020805460ff1916821580159190911790915561419a57600a5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b15801561412257600080fd5b505af1158015614136573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b15801561418157600080fd5b505af1158015614195573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60008082116142275760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015260640161104b565b61353b82846150d7565b6000826142405750600061139b565b600061424c83856150f9565b90508261425985836150d7565b1461353b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161104b565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106142e5576142e561519b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561433957600080fd5b505afa15801561434d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143719190614b36565b816001815181106143845761438461519b565b6001600160a01b0392831660209182029290920101526006546143aa9130911684613542565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906143e390859060009086903090429060040161504e565b600060405180830381600087803b1580156143fd57600080fd5b505af1158015614411573d6000803e3d6000fd5b505050505050565b60008282111561446b5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161104b565b61353b8284615118565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156144ab573d6000803e3d6000fd5b505050565b60006144bd8260026141d6565b905060006144cb8383614419565b9050476144d7836142b0565b60006144e34783614419565b90506144ef83826147ad565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561906060015b60405180910390a15050505050565b60075461455190829030906001600160a01b0316614869565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561459557600080fd5b505afa1580156145a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145cd9190614d6a565b600754600a54919250611fcf916001600160a01b0391821691168084614a00565b60085461460790829030906001600160a01b0316614869565b6008546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561464b57600080fd5b505afa15801561465f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146839190614d6a565b600854600b54919250611fcf916001600160a01b0391821691168084614a00565b6001600160a01b0383166146ca5760405162461bcd60e51b815260040161104b90614fac565b6001600160a01b0382166146f05760405162461bcd60e51b815260040161104b90614e82565b61472d816040518060600160405280602681526020016151d5602691396001600160a01b0386166000908152602081905260409020549190613fa4565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461475c90826134dc565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161365a565b6006546147c59030906001600160a01b031684613542565b600654600c5460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561483057600080fd5b505af1158015614844573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a049190614d83565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106148a0576148a061519b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156148f457600080fd5b505afa158015614908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061492c9190614b36565b8160018151811061493f5761493f61519b565b60200260200101906001600160a01b031690816001600160a01b03168152505081816002815181106149735761497361519b565b6001600160a01b0392831660209182029290920101526006546149999130911686613542565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d795906149d290879060009086908990429060040161504e565b600060405180830381600087803b1580156149ec57600080fd5b505af1158015613f99573d6000803e3d6000fd5b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390526000919086169063a9059cbb90604401602060405180830381600087803b158015614a4e57600080fd5b505af1158015614a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a869190614d34565b90508015611a0457604051633243c79160e01b8152600481018390526001600160a01b03841690633243c79190602401600060405180830381600087803b158015614ad057600080fd5b505af1158015614ae4573d6000803e3d6000fd5b505050507fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b18260405161452991815260200190565b600060208284031215614b2b57600080fd5b813561353b816151b1565b600060208284031215614b4857600080fd5b815161353b816151b1565b60008060408385031215614b6657600080fd5b8235614b71816151b1565b91506020830135614b81816151b1565b809150509250929050565b600080600060608486031215614ba157600080fd5b8335614bac816151b1565b92506020840135614bbc816151b1565b929592945050506040919091013590565b60008060408385031215614be057600080fd5b8235614beb816151b1565b91506020830135614b81816151c6565b600080600080600080600080610100898b031215614c1857600080fd5b8851614c23816151b1565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008060408385031215614c7857600080fd5b8235614c83816151b1565b946020939093013593505050565b600080600060408486031215614ca657600080fd5b833567ffffffffffffffff80821115614cbe57600080fd5b818601915086601f830112614cd257600080fd5b813581811115614ce157600080fd5b8760208260051b8501011115614cf657600080fd5b60209283019550935050840135614d0c816151c6565b809150509250925092565b600060208284031215614d2957600080fd5b813561353b816151c6565b600060208284031215614d4657600080fd5b815161353b816151c6565b600060208284031215614d6357600080fd5b5035919050565b600060208284031215614d7c57600080fd5b5051919050565b600080600060608486031215614d9857600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215614dc357600080fd5b813560ff8116811461353b57600080fd5b6040808252810183905260008460608301825b86811015614e17578235614dfa816151b1565b6001600160a01b0316825260209283019290910190600101614de7565b5080925050508215156020830152949350505050565b600060208083528351808285015260005b81811015614e5a57858101830151858201604001528201614e3e565b81811115614e6c576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601d908201527f43616e27742073657420666c616720746f2073616d6520737461747573000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526055908201527f42616279506f6f43616b653a20546865206e6577206469766964656e6420747260408201527f61636b6572206d757374206265206f776e6564206279207468652042616279506060820152741bdbd0d85ad9481d1bdad95b8818dbdb9d1c9858dd605a1b608082015260a00190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252603a908201527f42616279506f6f43616b653a20546865206469766964656e6420747261636b6560408201527f7220616c72656164792068617320746861742061646472657373000000000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561509e5784516001600160a01b031683529383019391830191600101615079565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156150d2576150d2615185565b500190565b6000826150f457634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561511357615113615185565b500290565b60008282101561512a5761512a615185565b500390565b600181811c9082168061514357607f821691505b6020821081141561516457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561517e5761517e615185565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461149a57600080fd5b801515811461149a57600080fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d7910528c080ba91c4f0fbcbba2bc90d5578d75ce3a449964573fc866188301f64736f6c6343000806003360806040523480156200001157600080fd5b506040518060400160405280601b81526020017f42616279506f6f43616b654469766964656e645f547261636b657200000000008152506040518060400160405280601b81526020017f42616279506f6f43616b654469766964656e645f547261636b6572000000000081525073b27adaffb9fea1801459a1a81b17218288c097cc82828160039080519060200190620000ad92919062000186565b508051620000c390600490602084019062000186565b505060058054601260ff1991821617909155600880546001600160a01b0319166001600160a01b03949094169390931790925550336000908152600b60205260408120805490921660011790915591506200011d90503390565b600d80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506107086015556a01a784379d99db4200000060165562000269565b82805462000194906200022c565b90600052602060002090601f016020900481019282620001b8576000855562000203565b82601f10620001d357805160ff191683800117855562000203565b8280016001018555821562000203579182015b8281111562000203578251825591602001919060010190620001e6565b506200021192915062000215565b5090565b5b8082111562000211576000815560010162000216565b600181811c908216806200024157607f821691505b602082108114156200026357634e487b7160e01b600052602260045260246000fd5b50919050565b61217c80620002796000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063aafd847a116100b8578063e7841ec01161007c578063e7841ec01461055c578063e98030c714610564578063f2fde38b14610577578063fbcbc0f11461058a578063ffb2c4791461059d57600080fd5b8063aafd847a146104cb578063bc4c4b37146104f4578063be10b61414610507578063dd62ed3e14610510578063e30443bc1461054957600080fd5b806391b89fba116100ff57806391b89fba1461047757806395d89b411461048a578063a457c2d714610492578063a8b9d240146104a5578063a9059cbb146104b857600080fd5b806370a0823114610419578063715018a6146104425780637e3e7fd21461044a57806385a6b3ae1461045d5780638da5cb5b1461046657600080fd5b80632b2e05c1116101c9578063395093511161018d578063395093511461037a5780634e7b827f1461038d5780635183d6fd146103b05780636a474002146104085780636f2789ec1461041057600080fd5b80632b2e05c1146103235780633009a60914610336578063313ce5671461033f57806331e79db0146103545780633243c7911461036757600080fd5b80631582358e116102105780631582358e146102aa57806318160ddd146102d5578063226cfa3d146102dd57806323b872dd146102fd57806327ce01471461031057600080fd5b806306fdde0314610242578063095ea7b31461026057806309bbedde146102835780630dcb2e8914610295575b600080fd5b61024a6105cb565b6040516102579190611eb8565b60405180910390f35b61027361026e366004611dce565b61065d565b6040519015158152602001610257565b600e545b604051908152602001610257565b6102a86102a3366004611e9f565b610674565b005b6008546102bd906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b600254610287565b6102876102eb366004611d5b565b60146020526000908152604090205481565b61027361030b366004611e28565b61074a565b61028761031e366004611d5b565b6107b3565b6102a8610331366004611d5b565b61080f565b61028760125481565b60055460405160ff9091168152602001610257565b6102a8610362366004611d5b565b61089d565b6102a8610375366004611e9f565b6109c4565b610273610388366004611dce565b610a58565b61027361039b366004611d5b565b60136020526000908152604090205460ff1681565b6103c36103be366004611e9f565b610a8e565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610257565b6102a8610c00565b61028760155481565b610287610427366004611d5b565b6001600160a01b031660009081526020819052604090205490565b6102a8610caf565b6102a8610458366004611d5b565b610d23565b610287600c5481565b600d546001600160a01b03166102bd565b610287610485366004611d5b565b610d6f565b61024a610d7a565b6102736104a0366004611dce565b610d89565b6102876104b3366004611d5b565b610dd8565b6102736104c6366004611dce565b610e04565b6102876104d9366004611d5b565b6001600160a01b03166000908152600a602052604090205490565b610273610502366004611d95565b610e11565b61028760165481565b61028761051e366004611dfa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102a8610557366004611dce565b610ebf565b601254610287565b6102a8610572366004611e9f565b61102d565b6102a8610585366004611d5b565b6111ad565b6103c3610598366004611d5b565b611298565b6105b06105ab366004611e9f565b611410565b60408051938452602084019290925290820152606001610257565b6060600380546105da90612032565b80601f016020809104026020016040519081016040528092919081815260200182805461060690612032565b80156106535780601f1061062857610100808354040283529160200191610653565b820191906000526020600020905b81548152906001019060200180831161063657829003601f168201915b5050505050905090565b600061066a33848461152b565b5060015b92915050565b600d546001600160a01b031633146106a75760405162461bcd60e51b815260040161069e90611f0d565b60405180910390fd5b6016548114156107325760405162461bcd60e51b815260206004820152604a60248201527f4e6577206d696d696d756d2062616c616e636520666f72206469766964656e6460448201527f2063616e6e6f742062652073616d652061732063757272656e74206d696e696d606482015269756d2062616c616e636560b01b608482015260a40161069e565b61074481670de0b6b3a7640000611fbd565b60165550565b600061075784848461164f565b6107a984336107a4856040518060600160405280602881526020016120fa602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906116b1565b61152b565b5060019392505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600654600160801b9261080592610800926107fa916107f591906116e8565b61176e565b9061177e565b6117bc565b61066e9190611f9b565b336000908152600b602052604090205460ff166108795760405162461bcd60e51b815260206004820152602260248201527f417574683a2063616c6c6572206973206e6f742074686520617574686f72697a604482015261195960f21b606482015260840161069e565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b600d546001600160a01b031633146108c75760405162461bcd60e51b815260040161069e90611f0d565b6001600160a01b03811660009081526013602052604090205460ff16156108ed57600080fd5b6001600160a01b0381166000908152601360205260408120805460ff1916600117905561091b9082906117cf565b60405163131836e760e21b8152600e60048201526001600160a01b038216602482015273096058757b106ca20ea98b958a3bb2b0e078d81c90634c60db9c9060440160006040518083038186803b15801561097557600080fd5b505af4158015610989573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b60006109cf60025490565b116109d957600080fd5b8015610a5557610a0c6109eb60025490565b6109f983600160801b6116e8565b610a039190611f9b565b6006549061182e565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600c54610a51908261182e565b600c555b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161066a9185906107a4908661182e565b600080600080600080600080600e73096058757b106ca20ea98b958a3bb2b0e078d81c63deb3d89690916040518263ffffffff1660e01b8152600401610ad691815260200190565b60206040518083038186803b158015610aee57600080fd5b505af4158015610b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b269190611e86565b8910610b4b575060009650600019955085945086935083925082915081905080610bf5565b6040516368d54f3f60e11b8152600e6004820152602481018a905260009073096058757b106ca20ea98b958a3bb2b0e078d81c9063d1aa9e7e9060440160206040518083038186803b158015610ba057600080fd5b505af4158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd89190611d78565b9050610be381611298565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152607260248201527f42616279506f6f43616b654469766964656e645f547261636b65723a2077697460448201527f68647261774469766964656e642064697361626c65642e20557365207468652060648201527f27636c61696d272066756e6374696f6e206f6e20746865206d61696e204261626084820152713ca837b7a1b0b5b29031b7b73a3930b1ba1760711b60a482015260c40161069e565b600d546001600160a01b03163314610cd95760405162461bcd60e51b815260040161069e90611f0d565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80546001600160a01b0319169055565b600d546001600160a01b03163314610d4d5760405162461bcd60e51b815260040161069e90611f0d565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061066e82610dd8565b6060600480546105da90612032565b600061066a33846107a485604051806060016040528060258152602001612122602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906116b1565b6001600160a01b0381166000908152600a602052604081205461066e90610dfe846107b3565b9061188d565b600061066a33848461164f565b600d546000906001600160a01b03163314610e3e5760405162461bcd60e51b815260040161069e90611f0d565b6000610e49846118e9565b90508015610eb5576001600160a01b038416600081815260146020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610ea39085815260200190565b60405180910390a3600191505061066e565b5060009392505050565b600d546001600160a01b03163314610ee95760405162461bcd60e51b815260040161069e90611f0d565b6001600160a01b03821660009081526013602052604090205460ff1615610f0e575050565b6016548110610f9f57610f2182826117cf565b604051632f0ad01760e21b8152600e60048201526001600160a01b03831660248201526044810182905273096058757b106ca20ea98b958a3bb2b0e078d81c9063bc2b405c9060640160006040518083038186803b158015610f8257600080fd5b505af4158015610f96573d6000803e3d6000fd5b5050505061101d565b610faa8260006117cf565b60405163131836e760e21b8152600e60048201526001600160a01b038316602482015273096058757b106ca20ea98b958a3bb2b0e078d81c90634c60db9c9060440160006040518083038186803b15801561100457600080fd5b505af4158015611018573d6000803e3d6000fd5b505050505b611028826001610e11565b505050565b600d546001600160a01b031633146110575760405162461bcd60e51b815260040161069e90611f0d565b610708811015801561106c5750620151808111155b6110f75760405162461bcd60e51b815260206004820152605060248201527f42616279506f6f43616b654469766964656e645f547261636b65723a20636c6160448201527f696d57616974206d757374206265207570646174656420746f2062657477656560648201526f6e203120616e6420323420686f75727360801b608482015260a40161069e565b60155481141561117a5760405162461bcd60e51b815260206004820152604260248201527f42616279506f6f43616b654469766964656e645f547261636b65723a2043616e60448201527f6e6f742075706461746520636c61696d5761697420746f2073616d652076616c606482015261756560f01b608482015260a40161069e565b60155460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601555565b600d546001600160a01b031633146111d75760405162461bcd60e51b815260040161069e90611f0d565b6001600160a01b03811661123c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069e565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600e60048201526001600160a01b0382166024820152819060009081908190819081908190819073096058757b106ca20ea98b958a3bb2b0e078d81c906317e142d19060440160206040518083038186803b15801561130357600080fd5b505af4158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190611e86565b965060001995506000871261139d5760125487111561136957601254611362908890611a5d565b955061139d565b601254600e546000911061137e57600061138d565b601254600e5461138d9161188d565b9050611399888261177e565b9650505b6113a688610dd8565b94506113b1886107b3565b6001600160a01b0389166000908152601460205260409020549094509250826113db5760006113e9565b6015546113e990849061182e565b91504282116113f9576000611403565b611403824261188d565b9050919395975091939597565b600e54600090819081908061143057505060125460009250829150611524565b6012546000805a90506000805b898410801561144b57508582105b15611513578461145a8161206d565b600e549096508610905061146d57600094505b6000600e60000186815481106114855761148561209e565b60009182526020808320909101546001600160a01b031680835260149091526040909120549091506114b690611aa9565b156114d9576114c6816001610e11565b156114d957816114d58161206d565b9250505b826114e38161206d565b93505060005a90508085111561150a57611507611500868361188d565b879061182e565b95505b935061143d9050565b601285905590975095509193505050505b9193909250565b6001600160a01b03831661158d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161069e565b6001600160a01b0382166115ee5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161069e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152603160248201527f42616279506f6f43616b654469766964656e645f547261636b65723a204e6f206044820152701d1c985b9cd9995c9cc8185b1b1bddd959607a1b606482015260840161069e565b600081848411156116d55760405162461bcd60e51b815260040161069e9190611eb8565b506116e0838561201b565b949350505050565b6000826116f75750600061066e565b60006117038385611fbd565b9050826117108583611f9b565b146117675760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161069e565b9392505050565b6000818181121561066e57600080fd5b60008061178b8385611f42565b90506000831215801561179e5750838112155b806117b357506000831280156117b357508381125b61176757600080fd5b6000808212156117cb57600080fd5b5090565b6001600160a01b0382166000908152602081905260409020548082111561180e5760006117fc838361188d565b90506118088482611ad0565b50505050565b80821015611028576000611822828461188d565b90506118088482611b34565b60008061183b8385611f83565b9050838110156117675760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161069e565b6000828211156118df5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161069e565b611767828461201b565b6000806118f583610dd8565b90508015611a54576001600160a01b0383166000908152600a6020526040902054611920908261182e565b6001600160a01b0384166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061196f9084815260200190565b60405180910390a260085460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb90604401602060405180830381600087803b1580156119c657600080fd5b505af11580156119da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fe9190611e69565b905080611a4d576001600160a01b0384166000908152600a6020526040902054611a28908361188d565b6001600160a01b039094166000908152600a6020526040812094909455509192915050565b5092915050565b50600092915050565b6000808212158015611a78575082611a758382611fdc565b13155b80611a965750600082128015611a96575082611a948382611fdc565b135b611a9f57600080fd5b6117678284611fdc565b600042821115611abb57506000919050565b601554611ac8428461188d565b101592915050565b611ada8282611b78565b611b14611af56107f5836006546116e890919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611a5d565b6001600160a01b0390921660009081526009602052604090209190915550565b611b3e8282611c57565b611b14611b596107f5836006546116e890919063ffffffff16565b6001600160a01b0384166000908152600960205260409020549061177e565b6001600160a01b038216611bce5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161069e565b600254611bdb908261182e565b6002556001600160a01b038216600090815260208190526040902054611c01908261182e565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611cb75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161069e565b611cf4816040518060600160405280602281526020016120d8602291396001600160a01b03851660009081526020819052604090205491906116b1565b6001600160a01b038316600090815260208190526040902055600254611d1a908261188d565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611c4b565b600060208284031215611d6d57600080fd5b8135611767816120b4565b600060208284031215611d8a57600080fd5b8151611767816120b4565b60008060408385031215611da857600080fd5b8235611db3816120b4565b91506020830135611dc3816120c9565b809150509250929050565b60008060408385031215611de157600080fd5b8235611dec816120b4565b946020939093013593505050565b60008060408385031215611e0d57600080fd5b8235611e18816120b4565b91506020830135611dc3816120b4565b600080600060608486031215611e3d57600080fd5b8335611e48816120b4565b92506020840135611e58816120b4565b929592945050506040919091013590565b600060208284031215611e7b57600080fd5b8151611767816120c9565b600060208284031215611e9857600080fd5b5051919050565b600060208284031215611eb157600080fd5b5035919050565b600060208083528351808285015260005b81811015611ee557858101830151858201604001528201611ec9565b81811115611ef7576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611f6457611f64612088565b600160ff1b8390038412811615611f7d57611f7d612088565b50500190565b60008219821115611f9657611f96612088565b500190565b600082611fb857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fd757611fd7612088565b500290565b60008083128015600160ff1b850184121615611ffa57611ffa612088565b6001600160ff1b038401831381161561201557612015612088565b50500390565b60008282101561202d5761202d612088565b500390565b600181811c9082168061204657607f821691505b6020821081141561206757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561208157612081612088565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610a5557600080fd5b8015158114610a5557600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a39857567b60b0b1bc0322609d79b520baf37f9d4396bfc63282259bae67a70f64736f6c6343000806003360806040523480156200001157600080fd5b50604051806060016040528060218152602001620023b860219139604051806060016040528060218152602001620023b860219139730e09fabb73bd3ade0a17ecc321fd13a19e81ce8282828160039080519060200190620000759291906200014e565b5080516200008b9060049060208401906200014e565b505060058054601260ff1991821617909155600880546001600160a01b0319166001600160a01b03949094169390931790925550336000908152600b6020526040812080549092166001179091559150620000e590503390565b600d80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506107086015556a01a784379d99db4200000060165562000231565b8280546200015c90620001f4565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b600181811c908216806200020957607f821691505b602082108114156200022b57634e487b7160e01b600052602260045260246000fd5b50919050565b61217780620002416000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063aafd847a116100b8578063e7841ec01161007c578063e7841ec01461055c578063e98030c714610564578063f2fde38b14610577578063fbcbc0f11461058a578063ffb2c4791461059d57600080fd5b8063aafd847a146104cb578063bc4c4b37146104f4578063be10b61414610507578063dd62ed3e14610510578063e30443bc1461054957600080fd5b806391b89fba116100ff57806391b89fba1461047757806395d89b411461048a578063a457c2d714610492578063a8b9d240146104a5578063a9059cbb146104b857600080fd5b806370a0823114610419578063715018a6146104425780637e3e7fd21461044a57806385a6b3ae1461045d5780638da5cb5b1461046657600080fd5b80632b2e05c1116101c9578063395093511161018d578063395093511461037a5780634e7b827f1461038d5780635183d6fd146103b05780636a474002146104085780636f2789ec1461041057600080fd5b80632b2e05c1146103235780633009a60914610336578063313ce5671461033f57806331e79db0146103545780633243c7911461036757600080fd5b80631582358e116102105780631582358e146102aa57806318160ddd146102d5578063226cfa3d146102dd57806323b872dd146102fd57806327ce01471461031057600080fd5b806306fdde0314610242578063095ea7b31461026057806309bbedde146102835780630dcb2e8914610295575b600080fd5b61024a6105cb565b6040516102579190611e93565b60405180910390f35b61027361026e366004611da9565b61065d565b6040519015158152602001610257565b600e545b604051908152602001610257565b6102a86102a3366004611e7a565b610674565b005b6008546102bd906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b600254610287565b6102876102eb366004611d36565b60146020526000908152604090205481565b61027361030b366004611e03565b61074a565b61028761031e366004611d36565b6107b3565b6102a8610331366004611d36565b61080f565b61028760125481565b60055460405160ff9091168152602001610257565b6102a8610362366004611d36565b61089d565b6102a8610375366004611e7a565b6109c4565b610273610388366004611da9565b610a58565b61027361039b366004611d36565b60136020526000908152604090205460ff1681565b6103c36103be366004611e7a565b610a8e565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610257565b6102a8610c00565b61028760155481565b610287610427366004611d36565b6001600160a01b031660009081526020819052604090205490565b6102a8610ca8565b6102a8610458366004611d36565b610d1c565b610287600c5481565b600d546001600160a01b03166102bd565b610287610485366004611d36565b610d68565b61024a610d73565b6102736104a0366004611da9565b610d82565b6102876104b3366004611d36565b610dd1565b6102736104c6366004611da9565b610dfd565b6102876104d9366004611d36565b6001600160a01b03166000908152600a602052604090205490565b610273610502366004611d70565b610e0a565b61028760165481565b61028761051e366004611dd5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102a8610557366004611da9565b610eb8565b601254610287565b6102a8610572366004611e7a565b611026565b6102a8610585366004611d36565b61118e565b6103c3610598366004611d36565b611279565b6105b06105ab366004611e7a565b6113f1565b60408051938452602084019290925290820152606001610257565b6060600380546105da9061200d565b80601f01602080910402602001604051908101604052809291908181526020018280546106069061200d565b80156106535780601f1061062857610100808354040283529160200191610653565b820191906000526020600020905b81548152906001019060200180831161063657829003601f168201915b5050505050905090565b600061066a33848461150c565b5060015b92915050565b600d546001600160a01b031633146106a75760405162461bcd60e51b815260040161069e90611ee8565b60405180910390fd5b6016548114156107325760405162461bcd60e51b815260206004820152604a60248201527f4e6577206d696d696d756d2062616c616e636520666f72206469766964656e6460448201527f2063616e6e6f742062652073616d652061732063757272656e74206d696e696d606482015269756d2062616c616e636560b01b608482015260a40161069e565b61074481670de0b6b3a7640000611f98565b60165550565b6000610757848484611630565b6107a984336107a4856040518060600160405280602881526020016120d5602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061168c565b61150c565b5060019392505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600654600160801b9261080592610800926107fa916107f591906116c3565b611749565b90611759565b611797565b61066e9190611f76565b336000908152600b602052604090205460ff166108795760405162461bcd60e51b815260206004820152602260248201527f417574683a2063616c6c6572206973206e6f742074686520617574686f72697a604482015261195960f21b606482015260840161069e565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b600d546001600160a01b031633146108c75760405162461bcd60e51b815260040161069e90611ee8565b6001600160a01b03811660009081526013602052604090205460ff16156108ed57600080fd5b6001600160a01b0381166000908152601360205260408120805460ff1916600117905561091b9082906117aa565b60405163131836e760e21b8152600e60048201526001600160a01b038216602482015273096058757b106ca20ea98b958a3bb2b0e078d81c90634c60db9c9060440160006040518083038186803b15801561097557600080fd5b505af4158015610989573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b60006109cf60025490565b116109d957600080fd5b8015610a5557610a0c6109eb60025490565b6109f983600160801b6116c3565b610a039190611f76565b60065490611809565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600c54610a519082611809565b600c555b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161066a9185906107a49086611809565b600080600080600080600080600e73096058757b106ca20ea98b958a3bb2b0e078d81c63deb3d89690916040518263ffffffff1660e01b8152600401610ad691815260200190565b60206040518083038186803b158015610aee57600080fd5b505af4158015610b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b269190611e61565b8910610b4b575060009650600019955085945086935083925082915081905080610bf5565b6040516368d54f3f60e11b8152600e6004820152602481018a905260009073096058757b106ca20ea98b958a3bb2b0e078d81c9063d1aa9e7e9060440160206040518083038186803b158015610ba057600080fd5b505af4158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd89190611d53565b9050610be381611279565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152607860248201526000805160206120fd83398151915260448201527f723a2077697468647261774469766964656e642064697361626c65642e20557360648201527f65207468652027636c61696d272066756e6374696f6e206f6e20746865206d6160848201527f696e2042616279506f6f43616b6520636f6e74726163742e000000000000000060a482015260c40161069e565b600d546001600160a01b03163314610cd25760405162461bcd60e51b815260040161069e90611ee8565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80546001600160a01b0319169055565b600d546001600160a01b03163314610d465760405162461bcd60e51b815260040161069e90611ee8565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061066e82610dd1565b6060600480546105da9061200d565b600061066a33846107a48560405180606001604052806025815260200161211d602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061168c565b6001600160a01b0381166000908152600a602052604081205461066e90610df7846107b3565b90611868565b600061066a338484611630565b600d546000906001600160a01b03163314610e375760405162461bcd60e51b815260040161069e90611ee8565b6000610e42846118c4565b90508015610eae576001600160a01b038416600081815260146020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610e9c9085815260200190565b60405180910390a3600191505061066e565b5060009392505050565b600d546001600160a01b03163314610ee25760405162461bcd60e51b815260040161069e90611ee8565b6001600160a01b03821660009081526013602052604090205460ff1615610f07575050565b6016548110610f9857610f1a82826117aa565b604051632f0ad01760e21b8152600e60048201526001600160a01b03831660248201526044810182905273096058757b106ca20ea98b958a3bb2b0e078d81c9063bc2b405c9060640160006040518083038186803b158015610f7b57600080fd5b505af4158015610f8f573d6000803e3d6000fd5b50505050611016565b610fa38260006117aa565b60405163131836e760e21b8152600e60048201526001600160a01b038316602482015273096058757b106ca20ea98b958a3bb2b0e078d81c90634c60db9c9060440160006040518083038186803b158015610ffd57600080fd5b505af4158015611011573d6000803e3d6000fd5b505050505b611021826001610e0a565b505050565b600d546001600160a01b031633146110505760405162461bcd60e51b815260040161069e90611ee8565b61070881101580156110655750620151808111155b6110e45760405162461bcd60e51b815260206004820152605660248201526000805160206120fd83398151915260448201527f723a20636c61696d57616974206d757374206265207570646174656420746f206064820152756265747765656e203120616e6420323420686f75727360501b608482015260a40161069e565b60155481141561115b5760405162461bcd60e51b815260206004820152604860248201526000805160206120fd83398151915260448201527f723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616064820152676d652076616c756560c01b608482015260a40161069e565b60155460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601555565b600d546001600160a01b031633146111b85760405162461bcd60e51b815260040161069e90611ee8565b6001600160a01b03811661121d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069e565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600e60048201526001600160a01b0382166024820152819060009081908190819081908190819073096058757b106ca20ea98b958a3bb2b0e078d81c906317e142d19060440160206040518083038186803b1580156112e457600080fd5b505af41580156112f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131c9190611e61565b965060001995506000871261137e5760125487111561134a57601254611343908890611a38565b955061137e565b601254600e546000911061135f57600061136e565b601254600e5461136e91611868565b905061137a8882611759565b9650505b61138788610dd1565b9450611392886107b3565b6001600160a01b0389166000908152601460205260409020549094509250826113bc5760006113ca565b6015546113ca908490611809565b91504282116113da5760006113e4565b6113e48242611868565b9050919395975091939597565b600e54600090819081908061141157505060125460009250829150611505565b6012546000805a90506000805b898410801561142c57508582105b156114f4578461143b81612048565b600e549096508610905061144e57600094505b6000600e600001868154811061146657611466612079565b60009182526020808320909101546001600160a01b0316808352601490915260409091205490915061149790611a84565b156114ba576114a7816001610e0a565b156114ba57816114b681612048565b9250505b826114c481612048565b93505060005a9050808511156114eb576114e86114e18683611868565b8790611809565b95505b935061141e9050565b601285905590975095509193505050505b9193909250565b6001600160a01b03831661156e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161069e565b6001600160a01b0382166115cf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161069e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152603760248201526000805160206120fd83398151915260448201527f723a204e6f207472616e736665727320616c6c6f776564000000000000000000606482015260840161069e565b600081848411156116b05760405162461bcd60e51b815260040161069e9190611e93565b506116bb8385611ff6565b949350505050565b6000826116d25750600061066e565b60006116de8385611f98565b9050826116eb8583611f76565b146117425760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161069e565b9392505050565b6000818181121561066e57600080fd5b6000806117668385611f1d565b9050600083121580156117795750838112155b8061178e575060008312801561178e57508381125b61174257600080fd5b6000808212156117a657600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156117e95760006117d78383611868565b90506117e38482611aab565b50505050565b808210156110215760006117fd8284611868565b90506117e38482611b0f565b6000806118168385611f5e565b9050838110156117425760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161069e565b6000828211156118ba5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161069e565b6117428284611ff6565b6000806118d083610dd1565b90508015611a2f576001600160a01b0383166000908152600a60205260409020546118fb9082611809565b6001600160a01b0384166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061194a9084815260200190565b60405180910390a260085460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb90604401602060405180830381600087803b1580156119a157600080fd5b505af11580156119b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d99190611e44565b905080611a28576001600160a01b0384166000908152600a6020526040902054611a039083611868565b6001600160a01b039094166000908152600a6020526040812094909455509192915050565b5092915050565b50600092915050565b6000808212158015611a53575082611a508382611fb7565b13155b80611a715750600082128015611a71575082611a6f8382611fb7565b135b611a7a57600080fd5b6117428284611fb7565b600042821115611a9657506000919050565b601554611aa34284611868565b101592915050565b611ab58282611b53565b611aef611ad06107f5836006546116c390919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611a38565b6001600160a01b0390921660009081526009602052604090209190915550565b611b198282611c32565b611aef611b346107f5836006546116c390919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611759565b6001600160a01b038216611ba95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161069e565b600254611bb69082611809565b6002556001600160a01b038216600090815260208190526040902054611bdc9082611809565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611c925760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161069e565b611ccf816040518060600160405280602281526020016120b3602291396001600160a01b038516600090815260208190526040902054919061168c565b6001600160a01b038316600090815260208190526040902055600254611cf59082611868565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611c26565b600060208284031215611d4857600080fd5b81356117428161208f565b600060208284031215611d6557600080fd5b81516117428161208f565b60008060408385031215611d8357600080fd5b8235611d8e8161208f565b91506020830135611d9e816120a4565b809150509250929050565b60008060408385031215611dbc57600080fd5b8235611dc78161208f565b946020939093013593505050565b60008060408385031215611de857600080fd5b8235611df38161208f565b91506020830135611d9e8161208f565b600080600060608486031215611e1857600080fd5b8335611e238161208f565b92506020840135611e338161208f565b929592945050506040919091013590565b600060208284031215611e5657600080fd5b8151611742816120a4565b600060208284031215611e7357600080fd5b5051919050565b600060208284031215611e8c57600080fd5b5035919050565b600060208083528351808285015260005b81811015611ec057858101830151858201604001528201611ea4565b81811115611ed2576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611f3f57611f3f612063565b600160ff1b8390038412811615611f5857611f58612063565b50500190565b60008219821115611f7157611f71612063565b500190565b600082611f9357634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fb257611fb2612063565b500290565b60008083128015600160ff1b850184121615611fd557611fd5612063565b6001600160ff1b0384018313811615611ff057611ff0612063565b50500390565b60008282101561200857612008612063565b500390565b600181811c9082168061202157607f821691505b6020821081141561204257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561205c5761205c612063565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610a5557600080fd5b8015158114610a5557600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542616279506f6f43616b655f43616b655f4469766964656e645f547261636b6545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122008feae3b54c58cbbbdb88acc89eed8ff3e21f9fe66ea34c696c25cd3c509ab2564736f6c6343000806003342616279506f6f43616b655f43616b655f4469766964656e645f547261636b65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.