0xA94Bc875F7A0BbF9e21fA86033a777104b0D9c95
Sponsored
MetaMask Manage your web3 everything with MetaMask Portfolio. Try Now!Ready to onboard to BNB Smart Chain? With MetaMask Portfolio, you're in control.
Sponsored
Сoins.game - 100 free spins for registration. Spin Now! Everyday giveaways up to 8.88BTC, Lucky Spins.Deposit BONUS 300% and Cashbacks!
NanoGames.io Claim Free Lottery tickets with 100k prize pool Claim NowRegister now on NanoGames and receive free lottery tickets to kickstart your new adventure.
Sponsored
BC.GAME The Best BNB Casino with 1,000,000 BNB Daily Bonus. Claim Now5000+ Slots, Live casino games, 50+ cryptos, 100% bet insurance. Register with Bscscan and get 240% first deposit bonus.
Source Code
- Token Approvals Beta Check Previous Balance
- Update Name Tag or Label
- Report/Flag Address
Overview
BNB Balance
10 BNB
BNB Value
$5,541.81 (@ $554.18/BNB)
Token Holdings
- View All Holdings
BEP-20 Tokens (14)
- BGGB.org (BGGB.o...)80,000 BGGB.org
- Marseille Coin7,524 MRS
- Mebox.io (MEBOX)1,000 MEBOX
- Nakamoto (NKT)7,858.749 NKT
- Satoshi (SATOSH...)3,197,510.08050335 SATOSHI
- SatoshiCrypt... (SATO)7,858.749 SATO
- SatoshiCrypt... (SATO)7,858.749 SATO
- Satoshi_V2 (SAT)7,858.749 SAT
- tesla-drop.s... (TSL)15,000 TSL
- usdswap.io (usdswa...)1,286,698 usdswap.io
- Wojak150.77147818 [email protected]
- BEP-20 TOKEN*713,624,319 Token[Suspicious]
- BEP-20 TOKEN*7,127,850 Token[Suspicious]
- BEP-20 TOKEN*821,112 Token[Suspicious]
More Info
Private Name Tags
Add
ContractCreator
0xB7986E86...24c1EC921 at txn 0xe25963bb6d6b0cb2a7a584f708bba1dda4f488eae2c7ba3ef039908b8949231c
TokenTracker
Satoshi (SATOSHI)
Multichain Info
$5,564.75 (Multichain Portfolio)
1 address found via
- Transactions
- Token Transfers (BEP-20)
- Contract
- Events
- Analytics
- Multichain Portfolio
Advanced Filter
- Filter by Tx Type:
- Tx
- BEP-20
Latest 25 from a total of 1,577 transactions
- View Completed Txns
- View Pending Txns
- View Failed Txns
- View Outgoing Txns
- View Incoming Txns
- View Contract Creation
Transaction Hash | Method | Block | From | To | |||||
---|---|---|---|---|---|---|---|---|---|
0x95a4306736ae2d3a9b0cb2745bf79f2b7357c832a2dfb2d92ca022dcd7401dea | Approve | 41284147 | 34 days ago | 0x1d1D9131...ae08D8003 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00004653 | |
0x33ee91b483064df55c6cd70f4aa3fae70c6a9eace7963e657bc6648d6ef86502 | Transfer | 41284147 | 34 days ago | 0xb9Fb30bD...8b0D8bDc8 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00007594 | |
0xde9c0b85ed1cb4573cb622a0eb81fe606115494191b2146af97433d6c10c5bf3 | Approve | 41179135 | 37 days ago | 0x24788a82...7CbA5fd14 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00023265 | |
0x071fd497868cb3466e3c617d4e5c8dbfc13658b6738abfee6ec13fdd07e1fefb | Approve | 39106051 | 109 days ago | 0x1d1D9131...ae08D8003 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00004653 | |
0xd75699adf618b0eec1609d791ee70d98ef6b86d769f00bfa11d9d4426f3873a2 | Transfer | 39106040 | 109 days ago | 0xdEa5A70F...a1E0126Db | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00007596 | |
0xf235d4ac3c0a48958d952e4d99f938357072c556e93a9a7334d9fdb586ae1fa3 | Approve | 37142058 | 178 days ago | 0x64e27Dfd...0Cca65E82 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00002663 | |
0x1aa7b6461362b419d00b46db52fe047e5f5e4fb3571d79ae1633a55f426ef377 | Approve | 37142056 | 178 days ago | 0x64e27Dfd...0Cca65E82 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00002663 | |
0x54b1aec14ff0e4327fce11dc8df5c2f6fefaa719ef21bc3bb7687c9a3aebd6ef | Approve | 37142056 | 178 days ago | 0x64e27Dfd...0Cca65E82 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00004653 | |
0xa95a6318ef6ce9f08efd560464ada44b01d965b3ac20e450e0db3e247a82c7f6 | Approve | 36844568 | 188 days ago | 0xf6A1501b...d47e644fF | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00023265 | |
0x2e48abf48344b7ceca015ef735a19e3a4a51cb0bb9b2ce6e6d8c3df23b403f19 | Approve | 36808802 | 189 days ago | 0xf2Eb4908...8B5CE1c1A | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00013959 | |
0x692dcaba4075f3eeacb384da01fad3e00756f7b37c9884e76d1b189d13a613e2 | Approve | 36572930 | 198 days ago | 0x42b74B8a...846C35162 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00013959 | |
0x148f05bc154d2348ff068c8a1a5730e9a683b9630272763bbe0b33553b9123bb | Approve | 35781122 | 225 days ago | 0x008b6E73...3296cED92 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00023265 | |
0x74faca434942edc5cc2f42a5ed9128f7e8baba51834aecb38ae60dfe5ee5dcd1 | Approve | 35152234 | 247 days ago | 0x81c3663d...fd1fa15C9 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00018612 | |
0xbfcd2e02fa534a532bf0899d809ff1d11de6dc5faf8c76858dc1d477946592f5 | Approve | 35120326 | 248 days ago | 0x7b8e85E3...6904C8205 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.0000727 | |
0xa1a76ef758db45fbb01d846cf910cf52fdbc1e08a34d5571d4834216c484dae3 | Approve | 34838976 | 258 days ago | 0xE36A34e9...F853F0d9B | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.0000727 | |
0xd47727143b1210451446c18213b89fefe213ee5bb5fbbf314ddb0c99d66eeef1 | Approve | 34455986 | 271 days ago | 0x802Dae48...33777d328 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.0000727 | |
0xbbf631d9de1e23b539a9d375ffea949981c528a584a8a208ccb63e1292f9515a | Approve | 34455983 | 271 days ago | 0x802Dae48...33777d328 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00007273 | |
0xf8224968639a6ad4c027ca694be4eb6075620bc2a482649c68add552cac8f379 | Approve | 34449121 | 271 days ago | 0xFA6257c9...F28dF9E80 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00023265 | |
0x9d1780aff0428b613cfbae98a1919fd89ac59e45270a5247c9f3caddcb5b5014 | Transfer | 34443053 | 272 days ago | 0xF1DF378D...58efc4ABF | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00015677 | |
0x8b8ccb8071181b5102eb16e37708181929045aa2cebbbfffb19ab92eee00b431 | Approve | 34395787 | 273 days ago | 0xf2785FCF...31f1F6D60 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00013959 | |
0x9dfe2bcc5f719d0990d0a1367bfbf6fe88652918d80ef049ac05fdbd34d8bad0 | Approve | 34327857 | 276 days ago | 0x8828395F...996b54125 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00013959 | |
0xdb81eac9be4391dd701be28f9dc9fa6ebcfb579ed16ced40c527c1e44a54ca58 | Transfer | 34327849 | 276 days ago | 0xF1DF378D...58efc4ABF | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00022786 | |
0xcecd36f7561085a36568b1551665a8694831fab66ba7616443a8c9c5e05f9ffb | Approve | 33665666 | 299 days ago | 0x1E1e7971...D84B25961 | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.0000727 | |
0x9d50cb2d93d6a9e38e28d689e5f34d0bb149e66829bcb9d40101b994c240fb43 | Approve | 33214524 | 314 days ago | 0xc2db3Ad6...A83B2357f | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00013865 | |
0xc864c69a4a9bf6f6f77d76840783fef2e3523e92d2b5114b1781111bf0ffe321 | Transfer | 33214513 | 314 days ago | 0x0F740bB3...3EcC45f6A | IN | 0xA94Bc875...04b0D9c95 | 0 BNB | 0.00048439 |
View all transactions
Loading...
Loading
- Code
- Read Contract
- Write Contract
Contract Source Code Verified (Exact Match)
Contract Name:
Satosh*token
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion, None license
Contract Source Code (Solidity)
- Blockscan IDE
- 🤖 Code ReaderBeta
- - function _msgSender()
- - function _msgData()
- - function owner()
- - function renounceOwnership()
- - function transferOwnership(address ne ...
- interface IBEP20
- - function totalSupply()
- - function decimals()
- - function symbol()
- - function name()
- - function getOwner()
- - function balanceOf(address account)
- - function transfer(address recipient, ...
- - function allowance(address _owner, ad ...
- - function approve(address spender, uin ...
- - function transferFrom(address sender, ...
- library SafeMath
- - function add(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b, st ...
- - function mul(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b, st ...
- - function mod(uint256 a, uint256 b)
- - function mod(uint256 a, uint256 b, st ...
- contract BEP20 is Context, IBEP20, ...
- - function getOwner()
- - function name()
- - function symbol()
- - function decimals()
- - function totalSupply()
- - function balanceOf(address account)
- - function transfer(address recipient, ...
- - function allowance(address owner, add ...
- - function approve(address spender, uin ...
- - function transferFrom (address sender ...
- - function increaseAllowance(address sp ...
- - function decreaseAllowance(address sp ...
- - function mint(uint256 amount)
- - function _transfer (address sender, a ...
- - function _mint(address account, uint2 ...
- - function _burn(address account, uint2 ...
- - function _approve (address owner, add ...
- - function _burnFrom(address account, u ...
- interface IUniswapV2Router01
- - function factory()
- - function WETH()
- - function addLiquidity(
- - function addLiquidityETH(
- - function removeLiquidity(
- - function removeLiquidityETH(
- - function removeLiquidityWithPermit(
- - function removeLiquidityETHWithPermit ...
- - function swapExactTokensForTokens(
- - function swapTokensForExactTokens(
- - function swapExactETHForTokens(uint a ...
- - function swapTokensForExactETH(uint a ...
- - function swapExactTokensForETH(uint a ...
- - function swapETHForExactTokens(uint a ...
- - function quote(uint amountA, uint res ...
- - function getAmountOut(uint amountIn, ...
- - function getAmountIn(uint amountOut, ...
- - function getAmountsOut(uint amountIn, ...
- - function getAmountsIn(uint amountOut, ...
- interface IUniswapV2Router02 is IUnis ...
- - function removeLiquidityETHSupporting ...
- - function removeLiquidityETHWithPermit ...
- - function swapExactTokensForTokensSupp ...
- - function swapExactETHForTokensSupport ...
- - function swapExactTokensForETHSupport ...
- interface IUniswapV2Pair
- - function name()
- - function symbol()
- - function decimals()
- - function totalSupply()
- - function balanceOf(address owner)
- - function allowance(address owner, add ...
- - function approve(address spender, uin ...
- - function transfer(address to, uint va ...
- - function transferFrom(address from, a ...
- - function DOMAIN_SEPARATOR()
- - function PERMIT_TYPEHASH()
- - function nonces(address owner)
- - function permit(address owner, addres ...
- - function MINIMUM_LIQUIDITY()
- - function factory()
- - function token0()
- - function token1()
- - function getReserves()
- - function price0CumulativeLast()
- - function price1CumulativeLast()
- - function kLast()
- - function mint(address to)
- - function burn(address to)
- - function swap(uint amount0Out, uint a ...
- - function skim(address to)
- - function sync()
- - function initialize(address, address)
- interface IUniswapV2Factory
- - function feeTo()
- - function feeToSetter()
- - function getPair(address tokenA, addr ...
- - function allPairs(uint)
- - function allPairsLength()
- - function createPair(address tokenA, a ...
- - function setFeeTo(address)
- - function setFeeToSetter(address)
- contract Satosh*token is BEP20 *
- - function mint(address _to, uint256 _a ...
- - function _transfer(address sender, ad ...
- - function swapAndLiquify()
- - function swapTokensForEth(uint256 tok ...
- - function addLiquidity(uint256 tokenAm ...
- - function maxTransferAmount()
- - function isExcludedFromAntiWhale(addr ...
- - function updateTransferTaxRate(uint16 ...
- - function updateBurnRate(uint16 _burnR ...
- - function updateMaxTransferAmountRate( ...
- - function updateMinAmountToLiquify(uin ...
- - function setExcludedFromAntiWhale(add ...
- - function updateSwapAndLiquifyEnabled( ...
- - function updateSatoshiRouter(address ...
- - function operator()
- - function transferOperator(address new ...
- - function delegates(address delegator)
- - function delegate(address delegatee)
- - function delegateBySig(
- - function getCurrentVotes(address acco ...
- - function getPriorVotes(address accoun ...
- - function _delegate(address delegator, ...
- - function _moveDelegates(address srcRe ...
- - function _writeCheckpoint(
- - function safe32(uint n, string memory ...
- - function getChainId()
- Similar
- Sol2Uml
- Submit Audit
- Compare
/** *Submitted for verification at BscScan.com on 2021-08-26*/// SPDX-License-Identifier: GPL-3.0-or-later Or MIT// File: contracts\Context.solpragma solidity >=0.6.0 <0.8.0;/* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; }}// File: contracts\Ownable.solpragma solidity >=0.6.0 <0.8.0;/** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; }}// File: contracts\IBEP20.solpragma solidity >=0.6.4;interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value);}// File: contracts\SafeMath.solpragma solidity >=0.6.0 <0.8.0;/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; }}// File: contracts\BEP20.solpragma solidity >=0.4.0;/** * @dev Implementation of the {IBEP20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of BEP20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IBEP20-approve}. */contract BEP20 is Context, IBEP20, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the name of the token. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom (address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance') ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner */ function mint(uint256 amount) public onlyOwner returns (bool) { _mint(_msgSender(), amount); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer (address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), 'BEP20: transfer from the zero address'); require(recipient != address(0), 'BEP20: transfer to the zero address'); _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance'); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), 'BEP20: mint to the zero address'); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), 'BEP20: burn from the zero address'); _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance'); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve (address owner, address spender, uint256 amount) internal { require(owner != address(0), 'BEP20: approve from the zero address'); require(spender != address(0), 'BEP20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')); }}// File: contracts\IUniswapV2Router01.solpragma solidity >=0.6.2;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);}// File: contracts\IUniswapV2Router02.solpragma solidity >=0.6.2;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;}// File: contracts\IUniswapV2Pair.solpragma solidity >=0.5.0;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;}// File: contracts\IUniswapV2Factory.solpragma solidity >=0.5.0;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;}// File: contracts\SATOsh*token.solpragma solidity 0.6.12;// Satosh*token with Governance.contract Satosh*token is BEP20 { // Transfer tax rate in basis points. (default 1%) uint16 public transferTaxRate = 100; // Burn rate % of transfer tax. (default 20% x 1% = 0.2% of total amount). uint16 public burnRate = 20; // Max transfer tax rate: 10%. uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 1000; // Burn address address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; // Max transfer amount rate in basis points. (default is 0.5% of total supply) uint16 public maxTransferAmountRate = 50; // Addresses that excluded from antiWhale mapping(address => bool) private _excludedFromAntiWhale; // Automatic swap and liquify enabled bool public swapAndLiquifyEnabled = false; // Min amount to liquify. (default 500 SATOSHIs) uint256 public minAmountToLiquify = 500 ether; // The swap router, modifiable. Will be changed to Satoshi's router when our own AMM release IUniswapV2Router02 public satoshiRouter; // The trading pair address public satoshiPair; // In swap and liquify bool private _inSwapAndLiquify; // The operator can only update the transfer tax rate address private _operator; // Events event OperatorTransferred(address indexed previousOperator, address indexed newOperator); event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event BurnRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled); event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount); event SatoshiRouterUpdated(address indexed operator, address indexed router, address indexed pair); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } modifier antiWhale(address sender, address recipient, uint256 amount) { if (maxTransferAmount() > 0) { if ( _excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false ) { require(amount <= maxTransferAmount(), "SATOSHI::antiWhale: Transfer amount exceeds the maxTransferAmount"); } } _; } modifier lockTheSwap { _inSwapAndLiquify = true; _; _inSwapAndLiquify = false; } modifier transferTaxFree { uint16 _transferTaxRate = transferTaxRate; transferTaxRate = 0; _; transferTaxRate = _transferTaxRate; } /** * @notice Constructs the SATOSHI Token contract. */ constructor() public BEP20("Satoshi", "SATOSHI") { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); _excludedFromAntiWhale[msg.sender] = true; _excludedFromAntiWhale[address(0)] = true; _excludedFromAntiWhale[address(this)] = true; _excludedFromAntiWhale[BURN_ADDRESS] = true; } /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } /// @dev overrides transfer function to meet tokenomics of SATOSHI function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) { // swap and liquify if ( swapAndLiquifyEnabled == true && _inSwapAndLiquify == false && address(satoshiRouter) != address(0) && satoshiPair != address(0) && sender != satoshiPair && sender != owner() ) { swapAndLiquify(); } if (recipient == BURN_ADDRESS || transferTaxRate == 0) { super._transfer(sender, recipient, amount); } else { // default tax is 5% of every transfer uint256 taxAmount = amount.mul(transferTaxRate).div(10000); uint256 burnAmount = taxAmount.mul(burnRate).div(100); uint256 liquidityAmount = taxAmount.sub(burnAmount); require(taxAmount == burnAmount + liquidityAmount, "SATOSHI::transfer: Burn value invalid"); // default 95% of transfer sent to recipient uint256 sendAmount = amount.sub(taxAmount); require(amount == sendAmount + taxAmount, "SATOSHI::transfer: Tax value invalid"); super._transfer(sender, BURN_ADDRESS, burnAmount); super._transfer(sender, address(this), liquidityAmount); super._transfer(sender, recipient, sendAmount); amount = sendAmount; } } /// @dev Swap and liquify function swapAndLiquify() private lockTheSwap transferTaxFree { uint256 contractTokenBalance = balanceOf(address(this)); uint256 maxTransferAmount = maxTransferAmount(); contractTokenBalance = contractTokenBalance > maxTransferAmount ? maxTransferAmount : contractTokenBalance; if (contractTokenBalance >= minAmountToLiquify) { // only min amount to liquify uint256 liquifyAmount = minAmountToLiquify; // split the liquify amount into halves uint256 half = liquifyAmount.div(2); uint256 otherHalf = liquifyAmount.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } } /// @dev Swap tokens for eth function swapTokensForEth(uint256 tokenAmount) private { // generate the satoshi pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = satoshiRouter.WETH(); _approve(address(this), address(satoshiRouter), tokenAmount); // make the swap satoshiRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /// @dev Add liquidity function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(satoshiRouter), tokenAmount); // add the liquidity satoshiRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable operator(), block.timestamp ); } /** * @dev Returns the max transfer amount. */ function maxTransferAmount() public view returns (uint256) { return totalSupply().mul(maxTransferAmountRate).div(10000); } /** * @dev Returns the address is excluded from antiWhale or not. */ function isExcludedFromAntiWhale(address _account) public view returns (bool) { return _excludedFromAntiWhale[_account]; } // To receive BNB from satoshiRouter when swapping receive() external payable {} /** * @dev Update the transfer tax rate. * Can only be called by the current operator. */ function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator { require(_transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE, "SATOSHI::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate."); emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate); transferTaxRate = _transferTaxRate; } /** * @dev Update the burn rate. * Can only be called by the current operator. */ function updateBurnRate(uint16 _burnRate) public onlyOperator { require(_burnRate <= 100, "SATOSHI::updateBurnRate: Burn rate must not exceed the maximum rate."); emit BurnRateUpdated(msg.sender, burnRate, _burnRate); burnRate = _burnRate; } /** * @dev Update the max transfer amount rate. * Can only be called by the current operator. */ function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator { require(_maxTransferAmountRate <= 10000, "SATOSHI::updateMaxTransferAmountRate: Max transfer amount rate must not exceed the maximum rate."); emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate); maxTransferAmountRate = _maxTransferAmountRate; } /** * @dev Update the min amount to liquify. * Can only be called by the current operator. */ function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator { emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount); minAmountToLiquify = _minAmount; } /** * @dev Exclude or include an address from antiWhale. * Can only be called by the current operator. */ function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator { _excludedFromAntiWhale[_account] = _excluded; } /** * @dev Update the swapAndLiquifyEnabled. * Can only be called by the current operator. */ function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator { emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled); swapAndLiquifyEnabled = _enabled; } /** * @dev Update the swap router. * Can only be called by the current operator. */ function updateSatoshiRouter(address _router) public onlyOperator { satoshiRouter = IUniswapV2Router02(_router); satoshiPair = IUniswapV2Factory(satoshiRouter.factory()).getPair(address(this), satoshiRouter.WETH()); require(satoshiPair != address(0), "SATOSHI::updateSatoshiRouter: Invalid pair address."); emit SatoshiRouterUpdated(msg.sender, address(satoshiRouter), satoshiPair); } /** * @dev Returns the address of the current operator. */ function operator() public view returns (address) { return _operator; } /** * @dev Transfers operator of the contract to a new account (`newOperator`). * Can only be called by the current operator. */ function transferOperator(address newOperator) public onlyOperator { require(newOperator != address(0), "SATOSHI::transferOperator: new operator is the zero address"); emit OperatorTransferred(_operator, newOperator); _operator = newOperator; } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "SATOSHI::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "SATOSHI::delegateBySig: invalid nonce"); require(now <= expiry, "SATOSHI::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "SATOSHI::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying SATOSHIs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "SATOSHI::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; }}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
- JSON Format
- RAW/Text Format
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"BurnRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinAmountToLiquifyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"SatoshiRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"satoshiPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"satoshiRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnRate","type":"uint16"}],"name":"updateBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"updateMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"updateSatoshiRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
Decompile Bytecode Switch to Opcodes View
60806040526006805462ffff0019166164001764ffff000000191663140000001761ffff60281b1916653200000000001790556008805460ff19169055681b1ae4d6e2ef5000006009553480156200005657600080fd5b50604051806040016040528060078152602001665361746f73686960c81b815250604051806040016040528060078152602001665341544f53484960c81b8152506000620000a96200021160201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200010890600490602085019062000215565b5080516200011e90600590602084019062000215565b50506006805460ff19166012179055506200013862000211565b600c80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3336000908152600760205260408082208054600160ff1991821681179092557f6d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6df8054821683179055308452918320805483168217905561dead9092527fb0c2646e02af70b79e3fe9277b98373379f54150e4e26b2b5650139f7a75a65d80549091169091179055620002b1565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025857805160ff191683800117855562000288565b8280016001018555821562000288579182015b82811115620002885782518255916020019190600101906200026b565b50620002969291506200029a565b5090565b5b808211156200029657600081556001016200029b565b61324e80620002c16000396000f3fe60806040526004361061028c5760003560e01c8063782d6fe11161015a578063b4b5ea57116100c1578063dd62ed3e1161007a578063dd62ed3e146109e0578063e7a324dc14610a1b578063f1127ed814610a30578063f2fde38b14610a8f578063f607f2b414610ac2578063fccc281314610af057610293565b8063b4b5ea57146108df578063b65d08b014610912578063bed9985014610927578063c3cda5201461093c578063c7f59a6714610990578063d8248358146109cb57610293565b80639f9a4e7f116101135780639f9a4e7f146107d8578063a0712d6814610804578063a392e6741461082e578063a457c2d714610858578063a9059cbb14610891578063a9e75723146108ca57610293565b8063782d6fe1146106fa5780637ecebe0014610733578063893d20e8146107665780638da5cb5b1461077b57806395d89b4114610790578063998b1cdd146107a557610293565b80633ff8bf2e116101fe578063587cde1e116101b7578063587cde1e146105d25780635c19a95c146106055780636a141e2c146106385780636fcfff451461066657806370a08231146106b2578063715018a6146106e557610293565b80633ff8bf2e1461051457806340c10f19146105295780634a74bb021461056257806351e393eb1461057757806352ed40a4146105a8578063570ca735146105bd57610293565b806323b872dd1161025057806323b872dd146103d7578063269f534c1461041a57806329605e771461044d578063313ce56714610482578063376c2391146104ad57806339509351146104db57610293565b806306fdde0314610298578063095ea7b31461032257806318160ddd1461036f5780631ad9339a1461039657806320606b70146103c257610293565b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610b05565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032e57600080fd5b5061035b6004803603604081101561034557600080fd5b506001600160a01b038135169060200135610b9b565b604080519115158252519081900360200190f35b34801561037b57600080fd5b50610384610bb9565b60408051918252519081900360200190f35b3480156103a257600080fd5b506103ab610bbf565b6040805161ffff9092168252519081900360200190f35b3480156103ce57600080fd5b50610384610bc5565b3480156103e357600080fd5b5061035b600480360360608110156103fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610be9565b34801561042657600080fd5b5061035b6004803603602081101561043d57600080fd5b50356001600160a01b0316610c70565b34801561045957600080fd5b506104806004803603602081101561047057600080fd5b50356001600160a01b0316610c8e565b005b34801561048e57600080fd5b50610497610d78565b6040805160ff9092168252519081900360200190f35b3480156104b957600080fd5b50610480600480360360208110156104d057600080fd5b503561ffff16610d81565b3480156104e757600080fd5b5061035b600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610e76565b34801561052057600080fd5b506103ab610ec4565b34801561053557600080fd5b506104806004803603604081101561054c57600080fd5b506001600160a01b038135169060200135610ed5565b34801561056e57600080fd5b5061035b610f60565b34801561058357600080fd5b5061058c610f69565b604080516001600160a01b039092168252519081900360200190f35b3480156105b457600080fd5b5061058c610f78565b3480156105c957600080fd5b5061058c610f87565b3480156105de57600080fd5b5061058c600480360360208110156105f557600080fd5b50356001600160a01b0316610f96565b34801561061157600080fd5b506104806004803603602081101561062857600080fd5b50356001600160a01b0316610fb4565b34801561064457600080fd5b506104806004803603602081101561065b57600080fd5b503561ffff16610fc1565b34801561067257600080fd5b506106996004803603602081101561068957600080fd5b50356001600160a01b03166110be565b6040805163ffffffff9092168252519081900360200190f35b3480156106be57600080fd5b50610384600480360360208110156106d557600080fd5b50356001600160a01b03166110d6565b3480156106f157600080fd5b506104806110f1565b34801561070657600080fd5b506103846004803603604081101561071d57600080fd5b506001600160a01b038135169060200135611193565b34801561073f57600080fd5b506103846004803603602081101561075657600080fd5b50356001600160a01b031661139b565b34801561077257600080fd5b5061058c6113ad565b34801561078757600080fd5b5061058c6113bc565b34801561079c57600080fd5b506102ad6113cb565b3480156107b157600080fd5b50610480600480360360208110156107c857600080fd5b50356001600160a01b031661142c565b3480156107e457600080fd5b50610480600480360360208110156107fb57600080fd5b50351515611691565b34801561081057600080fd5b5061035b6004803603602081101561082757600080fd5b5035611725565b34801561083a57600080fd5b506104806004803603602081101561085157600080fd5b5035611798565b34801561086457600080fd5b5061035b6004803603604081101561087b57600080fd5b506001600160a01b038135169060200135611824565b34801561089d57600080fd5b5061035b600480360360408110156108b457600080fd5b506001600160a01b03813516906020013561188c565b3480156108d657600080fd5b506103846118a0565b3480156108eb57600080fd5b506103846004803603602081101561090257600080fd5b50356001600160a01b03166118d1565b34801561091e57600080fd5b506103ab611935565b34801561093357600080fd5b506103ab611944565b34801561094857600080fd5b50610480600480360360c081101561095f57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611955565b34801561099c57600080fd5b50610480600480360360408110156109b357600080fd5b506001600160a01b0381351690602001351515611bc8565b3480156109d757600080fd5b50610384611c3c565b3480156109ec57600080fd5b5061038460048036036040811015610a0357600080fd5b506001600160a01b0381358116916020013516611c42565b348015610a2757600080fd5b50610384611c6d565b348015610a3c57600080fd5b50610a6f60048036036040811015610a5357600080fd5b5080356001600160a01b0316906020013563ffffffff16611c91565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610a9b57600080fd5b5061048060048036036020811015610ab257600080fd5b50356001600160a01b0316611cbe565b348015610ace57600080fd5b5061048060048036036020811015610ae557600080fd5b503561ffff16611db6565b348015610afc57600080fd5b5061058c611eb0565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610baf610ba8611eb6565b8484611eba565b5060015b92915050565b60035490565b6103e881565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610bf6848484611fa6565b610c6684610c02611eb6565b610c6185604051806060016040528060288152602001612ecc602891396001600160a01b038a16600090815260026020526040812090610c40611eb6565b6001600160a01b03168152602081019190915260400160002054919061221f565b611eba565b5060019392505050565b6001600160a01b031660009081526007602052604090205460ff1690565b600c546001600160a01b03163314610cd75760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6001600160a01b038116610d1c5760405162461bcd60e51b815260040180806020018281038252603b8152602001806131bc603b913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600c546001600160a01b03163314610dca5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6103e861ffff82161115610e0f5760405162461bcd60e51b8152600401808060200182810382526053815260200180612f956053913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610baf610e83611eb6565b84610c618560026000610e94611eb6565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906122b6565b600654600160281b900461ffff1681565b610edd611eb6565b6000546001600160a01b03908116911614610f2d576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b610f378282612310565b6001600160a01b038083166000908152600d6020526040812054610f5c9216836123f6565b5050565b60085460ff1681565b600b546001600160a01b031681565b600a546001600160a01b031681565b600c546001600160a01b031690565b6001600160a01b039081166000908152600d60205260409020541690565b610fbe3382612538565b50565b600c546001600160a01b0316331461100a5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6127108161ffff16111561104f5760405162461bcd60e51b8152600401808060200182810382526060815260200180612f356060913960600191505060405180910390fd5b6006546040805161ffff600160281b909304831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26006805461ffff909216600160281b0266ffff000000000019909216919091179055565b600f6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b6110f9611eb6565b6000546001600160a01b03908116911614611149576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106111d35760405162461bcd60e51b815260040180806020018281038252602a815260200180613011602a913960400191505060405180910390fd5b6001600160a01b0383166000908152600f602052604090205463ffffffff1680611201576000915050610bb3565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff600019860181168552925290912054168310611270576001600160a01b0384166000908152600e602090815260408083206000199490940163ffffffff16835292905220600101549050610bb3565b6001600160a01b0384166000908152600e6020908152604080832083805290915290205463ffffffff168310156112ab576000915050610bb3565b600060001982015b8163ffffffff168163ffffffff16111561136457600282820363ffffffff160481036112dd612dae565b506001600160a01b0387166000908152600e6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561133f57602001519450610bb39350505050565b805163ffffffff168711156113565781935061135d565b6001820392505b50506112b3565b506001600160a01b0385166000908152600e6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60106020526000908152604090205481565b60006113b76113bc565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b600c546001600160a01b031633146114755760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b1580156114d157600080fd5b505afa1580156114e5573d6000803e3d6000fd5b505050506040513d60208110156114fb57600080fd5b5051600a54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561154d57600080fd5b505afa158015611561573d6000803e3d6000fd5b505050506040513d602081101561157757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156115c757600080fd5b505afa1580156115db573d6000803e3d6000fd5b505050506040513d60208110156115f157600080fd5b5051600b80546001600160a01b0319166001600160a01b0392831617908190551661164d5760405162461bcd60e51b81526004018080602001828103825260338152602001806130f76033913960400191505060405180910390fd5b600b54600a546040516001600160a01b03928316929091169033907f818b92153380010f4f980b2473d370fa9321420b060887ffbc2bc5efe33076f490600090a450565b600c546001600160a01b031633146116da5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a26008805460ff1916911515919091179055565b600061172f611eb6565b6000546001600160a01b0390811691161461177f576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b61179061178a611eb6565b83612310565b506001919050565b600c546001600160a01b031633146117e15760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6009546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600955565b6000610baf611831611eb6565b84610c6185604051806060016040528060258152602001613197602591396002600061185b611eb6565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061221f565b6000610baf611899611eb6565b8484611fa6565b6006546000906113b790612710906118cb90600160281b900461ffff166118c5610bb9565b906125cd565b90612626565b6001600160a01b0381166000908152600f602052604081205463ffffffff16806118fc57600061192e565b6001600160a01b0383166000908152600e6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600654610100900461ffff1681565b6006546301000000900461ffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866611980610b05565b8051906020012061198f612668565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611ac2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b145760405162461bcd60e51b8152600401808060200182810382526029815260200180612fe86029913960400191505060405180910390fd5b6001600160a01b03811660009081526010602052604090208054600181019091558914611b725760405162461bcd60e51b8152600401808060200182810382526025815260200180612e596025913960400191505060405180910390fd5b87421115611bb15760405162461bcd60e51b8152600401808060200182810382526029815260200180612ea36029913960400191505060405180910390fd5b611bbb818b612538565b505050505b505050505050565b600c546001600160a01b03163314611c115760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60095481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600e6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611cc6611eb6565b6000546001600160a01b03908116911614611d16576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b6001600160a01b038116611d5b5760405162461bcd60e51b8152600401808060200182810382526026815260200180612e336026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b03163314611dff5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b60648161ffff161115611e435760405162461bcd60e51b81526004018080602001828103825260448152602001806130726044913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f3eec69630b6f49d4e10eec296fce4baddec5f34c5430fb2cd72f8c4218f63fd092908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b61dead81565b3390565b6001600160a01b038316611eff5760405162461bcd60e51b8152600401808060200182810382526024815260200180612deb6024913960400191505060405180910390fd5b6001600160a01b038216611f445760405162461bcd60e51b81526004018080602001828103825260228152602001806131f76022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611fb36118a0565b1115612046576001600160a01b03831660009081526007602052604090205460ff16158015611ffb57506001600160a01b03821660009081526007602052604090205460ff16155b15612046576120086118a0565b8111156120465760405162461bcd60e51b8152600401808060200182810382526041815260200180612ef46041913960600191505060405180910390fd5b60085460ff16151560011480156120675750600b54600160a01b900460ff16155b801561207d5750600a546001600160a01b031615155b80156120935750600b546001600160a01b031615155b80156120ad5750600b546001600160a01b03878116911614155b80156120d257506120bc6113bc565b6001600160a01b0316866001600160a01b031614155b156120df576120df61266c565b6001600160a01b03851661dead14806121015750600654610100900461ffff16155b156121165761211186868661277f565b611bc0565b60065460009061213890612710906118cb908890610100900461ffff166125cd565b60065490915060009061215e906064906118cb9085906301000000900461ffff166125cd565b9050600061216c83836128d1565b905080820183146121ae5760405162461bcd60e51b8152600401808060200182810382526025815260200180612e7e6025913960400191505060405180910390fd5b60006121ba88856128d1565b905083810188146121fc5760405162461bcd60e51b8152600401808060200182810382526024815260200180612e0f6024913960400191505060405180910390fd5b6122098a61dead8561277f565b6122148a308461277f565b611bbb8a8a8361277f565b600081848411156122ae5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561227357818101518382015260200161225b565b50505050905090810190601f1680156122a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561192e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661236b576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461237890826122b6565b6003556001600160a01b03821660009081526001602052604090205461239e90826122b6565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156124185750600081115b15612533576001600160a01b038316156124aa576001600160a01b0383166000908152600f602052604081205463ffffffff16908161245857600061248a565b6001600160a01b0385166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061249882856128d1565b90506124a686848484612913565b5050505b6001600160a01b03821615612533576001600160a01b0382166000908152600f602052604081205463ffffffff1690816124e5576000612517565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061252582856122b6565b9050611bc085848484612913565b505050565b6001600160a01b038083166000908152600d60205260408120549091169061255f846110d6565b6001600160a01b038581166000818152600d602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46125c78284836123f6565b50505050565b6000826125dc57506000610bb3565b828202828482816125e957fe5b041461192e5760405162461bcd60e51b81526004018080602001828103825260218152602001806130b66021913960400191505060405180910390fd5b600061192e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a78565b4690565b600b805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff6101009091041660006126a2306110d6565b905060006126ae6118a0565b90508082116126bd57816126bf565b805b915060095482106127525760095460006126da826002612626565b905060006126e883836128d1565b9050476126f483612add565b600061270047836128d1565b905061270c8382612c83565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600b805460ff60a01b19169055565b6001600160a01b0383166127c45760405162461bcd60e51b8152600401808060200182810382526025815260200180612dc66025913960400191505060405180910390fd5b6001600160a01b0382166128095760405162461bcd60e51b81526004018080602001828103825260238152602001806131746023913960400191505060405180910390fd5b6128468160405180606001604052806026815260200161314e602691396001600160a01b038616600090815260016020526040902054919061221f565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461287590826122b6565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061192e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061221f565b60006129374360405180606001604052806037815260200161303b60379139612d50565b905060008463ffffffff1611801561298057506001600160a01b0385166000908152600e6020908152604080832063ffffffff6000198901811685529252909120548282169116145b156129bd576001600160a01b0385166000908152600e6020908152604080832063ffffffff60001989011684529091529020600101829055612a2e565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600e84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600f9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008183612ac75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561227357818101518382015260200161225b565b506000838581612ad357fe5b0495945050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612b0b57fe5b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b5f57600080fd5b505afa158015612b73573d6000803e3d6000fd5b505050506040513d6020811015612b8957600080fd5b5051815182906001908110612b9a57fe5b6001600160a01b039283166020918202929092010152600a54612bc09130911684611eba565b600a5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015612c46578181015183820152602001612c2e565b505050509050019650505050505050600060405180830381600087803b158015612c6f57600080fd5b505af1158015611bc0573d6000803e3d6000fd5b600a54612c9b9030906001600160a01b031684611eba565b600a546001600160a01b031663f305d719823085600080612cba610f87565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612d2557600080fd5b505af1158015612d39573d6000803e3d6000fd5b50505050506040513d60608110156125c757600080fd5b6000816401000000008410612da65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561227357818101518382015260200161225b565b509192915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573735341544f5348493a3a7472616e736665723a205461782076616c756520696e76616c69644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735341544f5348493a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655341544f5348493a3a7472616e736665723a204275726e2076616c756520696e76616c69645341544f5348493a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655341544f5348493a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e745341544f5348493a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e5341544f5348493a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e5341544f5348493a3a64656c656761746542795369673a20696e76616c6964207369676e61747572655341544f5348493a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645341544f5348493a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735341544f5348493a3a7570646174654275726e526174653a204275726e2072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725341544f5348493a3a7570646174655361746f736869526f757465723a20496e76616c6964207061697220616464726573732e6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5341544f5348493a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f206164647265737342455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220a39183f2c57866e84be8807ee4779a8e53d9f9da7cdf89026522984885b74c7564736f6c634300060c0033
Deployed Bytecode
0x60806040526004361061028c5760003560e01c8063782d6fe11161015a578063b4b5ea57116100c1578063dd62ed3e1161007a578063dd62ed3e146109e0578063e7a324dc14610a1b578063f1127ed814610a30578063f2fde38b14610a8f578063f607f2b414610ac2578063fccc281314610af057610293565b8063b4b5ea57146108df578063b65d08b014610912578063bed9985014610927578063c3cda5201461093c578063c7f59a6714610990578063d8248358146109cb57610293565b80639f9a4e7f116101135780639f9a4e7f146107d8578063a0712d6814610804578063a392e6741461082e578063a457c2d714610858578063a9059cbb14610891578063a9e75723146108ca57610293565b8063782d6fe1146106fa5780637ecebe0014610733578063893d20e8146107665780638da5cb5b1461077b57806395d89b4114610790578063998b1cdd146107a557610293565b80633ff8bf2e116101fe578063587cde1e116101b7578063587cde1e146105d25780635c19a95c146106055780636a141e2c146106385780636fcfff451461066657806370a08231146106b2578063715018a6146106e557610293565b80633ff8bf2e1461051457806340c10f19146105295780634a74bb021461056257806351e393eb1461057757806352ed40a4146105a8578063570ca735146105bd57610293565b806323b872dd1161025057806323b872dd146103d7578063269f534c1461041a57806329605e771461044d578063313ce56714610482578063376c2391146104ad57806339509351146104db57610293565b806306fdde0314610298578063095ea7b31461032257806318160ddd1461036f5780631ad9339a1461039657806320606b70146103c257610293565b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610b05565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032e57600080fd5b5061035b6004803603604081101561034557600080fd5b506001600160a01b038135169060200135610b9b565b604080519115158252519081900360200190f35b34801561037b57600080fd5b50610384610bb9565b60408051918252519081900360200190f35b3480156103a257600080fd5b506103ab610bbf565b6040805161ffff9092168252519081900360200190f35b3480156103ce57600080fd5b50610384610bc5565b3480156103e357600080fd5b5061035b600480360360608110156103fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610be9565b34801561042657600080fd5b5061035b6004803603602081101561043d57600080fd5b50356001600160a01b0316610c70565b34801561045957600080fd5b506104806004803603602081101561047057600080fd5b50356001600160a01b0316610c8e565b005b34801561048e57600080fd5b50610497610d78565b6040805160ff9092168252519081900360200190f35b3480156104b957600080fd5b50610480600480360360208110156104d057600080fd5b503561ffff16610d81565b3480156104e757600080fd5b5061035b600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610e76565b34801561052057600080fd5b506103ab610ec4565b34801561053557600080fd5b506104806004803603604081101561054c57600080fd5b506001600160a01b038135169060200135610ed5565b34801561056e57600080fd5b5061035b610f60565b34801561058357600080fd5b5061058c610f69565b604080516001600160a01b039092168252519081900360200190f35b3480156105b457600080fd5b5061058c610f78565b3480156105c957600080fd5b5061058c610f87565b3480156105de57600080fd5b5061058c600480360360208110156105f557600080fd5b50356001600160a01b0316610f96565b34801561061157600080fd5b506104806004803603602081101561062857600080fd5b50356001600160a01b0316610fb4565b34801561064457600080fd5b506104806004803603602081101561065b57600080fd5b503561ffff16610fc1565b34801561067257600080fd5b506106996004803603602081101561068957600080fd5b50356001600160a01b03166110be565b6040805163ffffffff9092168252519081900360200190f35b3480156106be57600080fd5b50610384600480360360208110156106d557600080fd5b50356001600160a01b03166110d6565b3480156106f157600080fd5b506104806110f1565b34801561070657600080fd5b506103846004803603604081101561071d57600080fd5b506001600160a01b038135169060200135611193565b34801561073f57600080fd5b506103846004803603602081101561075657600080fd5b50356001600160a01b031661139b565b34801561077257600080fd5b5061058c6113ad565b34801561078757600080fd5b5061058c6113bc565b34801561079c57600080fd5b506102ad6113cb565b3480156107b157600080fd5b50610480600480360360208110156107c857600080fd5b50356001600160a01b031661142c565b3480156107e457600080fd5b50610480600480360360208110156107fb57600080fd5b50351515611691565b34801561081057600080fd5b5061035b6004803603602081101561082757600080fd5b5035611725565b34801561083a57600080fd5b506104806004803603602081101561085157600080fd5b5035611798565b34801561086457600080fd5b5061035b6004803603604081101561087b57600080fd5b506001600160a01b038135169060200135611824565b34801561089d57600080fd5b5061035b600480360360408110156108b457600080fd5b506001600160a01b03813516906020013561188c565b3480156108d657600080fd5b506103846118a0565b3480156108eb57600080fd5b506103846004803603602081101561090257600080fd5b50356001600160a01b03166118d1565b34801561091e57600080fd5b506103ab611935565b34801561093357600080fd5b506103ab611944565b34801561094857600080fd5b50610480600480360360c081101561095f57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611955565b34801561099c57600080fd5b50610480600480360360408110156109b357600080fd5b506001600160a01b0381351690602001351515611bc8565b3480156109d757600080fd5b50610384611c3c565b3480156109ec57600080fd5b5061038460048036036040811015610a0357600080fd5b506001600160a01b0381358116916020013516611c42565b348015610a2757600080fd5b50610384611c6d565b348015610a3c57600080fd5b50610a6f60048036036040811015610a5357600080fd5b5080356001600160a01b0316906020013563ffffffff16611c91565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610a9b57600080fd5b5061048060048036036020811015610ab257600080fd5b50356001600160a01b0316611cbe565b348015610ace57600080fd5b5061048060048036036020811015610ae557600080fd5b503561ffff16611db6565b348015610afc57600080fd5b5061058c611eb0565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610baf610ba8611eb6565b8484611eba565b5060015b92915050565b60035490565b6103e881565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610bf6848484611fa6565b610c6684610c02611eb6565b610c6185604051806060016040528060288152602001612ecc602891396001600160a01b038a16600090815260026020526040812090610c40611eb6565b6001600160a01b03168152602081019190915260400160002054919061221f565b611eba565b5060019392505050565b6001600160a01b031660009081526007602052604090205460ff1690565b600c546001600160a01b03163314610cd75760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6001600160a01b038116610d1c5760405162461bcd60e51b815260040180806020018281038252603b8152602001806131bc603b913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600c546001600160a01b03163314610dca5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6103e861ffff82161115610e0f5760405162461bcd60e51b8152600401808060200182810382526053815260200180612f956053913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610baf610e83611eb6565b84610c618560026000610e94611eb6565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906122b6565b600654600160281b900461ffff1681565b610edd611eb6565b6000546001600160a01b03908116911614610f2d576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b610f378282612310565b6001600160a01b038083166000908152600d6020526040812054610f5c9216836123f6565b5050565b60085460ff1681565b600b546001600160a01b031681565b600a546001600160a01b031681565b600c546001600160a01b031690565b6001600160a01b039081166000908152600d60205260409020541690565b610fbe3382612538565b50565b600c546001600160a01b0316331461100a5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6127108161ffff16111561104f5760405162461bcd60e51b8152600401808060200182810382526060815260200180612f356060913960600191505060405180910390fd5b6006546040805161ffff600160281b909304831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26006805461ffff909216600160281b0266ffff000000000019909216919091179055565b600f6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b6110f9611eb6565b6000546001600160a01b03908116911614611149576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106111d35760405162461bcd60e51b815260040180806020018281038252602a815260200180613011602a913960400191505060405180910390fd5b6001600160a01b0383166000908152600f602052604090205463ffffffff1680611201576000915050610bb3565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff600019860181168552925290912054168310611270576001600160a01b0384166000908152600e602090815260408083206000199490940163ffffffff16835292905220600101549050610bb3565b6001600160a01b0384166000908152600e6020908152604080832083805290915290205463ffffffff168310156112ab576000915050610bb3565b600060001982015b8163ffffffff168163ffffffff16111561136457600282820363ffffffff160481036112dd612dae565b506001600160a01b0387166000908152600e6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561133f57602001519450610bb39350505050565b805163ffffffff168711156113565781935061135d565b6001820392505b50506112b3565b506001600160a01b0385166000908152600e6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60106020526000908152604090205481565b60006113b76113bc565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b600c546001600160a01b031633146114755760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b1580156114d157600080fd5b505afa1580156114e5573d6000803e3d6000fd5b505050506040513d60208110156114fb57600080fd5b5051600a54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561154d57600080fd5b505afa158015611561573d6000803e3d6000fd5b505050506040513d602081101561157757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156115c757600080fd5b505afa1580156115db573d6000803e3d6000fd5b505050506040513d60208110156115f157600080fd5b5051600b80546001600160a01b0319166001600160a01b0392831617908190551661164d5760405162461bcd60e51b81526004018080602001828103825260338152602001806130f76033913960400191505060405180910390fd5b600b54600a546040516001600160a01b03928316929091169033907f818b92153380010f4f980b2473d370fa9321420b060887ffbc2bc5efe33076f490600090a450565b600c546001600160a01b031633146116da5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a26008805460ff1916911515919091179055565b600061172f611eb6565b6000546001600160a01b0390811691161461177f576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b61179061178a611eb6565b83612310565b506001919050565b600c546001600160a01b031633146117e15760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6009546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600955565b6000610baf611831611eb6565b84610c6185604051806060016040528060258152602001613197602591396002600061185b611eb6565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061221f565b6000610baf611899611eb6565b8484611fa6565b6006546000906113b790612710906118cb90600160281b900461ffff166118c5610bb9565b906125cd565b90612626565b6001600160a01b0381166000908152600f602052604081205463ffffffff16806118fc57600061192e565b6001600160a01b0383166000908152600e6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600654610100900461ffff1681565b6006546301000000900461ffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866611980610b05565b8051906020012061198f612668565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611ac2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b145760405162461bcd60e51b8152600401808060200182810382526029815260200180612fe86029913960400191505060405180910390fd5b6001600160a01b03811660009081526010602052604090208054600181019091558914611b725760405162461bcd60e51b8152600401808060200182810382526025815260200180612e596025913960400191505060405180910390fd5b87421115611bb15760405162461bcd60e51b8152600401808060200182810382526029815260200180612ea36029913960400191505060405180910390fd5b611bbb818b612538565b505050505b505050505050565b600c546001600160a01b03163314611c115760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60095481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600e6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611cc6611eb6565b6000546001600160a01b03908116911614611d16576040805162461bcd60e51b815260206004820181905260248201526000805160206130d7833981519152604482015290519081900360640190fd5b6001600160a01b038116611d5b5760405162461bcd60e51b8152600401808060200182810382526026815260200180612e336026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b03163314611dff5760405162461bcd60e51b815260040180806020018281038252602481526020018061312a6024913960400191505060405180910390fd5b60648161ffff161115611e435760405162461bcd60e51b81526004018080602001828103825260448152602001806130726044913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f3eec69630b6f49d4e10eec296fce4baddec5f34c5430fb2cd72f8c4218f63fd092908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b61dead81565b3390565b6001600160a01b038316611eff5760405162461bcd60e51b8152600401808060200182810382526024815260200180612deb6024913960400191505060405180910390fd5b6001600160a01b038216611f445760405162461bcd60e51b81526004018080602001828103825260228152602001806131f76022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611fb36118a0565b1115612046576001600160a01b03831660009081526007602052604090205460ff16158015611ffb57506001600160a01b03821660009081526007602052604090205460ff16155b15612046576120086118a0565b8111156120465760405162461bcd60e51b8152600401808060200182810382526041815260200180612ef46041913960600191505060405180910390fd5b60085460ff16151560011480156120675750600b54600160a01b900460ff16155b801561207d5750600a546001600160a01b031615155b80156120935750600b546001600160a01b031615155b80156120ad5750600b546001600160a01b03878116911614155b80156120d257506120bc6113bc565b6001600160a01b0316866001600160a01b031614155b156120df576120df61266c565b6001600160a01b03851661dead14806121015750600654610100900461ffff16155b156121165761211186868661277f565b611bc0565b60065460009061213890612710906118cb908890610100900461ffff166125cd565b60065490915060009061215e906064906118cb9085906301000000900461ffff166125cd565b9050600061216c83836128d1565b905080820183146121ae5760405162461bcd60e51b8152600401808060200182810382526025815260200180612e7e6025913960400191505060405180910390fd5b60006121ba88856128d1565b905083810188146121fc5760405162461bcd60e51b8152600401808060200182810382526024815260200180612e0f6024913960400191505060405180910390fd5b6122098a61dead8561277f565b6122148a308461277f565b611bbb8a8a8361277f565b600081848411156122ae5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561227357818101518382015260200161225b565b50505050905090810190601f1680156122a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561192e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661236b576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461237890826122b6565b6003556001600160a01b03821660009081526001602052604090205461239e90826122b6565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156124185750600081115b15612533576001600160a01b038316156124aa576001600160a01b0383166000908152600f602052604081205463ffffffff16908161245857600061248a565b6001600160a01b0385166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061249882856128d1565b90506124a686848484612913565b5050505b6001600160a01b03821615612533576001600160a01b0382166000908152600f602052604081205463ffffffff1690816124e5576000612517565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061252582856122b6565b9050611bc085848484612913565b505050565b6001600160a01b038083166000908152600d60205260408120549091169061255f846110d6565b6001600160a01b038581166000818152600d602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46125c78284836123f6565b50505050565b6000826125dc57506000610bb3565b828202828482816125e957fe5b041461192e5760405162461bcd60e51b81526004018080602001828103825260218152602001806130b66021913960400191505060405180910390fd5b600061192e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a78565b4690565b600b805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff6101009091041660006126a2306110d6565b905060006126ae6118a0565b90508082116126bd57816126bf565b805b915060095482106127525760095460006126da826002612626565b905060006126e883836128d1565b9050476126f483612add565b600061270047836128d1565b905061270c8382612c83565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600b805460ff60a01b19169055565b6001600160a01b0383166127c45760405162461bcd60e51b8152600401808060200182810382526025815260200180612dc66025913960400191505060405180910390fd5b6001600160a01b0382166128095760405162461bcd60e51b81526004018080602001828103825260238152602001806131746023913960400191505060405180910390fd5b6128468160405180606001604052806026815260200161314e602691396001600160a01b038616600090815260016020526040902054919061221f565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461287590826122b6565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061192e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061221f565b60006129374360405180606001604052806037815260200161303b60379139612d50565b905060008463ffffffff1611801561298057506001600160a01b0385166000908152600e6020908152604080832063ffffffff6000198901811685529252909120548282169116145b156129bd576001600160a01b0385166000908152600e6020908152604080832063ffffffff60001989011684529091529020600101829055612a2e565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600e84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600f9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008183612ac75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561227357818101518382015260200161225b565b506000838581612ad357fe5b0495945050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612b0b57fe5b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b5f57600080fd5b505afa158015612b73573d6000803e3d6000fd5b505050506040513d6020811015612b8957600080fd5b5051815182906001908110612b9a57fe5b6001600160a01b039283166020918202929092010152600a54612bc09130911684611eba565b600a5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015612c46578181015183820152602001612c2e565b505050509050019650505050505050600060405180830381600087803b158015612c6f57600080fd5b505af1158015611bc0573d6000803e3d6000fd5b600a54612c9b9030906001600160a01b031684611eba565b600a546001600160a01b031663f305d719823085600080612cba610f87565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612d2557600080fd5b505af1158015612d39573d6000803e3d6000fd5b50505050506040513d60608110156125c757600080fd5b6000816401000000008410612da65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561227357818101518382015260200161225b565b509192915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573735341544f5348493a3a7472616e736665723a205461782076616c756520696e76616c69644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735341544f5348493a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655341544f5348493a3a7472616e736665723a204275726e2076616c756520696e76616c69645341544f5348493a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655341544f5348493a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e745341544f5348493a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e5341544f5348493a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e5341544f5348493a3a64656c656761746542795369673a20696e76616c6964207369676e61747572655341544f5348493a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645341544f5348493a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735341544f5348493a3a7570646174654275726e526174653a204275726e2072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725341544f5348493a3a7570646174655361746f736869526f757465723a20496e76616c6964207061697220616464726573732e6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5341544f5348493a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f206164647265737342455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220a39183f2c57866e84be8807ee4779a8e53d9f9da7cdf89026522984885b74c7564736f6c634300060c0033
Deployed Bytecode Sourcemap
30266:20368:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14159:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15738:161;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15738:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14727:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;30552:55;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43038:122;;;;;;;;;;;;;:::i;16370:364::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16370:364:0;;;;;;;;;;;;;;;;;:::i;38305:136::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38305:136:0;-1:-1:-1;;;;;38305:136:0;;:::i;41747:276::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41747:276:0;-1:-1:-1;;;;;41747:276:0;;:::i;:::-;;14571:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38655:366;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38655:366:0;;;;:::i;17142:210::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17142:210:0;;;;;;;;:::i;30809:40::-;;;;;;;;;;;;;:::i;33751:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33751:162:0;;;;;;;;:::i;31008:41::-;;;;;;;;;;;;;:::i;31331:26::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;31331:26:0;;;;;;;;;;;;;;31260:39;;;;;;;;;;;;;:::i;41502:85::-;;;;;;;;;;;;;:::i;44021:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44021:149:0;-1:-1:-1;;;;;44021:149:0;;:::i;44314:104::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44314:104:0;-1:-1:-1;;;;;44314:104:0;;:::i;39535:407::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39535:407:0;;;;:::i;42916:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42916:49:0;-1:-1:-1;;;;;42916:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;14889:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14889:119:0;-1:-1:-1;;;;;14889:119:0;;:::i;2755:148::-;;;;;;;;;;;;;:::i;46926:1256::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46926:1256:0;;;;;;;;:::i;43452:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43452:39:0;-1:-1:-1;;;;;43452:39:0;;:::i;13995:94::-;;;;;;;;;;;;;:::i;2113:79::-;;;;;;;;;;;;;:::i;14370:96::-;;;;;;;;;;;;;:::i;40993:425::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40993:425:0;-1:-1:-1;;;;;40993:425:0;;:::i;40689:189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40689:189:0;;;;:::i;18333:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18333:130:0;;:::i;40067:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40067:209:0;;:::i;17854:261::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17854:261:0;;;;;;;;:::i;15220:167::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15220:167:0;;;;;;;;:::i;38075:136::-;;;;;;;;;;;;;:::i;46240:255::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46240:255:0;-1:-1:-1;;;;;46240:255:0;;:::i;30360:35::-;;;;;;;;;;;;;:::i;30482:27::-;;;;;;;;;;;;;:::i;44852:1187::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44852:1187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;40413:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40413:151:0;;;;;;;;;;:::i;31110:45::-;;;;;;;;;;;;;:::i;15449:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15449:143:0;;;;;;;;;;:::i;43254:117::-;;;;;;;;;;;;;:::i;42777:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42777:70:0;;-1:-1:-1;;;;;42777:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;3058:244;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3058:244:0;-1:-1:-1;;;;;3058:244:0;;:::i;39134:273::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39134:273:0;;;;:::i;30635:81::-;;;;;;;;;;;;;:::i;14159:92::-;14238:5;14231:12;;;;;;;;-1:-1:-1;;14231:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14205:13;;14231:12;;14238:5;;14231:12;;14238:5;14231:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14159:92;:::o;15738:161::-;15813:4;15830:39;15839:12;:10;:12::i;:::-;15853:7;15862:6;15830:8;:39::i;:::-;-1:-1:-1;15887:4:0;15738:161;;;;;:::o;14727:100::-;14807:12;;14727:100;:::o;30552:55::-;30603:4;30552:55;:::o;43038:122::-;43080:80;43038:122;:::o;16370:364::-;16469:4;16486:36;16496:6;16504:9;16515:6;16486:9;:36::i;:::-;16533:171;16556:6;16577:12;:10;:12::i;:::-;16604:89;16642:6;16604:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16604:19:0;;;;;;:11;:19;;;;;;16624:12;:10;:12::i;:::-;-1:-1:-1;;;;;16604:33:0;;;;;;;;;;;;-1:-1:-1;16604:33:0;;;:89;:37;:89::i;:::-;16533:8;:171::i;:::-;-1:-1:-1;16722:4:0;16370:364;;;;;:::o;38305:136::-;-1:-1:-1;;;;;38401:32:0;38377:4;38401:32;;;:22;:32;;;;;;;;;38305:136::o;41747:276::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41833:25:0;::::1;41825:97;;;;-1:-1:-1::0;;;41825:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41958:9;::::0;41938:43:::1;::::0;-1:-1:-1;;;;;41938:43:0;;::::1;::::0;41958:9:::1;::::0;41938:43:::1;::::0;41958:9:::1;::::0;41938:43:::1;41992:9;:23:::0;;-1:-1:-1;;;;;;41992:23:0::1;-1:-1:-1::0;;;;;41992:23:0;;;::::1;::::0;;;::::1;::::0;;41747:276::o;14571:92::-;14646:9;;;;14571:92;:::o;38655:366::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30603:4:::1;38750:45;::::0;::::1;;;38742:141;;;;-1:-1:-1::0;;;38742:141:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38934:15;::::0;38899:69:::1;::::0;;38934:15:::1;;::::0;;::::1;::::0;::::1;38899:69:::0;;;;::::1;;::::0;::::1;::::0;;;38922:10:::1;::::0;38899:69:::1;::::0;;;;;;;::::1;38979:15;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;38979:34:0;;::::1;::::0;;;::::1;::::0;;38655:366::o;17142:210::-;17222:4;17239:83;17248:12;:10;:12::i;:::-;17262:7;17271:50;17310:10;17271:11;:25;17283:12;:10;:12::i;:::-;-1:-1:-1;;;;;17271:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17271:25:0;;;:34;;;;;;;;;;;:38;:50::i;30809:40::-;;;-1:-1:-1;;;30809:40:0;;;;;:::o;33751:162::-;2335:12;:10;:12::i;:::-;2325:6;;-1:-1:-1;;;;;2325:6:0;;;:22;;;2317:67;;;;;-1:-1:-1;;;2317:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:67:0;;;;;;;;;;;;;;;33823:19:::1;33829:3;33834:7;33823:5;:19::i;:::-;-1:-1:-1::0;;;;;33880:15:0;;::::1;33876:1;33880:15:::0;;;:10:::1;:15;::::0;;;;;33853:52:::1;::::0;33880:15:::1;33897:7:::0;33853:14:::1;:52::i;:::-;33751:162:::0;;:::o;31008:41::-;;;;;;:::o;31331:26::-;;;-1:-1:-1;;;;;31331:26:0;;:::o;31260:39::-;;;-1:-1:-1;;;;;31260:39:0;;:::o;41502:85::-;41570:9;;-1:-1:-1;;;;;41570:9:0;41502:85;:::o;44021:149::-;-1:-1:-1;;;;;44141:21:0;;;44109:7;44141:21;;;:10;:21;;;;;;;;44021:149::o;44314:104::-;44378:32;44388:10;44400:9;44378;:32::i;:::-;44314:104;:::o;39535:407::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39668:5:::1;39642:22;:31;;;;39634:140;;;;-1:-1:-1::0;;;39634:140:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39831:21;::::0;39790:87:::1;::::0;;39831:21:::1;-1:-1:-1::0;;;39831:21:0;;::::1;::::0;::::1;39790:87:::0;;;;::::1;;::::0;::::1;::::0;;;39819:10:::1;::::0;39790:87:::1;::::0;;;;;;;::::1;39888:21;:46:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;39888:46:0::1;-1:-1:-1::0;;39888:46:0;;::::1;::::0;;;::::1;::::0;;39535:407::o;42916:49::-;;;;;;;;;;;;;;;:::o;14889:119::-;-1:-1:-1;;;;;14982:18:0;14955:7;14982:18;;;:9;:18;;;;;;;14889:119::o;2755:148::-;2335:12;:10;:12::i;:::-;2325:6;;-1:-1:-1;;;;;2325:6:0;;;:22;;;2317:67;;;;;-1:-1:-1;;;2317:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:67:0;;;;;;;;;;;;;;;2862:1:::1;2846:6:::0;;2825:40:::1;::::0;-1:-1:-1;;;;;2846:6:0;;::::1;::::0;2825:40:::1;::::0;2862:1;;2825:40:::1;2893:1;2876:19:::0;;-1:-1:-1;;;;;;2876:19:0::1;::::0;;2755:148::o;46926:1256::-;47034:7;47081:12;47067:11;:26;47059:81;;;;-1:-1:-1;;;47059:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47175:23:0;;47153:19;47175:23;;;:14;:23;;;;;;;;47213:17;47209:58;;47254:1;47247:8;;;;;47209:58;-1:-1:-1;;;;;47327:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;47348:16:0;;47327:38;;;;;;;;;:48;;:63;-1:-1:-1;47323:147:0;;-1:-1:-1;;;;;47414:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;47435:16:0;;;;47414:38;;;;;;;;47450:1;47414:44;;;-1:-1:-1;47407:51:0;;47323:147;-1:-1:-1;;;;;47531:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;47527:88:0;;;47602:1;47595:8;;;;;47527:88;47627:12;-1:-1:-1;;47669:16:0;;47696:428;47711:5;47703:13;;:5;:13;;;47696:428;;;47775:1;47758:13;;;47757:19;;;47749:27;;47818:20;;:::i;:::-;-1:-1:-1;;;;;;47841:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;47818:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47888:27;;47884:229;;;47943:8;;;;-1:-1:-1;47936:15:0;;-1:-1:-1;;;;47936:15:0;47884:229;47977:12;;:26;;;-1:-1:-1;47973:140:0;;;48032:6;48024:14;;47973:140;;;48096:1;48087:6;:10;48079:18;;47973:140;47696:428;;;;;-1:-1:-1;;;;;;48141:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;46926:1256:0;;;;:::o;43452:39::-;;;;;;;;;;;;;:::o;13995:94::-;14047:7;14074;:5;:7::i;:::-;14067:14;;13995:94;:::o;2113:79::-;2151:7;2178:6;-1:-1:-1;;;;;2178:6:0;2113:79;:::o;14370:96::-;14451:7;14444:14;;;;;;;;-1:-1:-1;;14444:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14418:13;;14444:14;;14451:7;;14444:14;;14451:7;14444:14;;;;;;;;;;;;;;;;;;;;;;;;40993:425;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41070:13:::1;:43:::0;;-1:-1:-1;;;;;;41070:43:0::1;-1:-1:-1::0;;;;;41070:43:0;;::::1;::::0;;;::::1;::::0;;;;41156:23:::1;::::0;;-1:-1:-1;;;41156:23:0;;;;:13;;;::::1;::::0;:21:::1;::::0;:23:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;:13;:23;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41156:23:0;41204:13:::1;::::0;:20:::1;::::0;;-1:-1:-1;;;41204:20:0;;;;-1:-1:-1;;;;;41138:50:0;;::::1;::::0;::::1;::::0;41197:4:::1;::::0;41204:13;::::1;::::0;:18:::1;::::0;:20:::1;::::0;;::::1;::::0;41156:23:::1;::::0;41204:20;;;;;;;;:13;:20;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41204:20:0;41138:87:::1;::::0;;-1:-1:-1;;;;;;41138:87:0::1;::::0;;;;;;-1:-1:-1;;;;;41138:87:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;41204:20:::1;::::0;41138:87;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41138:87:0;41124:11:::1;:101:::0;;-1:-1:-1;;;;;;41124:101:0::1;-1:-1:-1::0;;;;;41124:101:0;;::::1;;::::0;;;;41244:11:::1;41236:89;;;;-1:-1:-1::0;;;41236:89:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41398:11;::::0;41382:13:::1;::::0;41341:69:::1;::::0;-1:-1:-1;;;;;41398:11:0;;::::1;::::0;41382:13;;::::1;::::0;41362:10:::1;::::0;41341:69:::1;::::0;41398:11:::1;::::0;41341:69:::1;40993:425:::0;:::o;40689:189::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40777:50:::1;::::0;;;::::1;;::::0;;;;40806:10:::1;::::0;40777:50:::1;::::0;;;;;::::1;::::0;;::::1;40838:21;:32:::0;;-1:-1:-1;;40838:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;40689:189::o;18333:130::-;18389:4;2335:12;:10;:12::i;:::-;2325:6;;-1:-1:-1;;;;;2325:6:0;;;:22;;;2317:67;;;;;-1:-1:-1;;;2317:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:67:0;;;;;;;;;;;;;;;18406:27:::1;18412:12;:10;:12::i;:::-;18426:6;18406:5;:27::i;:::-;-1:-1:-1::0;18451:4:0::1;18333:130:::0;;;:::o;40067:209::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40195:18:::1;::::0;40157:69:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;40183:10:::1;::::0;40157:69:::1;::::0;;;;;;;::::1;40237:18;:31:::0;40067:209::o;17854:261::-;17939:4;17956:129;17965:12;:10;:12::i;:::-;17979:7;17988:96;18027:15;17988:96;;;;;;;;;;;;;;;;;:11;:25;18000:12;:10;:12::i;:::-;-1:-1:-1;;;;;17988:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17988:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15220:167::-;15298:4;15315:42;15325:12;:10;:12::i;:::-;15339:9;15350:6;15315:9;:42::i;38075:136::-;38170:21;;38125:7;;38152:51;;38197:5;;38152:40;;-1:-1:-1;;;38170:21:0;;;;38152:13;:11;:13::i;:::-;:17;;:40::i;:::-;:44;;:51::i;46240:255::-;-1:-1:-1;;;;;46379:23:0;;46332:7;46379:23;;;:14;:23;;;;;;;;46420:16;:67;;46486:1;46420:67;;;-1:-1:-1;;;;;46439:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;46460:16:0;;46439:38;;;;;;;;46475:1;46439:44;;46420:67;46413:74;46240:255;-1:-1:-1;;;46240:255:0:o;30360:35::-;;;;;;;;;:::o;30482:27::-;;;;;;;;;:::o;44852:1187::-;45045:23;43080:80;45174:6;:4;:6::i;:::-;45158:24;;;;;;45201:12;:10;:12::i;:::-;45095:165;;;;;;;;;;;;;;;;;;;;;;;;;45240:4;45095:165;;;;;;;;;;;;;;;;;;;;;;;45071:200;;;;;;43300:71;45329:140;;;;-1:-1:-1;;;;;45329:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45305:175;;;;;;-1:-1:-1;;;45534:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45510:158;;;;;;;;;-1:-1:-1;45701:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45071:200;;-1:-1:-1;45305:175:0;;45510:158;;-1:-1:-1;;45701:26:0;;;;;;;-1:-1:-1;;45701:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45701:26:0;;-1:-1:-1;;45701:26:0;;;-1:-1:-1;;;;;;;45746:23:0;;45738:77;;;;-1:-1:-1;;;45738:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45843:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;45834:28;;45826:78;;;;-1:-1:-1;;;45826:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45930:6;45923:3;:13;;45915:67;;;;-1:-1:-1;;;45915:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46000:31;46010:9;46021;46000;:31::i;:::-;45993:38;;;;44852:1187;;;;;;;:::o;40413:151::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40512:32:0;;;::::1;;::::0;;;:22:::1;:32;::::0;;;;:44;;-1:-1:-1;;40512:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;40413:151::o;31110:45::-;;;;:::o;15449:143::-;-1:-1:-1;;;;;15557:18:0;;;15530:7;15557:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15449:143::o;43254:117::-;43300:71;43254:117;:::o;42777:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3058:244::-;2335:12;:10;:12::i;:::-;2325:6;;-1:-1:-1;;;;;2325:6:0;;;:22;;;2317:67;;;;;-1:-1:-1;;;2317:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3147:22:0;::::1;3139:73;;;;-1:-1:-1::0;;;3139:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3249:6;::::0;;3228:38:::1;::::0;-1:-1:-1;;;;;3228:38:0;;::::1;::::0;3249:6;::::1;::::0;3228:38:::1;::::0;::::1;3277:6;:17:::0;;-1:-1:-1;;;;;;3277:17:0::1;-1:-1:-1::0;;;;;3277:17:0;;;::::1;::::0;;;::::1;::::0;;3058:244::o;39134:273::-;32370:9;;-1:-1:-1;;;;;32370:9:0;32383:10;32370:23;32362:72;;;;-1:-1:-1;;;32362:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39228:3:::1;39215:9;:16;;;;39207:97;;;;-1:-1:-1::0;;;39207:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39348:8;::::0;39320:48:::1;::::0;;39348:8:::1;::::0;;;::::1;::::0;::::1;39320:48:::0;;;;::::1;;::::0;::::1;::::0;;;39336:10:::1;::::0;39320:48:::1;::::0;;;;;;;::::1;39379:8;:20:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;39379:20:0;;::::1;::::0;;;::::1;::::0;;39134:273::o;30635:81::-;30674:42;30635:81;:::o;669:106::-;757:10;669:106;:::o;21142:339::-;-1:-1:-1;;;;;21237:19:0;;21229:68;;;;-1:-1:-1;;;21229:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21316:21:0;;21308:68;;;;-1:-1:-1;;;21308:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21389:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21441:32;;;;;;;;;;;;;;;;;21142:339;;;:::o;33993:1455::-;34099:6;34107:9;34118:6;32569:1;32547:19;:17;:19::i;:::-;:23;32543:337;;;-1:-1:-1;;;;;32609:30:0;;;;;;:22;:30;;;;;;;;:39;;;:102;;-1:-1:-1;;;;;;32669:33:0;;;;;;:22;:33;;;;;;;;:42;32609:102;32587:282;;;32764:19;:17;:19::i;:::-;32754:6;:29;;32746:107;;;;-1:-1:-1;;;32746:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34184:21:::1;::::0;::::1;;:29;;:21:::0;:29:::1;:72:::0;::::1;;;-1:-1:-1::0;34230:17:0::1;::::0;-1:-1:-1;;;34230:17:0;::::1;;;:26;34184:72;:125;;;;-1:-1:-1::0;34281:13:0::1;::::0;-1:-1:-1;;;;;34281:13:0::1;34273:36:::0;::::1;34184:125;:167;;;;-1:-1:-1::0;34326:11:0::1;::::0;-1:-1:-1;;;;;34326:11:0::1;:25:::0;::::1;34184:167;:205;;;;-1:-1:-1::0;34378:11:0::1;::::0;-1:-1:-1;;;;;34368:21:0;;::::1;34378:11:::0;::::1;34368:21;;34184:205;:239;;;;;34416:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;34406:17:0::1;:6;-1:-1:-1::0;;;;;34406:17:0::1;;;34184:239;34166:312;;;34450:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;34494:25:0;::::1;30674:42;34494:25;::::0;:49:::1;;-1:-1:-1::0;34523:15:0::1;::::0;::::1;::::0;::::1;;;:20:::0;34494:49:::1;34490:951;;;34560:42;34576:6;34584:9;34595:6;34560:15;:42::i;:::-;34490:951;;;34718:15;::::0;34687:17:::1;::::0;34707:38:::1;::::0;34739:5:::1;::::0;34707:27:::1;::::0;:6;;34718:15:::1;::::0;::::1;;;34707:10;:27::i;:38::-;34795:8;::::0;34687:58;;-1:-1:-1;34760:18:0::1;::::0;34781:32:::1;::::0;34809:3:::1;::::0;34781:23:::1;::::0;34687:58;;34795:8;;::::1;;;34781:13;:23::i;:32::-;34760:53:::0;-1:-1:-1;34828:23:0::1;34854:25;:9:::0;34760:53;34854:13:::1;:25::i;:::-;34828:51;;34928:15;34915:10;:28;34902:9;:41;34894:91;;;;-1:-1:-1::0;;;34894:91:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35060:18;35081:21;:6:::0;35092:9;35081:10:::1;:21::i;:::-;35060:42;;35148:9;35135:10;:22;35125:6;:32;35117:81;;;;-1:-1:-1::0;;;35117:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35215:49;35231:6;30674:42;35253:10;35215:15;:49::i;:::-;35279:55;35295:6;35311:4;35318:15;35279;:55::i;:::-;35349:46;35365:6;35373:9;35384:10;35349:15;:46::i;8302:192::-:0;8388:7;8424:12;8416:6;;;;8408:29;;;;-1:-1:-1;;;8408:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8460:5:0;;;8302:192::o;7399:181::-;7457:7;7489:5;;;7513:6;;;;7505:46;;;;;-1:-1:-1;;;7505:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19714:308;-1:-1:-1;;;;;19790:21:0;;19782:65;;;;;-1:-1:-1;;;19782:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19875:12;;:24;;19892:6;19875:16;:24::i;:::-;19860:12;:39;-1:-1:-1;;;;;19931:18:0;;;;;;:9;:18;;;;;;:30;;19954:6;19931:22;:30::i;:::-;-1:-1:-1;;;;;19910:18:0;;;;;;:9;:18;;;;;;;;:51;;;;19977:37;;;;;;;19910:18;;;;19977:37;;;;;;;;;;19714:308;;:::o;48639:947::-;48745:6;-1:-1:-1;;;;;48735:16:0;:6;-1:-1:-1;;;;;48735:16:0;;;:30;;;;;48764:1;48755:6;:10;48735:30;48731:848;;;-1:-1:-1;;;;;48786:20:0;;;48782:385;;-1:-1:-1;;;;;48894:22:0;;48875:16;48894:22;;;:14;:22;;;;;;;;;48955:13;:60;;49014:1;48955:60;;;-1:-1:-1;;;;;48971:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;48991:13:0;;48971:34;;;;;;;;49003:1;48971:40;;48955:60;48935:80;-1:-1:-1;49034:17:0;49054:21;48935:80;49068:6;49054:13;:21::i;:::-;49034:41;;49094:57;49111:6;49119:9;49130;49141;49094:16;:57::i;:::-;48782:385;;;;-1:-1:-1;;;;;49187:20:0;;;49183:385;;-1:-1:-1;;;;;49295:22:0;;49276:16;49295:22;;;:14;:22;;;;;;;;;49356:13;:60;;49415:1;49356:60;;;-1:-1:-1;;;;;49372:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;49392:13:0;;49372:34;;;;;;;;49404:1;49372:40;;49356:60;49336:80;-1:-1:-1;49435:17:0;49455:21;49336:80;49469:6;49455:13;:21::i;:::-;49435:41;;49495:57;49512:6;49520:9;49531;49542;49495:16;:57::i;49183:385::-;48639:947;;;:::o;48190:441::-;-1:-1:-1;;;;;48307:21:0;;;48281:23;48307:21;;;:10;:21;;;;;;;;;;48366:20;48318:9;48366;:20::i;:::-;-1:-1:-1;;;;;48445:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;48445:33:0;;;;;;;;;;48496:54;;48339:47;;-1:-1:-1;48445:33:0;48496:54;;;;;;48445:21;48496:54;48563:60;48578:15;48595:9;48606:16;48563:14;:60::i;:::-;48190:441;;;;:::o;8753:471::-;8811:7;9056:6;9052:47;;-1:-1:-1;9086:1:0;9079:8;;9052:47;9123:5;;;9127:1;9123;:5;:1;9147:5;;;;;:10;9139:56;;;;-1:-1:-1;;;9139:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9700:132;9758:7;9785:39;9789:1;9792;9785:39;;;;;;;;;;;;;;;;;:3;:39::i;50478:153::-;50588:9;50478:153;:::o;35487:1343::-;32939:17;:24;;-1:-1:-1;;;;32939:24:0;-1:-1:-1;;;32939:24:0;;;33089:15:::1;::::0;;-1:-1:-1;;33115:19:0;::::1;::::0;;;33089:15:::1;32939:24:::0;33089:15;;::::1;;32939:24:::0;35591::::2;35609:4;35591:9;:24::i;:::-;35560:55;;35626:25;35654:19;:17;:19::i;:::-;35626:47;;35730:17;35707:20;:40;:83;;35770:20;35707:83;;;35750:17;35707:83;35684:106;;35831:18;;35807:20;:42;35803:1020;;35933:18;::::0;35909:21:::2;36036:20;35933:18:::0;36054:1:::2;36036:17;:20::i;:::-;36021:35:::0;-1:-1:-1;36071:17:0::2;36091:23;:13:::0;36021:35;36091:17:::2;:23::i;:::-;36071:43:::0;-1:-1:-1;36437:21:0::2;36511:22;36528:4:::0;36511:16:::2;:22::i;:::-;36602:18;36623:41;:21;36649:14:::0;36623:25:::2;:41::i;:::-;36602:62;;36711:35;36724:9;36735:10;36711:12;:35::i;:::-;36768:43;::::0;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;::::2;::::0;;;;;;;::::2;35803:1020;;;;;;-1:-1:-1::0;;33157:15:0::1;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;33157:34:0;;::::1;::::0;;;::::1;::::0;;32986:17;:25;;-1:-1:-1;;;;32986:25:0;;;35487:1343::o;18953:480::-;-1:-1:-1;;;;;19060:20:0;;19052:70;;;;-1:-1:-1;;;19052:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19141:23:0;;19133:71;;;;-1:-1:-1;;;19133:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19237;19259:6;19237:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19237:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;19217:17:0;;;;;;;:9;:17;;;;;;:91;;;;19342:20;;;;;;;:32;;19367:6;19342:24;:32::i;:::-;-1:-1:-1;;;;;19319:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;19390:35;;;;;;;19319:20;;19390:35;;;;;;;;;;;;;18953:480;;;:::o;7863:136::-;7921:7;7948:43;7952:1;7955;7948:43;;;;;;;;;;;;;;;;;:3;:43::i;49594:707::-;49773:18;49794:79;49801:12;49794:79;;;;;;;;;;;;;;;;;:6;:79::i;:::-;49773:100;;49905:1;49890:12;:16;;;:85;;;;-1:-1:-1;;;;;;49910:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;49933:16:0;;49910:40;;;;;;;;;:50;:65;;;:50;;:65;49890:85;49886:339;;;-1:-1:-1;;;;;49992:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;50015:16:0;;49992:40;;;;;;;;50030:1;49992:46;:57;;;49886:339;;;50121:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50082:22:0;;-1:-1:-1;50082:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;50082:72:0;;;;;;;;;;;;;50169:25;;;:14;:25;;;;;;:44;;50197:16;;;50169:44;;;;;;;;;;49886:339;50242:51;;;;;;;;;;;;;;-1:-1:-1;;;;;50242:51:0;;;;;;;;;;;49594:707;;;;;:::o;10328:278::-;10414:7;10449:12;10442:5;10434:28;;;;-1:-1:-1;;;10434:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10473:9;10489:1;10485;:5;;;;;;;10328:278;-1:-1:-1;;;;;10328:278:0:o;36872:583::-;37022:16;;;37036:1;37022:16;;;36998:21;37022:16;;;;;36998:21;37022:16;;;;;;;;;;-1:-1:-1;37022:16:0;36998:40;;37067:4;37049;37054:1;37049:7;;;;;;;;-1:-1:-1;;;;;37049:23:0;;;:7;;;;;;;;;;:23;;;;37093:13;;:20;;;-1:-1:-1;;;37093:20:0;;;;:13;;;;;:18;;:20;;;;;37049:7;;37093:20;;;;;:13;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37093:20:0;37083:7;;:4;;37088:1;;37083:7;;;;;;-1:-1:-1;;;;;37083:30:0;;;:7;;;;;;;;;:30;37158:13;;37126:60;;37143:4;;37158:13;37174:11;37126:8;:60::i;:::-;37225:13;;:222;;-1:-1:-1;;;37225:222:0;;;;;;;;:13;:222;;;;;;37401:4;37225:222;;;;;;37421:15;37225:222;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37225:13:0;;;;:64;;37304:11;;37374:4;;37401;37421:15;37225:222;;;;;;;;;;;;;;;;:13;:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37491:512;37671:13;;37639:60;;37656:4;;-1:-1:-1;;;;;37671:13:0;37687:11;37639:8;:60::i;:::-;37742:13;;-1:-1:-1;;;;;37742:13:0;:29;37779:9;37812:4;37832:11;37742:13;;37944:10;:8;:10::i;:::-;37969:15;37742:253;;;;;;;;;;;;;-1:-1:-1;;;;;37742:253:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37742:253:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50309:161;50384:6;50422:12;50415:5;50411:9;;50403:32;;;;-1:-1:-1;;;50403:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50460:1:0;;50309:161;-1:-1:-1;;50309:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://a39183f2c57866e84be8807ee4779a8e53d9f9da7cdf89026522984885b74c75
Block | Transaction | Gas Used | Reward |
---|
Block | Uncle Number | Difficulty | Gas Used | Reward |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
Validator Index | Block | Amount |
---|
Transaction Hash | Block | Value | Eth2 PubKey | Valid |
---|
Multichain Portfolio | 26 Chains
Display all chains•
Last updated: less than 1 sec ago
Show 24 more chains Hide 24 chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BSC | BNB Chain (BNB) | 99.59% | $554.18 | 10 | $5,541.81 |
BSC | Wojak (WOJ) | <0.01% | $0.00106 | 150.7715 | $0.1597 |
ETH | 0.41% | $2,423.56 | 0.0094 | $22.78 |
[Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addresses
Private Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.
View all Private Name Tags
Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity), EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connect a Wallet
Connect a Wallet
Before You Copy
${zeroWidthWarningMessage} Check the actual text at SPACE ID.
`; } const contentHtml = `Additional Info
Full Name:
Note:
- Name tag is displayed due to forward and reverse resolution. Find out more.
- A Domain Name is not necessarily held by a person popularly associated with the name.
${ensUnicodeWarningHtml} ${ensZeroWidthWarningHtml}
Other names resolving to this address:
${listOtherENSNames} ${moreOtherENSNames}
`; return result; } // ===== UD name tag const displayUDName = ''; const primaryUDName = ''; const showUDPublicNote = 'false'; let otherUDNamesHtml = ""; function initUDNamePopOver() { //required to allow bootstrap popover to support table $.fn.popover.Constructor.Default.allowList.table = []; $.fn.popover.Constructor.Default.allowList.tr = []; $.fn.popover.Constructor.Default.allowList.td = []; $.fn.popover.Constructor.Default.allowList.th = []; $.fn.popover.Constructor.Default.allowList.div = []; $.fn.popover.Constructor.Default.allowList.tbody = []; $.fn.popover.Constructor.Default.allowList.thead = []; //allowList my inline styling for bootstrap $.fn.popover.Constructor.Default.allowList['*'].push('style') let unicodeWarningHtml = ""; if ($("#hdnIsUDContainUnicodeChars").val() == "true") { unicodeWarningHtml = `${unicodeWarningMessage} Check the actual text at Unstoppable Domains.
${unicodeWarningMessage} Check the actual text at Unstoppable Domains.
Additional Info
Full Name:
Note:
- Name tag is displayed due to forward and reverse resolution. Find out more
- A Domain Name is not necessarily held by a person popularly associated with the name.
${unicodeWarningHtml} ${zeroWidthWarningHtml}
Other names resolving to this address:
${listOtherUDNames} ${moreOtherUDNames}
`; return result; } // ===== end UD name tag var adjustPosition = 0; $(document).ready(function () { switchAmountToValue(document.getElementById("headerAmountValue"), 'Value (USD)', 'Amount', true); switchAmountToValue(document.getElementById("headerIntAmountValue"), 'Value (USD)', 'Amount', true); onDocumentReady(); $("[rel='tooltip']").tooltip(); $("[data-bs-toggle-second='tooltip']").tooltip({ trigger: 'hover' }); $("[rel='tooltipEns']").each(function () { $(this).tooltip({ title: $(this).attr("tooltip-title") }); }); if (hash != '') { activaTab(hash); }; onAddressDocReady(); // Note: this is causing "Copied" tooltip not showing when copy button is clicked in V3, and seems like not applicable to v3, comment out first in case there is issue //$('[data-bs-toggle="tooltip"]').click(function () { // $('[data-bs-toggle="tooltip"]').tooltip("hide"); //}); document.getElementById("copyaddressbutton").classList.remove("disabled"); if ($("#txtSearchContract").length) { initialiseKeyupOnDocReady(); } if (!!$('#ensName')[0]) { initEnsNamePopOver(); } if (!!$("#udName")[0]) { initUDNamePopOver(); } handleToggle(); if (window.matchMedia("(max-width: 767px)").matches) { // Mobile adjustPosition = 90; } else { // Others adjustPosition = 50; } }); function displayAudit() { $('html, body').animate({ scrollTop: $("#auditReportId").offset().top - adjustPosition }); } var cThemeMode = getCookie('displaymode'); function handleToggle() { var className = document.getElementsByClassName('editor'); var classNameCount = className.length; for (var j = 0; j < classNameCount; j++) { var editorSearch = ace.edit(className[j].id); if (cThemeMode === 'light' || themeMode === 'light') { editorSearch.setTheme(ace_editor_theme); } else if (cThemeMode === 'dim' || themeMode === 'dim') { editorSearch.setTheme(ace_editor_theme_dim); } else if (cThemeMode === 'dark' || themeMode === 'dark') { editorSearch.setTheme(ace_editor_theme_dark); } if (editorSearch.session.getLength() < parseInt(MaxLines)) { var x = className[j].id.replace("editor", ""); if (x.trim() !== "") { $("#panel-sourcecode_" + x).hide(); } } } if ($('#panel-sourcecode').length) { var editorSetting = ace.edit("editor"); if (editorSetting.session.getLength() < parseInt(MaxLines)) { $("#panel-sourcecode").hide(); } } } // Bootstrap Dropdown in Table Responsive $('.table-responsive').on('shown.bs.dropdown', function (e) { var t = $(this), m = $(e.target).find('.dropdown-menu'), tb = t.offset().top + t.height(), mb = m.offset().top + m.outerHeight(true), d = 20; // Space for shadow + scrollbar. if (t[0].scrollWidth > t.innerWidth()) { if (mb + d > tb) { t.css('padding-bottom', ((mb + d) - tb)); } } else { t.css('overflow', 'visible'); } }).on('hidden.bs.dropdown', function () { $(this).css({ 'padding-bottom': '', 'overflow': '' }); }); var btn_ERC20_sort = { count: 0, reminder_count: 2, list: [], default_list: [], ERC20_sort_start: function (count) { if (document.getElementsByClassName('list-custom-divider-ERC20')[0]) { var self = this if (count != undefined) { self.count = count } var before_el = document.getElementsByClassName('list-custom-divider-ERC20')[0] var parent_el = before_el.parentNode var element_selector = parent_el.querySelectorAll(".list-custom-ERC20"); if (self.list.length == 0) { element_selector.forEach(function (e) { self.list.push(e); self.default_list.push(e); }); } $(".list-custom-ERC20").remove() var type = self.count % self.reminder_count self.sortList(type, parent_el, before_el); self.count++ } }, sortList: function (type, parent_el, before_el) { var self = this var sorted_list = [] var icon_el = $(before_el).find('button').find('i') switch (type) { case 1: icon_el.attr("class", "fad fa-sort-up") sorted_list = self.sortUsdAsc() break; default: icon_el.attr("class", "fad fa-sort-down") sorted_list = self.sortUsdDesc() } for (var i = sorted_list.length - 1; i >= 0; i--) { before_el.insertAdjacentElement('afterend', sorted_list[i]) } }, sortUsdAsc: function () { var self = this var sort_list = self.list sort_list.sort(function (a, b) { var target_a_value = self.formatCurrencyToNumber(a.querySelector('.list-usd-value').textContent.trim() || -1); var target_b_value = self.formatCurrencyToNumber(b.querySelector('.list-usd-value').textContent.trim() || -1); if (target_a_value == -1 || target_b_value == -1) { return 1; } if (target_a_value < target_b_value) { return -1; } if (target_a_value > target_b_value) { return 1; } return 0 }); return sort_list }, sortUsdDesc: function () { var self = this var sort_list = self.list sort_list.sort(function (a, b) { var target_a_value = self.formatCurrencyToNumber(a.querySelector('.list-usd-value').textContent.trim() || -1); var target_b_value = self.formatCurrencyToNumber(b.querySelector('.list-usd-value').textContent.trim() || -1); if (target_a_value < target_b_value) { return 1; } if (target_a_value > target_b_value) { return -1; } return 0 }); return sort_list }, formatCurrencyToNumber: function (strCurrency) { if (typeof strCurrency == "number") return strCurrency else return Number(strCurrency.replace(/[^0-9.-]+/g, "")); }, } function hrefTokenHolding() { var location = "/tokenholdings?a=0xa94bc875f7a0bbf9e21fa86033a777104b0d9c95" var queryString = $("input.form-control.form-control-xs.search.mb-3")[0].value if (queryString) { location += "&q=" + queryString } window.location.href = location } $(document).ready(function () { $("#btn_ERC20_sort").on("click", function (event) { event.preventDefault(); setTimeout(function () { btn_ERC20_sort.ERC20_sort_start() }, 10) }) btn_ERC20_sort.ERC20_sort_start() var contractAddress = $("#hdnAddress").val(); // user search for method filters var searchFuncTimeOut; $("#ContentPlaceHolder1_inputMethodName").on("keyup", function ($event) { if (searchFuncTimeOut) { clearTimeout(searchFuncTimeOut) } var searchTerm = $(this).val(); searchFuncTimeOut = setTimeout(function () { searchFunctions(contractAddress, searchTerm); }, 350); }); var isSearchFunctions = false; $("#dropdownMethod").on("click", function (e) { if (isSearchFunctions === false) { searchFunctions(contractAddress); isSearchFunctions = true; } }); function searchFunctions(address, searchTerm) { $.ajax({ type: 'Get', url: `/functionSearchHandler.ashx?ca=${address}&func=${searchTerm ?? ''}`, success: function (response) { $("#searchFunctionResult").html(''); if (response && response.length > 0) { for (var i = 0; i < response.length; i++) { $("#searchFunctionResult").append( `