ERC-20
DeFi
Overview
Max Total Supply
100,000,000 GURU
Holders
410 ( -0.244%)
Market
Price
$0.01 @ 0.000004 ETH (-2.87%)
Onchain Market Cap
$1,308,901.00
Circulating Supply Market Cap
$1,308,901.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,901.838664034049306398 GURUValue
$51.07 ( ~0.0150557544269536 Eth) [0.0039%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Uniswap V2 (Ethereum) | 0XAA7D24C3E14491ABAC746A98751A4883E9B70843-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.0131 0.0000039 Eth | $1,514.04 113,938.305 0XAA7D24C3E14491ABAC746A98751A4883E9B70843 | 100.0000% |
Contract Source Code Verified (Exact Match)
Contract Name:
GURU
Compiler Version
v0.8.27+commit.40a35a09
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ██████╗ ██╗ ██╗██████╗ ██╗ ██╗ ██╔════╝ ██║ ██║██╔══██╗██║ ██║ ██║ ███╗██║ ██║██████╔╝██║ ██║ ██║ ██║██║ ██║██╔══██╗██║ ██║ ╚██████╔╝╚██████╔╝██║ ██║╚██████╔╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ERC20 Token --------------------------------------------- Website https://guru.fund Docs https://guru-fund.gitbook.io Twitter https://x.com/thegurufund Telegram https://t.me/guruportal --------------------------------------------- */ // SPDX-License-Identifier: MIT import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/ReentrancyGuard.sol'; import '@openzeppelin/contracts/access/AccessControl.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; import 'contracts/helpers/TransferHelper.sol'; pragma solidity =0.8.27; contract GURU is Ownable, ERC20, TransferHelper, ReentrancyGuard, AccessControl { IUniswapV2Router02 public constant router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); bytes32 private constant ADMIN_ROLE = keccak256('ADMIN_ROLE'); uint256 private constant SUPPLY = 100_000_000 * 10 ** 18; bool private feeOnTransfer = true; uint8 private kArMA = 10; uint8 private burnFee = 0; uint8 private vaultFee = 4; uint8 private teamFee = 1; address public uniswapV2Pair; address public vault; address public team; uint256 public maxWallet = SUPPLY; uint256 private swapThreshold = 50_000 * 10 ** 18; /** * @notice Addresses exempt from fees and max wallet size */ mapping(address => bool) public isExempt; error Unauthorized(); error OnlyReducingFeesAllowed(); error StillMeditating(); error ChakraOverload(uint256 projectedBalance, uint256 maxWallet); error KarmaMinimum(); constructor( address _team, address _vault, address _governance ) Ownable(msg.sender) ERC20('Guru', 'GURU') { _grantRole(ADMIN_ROLE, _governance); isExempt[address(this)] = true; isExempt[owner()] = true; isExempt[_vault] = true; _mint(_vault, (SUPPLY * 31) / 100); _mint(address(this), (SUPPLY * 69) / 100); team = _team; vault = _vault; } receive() external payable {} /// External functions /** * @notice [Owner] Creates a new pair, adds liquidity to it, and sets max wallet */ function enterNirvana() external onlyOwner { address pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); _approve(address(this), address(router), balanceOf(address(this))); router.addLiquidityETH{ value: address(this).balance }( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); uniswapV2Pair = pair; maxWallet = SUPPLY / 100; } /** * @notice [Owner] Slashes the karma fee. Only the owner can do this, until the fee is at minimum. */ function slashTheKarma() external onlyOwner { require(kArMA > 1, KarmaMinimum()); unchecked { --kArMA; } } /** * @notice [Owner] Manually triggers the burn and swap mechanism. */ function unclog() external onlyOwner { _burnAndSwap(swapThreshold, getTotalFeeRate()); } /** * @notice [Admin] Reduces or rebalances the transfer fee allocations. * Reverts if the new fees exceed the current total fees. * @param newBurnFee The new burn fee * @param newVaultFee The new vault fee * @param newTeamFee The new team fee */ function reduceOrRebalanceFees( uint8 newBurnFee, uint8 newVaultFee, uint8 newTeamFee ) external onlyRole(ADMIN_ROLE) { require( newBurnFee + newVaultFee + newTeamFee <= getTotalFeeRate(), OnlyReducingFeesAllowed() ); burnFee = newBurnFee; vaultFee = newVaultFee; teamFee = newTeamFee; } /** * @notice [Admin] Updates the swap threshold amount. * Setting it to 0 keeps the fee on transfer enabled, but disables the swap mechanism. * @param value The new swap threshold amount */ function updateSwapThreshold(uint256 value) external onlyRole(ADMIN_ROLE) { require(value <= SUPPLY / 50); swapThreshold = value; } /** * @notice [Admin] Toggles an address's exemption from fees and max wallet size * @param account The address to toggle */ function toggleExemption(address account) external onlyRole(ADMIN_ROLE) { isExempt[account] = !isExempt[account]; } /** * @notice [Admin] Toggles the fee on transfer. This does not affect buy/sell fees. */ function toggleFeeOnTransfer() external onlyRole(ADMIN_ROLE) { feeOnTransfer = !feeOnTransfer; } /** * @notice [Admin] Transfers the admin role * @param newAdmin The new admin address */ function transferAdmin(address newAdmin) external onlyRole(ADMIN_ROLE) { require(newAdmin != address(0)); _revokeRole(ADMIN_ROLE, msg.sender); _grantRole(ADMIN_ROLE, newAdmin); } /** * @notice [Admin] Updates the vault wallet * @param newVault The new vault wallet */ function setVaultWallet(address newVault) external onlyRole(ADMIN_ROLE) { vault = _applyWalletUpdate(vault, newVault); } /** * @notice [Admin] Updates the team wallet * @param newTeam The new team wallet */ function setTeamWallet(address newTeam) external onlyRole(ADMIN_ROLE) { team = _applyWalletUpdate(team, newTeam); } /** * @notice Burns tokens from the caller's balance * @param amount The amount of tokens to burn */ function burn(uint256 amount) external { _burn(msg.sender, amount); } // Public functions /** * @notice [Admin] Updates the max holding percent * @param percent The new max holding percent */ function updateMaxHoldingPercent( uint8 percent ) public onlyRole(ADMIN_ROLE) { require(1 <= percent && percent <= 100); maxWallet = (SUPPLY * percent) / 100; } /** * @notice The current total transfer fee */ function getTotalFeeRate() public view returns (uint8) { return (burnFee + vaultFee + teamFee) * kArMA; } // Internal functions /** * @notice Transfers are disabled until liquidity is added to the pair. * @dev This function is used to handle fees on transfer. * @param from The sender address * @param to The recipient address * @param amount The amount of tokens to transfer */ function _update( address from, address to, uint256 amount ) internal override { // When liquidity not added yet: if (uniswapV2Pair == address(0)) { require( from == address(this) || from == address(0) || from == vault || to == vault, StillMeditating() ); super._update(from, to, amount); return; } // No fees or max wallet size check if exempt if (isExempt[from] || isExempt[to]) { super._update(from, to, amount); return; } // When liquidity has been added, max wallet size check (pair is exempt) if (to != uniswapV2Pair) { uint256 projectedBalance = super.balanceOf(to) + amount; require( projectedBalance <= maxWallet, ChakraOverload(projectedBalance, maxWallet) ); } // Swap threshold check uint8 feeRate = getTotalFeeRate(); if ( swapThreshold > 0 && balanceOf(address(this)) >= swapThreshold && from != uniswapV2Pair && (feeOnTransfer || to == uniswapV2Pair) ) { _burnAndSwap(swapThreshold, feeRate); } if (feeRate > 0) { uint256 feeTokens = (amount * feeRate) / 100; amount -= feeTokens; super._update(from, address(this), feeTokens); } // Continue with the transfer super._update(from, to, amount); } // Private functions /** * @dev Internal function to handle wallet updates and credit transfers */ function _applyWalletUpdate( address oldWallet, address newWallet ) private returns (address) { creditByAddress[newWallet] = creditByAddress[oldWallet]; delete creditByAddress[oldWallet]; return newWallet; } /** * @notice Burns collected tokens and swaps the remaining for ETH * @param tokenAmount The amount of tokens to swap * @param feeRate The fee rate */ function _burnAndSwap( uint256 tokenAmount, uint8 feeRate ) private nonReentrant { uint256 burnAmount = (tokenAmount * burnFee) / feeRate; uint256 swapAmount = tokenAmount - burnAmount; if (burnAmount > 0) { _burn(address(this), burnAmount); } address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), swapAmount); router.swapExactTokensForETHSupportingFeeOnTransferTokens( swapAmount, 0, path, address(this), block.timestamp ); uint256 balance = address(this).balance; if (balance > 0) { uint256 toTeam = (balance * teamFee) / (vaultFee + teamFee); uint256 toVault = balance - toTeam; _safeTransferETH(team, toTeam); _safeTransferETH(vault, toVault); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at, * consider using {ReentrancyGuardTransient} instead. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
pragma 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; }
pragma 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); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.27; contract TransferHelper { mapping(address => uint256) creditByAddress; event CreditAdded(address indexed creditor, uint256 value); event CreditWithdrawn(address indexed recipient, uint256 value); error NativeTransferFailed(); /** * @notice Safe transfer of ETH to an address. If the transfer fails, the value is added to the credit of the address. * @param recipient The address to transfer ETH to * @param value The amount of ETH to transfer */ function _safeTransferETH(address recipient, uint256 value) internal { (bool success, ) = recipient.call{ value: value }(''); if (!success) { creditByAddress[recipient] += value; emit CreditAdded(recipient, value); } } /** * @notice Withdraws the caller's credit to the specified recipient. This transfer will either succeed or revert. * @param recipient The address to transfer the ETH to */ function withdrawCredit(address recipient) external { uint256 value = creditByAddress[msg.sender]; creditByAddress[msg.sender] = 0; (bool success, ) = recipient.call{ value: value }(''); require(success, NativeTransferFailed()); emit CreditWithdrawn(recipient, value); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_team","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_governance","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"projectedBalance","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"ChakraOverload","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"KarmaMinimum","type":"error"},{"inputs":[],"name":"NativeTransferFailed","type":"error"},{"inputs":[],"name":"OnlyReducingFeesAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"StillMeditating","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"CreditAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"CreditWithdrawn","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enterNirvana","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalFeeRate","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"newBurnFee","type":"uint8"},{"internalType":"uint8","name":"newVaultFee","type":"uint8"},{"internalType":"uint8","name":"newTeamFee","type":"uint8"}],"name":"reduceOrRebalanceFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newTeam","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVault","type":"address"}],"name":"setVaultWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slashTheKarma","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","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":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"toggleExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleFeeOnTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"transferAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"percent","type":"uint8"}],"name":"updateMaxHoldingPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"updateSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526009805464ffffffffff1916640104000a011790556a52b7d2dcc80cd2e4000000600c55690a968163f0a57b400000600d5534801561004257600080fd5b50604051612df3380380612df383398101604081905261006191610ba0565b6040805180820182526004808252634775727560e01b6020808401919091528351808501909452908352634755525560e01b908301529033806100bf57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6100c881610204565b5060046100d58382610c81565b5060056100e28282610c81565b50506001600755506101147fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582610254565b50306000908152600e602081905260408220805460ff19166001908117909155916101476000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790559086168152600e9092529020805490911660011790556101b68260646101a76a52b7d2dcc80cd2e4000000601f610d55565b6101b19190610d6c565b610304565b6101d23060646101a76a52b7d2dcc80cd2e40000006045610d55565b50600b80546001600160a01b039384166001600160a01b031991821617909155600a8054929093169116179055610e9a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008281526008602090815260408083206001600160a01b038516845290915281205460ff166102fa5760008381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556102b23390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016102fe565b5060005b92915050565b6001600160a01b03821661032e5760405163ec442f0560e01b8152600060048201526024016100b6565b61033a6000838361033e565b5050565b6009546501000000000090046001600160a01b03166103d2576001600160a01b03831630148061037557506001600160a01b038316155b8061038d5750600a546001600160a01b038481169116145b806103a55750600a546001600160a01b038381169116145b6103c25760405163038e473d60e41b815260040160405180910390fd5b6103cd83838361057b565b505050565b6001600160a01b0383166000908152600e602052604090205460ff168061041157506001600160a01b0382166000908152600e602052604090205460ff165b15610421576103cd83838361057b565b6009546001600160a01b03838116650100000000009092041614610499576001600160a01b038216600090815260016020526040812054610463908390610d8e565b600c549091508190808211156104955760405163a6142e3d60e01b8152600481019290925260248201526044016100b6565b5050505b60006104a36106a5565b90506000600d541180156104c85750600d543060009081526001602052604090205410155b80156104eb57506009546001600160a01b03858116650100000000009092041614155b8015610519575060095460ff168061051957506009546001600160a01b038481166501000000000090920416145b1561052b57600d5461052b90826106f4565b60ff81161561056a576000606461054560ff841685610d55565b61054f9190610d6c565b905061055b8184610da1565b925061056885308361057b565b505b61057584848461057b565b50505050565b6001600160a01b0383166105a657806003600082825461059b9190610d8e565b909155506106189050565b6001600160a01b038316600090815260016020526040902054818110156105f95760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b6565b6001600160a01b03841660009081526001602052604090209082900390555b6001600160a01b03821661063457600380548290039055610653565b6001600160a01b03821660009081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161069891815260200190565b60405180910390a3505050565b60095460009060ff610100820481169164010000000081048216916106db91630100000081048216916201000090910416610db4565b6106e59190610db4565b6106ef9190610dcd565b905090565b6106fc610970565b60095460009060ff8084169161071a91620100009091041685610d55565b6107249190610d6c565b905060006107328285610da1565b9050811561074457610744308361099a565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061077957610779610df0565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080f9190610e06565b8160018151811061082257610822610df0565b6001600160a01b039092166020928302919091019091015261085930737a250d5630b4cf539739df2c5dacb4c659f2488d846109d0565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790610899908590600090869030904290600401610e28565b600060405180830381600087803b1580156108b357600080fd5b505af11580156108c7573d6000803e3d6000fd5b50479250508115905061095e576009546000906108f89060ff64010000000082048116916301000000900416610db4565b60095460ff918216916109149164010000000090041684610d55565b61091e9190610d6c565b9050600061092c8284610da1565b600b54909150610945906001600160a01b0316836109dd565b600a5461095b906001600160a01b0316826109dd565b50505b5050505061033a610aa860201b60201c565b60026007540361099357604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b6001600160a01b0382166109c457604051634b637e8f60e11b8152600060048201526024016100b6565b61033a8260008361033e565b6103cd8383836001610aaf565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610a2a576040519150601f19603f3d011682016040523d82523d6000602084013e610a2f565b606091505b50509050806103cd576001600160a01b03831660009081526006602052604081208054849290610a60908490610d8e565b90915550506040518281526001600160a01b038416907f648ec643b30463f72debf7027a0f9ff84bbdf4dc1a2a7ab973cb77dec53265689060200160405180910390a2505050565b6001600755565b6001600160a01b038416610ad95760405163e602df0560e01b8152600060048201526024016100b6565b6001600160a01b038316610b0357604051634a1406b160e11b8152600060048201526024016100b6565b6001600160a01b038085166000908152600260209081526040808320938716835292905220829055801561057557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b7691815260200190565b60405180910390a350505050565b80516001600160a01b0381168114610b9b57600080fd5b919050565b600080600060608486031215610bb557600080fd5b610bbe84610b84565b9250610bcc60208501610b84565b9150610bda60408501610b84565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610c0d57607f821691505b602082108103610c2d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156103cd57806000526020600020601f840160051c81016020851015610c5a5750805b601f840160051c820191505b81811015610c7a5760008155600101610c66565b5050505050565b81516001600160401b03811115610c9a57610c9a610be3565b610cae81610ca88454610bf9565b84610c33565b6020601f821160018114610ce25760008315610cca5750848201515b600019600385901b1c1916600184901b178455610c7a565b600084815260208120601f198516915b82811015610d125787850151825560209485019460019092019101610cf2565b5084821015610d305786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176102fe576102fe610d3f565b600082610d8957634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156102fe576102fe610d3f565b818103818111156102fe576102fe610d3f565b60ff81811683821601908111156102fe576102fe610d3f565b60ff8181168382160290811690818114610de957610de9610d3f565b5092915050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610e1857600080fd5b610e2182610b84565b9392505050565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015610e7a5783516001600160a01b0316835260209384019390920191600101610e53565b50506001600160a01b039590951660608401525050608001529392505050565b611f4a80610ea96000396000f3fe6080604052600436106102345760003560e01c8063715018a61161012e578063a9059cbb116100ab578063dd62ed3e1161006f578063dd62ed3e14610695578063f2fde38b146106db578063f887ea40146106fb578063f8b45b0514610723578063fbfa77cf1461073957600080fd5b8063a9059cbb146105e5578063ad5dff7314610605578063c0d77a8814610635578063cc274b2914610655578063d547741f1461067557600080fd5b806390c072d8116100f257806390c072d81461055b57806391d148541461057b57806395d89b411461059b578063a217fddf146105b0578063a29f69b0146105c557600080fd5b8063715018a6146104d357806375829def146104e857806385f2aef214610508578063894e47e1146105285780638da5cb5b1461053d57600080fd5b8063313ce567116101bc57806352ab60381161018057806352ab6038146104335780635f99ad6b1461044857806367c45349146104685780636c8cc9d91461047d57806370a082311461049d57600080fd5b8063313ce5671461037d57806336568abe1461039f578063367038d8146103bf57806342966c68146103d457806349bd5a5e146103f457600080fd5b806318160ddd1161020357806318160ddd146102d957806319444a7b146102f857806323b872dd1461030d578063248a9ca31461032d5780632f2ff15d1461035d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063095ea7b3146102975780631525ff7d146102b757600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061026061025b366004611b2d565b610759565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610790565b60405161026c9190611b5e565b3480156102a357600080fd5b506102606102b2366004611bc1565b610822565b3480156102c357600080fd5b506102d76102d2366004611bed565b61083a565b005b3480156102e557600080fd5b506003545b60405190815260200161026c565b34801561030457600080fd5b506102d7610899565b34801561031957600080fd5b50610260610328366004611c0a565b6108c6565b34801561033957600080fd5b506102ea610348366004611c4b565b60009081526008602052604090206001015490565b34801561036957600080fd5b506102d7610378366004611c64565b6108ea565b34801561038957600080fd5b5060125b60405160ff909116815260200161026c565b3480156103ab57600080fd5b506102d76103ba366004611c64565b610915565b3480156103cb57600080fd5b506102d761094d565b3480156103e057600080fd5b506102d76103ef366004611c4b565b6109a4565b34801561040057600080fd5b5060095461041b90600160281b90046001600160a01b031681565b6040516001600160a01b03909116815260200161026c565b34801561043f57600080fd5b506102d76109b1565b34801561045457600080fd5b506102d7610463366004611bed565b610c7b565b34801561047457600080fd5b506102d7610cbd565b34801561048957600080fd5b506102d7610498366004611bed565b610cda565b3480156104a957600080fd5b506102ea6104b8366004611bed565b6001600160a01b031660009081526001602052604090205490565b3480156104df57600080fd5b506102d7610da9565b3480156104f457600080fd5b506102d7610503366004611bed565b610dbb565b34801561051457600080fd5b50600b5461041b906001600160a01b031681565b34801561053457600080fd5b5061038d610e17565b34801561054957600080fd5b506000546001600160a01b031661041b565b34801561056757600080fd5b506102d7610576366004611caa565b610e66565b34801561058757600080fd5b50610260610596366004611c64565b610eca565b3480156105a757600080fd5b5061028a610ef5565b3480156105bc57600080fd5b506102ea600081565b3480156105d157600080fd5b506102d76105e0366004611cc5565b610f04565b3480156105f157600080fd5b50610260610600366004611bc1565b610fa7565b34801561061157600080fd5b50610260610620366004611bed565b600e6020526000908152604090205460ff1681565b34801561064157600080fd5b506102d7610650366004611bed565b610fb5565b34801561066157600080fd5b506102d7610670366004611c4b565b611014565b34801561068157600080fd5b506102d7610690366004611c64565b611054565b3480156106a157600080fd5b506102ea6106b0366004611d08565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106e757600080fd5b506102d76106f6366004611bed565b611079565b34801561070757600080fd5b5061041b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561072f57600080fd5b506102ea600c5481565b34801561074557600080fd5b50600a5461041b906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b148061078a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606004805461079f90611d36565b80601f01602080910402602001604051908101604052809291908181526020018280546107cb90611d36565b80156108185780601f106107ed57610100808354040283529160200191610818565b820191906000526020600020905b8154815290600101906020018083116107fb57829003601f168201915b5050505050905090565b6000336108308185856110b9565b5060019392505050565b600080516020611ef5833981519152610852816110c6565b50600b80546001600160a01b0390811660008181526006602052604080822080549690941680835290822095909555908152905580546001600160a01b0319169091179055565b600080516020611ef58339815191526108b1816110c6565b506009805460ff19811660ff90911615179055565b6000336108d48582856110d0565b6108df858585611148565b506001949350505050565b600082815260086020526040902060010154610905816110c6565b61090f83836111a7565b50505050565b6001600160a01b038116331461093e5760405163334bd91960e11b815260040160405180910390fd5b610948828261123b565b505050565b6109556112a8565b600954600161010090910460ff1611610981576040516339c4072d60e11b815260040160405180910390fd5b6009805460001960ff610100808404821692909201160261ff0019909116179055565b6109ae33826112d5565b50565b6109b96112a8565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a319190611d70565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab69190611d70565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b279190611d70565b30600081815260016020526040902054919250610b5991737a250d5630b4cf539739df2c5dacb4c659f2488d906110b9565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7194730610b94816001600160a01b031660009081526001602052604090205490565b600080610ba96000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c11573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c369190611d8d565b50506009805465010000000000600160c81b031916600160281b6001600160a01b0385160217905550610c7560646a52b7d2dcc80cd2e4000000611dd1565b600c5550565b600080516020611ef5833981519152610c93816110c6565b506001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b610cc56112a8565b610cd8600d54610cd3610e17565b61130f565b565b3360009081526006602052604080822080549083905590519091906001600160a01b0384169083908381818185875af1925050503d8060008114610d3a576040519150601f19603f3d011682016040523d82523d6000602084013e610d3f565b606091505b5050905080610d6157604051633d2cec6f60e21b815260040160405180910390fd5b826001600160a01b03167f6b00960292e7976c9eb5434816470b38a441061eee645921536131ccb937cafe83604051610d9c91815260200190565b60405180910390a2505050565b610db16112a8565b610cd8600061158f565b600080516020611ef5833981519152610dd3816110c6565b6001600160a01b038216610de657600080fd5b610dfe600080516020611ef58339815191523361123b565b50610948600080516020611ef5833981519152836111a7565b60095460009060ff61010082048116916401000000008104821691610e4d91630100000081048216916201000090910416611df3565b610e579190611df3565b610e619190611e0c565b905090565b600080516020611ef5833981519152610e7e816110c6565b8160ff16600111158015610e96575060648260ff1611155b610e9f57600080fd5b6064610eb960ff84166a52b7d2dcc80cd2e4000000611e2f565b610ec39190611dd1565b600c555050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606005805461079f90611d36565b600080516020611ef5833981519152610f1c816110c6565b610f24610e17565b60ff1682610f328587611df3565b610f3c9190611df3565b60ff161115610f5e57604051631d15eea760e01b815260040160405180910390fd5b506009805463ffff000019166201000060ff9586160263ff0000001916176301000000938516939093029290921764ff0000000019166401000000009190931602919091179055565b600033610830818585611148565b600080516020611ef5833981519152610fcd816110c6565b50600a80546001600160a01b0390811660008181526006602052604080822080549690941680835290822095909555908152905580546001600160a01b0319169091179055565b600080516020611ef583398151915261102c816110c6565b61104260326a52b7d2dcc80cd2e4000000611dd1565b82111561104e57600080fd5b50600d55565b60008281526008602052604090206001015461106f816110c6565b61090f838361123b565b6110816112a8565b6001600160a01b0381166110b057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6109ae8161158f565b61094883838360016115df565b6109ae81336116b4565b6001600160a01b03838116600090815260026020908152604080832093861683529290522054600019811461090f578181101561113957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016110a7565b61090f848484840360006115df565b6001600160a01b03831661117257604051634b637e8f60e11b8152600060048201526024016110a7565b6001600160a01b03821661119c5760405163ec442f0560e01b8152600060048201526024016110a7565b6109488383836116ed565b60006111b38383610eca565b6112335760008381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556111eb3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161078a565b50600061078a565b60006112478383610eca565b156112335760008381526008602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161078a565b6000546001600160a01b03163314610cd85760405163118cdaa760e01b81523360048201526024016110a7565b6001600160a01b0382166112ff57604051634b637e8f60e11b8152600060048201526024016110a7565b61130b826000836116ed565b5050565b611317611916565b60095460009060ff8084169161133591620100009091041685611e2f565b61133f9190611dd1565b9050600061134d8285611e46565b9050811561135f5761135f30836112d5565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061139457611394611e59565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a9190611d70565b8160018151811061143d5761143d611e59565b60200260200101906001600160a01b031690816001600160a01b03168152505061147c30737a250d5630b4cf539739df2c5dacb4c659f2488d846110b9565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906114bc908590600090869030904290600401611e6f565b600060405180830381600087803b1580156114d657600080fd5b505af11580156114ea573d6000803e3d6000fd5b5047925050811590506115815760095460009061151b9060ff64010000000082048116916301000000900416611df3565b60095460ff918216916115379164010000000090041684611e2f565b6115419190611dd1565b9050600061154f8284611e46565b600b54909150611568906001600160a01b031683611940565b600a5461157e906001600160a01b031682611940565b50505b5050505061130b6001600755565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166116095760405163e602df0560e01b8152600060048201526024016110a7565b6001600160a01b03831661163357604051634a1406b160e11b8152600060048201526024016110a7565b6001600160a01b038085166000908152600260209081526040808320938716835292905220829055801561090f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116a691815260200190565b60405180910390a350505050565b6116be8282610eca565b61130b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016110a7565b600954600160281b90046001600160a01b031661177a576001600160a01b03831630148061172257506001600160a01b038316155b8061173a5750600a546001600160a01b038481169116145b806117525750600a546001600160a01b038381169116145b61176f5760405163038e473d60e41b815260040160405180910390fd5b610948838383611a03565b6001600160a01b0383166000908152600e602052604090205460ff16806117b957506001600160a01b0382166000908152600e602052604090205460ff165b156117c957610948838383611a03565b6009546001600160a01b03838116600160281b909204161461183f576001600160a01b038216600090815260016020526040812054611809908390611ee1565b600c5490915081908082111561183b5760405163a6142e3d60e01b8152600481019290925260248201526044016110a7565b5050505b6000611849610e17565b90506000600d5411801561186e5750600d543060009081526001602052604090205410155b801561188f57506009546001600160a01b03858116600160281b9092041614155b80156118bb575060095460ff16806118bb57506009546001600160a01b03848116600160281b90920416145b156118cc576118cc600d548261130f565b60ff81161561190b57600060646118e660ff841685611e2f565b6118f09190611dd1565b90506118fc8184611e46565b9250611909853083611a03565b505b61090f848484611a03565b60026007540361193957604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461198d576040519150601f19603f3d011682016040523d82523d6000602084013e611992565b606091505b5050905080610948576001600160a01b038316600090815260066020526040812080548492906119c3908490611ee1565b90915550506040518281526001600160a01b038416907f648ec643b30463f72debf7027a0f9ff84bbdf4dc1a2a7ab973cb77dec532656890602001610d9c565b6001600160a01b038316611a2e578060036000828254611a239190611ee1565b90915550611aa09050565b6001600160a01b03831660009081526001602052604090205481811015611a815760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016110a7565b6001600160a01b03841660009081526001602052604090209082900390555b6001600160a01b038216611abc57600380548290039055611adb565b6001600160a01b03821660009081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b2091815260200190565b60405180910390a3505050565b600060208284031215611b3f57600080fd5b81356001600160e01b031981168114611b5757600080fd5b9392505050565b602081526000825180602084015260005b81811015611b8c5760208186018101516040868401015201611b6f565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146109ae57600080fd5b60008060408385031215611bd457600080fd5b8235611bdf81611bac565b946020939093013593505050565b600060208284031215611bff57600080fd5b8135611b5781611bac565b600080600060608486031215611c1f57600080fd5b8335611c2a81611bac565b92506020840135611c3a81611bac565b929592945050506040919091013590565b600060208284031215611c5d57600080fd5b5035919050565b60008060408385031215611c7757600080fd5b823591506020830135611c8981611bac565b809150509250929050565b803560ff81168114611ca557600080fd5b919050565b600060208284031215611cbc57600080fd5b611b5782611c94565b600080600060608486031215611cda57600080fd5b611ce384611c94565b9250611cf160208501611c94565b9150611cff60408501611c94565b90509250925092565b60008060408385031215611d1b57600080fd5b8235611d2681611bac565b91506020830135611c8981611bac565b600181811c90821680611d4a57607f821691505b602082108103611d6a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611d8257600080fd5b8151611b5781611bac565b600080600060608486031215611da257600080fd5b5050815160208301516040909301519094929350919050565b634e487b7160e01b600052601160045260246000fd5b600082611dee57634e487b7160e01b600052601260045260246000fd5b500490565b60ff818116838216019081111561078a5761078a611dbb565b60ff8181168382160290811690818114611e2857611e28611dbb565b5092915050565b808202811582820484141761078a5761078a611dbb565b8181038181111561078a5761078a611dbb565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015611ec15783516001600160a01b0316835260209384019390920191600101611e9a565b50506001600160a01b039590951660608401525050608001529392505050565b8082018082111561078a5761078a611dbb56fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122067dce46b38939e7ab5bf9d6229f0f0bb6d15e857716192c65eebe5a455631dc164736f6c634300081b00330000000000000000000000009642b23ed1e01df1092b92641051881a322f5d4e00000000000000000000000089bb5313b2c16c0720585081e6913f99e469c5f2000000000000000000000000bfb0849abc07657b018a562d5ca7f496fe6c5922
Deployed Bytecode
0x6080604052600436106102345760003560e01c8063715018a61161012e578063a9059cbb116100ab578063dd62ed3e1161006f578063dd62ed3e14610695578063f2fde38b146106db578063f887ea40146106fb578063f8b45b0514610723578063fbfa77cf1461073957600080fd5b8063a9059cbb146105e5578063ad5dff7314610605578063c0d77a8814610635578063cc274b2914610655578063d547741f1461067557600080fd5b806390c072d8116100f257806390c072d81461055b57806391d148541461057b57806395d89b411461059b578063a217fddf146105b0578063a29f69b0146105c557600080fd5b8063715018a6146104d357806375829def146104e857806385f2aef214610508578063894e47e1146105285780638da5cb5b1461053d57600080fd5b8063313ce567116101bc57806352ab60381161018057806352ab6038146104335780635f99ad6b1461044857806367c45349146104685780636c8cc9d91461047d57806370a082311461049d57600080fd5b8063313ce5671461037d57806336568abe1461039f578063367038d8146103bf57806342966c68146103d457806349bd5a5e146103f457600080fd5b806318160ddd1161020357806318160ddd146102d957806319444a7b146102f857806323b872dd1461030d578063248a9ca31461032d5780632f2ff15d1461035d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063095ea7b3146102975780631525ff7d146102b757600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061026061025b366004611b2d565b610759565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610790565b60405161026c9190611b5e565b3480156102a357600080fd5b506102606102b2366004611bc1565b610822565b3480156102c357600080fd5b506102d76102d2366004611bed565b61083a565b005b3480156102e557600080fd5b506003545b60405190815260200161026c565b34801561030457600080fd5b506102d7610899565b34801561031957600080fd5b50610260610328366004611c0a565b6108c6565b34801561033957600080fd5b506102ea610348366004611c4b565b60009081526008602052604090206001015490565b34801561036957600080fd5b506102d7610378366004611c64565b6108ea565b34801561038957600080fd5b5060125b60405160ff909116815260200161026c565b3480156103ab57600080fd5b506102d76103ba366004611c64565b610915565b3480156103cb57600080fd5b506102d761094d565b3480156103e057600080fd5b506102d76103ef366004611c4b565b6109a4565b34801561040057600080fd5b5060095461041b90600160281b90046001600160a01b031681565b6040516001600160a01b03909116815260200161026c565b34801561043f57600080fd5b506102d76109b1565b34801561045457600080fd5b506102d7610463366004611bed565b610c7b565b34801561047457600080fd5b506102d7610cbd565b34801561048957600080fd5b506102d7610498366004611bed565b610cda565b3480156104a957600080fd5b506102ea6104b8366004611bed565b6001600160a01b031660009081526001602052604090205490565b3480156104df57600080fd5b506102d7610da9565b3480156104f457600080fd5b506102d7610503366004611bed565b610dbb565b34801561051457600080fd5b50600b5461041b906001600160a01b031681565b34801561053457600080fd5b5061038d610e17565b34801561054957600080fd5b506000546001600160a01b031661041b565b34801561056757600080fd5b506102d7610576366004611caa565b610e66565b34801561058757600080fd5b50610260610596366004611c64565b610eca565b3480156105a757600080fd5b5061028a610ef5565b3480156105bc57600080fd5b506102ea600081565b3480156105d157600080fd5b506102d76105e0366004611cc5565b610f04565b3480156105f157600080fd5b50610260610600366004611bc1565b610fa7565b34801561061157600080fd5b50610260610620366004611bed565b600e6020526000908152604090205460ff1681565b34801561064157600080fd5b506102d7610650366004611bed565b610fb5565b34801561066157600080fd5b506102d7610670366004611c4b565b611014565b34801561068157600080fd5b506102d7610690366004611c64565b611054565b3480156106a157600080fd5b506102ea6106b0366004611d08565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106e757600080fd5b506102d76106f6366004611bed565b611079565b34801561070757600080fd5b5061041b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561072f57600080fd5b506102ea600c5481565b34801561074557600080fd5b50600a5461041b906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b148061078a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606004805461079f90611d36565b80601f01602080910402602001604051908101604052809291908181526020018280546107cb90611d36565b80156108185780601f106107ed57610100808354040283529160200191610818565b820191906000526020600020905b8154815290600101906020018083116107fb57829003601f168201915b5050505050905090565b6000336108308185856110b9565b5060019392505050565b600080516020611ef5833981519152610852816110c6565b50600b80546001600160a01b0390811660008181526006602052604080822080549690941680835290822095909555908152905580546001600160a01b0319169091179055565b600080516020611ef58339815191526108b1816110c6565b506009805460ff19811660ff90911615179055565b6000336108d48582856110d0565b6108df858585611148565b506001949350505050565b600082815260086020526040902060010154610905816110c6565b61090f83836111a7565b50505050565b6001600160a01b038116331461093e5760405163334bd91960e11b815260040160405180910390fd5b610948828261123b565b505050565b6109556112a8565b600954600161010090910460ff1611610981576040516339c4072d60e11b815260040160405180910390fd5b6009805460001960ff610100808404821692909201160261ff0019909116179055565b6109ae33826112d5565b50565b6109b96112a8565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a319190611d70565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab69190611d70565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b279190611d70565b30600081815260016020526040902054919250610b5991737a250d5630b4cf539739df2c5dacb4c659f2488d906110b9565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7194730610b94816001600160a01b031660009081526001602052604090205490565b600080610ba96000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c11573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c369190611d8d565b50506009805465010000000000600160c81b031916600160281b6001600160a01b0385160217905550610c7560646a52b7d2dcc80cd2e4000000611dd1565b600c5550565b600080516020611ef5833981519152610c93816110c6565b506001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b610cc56112a8565b610cd8600d54610cd3610e17565b61130f565b565b3360009081526006602052604080822080549083905590519091906001600160a01b0384169083908381818185875af1925050503d8060008114610d3a576040519150601f19603f3d011682016040523d82523d6000602084013e610d3f565b606091505b5050905080610d6157604051633d2cec6f60e21b815260040160405180910390fd5b826001600160a01b03167f6b00960292e7976c9eb5434816470b38a441061eee645921536131ccb937cafe83604051610d9c91815260200190565b60405180910390a2505050565b610db16112a8565b610cd8600061158f565b600080516020611ef5833981519152610dd3816110c6565b6001600160a01b038216610de657600080fd5b610dfe600080516020611ef58339815191523361123b565b50610948600080516020611ef5833981519152836111a7565b60095460009060ff61010082048116916401000000008104821691610e4d91630100000081048216916201000090910416611df3565b610e579190611df3565b610e619190611e0c565b905090565b600080516020611ef5833981519152610e7e816110c6565b8160ff16600111158015610e96575060648260ff1611155b610e9f57600080fd5b6064610eb960ff84166a52b7d2dcc80cd2e4000000611e2f565b610ec39190611dd1565b600c555050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606005805461079f90611d36565b600080516020611ef5833981519152610f1c816110c6565b610f24610e17565b60ff1682610f328587611df3565b610f3c9190611df3565b60ff161115610f5e57604051631d15eea760e01b815260040160405180910390fd5b506009805463ffff000019166201000060ff9586160263ff0000001916176301000000938516939093029290921764ff0000000019166401000000009190931602919091179055565b600033610830818585611148565b600080516020611ef5833981519152610fcd816110c6565b50600a80546001600160a01b0390811660008181526006602052604080822080549690941680835290822095909555908152905580546001600160a01b0319169091179055565b600080516020611ef583398151915261102c816110c6565b61104260326a52b7d2dcc80cd2e4000000611dd1565b82111561104e57600080fd5b50600d55565b60008281526008602052604090206001015461106f816110c6565b61090f838361123b565b6110816112a8565b6001600160a01b0381166110b057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6109ae8161158f565b61094883838360016115df565b6109ae81336116b4565b6001600160a01b03838116600090815260026020908152604080832093861683529290522054600019811461090f578181101561113957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016110a7565b61090f848484840360006115df565b6001600160a01b03831661117257604051634b637e8f60e11b8152600060048201526024016110a7565b6001600160a01b03821661119c5760405163ec442f0560e01b8152600060048201526024016110a7565b6109488383836116ed565b60006111b38383610eca565b6112335760008381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556111eb3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161078a565b50600061078a565b60006112478383610eca565b156112335760008381526008602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161078a565b6000546001600160a01b03163314610cd85760405163118cdaa760e01b81523360048201526024016110a7565b6001600160a01b0382166112ff57604051634b637e8f60e11b8152600060048201526024016110a7565b61130b826000836116ed565b5050565b611317611916565b60095460009060ff8084169161133591620100009091041685611e2f565b61133f9190611dd1565b9050600061134d8285611e46565b9050811561135f5761135f30836112d5565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061139457611394611e59565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a9190611d70565b8160018151811061143d5761143d611e59565b60200260200101906001600160a01b031690816001600160a01b03168152505061147c30737a250d5630b4cf539739df2c5dacb4c659f2488d846110b9565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906114bc908590600090869030904290600401611e6f565b600060405180830381600087803b1580156114d657600080fd5b505af11580156114ea573d6000803e3d6000fd5b5047925050811590506115815760095460009061151b9060ff64010000000082048116916301000000900416611df3565b60095460ff918216916115379164010000000090041684611e2f565b6115419190611dd1565b9050600061154f8284611e46565b600b54909150611568906001600160a01b031683611940565b600a5461157e906001600160a01b031682611940565b50505b5050505061130b6001600755565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166116095760405163e602df0560e01b8152600060048201526024016110a7565b6001600160a01b03831661163357604051634a1406b160e11b8152600060048201526024016110a7565b6001600160a01b038085166000908152600260209081526040808320938716835292905220829055801561090f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116a691815260200190565b60405180910390a350505050565b6116be8282610eca565b61130b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016110a7565b600954600160281b90046001600160a01b031661177a576001600160a01b03831630148061172257506001600160a01b038316155b8061173a5750600a546001600160a01b038481169116145b806117525750600a546001600160a01b038381169116145b61176f5760405163038e473d60e41b815260040160405180910390fd5b610948838383611a03565b6001600160a01b0383166000908152600e602052604090205460ff16806117b957506001600160a01b0382166000908152600e602052604090205460ff165b156117c957610948838383611a03565b6009546001600160a01b03838116600160281b909204161461183f576001600160a01b038216600090815260016020526040812054611809908390611ee1565b600c5490915081908082111561183b5760405163a6142e3d60e01b8152600481019290925260248201526044016110a7565b5050505b6000611849610e17565b90506000600d5411801561186e5750600d543060009081526001602052604090205410155b801561188f57506009546001600160a01b03858116600160281b9092041614155b80156118bb575060095460ff16806118bb57506009546001600160a01b03848116600160281b90920416145b156118cc576118cc600d548261130f565b60ff81161561190b57600060646118e660ff841685611e2f565b6118f09190611dd1565b90506118fc8184611e46565b9250611909853083611a03565b505b61090f848484611a03565b60026007540361193957604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461198d576040519150601f19603f3d011682016040523d82523d6000602084013e611992565b606091505b5050905080610948576001600160a01b038316600090815260066020526040812080548492906119c3908490611ee1565b90915550506040518281526001600160a01b038416907f648ec643b30463f72debf7027a0f9ff84bbdf4dc1a2a7ab973cb77dec532656890602001610d9c565b6001600160a01b038316611a2e578060036000828254611a239190611ee1565b90915550611aa09050565b6001600160a01b03831660009081526001602052604090205481811015611a815760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016110a7565b6001600160a01b03841660009081526001602052604090209082900390555b6001600160a01b038216611abc57600380548290039055611adb565b6001600160a01b03821660009081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b2091815260200190565b60405180910390a3505050565b600060208284031215611b3f57600080fd5b81356001600160e01b031981168114611b5757600080fd5b9392505050565b602081526000825180602084015260005b81811015611b8c5760208186018101516040868401015201611b6f565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146109ae57600080fd5b60008060408385031215611bd457600080fd5b8235611bdf81611bac565b946020939093013593505050565b600060208284031215611bff57600080fd5b8135611b5781611bac565b600080600060608486031215611c1f57600080fd5b8335611c2a81611bac565b92506020840135611c3a81611bac565b929592945050506040919091013590565b600060208284031215611c5d57600080fd5b5035919050565b60008060408385031215611c7757600080fd5b823591506020830135611c8981611bac565b809150509250929050565b803560ff81168114611ca557600080fd5b919050565b600060208284031215611cbc57600080fd5b611b5782611c94565b600080600060608486031215611cda57600080fd5b611ce384611c94565b9250611cf160208501611c94565b9150611cff60408501611c94565b90509250925092565b60008060408385031215611d1b57600080fd5b8235611d2681611bac565b91506020830135611c8981611bac565b600181811c90821680611d4a57607f821691505b602082108103611d6a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611d8257600080fd5b8151611b5781611bac565b600080600060608486031215611da257600080fd5b5050815160208301516040909301519094929350919050565b634e487b7160e01b600052601160045260246000fd5b600082611dee57634e487b7160e01b600052601260045260246000fd5b500490565b60ff818116838216019081111561078a5761078a611dbb565b60ff8181168382160290811690818114611e2857611e28611dbb565b5092915050565b808202811582820484141761078a5761078a611dbb565b8181038181111561078a5761078a611dbb565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015611ec15783516001600160a01b0316835260209384019390920191600101611e9a565b50506001600160a01b039590951660608401525050608001529392505050565b8082018082111561078a5761078a611dbb56fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122067dce46b38939e7ab5bf9d6229f0f0bb6d15e857716192c65eebe5a455631dc164736f6c634300081b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009642b23ed1e01df1092b92641051881a322f5d4e00000000000000000000000089bb5313b2c16c0720585081e6913f99e469c5f2000000000000000000000000bfb0849abc07657b018a562d5ca7f496fe6c5922
-----Decoded View---------------
Arg [0] : _team (address): 0x9642b23Ed1E01Df1092B92641051881a322F5D4E
Arg [1] : _vault (address): 0x89bb5313b2C16c0720585081e6913F99e469c5F2
Arg [2] : _governance (address): 0xbFB0849Abc07657b018a562D5Ca7F496fE6c5922
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000009642b23ed1e01df1092b92641051881a322f5d4e
Arg [1] : 00000000000000000000000089bb5313b2c16c0720585081e6913f99e469c5f2
Arg [2] : 000000000000000000000000bfb0849abc07657b018a562d5ca7f496fe6c5922
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.