Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 23 from a total of 23 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Convert RTKLX In... | 12127640 | 1404 days ago | IN | 0 ETH | 0.01054891 | ||||
Pull Out Excess ... | 11984431 | 1427 days ago | IN | 0 ETH | 0.00518196 | ||||
Pull Out Excess ... | 11984431 | 1427 days ago | IN | 0 ETH | 0.00537642 | ||||
Convert RTK Into... | 11703922 | 1470 days ago | IN | 0 ETH | 0.00915164 | ||||
Convert RTK Into... | 11681472 | 1473 days ago | IN | 0 ETH | 0.00564142 | ||||
Convert RTK Into... | 11674936 | 1474 days ago | IN | 0 ETH | 0.00386277 | ||||
Convert RTK Into... | 11668645 | 1475 days ago | IN | 0 ETH | 0.00564142 | ||||
Convert RTK Into... | 11662748 | 1476 days ago | IN | 0 ETH | 0.00579186 | ||||
Convert RTK Into... | 11657233 | 1477 days ago | IN | 0 ETH | 0.00507623 | ||||
Convert RTK Into... | 11657132 | 1477 days ago | IN | 0 ETH | 0.0066437 | ||||
Convert RTK Into... | 11649167 | 1478 days ago | IN | 0 ETH | 0.00240544 | ||||
Convert RTK Into... | 11649167 | 1478 days ago | IN | 0 ETH | 0.0050146 | ||||
Convert RTK Into... | 11649073 | 1478 days ago | IN | 0 ETH | 0.00488876 | ||||
Convert RTK Into... | 11645030 | 1479 days ago | IN | 0 ETH | 0.00476387 | ||||
Convert RTK Into... | 11644973 | 1479 days ago | IN | 0 ETH | 0.00228516 | ||||
Convert RTK Into... | 11644971 | 1479 days ago | IN | 0 ETH | 0.00419387 | ||||
Convert RTK Into... | 11643013 | 1479 days ago | IN | 0 ETH | 0.0055662 | ||||
Convert RTK Into... | 11636674 | 1480 days ago | IN | 0 ETH | 0.00689507 | ||||
Convert RTK Into... | 11635648 | 1480 days ago | IN | 0 ETH | 0.00766038 | ||||
Convert RTK Into... | 11566627 | 1491 days ago | IN | 0 ETH | 0.00438861 | ||||
Pull Out Excess ... | 11493254 | 1502 days ago | IN | 0 ETH | 0.00186457 | ||||
Pull Out Excess ... | 11493236 | 1502 days ago | IN | 0 ETH | 0.00178355 | ||||
Convert RTK Into... | 11490986 | 1502 days ago | IN | 0 ETH | 0.00423585 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RTK_SwapContract
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-18 */ // SPDX-License-Identifier: GPL-3.0 /* * Code and Design by Harshil Jain * A.K.A. Hentai Ousama * Telegram : @OreGaZembuToushiiSuru * Email : [email protected] */ pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } contract RTK_SwapContract { address private owner; /* * _Token_RTKL[0] = RTKL1 is actually original RTK * _Token_RTKL[1...4] are RTKL2...RTKL5 * _Token_Bullet is addy of bullet contract */ mapping(uint256 => address) private _Token_RTKL; mapping(uint256 => uint256) private _RTKLX_ExtCirculation; mapping(uint256 => uint256) private _RTKLX_InitialSupply; address private _Token_AMMO; event OwnerSet(address indexed oldOwner, address indexed newOwner); // modifier to check if caller is owner modifier OwnerOnly() { require(msg.sender == owner, "Caller is not owner"); _; } constructor(address RTK, address RTKL2, address RTKL3, address RTKL4, address RTKL5, address AMMO) public { owner = msg.sender; _Token_RTKL[0] = RTK; _Token_RTKL[1] = RTKL2; _Token_RTKL[2] = RTKL3; _Token_RTKL[3] = RTKL4; _Token_RTKL[4] = RTKL5; _Token_AMMO = AMMO; _RTKLX_ExtCirculation[0] = ERC20(RTK).totalSupply(); _RTKLX_ExtCirculation[1] = 0; _RTKLX_ExtCirculation[2] = 0; _RTKLX_ExtCirculation[3] = 0; _RTKLX_ExtCirculation[4] = 0; _RTKLX_InitialSupply[1] = 999999900000000000000000000; _RTKLX_InitialSupply[2] = 1000000000000000000000000000; _RTKLX_InitialSupply[3] = 1000000000000000000000000000; _RTKLX_InitialSupply[4] = 1000000000000000000000000000; emit OwnerSet(address(0), owner); } function changeOwner(address newOwner) public OwnerOnly { emit OwnerSet(owner, newOwner); owner = newOwner; } function getOwner() external view returns (address) { return owner; } function changeTokenAddresses(address RTK, address RTKL2, address RTKL3, address RTKL4, address RTKL5, address AMMO) public OwnerOnly { _Token_RTKL[0] = RTK; _Token_RTKL[1] = RTKL2; _Token_RTKL[2] = RTKL3; _Token_RTKL[3] = RTKL4; _Token_RTKL[4] = RTKL5; _Token_AMMO = AMMO; } // Function to get amount of minimum required AMMO in the contract function getMinimumRequiredAMMOAmount() public view returns (uint256) { uint256 netUnburntExtCirculation = 0; uint256 amountOfTokensBurnt; for(uint i = 1; i <= 4; i++) { amountOfTokensBurnt = _RTKLX_InitialSupply[i] - ERC20(_Token_RTKL[i]).totalSupply(); if(amountOfTokensBurnt <= _RTKLX_ExtCirculation[i]) { netUnburntExtCirculation += (_RTKLX_ExtCirculation[i] - amountOfTokensBurnt)*(i); } } return netUnburntExtCirculation; } // Function to get amount of minimum required RTK in the contract function getMinimumRequiredRTKAmount() public view returns (uint256) { uint256 netUnburntExtCirculation = 0; uint256 amountOfTokensBurnt; for(uint i = 1; i <= 4; i++) { amountOfTokensBurnt = _RTKLX_InitialSupply[i] - ERC20(_Token_RTKL[i]).totalSupply(); if(amountOfTokensBurnt <= _RTKLX_ExtCirculation[i]) { netUnburntExtCirculation += (_RTKLX_ExtCirculation[i] - amountOfTokensBurnt); } } return netUnburntExtCirculation; } // Function for owner to pull out EXCESS AMMO. A certain minimum amount AMMO has to stay within the contract // In order to facilitate conversion of RTKLX into RTK for all the UNBURNED RTKLX in the circulation. function pullOutExcessAMMO(address to, uint256 amount) public OwnerOnly returns (bool) { ERC20 AMMOToken = ERC20(_Token_AMMO); require ( amount > 0, "Cannot pull out 0" ); require ( AMMOToken.balanceOf(address(this)) >= amount, "Insufficient AMMO balance in the contract" ); require ( AMMOToken.balanceOf(address(this)) - amount >= getMinimumRequiredAMMOAmount(), "Cannot withdraw an amount that leaves swap contract deficient of minimum required AMMO" ); return AMMOToken.transfer(to, amount); } // Function for owner to pull out EXCESS RTK. A certain minimum amount RTK has to stay within the contract // In order to facilitate conversion of RTKLX into RTK for all the UNBURNED RTKLX in the circulation. function pullOutExcessRTK(address to, uint256 amount) public OwnerOnly returns (bool) { ERC20 RTKToken = ERC20(_Token_RTKL[0]); require ( amount > 0, "Cannot pull out 0" ); require ( RTKToken.balanceOf(address(this)) >= amount, "Insufficient RTK balance in the contract" ); require ( (RTKToken.balanceOf(address(this)) - amount) >= getMinimumRequiredRTKAmount(), "Cannot withdraw an amount that leaves swap contract deficient of minimum required RTK" ); return RTKToken.transfer(to, amount); } function convertRTKIntoRTKLX(address to, uint256 amount, uint256 X) public returns (bool) { require ( (X >= 2 && X <= 5), "Invalid value of X. X can only be 2, 3, 4, 5" ); require ( amount > 0, "Cannot convert 0" ); ERC20 AMMOToken = ERC20(_Token_AMMO); ERC20 RTKToken = ERC20(_Token_RTKL[0]); ERC20 RTKLXToken = ERC20(_Token_RTKL[X-1]); require ( RTKLXToken.balanceOf(address(this)) >= amount, "Insufficeint RTKLX Token balance in the contract for the given value of X" ); require ( RTKToken.allowance(msg.sender, address(this)) >= amount, "Allowance Lower than required for RTKToken" ); require ( AMMOToken.allowance(msg.sender, address(this)) >= ((X-1)*amount), "Allowance Lower than required for bulletToken" ); if(AMMOToken.transferFrom(msg.sender, address(this), ((X-1)*amount))) { if(RTKToken.transferFrom(msg.sender, address(this), amount)) { if(RTKLXToken.transfer(to, amount)) { _RTKLX_ExtCirculation[X-1] += amount; return true; } else { return false; } } else { AMMOToken.transfer(msg.sender, (X-1)*amount); return false; } } else { return false; } } function convertRTKLXIntoRTK(address to, uint256 amount, uint256 X) public returns (bool) { require ( (X >= 2 && X <= 5), "Invalid value of X. X can only be 2, 3, 4, 5" ); require ( amount > 0, "Cannot convert 0" ); ERC20 RTKToken = ERC20(_Token_RTKL[0]); ERC20 AMMOToken = ERC20 (_Token_AMMO); ERC20 RTKLXToken = ERC20(_Token_RTKL[X-1]); require ( RTKToken.balanceOf(address(this)) >= amount, "Insufficeint RTK Token balance in the contract" ); require ( AMMOToken.balanceOf(address(this)) >= amount*(X-1), "insufficient AMMO token balance in the contract" ); require ( RTKLXToken.allowance(msg.sender, address(this)) >= amount, "Allowance Lower than required for RTKToken" ); if(RTKLXToken.transferFrom(msg.sender, address(this), amount)) { if(_RTKLX_ExtCirculation[X-1] >= amount) { _RTKLX_ExtCirculation[X-1] -= amount; } else { _RTKLX_ExtCirculation[X-1] = 0; } if(RTKToken.transfer(to, amount)) { return AMMOToken.transfer(to, (X-1)*amount); } else { return false; } } else { return false; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"RTK","type":"address"},{"internalType":"address","name":"RTKL2","type":"address"},{"internalType":"address","name":"RTKL3","type":"address"},{"internalType":"address","name":"RTKL4","type":"address"},{"internalType":"address","name":"RTKL5","type":"address"},{"internalType":"address","name":"AMMO","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerSet","type":"event"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"RTK","type":"address"},{"internalType":"address","name":"RTKL2","type":"address"},{"internalType":"address","name":"RTKL3","type":"address"},{"internalType":"address","name":"RTKL4","type":"address"},{"internalType":"address","name":"RTKL5","type":"address"},{"internalType":"address","name":"AMMO","type":"address"}],"name":"changeTokenAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"X","type":"uint256"}],"name":"convertRTKIntoRTKLX","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"X","type":"uint256"}],"name":"convertRTKLXIntoRTK","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMinimumRequiredAMMOAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumRequiredRTKAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"pullOutExcessAMMO","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"pullOutExcessRTK","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051612912380380612912833981810160405260c081101561003357600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550856001600080815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600160006001815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600160006002815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006003815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006004815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156102db57600080fd5b505afa1580156102ef573d6000803e3d6000fd5b505050506040513d602081101561030557600080fd5b8101908080519060200190929190505050600260008081526020019081526020016000208190555060006002600060018152602001908152602001600020819055506000600260006002815260200190815260200160002081905550600060026000600381526020019081526020016000208190555060006002600060048152602001908152602001600020819055506b033b2e373409220f84f000006003600060018152602001908152602001600020819055506b033b2e3c9fd0803ce80000006003600060028152602001908152602001600020819055506b033b2e3c9fd0803ce80000006003600060038152602001908152602001600020819055506b033b2e3c9fd0803ce800000060036000600481526020019081526020016000208190555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3505050505050612459806104b96000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063873647821161006657806387364782146102bc578063893d20e8146102da578063a6f9dae11461030e578063c252a33d14610352578063d5344d621461037057610093565b80630de1e6fd146100985780634291931a14610106578063567b98701461016a57806366e7b0bd146101d8575b600080fd5b6100ee600480360360608110156100ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506103d4565b60405180821515815260200191505060405180910390f35b6101526004803603604081101561011c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd9565b60405180821515815260200191505060405180910390f35b6101c06004803603606081101561018057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610ffd565b60405180821515815260200191505060405180910390f35b6102ba600480360360c08110156101ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611740565b005b6102c46119e8565b6040518082815260200191505060405180910390f35b6102e2611b17565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103506004803603602081101561032457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b40565b005b61035a611cbe565b6040518082815260200191505060405180910390f35b6103bc6004803603604081101561038657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611deb565b60405180821515815260200191505060405180910390f35b6000600282101580156103e8575060058211155b61043d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061237a602c913960400191505060405180910390fd5b600083116104b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f7420636f6e7665727420300000000000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600060018703815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050858173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105b557600080fd5b505afa1580156105c9573d6000803e3d6000fd5b505050506040513d60208110156105df57600080fd5b81019080805190602001909291905050501015610647576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260498152602001806121ff6049913960600191505060405180910390fd5b858273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156106cd57600080fd5b505afa1580156106e1573d6000803e3d6000fd5b505050506040513d60208110156106f757600080fd5b8101908080519060200190929190505050101561075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061229d602a913960400191505060405180910390fd5b8560018603028373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156107ea57600080fd5b505afa1580156107fe573d6000803e3d6000fd5b505050506040513d602081101561081457600080fd5b8101908080519060200190929190505050101561087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806123f7602d913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd33308960018a03026040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b505050506040513d602081101561093a57600080fd5b810190808051906020019092919050505015610bca578173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156109df57600080fd5b505af11580156109f3573d6000803e3d6000fd5b505050506040513d6020811015610a0957600080fd5b810190808051906020019092919050505015610b0c578073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b505050506040513d6020811015610aba57600080fd5b810190808051906020019092919050505015610b005785600260006001880381526020019081526020016000206000828254019250508190555060019350505050610bd2565b60009350505050610bd2565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338860018903026040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b8257600080fd5b505af1158015610b96573d6000803e3d6000fd5b505050506040513d6020811015610bac57600080fd5b81019080805190602001909291905050505060009350505050610bd2565b600093505050505b9392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b60006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008311610d4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f742070756c6c206f7574203000000000000000000000000000000081525060200191505060405180910390fd5b828173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610db357600080fd5b505afa158015610dc7573d6000803e3d6000fd5b505050506040513d6020811015610ddd57600080fd5b81019080805190602001909291905050501015610e45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806123a66028913960400191505060405180910390fd5b610e4d611cbe565b838273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eb557600080fd5b505afa158015610ec9573d6000803e3d6000fd5b505050506040513d6020811015610edf57600080fd5b8101908080519060200190929190505050031015610f48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260558152602001806122486055913960600191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610fb957600080fd5b505af1158015610fcd573d6000803e3d6000fd5b505050506040513d6020811015610fe357600080fd5b810190808051906020019092919050505091505092915050565b600060028210158015611011575060058211155b611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061237a602c913960400191505060405180910390fd5b600083116110dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f7420636f6e7665727420300000000000000000000000000000000081525060200191505060405180910390fd5b60006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600060018703815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050858373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d602081101561120857600080fd5b81019080805190602001909291905050501015611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806122c7602e913960400191505060405180910390fd5b6001850386028273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112dd57600080fd5b505afa1580156112f1573d6000803e3d6000fd5b505050506040513d602081101561130757600080fd5b8101908080519060200190929190505050101561136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061234b602f913960400191505060405180910390fd5b858173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156113f557600080fd5b505afa158015611409573d6000803e3d6000fd5b505050506040513d602081101561141f57600080fd5b81019080805190602001909291905050501015611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061229d602a913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561151657600080fd5b505af115801561152a573d6000803e3d6000fd5b505050506040513d602081101561154057600080fd5b810190808051906020019092919050505015611731578560026000600188038152602001908152602001600020541061159c578560026000600188038152602001908152602001600020600082825403925050819055506115b9565b600060026000600188038152602001908152602001600020819055505b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561162a57600080fd5b505af115801561163e573d6000803e3d6000fd5b505050506040513d602081101561165457600080fd5b810190808051906020019092919050505015611725578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb888860018903026040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156116e057600080fd5b505af11580156116f4573d6000803e3d6000fd5b505050506040513d602081101561170a57600080fd5b81019080805190602001909291905050509350505050611739565b60009350505050611739565b600093505050505b9392505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b856001600080815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600160006001815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600160006002815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006003815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006004815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050565b60008060009050600080600190505b60048111611b0e576001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7857600080fd5b505afa158015611a8c573d6000803e3d6000fd5b505050506040513d6020811015611aa257600080fd5b8101908080519060200190929190505050600360008381526020019081526020016000205403915060026000828152602001908152602001600020548211611b0157808260026000848152602001908152602001600020540302830192505b80806001019150506119f7565b50819250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009050600080600190505b60048111611de2576001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4e57600080fd5b505afa158015611d62573d6000803e3d6000fd5b505050506040513d6020811015611d7857600080fd5b8101908080519060200190929190505050600360008381526020019081526020016000205403915060026000828152602001908152602001600020548211611dd55781600260008381526020019081526020016000205403830192505b8080600101915050611ccd565b50819250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eaf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008311611f4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f742070756c6c206f7574203000000000000000000000000000000081525060200191505060405180910390fd5b828173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611fb457600080fd5b505afa158015611fc8573d6000803e3d6000fd5b505050506040513d6020811015611fde57600080fd5b81019080805190602001909291905050501015612046576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806123ce6029913960400191505060405180910390fd5b61204e6119e8565b838273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120b657600080fd5b505afa1580156120ca573d6000803e3d6000fd5b505050506040513d60208110156120e057600080fd5b8101908080519060200190929190505050031015612149576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260568152602001806122f56056913960600191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156121ba57600080fd5b505af11580156121ce573d6000803e3d6000fd5b505050506040513d60208110156121e457600080fd5b81019080805190602001909291905050509150509291505056fe496e73756666696365696e742052544b4c5820546f6b656e2062616c616e636520696e2074686520636f6e747261637420666f722074686520676976656e2076616c7565206f66205843616e6e6f7420776974686472617720616e20616d6f756e742074686174206c6561766573207377617020636f6e747261637420646566696369656e74206f66206d696e696d756d2072657175697265642052544b416c6c6f77616e6365204c6f776572207468616e20726571756972656420666f722052544b546f6b656e496e73756666696365696e742052544b20546f6b656e2062616c616e636520696e2074686520636f6e747261637443616e6e6f7420776974686472617720616e20616d6f756e742074686174206c6561766573207377617020636f6e747261637420646566696369656e74206f66206d696e696d756d20726571756972656420414d4d4f696e73756666696369656e7420414d4d4f20746f6b656e2062616c616e636520696e2074686520636f6e7472616374496e76616c69642076616c7565206f6620582e20582063616e206f6e6c7920626520322c20332c20342c2035496e73756666696369656e742052544b2062616c616e636520696e2074686520636f6e7472616374496e73756666696369656e7420414d4d4f2062616c616e636520696e2074686520636f6e7472616374416c6c6f77616e6365204c6f776572207468616e20726571756972656420666f722062756c6c6574546f6b656ea2646970667358221220575f2dce5b17efbd452ba56b8eb71d261825812ec47bfb7b97ed3ad0d620945164736f6c634300060c00330000000000000000000000001f6deadcb526c4710cf941872b86dcdfbbbd921100000000000000000000000066bc87412a2d92a2829137ae9dd0ee063cd0f201000000000000000000000000b0f87621a43f50c3b7a0d9f58cc804f0cdc5c2670000000000000000000000004a1c95097473c54619cb0e22c6913206b88b9a1a00000000000000000000000063b9713df102ea2b484196a95cdec5d8af278a6000000000000000000000000041d4e9880d6ae03f6e152a52afc3ecf82063a08b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063873647821161006657806387364782146102bc578063893d20e8146102da578063a6f9dae11461030e578063c252a33d14610352578063d5344d621461037057610093565b80630de1e6fd146100985780634291931a14610106578063567b98701461016a57806366e7b0bd146101d8575b600080fd5b6100ee600480360360608110156100ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506103d4565b60405180821515815260200191505060405180910390f35b6101526004803603604081101561011c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd9565b60405180821515815260200191505060405180910390f35b6101c06004803603606081101561018057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610ffd565b60405180821515815260200191505060405180910390f35b6102ba600480360360c08110156101ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611740565b005b6102c46119e8565b6040518082815260200191505060405180910390f35b6102e2611b17565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103506004803603602081101561032457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b40565b005b61035a611cbe565b6040518082815260200191505060405180910390f35b6103bc6004803603604081101561038657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611deb565b60405180821515815260200191505060405180910390f35b6000600282101580156103e8575060058211155b61043d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061237a602c913960400191505060405180910390fd5b600083116104b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f7420636f6e7665727420300000000000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600060018703815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050858173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105b557600080fd5b505afa1580156105c9573d6000803e3d6000fd5b505050506040513d60208110156105df57600080fd5b81019080805190602001909291905050501015610647576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260498152602001806121ff6049913960600191505060405180910390fd5b858273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156106cd57600080fd5b505afa1580156106e1573d6000803e3d6000fd5b505050506040513d60208110156106f757600080fd5b8101908080519060200190929190505050101561075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061229d602a913960400191505060405180910390fd5b8560018603028373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156107ea57600080fd5b505afa1580156107fe573d6000803e3d6000fd5b505050506040513d602081101561081457600080fd5b8101908080519060200190929190505050101561087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806123f7602d913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd33308960018a03026040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b505050506040513d602081101561093a57600080fd5b810190808051906020019092919050505015610bca578173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156109df57600080fd5b505af11580156109f3573d6000803e3d6000fd5b505050506040513d6020811015610a0957600080fd5b810190808051906020019092919050505015610b0c578073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b505050506040513d6020811015610aba57600080fd5b810190808051906020019092919050505015610b005785600260006001880381526020019081526020016000206000828254019250508190555060019350505050610bd2565b60009350505050610bd2565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338860018903026040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b8257600080fd5b505af1158015610b96573d6000803e3d6000fd5b505050506040513d6020811015610bac57600080fd5b81019080805190602001909291905050505060009350505050610bd2565b600093505050505b9392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b60006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008311610d4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f742070756c6c206f7574203000000000000000000000000000000081525060200191505060405180910390fd5b828173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610db357600080fd5b505afa158015610dc7573d6000803e3d6000fd5b505050506040513d6020811015610ddd57600080fd5b81019080805190602001909291905050501015610e45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806123a66028913960400191505060405180910390fd5b610e4d611cbe565b838273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eb557600080fd5b505afa158015610ec9573d6000803e3d6000fd5b505050506040513d6020811015610edf57600080fd5b8101908080519060200190929190505050031015610f48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260558152602001806122486055913960600191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610fb957600080fd5b505af1158015610fcd573d6000803e3d6000fd5b505050506040513d6020811015610fe357600080fd5b810190808051906020019092919050505091505092915050565b600060028210158015611011575060058211155b611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061237a602c913960400191505060405180910390fd5b600083116110dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f7420636f6e7665727420300000000000000000000000000000000081525060200191505060405180910390fd5b60006001600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001600060018703815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050858373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d602081101561120857600080fd5b81019080805190602001909291905050501015611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806122c7602e913960400191505060405180910390fd5b6001850386028273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112dd57600080fd5b505afa1580156112f1573d6000803e3d6000fd5b505050506040513d602081101561130757600080fd5b8101908080519060200190929190505050101561136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061234b602f913960400191505060405180910390fd5b858173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156113f557600080fd5b505afa158015611409573d6000803e3d6000fd5b505050506040513d602081101561141f57600080fd5b81019080805190602001909291905050501015611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061229d602a913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561151657600080fd5b505af115801561152a573d6000803e3d6000fd5b505050506040513d602081101561154057600080fd5b810190808051906020019092919050505015611731578560026000600188038152602001908152602001600020541061159c578560026000600188038152602001908152602001600020600082825403925050819055506115b9565b600060026000600188038152602001908152602001600020819055505b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561162a57600080fd5b505af115801561163e573d6000803e3d6000fd5b505050506040513d602081101561165457600080fd5b810190808051906020019092919050505015611725578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb888860018903026040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156116e057600080fd5b505af11580156116f4573d6000803e3d6000fd5b505050506040513d602081101561170a57600080fd5b81019080805190602001909291905050509350505050611739565b60009350505050611739565b600093505050505b9392505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b856001600080815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600160006001815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600160006002815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006003815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006004815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050565b60008060009050600080600190505b60048111611b0e576001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7857600080fd5b505afa158015611a8c573d6000803e3d6000fd5b505050506040513d6020811015611aa257600080fd5b8101908080519060200190929190505050600360008381526020019081526020016000205403915060026000828152602001908152602001600020548211611b0157808260026000848152602001908152602001600020540302830192505b80806001019150506119f7565b50819250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009050600080600190505b60048111611de2576001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4e57600080fd5b505afa158015611d62573d6000803e3d6000fd5b505050506040513d6020811015611d7857600080fd5b8101908080519060200190929190505050600360008381526020019081526020016000205403915060026000828152602001908152602001600020548211611dd55781600260008381526020019081526020016000205403830192505b8080600101915050611ccd565b50819250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eaf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008311611f4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f742070756c6c206f7574203000000000000000000000000000000081525060200191505060405180910390fd5b828173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611fb457600080fd5b505afa158015611fc8573d6000803e3d6000fd5b505050506040513d6020811015611fde57600080fd5b81019080805190602001909291905050501015612046576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806123ce6029913960400191505060405180910390fd5b61204e6119e8565b838273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120b657600080fd5b505afa1580156120ca573d6000803e3d6000fd5b505050506040513d60208110156120e057600080fd5b8101908080519060200190929190505050031015612149576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260568152602001806122f56056913960600191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156121ba57600080fd5b505af11580156121ce573d6000803e3d6000fd5b505050506040513d60208110156121e457600080fd5b81019080805190602001909291905050509150509291505056fe496e73756666696365696e742052544b4c5820546f6b656e2062616c616e636520696e2074686520636f6e747261637420666f722074686520676976656e2076616c7565206f66205843616e6e6f7420776974686472617720616e20616d6f756e742074686174206c6561766573207377617020636f6e747261637420646566696369656e74206f66206d696e696d756d2072657175697265642052544b416c6c6f77616e6365204c6f776572207468616e20726571756972656420666f722052544b546f6b656e496e73756666696365696e742052544b20546f6b656e2062616c616e636520696e2074686520636f6e747261637443616e6e6f7420776974686472617720616e20616d6f756e742074686174206c6561766573207377617020636f6e747261637420646566696369656e74206f66206d696e696d756d20726571756972656420414d4d4f696e73756666696369656e7420414d4d4f20746f6b656e2062616c616e636520696e2074686520636f6e7472616374496e76616c69642076616c7565206f6620582e20582063616e206f6e6c7920626520322c20332c20342c2035496e73756666696369656e742052544b2062616c616e636520696e2074686520636f6e7472616374496e73756666696369656e7420414d4d4f2062616c616e636520696e2074686520636f6e7472616374416c6c6f77616e6365204c6f776572207468616e20726571756972656420666f722062756c6c6574546f6b656ea2646970667358221220575f2dce5b17efbd452ba56b8eb71d261825812ec47bfb7b97ed3ad0d620945164736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001f6deadcb526c4710cf941872b86dcdfbbbd921100000000000000000000000066bc87412a2d92a2829137ae9dd0ee063cd0f201000000000000000000000000b0f87621a43f50c3b7a0d9f58cc804f0cdc5c2670000000000000000000000004a1c95097473c54619cb0e22c6913206b88b9a1a00000000000000000000000063b9713df102ea2b484196a95cdec5d8af278a6000000000000000000000000041d4e9880d6ae03f6e152a52afc3ecf82063a08b
-----Decoded View---------------
Arg [0] : RTK (address): 0x1F6DEADcb526c4710Cf941872b86dcdfBbBD9211
Arg [1] : RTKL2 (address): 0x66bc87412A2D92A2829137AE9dD0Ee063Cd0F201
Arg [2] : RTKL3 (address): 0xb0f87621A43f50c3B7a0d9F58cc804f0cdc5C267
Arg [3] : RTKL4 (address): 0x4A1c95097473C54619cB0E22c6913206B88B9A1a
Arg [4] : RTKL5 (address): 0x63b9713Df102eA2b484196a95CDEc5d8Af278a60
Arg [5] : AMMO (address): 0x41D4E9880d6aE03f6E152A52afc3ECF82063A08b
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000001f6deadcb526c4710cf941872b86dcdfbbbd9211
Arg [1] : 00000000000000000000000066bc87412a2d92a2829137ae9dd0ee063cd0f201
Arg [2] : 000000000000000000000000b0f87621a43f50c3b7a0d9f58cc804f0cdc5c267
Arg [3] : 0000000000000000000000004a1c95097473c54619cb0e22c6913206b88b9a1a
Arg [4] : 00000000000000000000000063b9713df102ea2b484196a95cdec5d8af278a60
Arg [5] : 00000000000000000000000041d4e9880d6ae03f6e152a52afc3ecf82063a08b
Deployed Bytecode Sourcemap
26192:8354:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31417:1608;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30721:688;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33037:1506;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27980:334;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28398:545;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27885:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27745:132;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29026:540;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29799:691;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31417:1608;31501:4;31547:1;31542;:6;;:16;;;;;31557:1;31552;:6;;31542:16;31518:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31685:1;31676:6;:10;31653:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31751:15;31775:11;;;;;;;;;;;31751:36;;31798:14;31821:11;:14;31833:1;31821:14;;;;;;;;;;;;;;;;;;;;;31798:38;;31847:16;31872:11;:16;31886:1;31884;:3;31872:16;;;;;;;;;;;;;;;;;;;;;31847:42;;31972:6;31933:10;:20;;;31962:4;31933:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:45;;31910:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32172:6;32123:8;:18;;;32142:10;32162:4;32123:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:55;;32100:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32349:6;32346:1;32344;:3;32343:12;32292:9;:19;;;32312:10;32332:4;32292:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:64;;32269:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32459:9;:22;;;32482:10;32502:4;32516:6;32513:1;32511;:3;32510:12;32459:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32456:562;;;32544:8;:21;;;32566:10;32586:4;32593:6;32544:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32541:421;;;32624:10;:19;;;32644:2;32648:6;32624:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32621:210;;;32710:6;32680:21;:26;32704:1;32702;:3;32680:26;;;;;;;;;;;;:36;;;;;;;;;;;32746:4;32739:11;;;;;;;32621:210;32806:5;32799:12;;;;;;;32541:421;32871:9;:18;;;32890:10;32908:6;32905:1;32903;:3;32902:12;32871:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32941:5;32934:12;;;;;;;32456:562;33001:5;32994:12;;;;;31417:1608;;;;;;:::o;30721:688::-;30801:4;26821:5;;;;;;;;;;;26807:19;;:10;:19;;;26799:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30818:14:::1;30841:11;:14;30853:1:::0;30841:14:::1;;;;;;;;;;;;;;;;;;;;;30818:38;;30909:1;30900:6;:10;30877:78;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31036:6;30999:8;:18;;;31026:4;30999:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:43;;30976:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31202:29;:27;:29::i;:::-;31191:6;31155:8;:18;;;31182:4;31155:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:42;31154:77;;31131:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31372:8;:17;;;31390:2;31394:6;31372:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;31365:36;;;30721:688:::0;;;;:::o;33037:1506::-;33121:4;33167:1;33162;:6;;:16;;;;;33177:1;33172;:6;;33162:16;33138:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33305:1;33296:6;:10;33273:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33371:14;33394:11;:14;33406:1;33394:14;;;;;;;;;;;;;;;;;;;;;33371:38;;33420:15;33445:11;;;;;;;;;;;33420:37;;33468:16;33493:11;:16;33507:1;33505;:3;33493:16;;;;;;;;;;;;;;;;;;;;;33468:42;;33595:6;33558:8;:18;;;33585:4;33558:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:43;;33535:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33767:1;33765;:3;33757:6;:12;33719:9;:19;;;33747:4;33719:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:50;;33696:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33943:6;33892:10;:20;;;33913:10;33933:4;33892:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;33869:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34043:10;:23;;;34067:10;34087:4;34094:6;34043:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34040:496;;;34151:6;34121:21;:26;34145:1;34143;:3;34121:26;;;;;;;;;;;;:36;34118:183;;34208:6;34178:21;:26;34202:1;34200;:3;34178:26;;;;;;;;;;;;:36;;;;;;;;;;;34118:183;;;34284:1;34255:21;:26;34279:1;34277;:3;34255:26;;;;;;;;;;;:30;;;;34118:183;34318:8;:17;;;34336:2;34340:6;34318:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34315:165;;;34375:9;:18;;;34394:2;34404:6;34401:1;34399;:3;34398:12;34375:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34368:43;;;;;;;34315:165;34459:5;34452:12;;;;;;;34040:496;34519:5;34512:12;;;;;33037:1506;;;;;;:::o;27980:334::-;26821:5;;;;;;;;;;26807:19;;:10;:19;;;26799:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28142:3:::1;28125:11;:14;28137:1:::0;28125:14:::1;;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;28173:5;28156:11;:14;28168:1;28156:14;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;28206:5;28189:11;:14;28201:1;28189:14;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;28239:5;28222:11;:14;28234:1;28222:14;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;28272:5;28255:11;:14;28267:1;28255:14;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;28302:4;28288:11;;:18;;;;;;;;;;;;;;;;;;27980:334:::0;;;;;;:::o;28398:545::-;28459:7;28479:32;28514:1;28479:36;;28526:27;28568:6;28577:1;28568:10;;28564:320;28585:1;28580;:6;28564:320;;28662:11;:14;28674:1;28662:14;;;;;;;;;;;;;;;;;;;;;28656:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28630:20;:23;28651:1;28630:23;;;;;;;;;;;;:61;28608:83;;28732:21;:24;28754:1;28732:24;;;;;;;;;;;;28709:19;:47;28706:167;;28855:1;28833:19;28806:21;:24;28828:1;28806:24;;;;;;;;;;;;:46;28805:52;28777:80;;;;28706:167;28588:3;;;;;;;28564:320;;;;28911:24;28904:31;;;;28398:545;:::o;27885:83::-;27928:7;27955:5;;;;;;;;;;;27948:12;;27885:83;:::o;27745:132::-;26821:5;;;;;;;;;;26807:19;;:10;:19;;;26799:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27833:8:::1;27817:25;;27826:5;::::0;::::1;;;;;;;;27817:25;;;;;;;;;;;;27861:8;27853:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;27745:132:::0;:::o;29026:540::-;29086:7;29106:32;29141:1;29106:36;;29153:27;29195:6;29204:1;29195:10;;29191:316;29212:1;29207;:6;29191:316;;29289:11;:14;29301:1;29289:14;;;;;;;;;;;;;;;;;;;;;29283:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29257:20;:23;29278:1;29257:23;;;;;;;;;;;;:61;29235:83;;29359:21;:24;29381:1;29359:24;;;;;;;;;;;;29336:19;:47;29333:163;;29460:19;29433:21;:24;29455:1;29433:24;;;;;;;;;;;;:46;29404:76;;;;29333:163;29215:3;;;;;;;29191:316;;;;29534:24;29527:31;;;;29026:540;:::o;29799:691::-;29880:4;26821:5;;;;;;;;;;;26807:19;;:10;:19;;;26799:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29897:15:::1;29921:11;;;;;;;;;;;29897:36;;29986:1;29977:6;:10;29954:78;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;30114:6;30076:9;:19;;;30104:4;30076:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:44;;30053:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30280:30;:28;:30::i;:::-;30270:6;30233:9;:19;;;30261:4;30233:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:43;:77;;30210:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30452:9;:18;;;30471:2;30475:6;30452:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;30445:37;;;29799:691:::0;;;;:::o
Swarm Source
ipfs://575f2dce5b17efbd452ba56b8eb71d261825812ec47bfb7b97ed3ad0d6209451
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.