Source Code
Latest 25 from a total of 1,215 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 22942748 | 203 days ago | IN | 0.002 ETH | 0.00149884 | ||||
| Withdraw | 22842357 | 217 days ago | IN | 0.002 ETH | 0.00005217 | ||||
| Withdraw | 22828714 | 219 days ago | IN | 0.002 ETH | 0.00007203 | ||||
| Withdraw | 22807183 | 222 days ago | IN | 0.002 ETH | 0.00005518 | ||||
| Withdraw | 21707397 | 376 days ago | IN | 0.002 ETH | 0.00044715 | ||||
| Withdraw | 21692871 | 378 days ago | IN | 0.002 ETH | 0.00057875 | ||||
| Withdraw | 21692867 | 378 days ago | IN | 0.002 ETH | 0.00057156 | ||||
| Withdraw | 21688242 | 379 days ago | IN | 0.002 ETH | 0.00134538 | ||||
| Withdraw | 21688237 | 379 days ago | IN | 0.002 ETH | 0.00125827 | ||||
| Withdraw | 21683160 | 379 days ago | IN | 0.002 ETH | 0.00082472 | ||||
| Withdraw | 21683072 | 379 days ago | IN | 0.002 ETH | 0.00073021 | ||||
| Withdraw | 21682907 | 379 days ago | IN | 0.002 ETH | 0.00100221 | ||||
| Withdraw | 21682876 | 379 days ago | IN | 0.002 ETH | 0.0011571 | ||||
| Withdraw | 21680230 | 380 days ago | IN | 0.002 ETH | 0.00117476 | ||||
| Withdraw | 21313430 | 431 days ago | IN | 0.002 ETH | 0.00270475 | ||||
| Withdraw | 21240319 | 441 days ago | IN | 0.002 ETH | 0.00260243 | ||||
| Withdraw | 21103299 | 460 days ago | IN | 0.002 ETH | 0.00069445 | ||||
| Withdraw | 21072451 | 465 days ago | IN | 0.002 ETH | 0.00489701 | ||||
| Withdraw | 21036453 | 470 days ago | IN | 0.002 ETH | 0.00137946 | ||||
| Withdraw | 21036448 | 470 days ago | IN | 0.002 ETH | 0.00127138 | ||||
| Withdraw | 21014597 | 473 days ago | IN | 0.002 ETH | 0.00155646 | ||||
| Withdraw | 21009480 | 473 days ago | IN | 0.002 ETH | 0.00165218 | ||||
| Withdraw | 21009477 | 473 days ago | IN | 0.002 ETH | 0.00153585 | ||||
| Withdraw | 21008239 | 474 days ago | IN | 0.002 ETH | 0.0015217 | ||||
| Withdraw | 21008213 | 474 days ago | IN | 0.002 ETH | 0.0017372 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 22942748 | 203 days ago | 0.002 ETH | ||||
| Transfer | 22842357 | 217 days ago | 0.002 ETH | ||||
| Transfer | 22828714 | 219 days ago | 0.002 ETH | ||||
| Transfer | 22807183 | 222 days ago | 0.002 ETH | ||||
| Transfer | 21707397 | 376 days ago | 0.002 ETH | ||||
| Transfer | 21692871 | 378 days ago | 0.002 ETH | ||||
| Transfer | 21692867 | 378 days ago | 0.002 ETH | ||||
| Transfer | 21688242 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21688237 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21683160 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21683072 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21682907 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21682876 | 379 days ago | 0.002 ETH | ||||
| Transfer | 21680230 | 380 days ago | 0.002 ETH | ||||
| Transfer | 21313430 | 431 days ago | 0.002 ETH | ||||
| Transfer | 21240319 | 441 days ago | 0.002 ETH | ||||
| Transfer | 21103299 | 460 days ago | 0.002 ETH | ||||
| Transfer | 21072451 | 465 days ago | 0.002 ETH | ||||
| Transfer | 21036453 | 470 days ago | 0.002 ETH | ||||
| Transfer | 21036448 | 470 days ago | 0.002 ETH | ||||
| Transfer | 21014597 | 473 days ago | 0.002 ETH | ||||
| Transfer | 21009480 | 473 days ago | 0.002 ETH | ||||
| Transfer | 21009477 | 473 days ago | 0.002 ETH | ||||
| Transfer | 21008239 | 474 days ago | 0.002 ETH | ||||
| Transfer | 21008213 | 474 days ago | 0.002 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
RocketDropV1point5
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/*
osssssssssssso+- +sssssssssssso+- -ssss+ `sssso`
mMMMMMMMMMMMMMMMNy. hMMMMMMMMMMMMMMMNs` :mMMMh` :mMMMy`
mMMMy//////+oymMMMN: hMMMy///////+yNMMMd .hMMMm: oNMMN+
mMMMo `hMMMm hMMMo :MMMM- +NMMNo .hNMMd-
mMMMo /MMMM` hMMMo /MMMm` -dMMNh/mMMNs`
mMMMo .hMMMh hMMMy///////ohNMNh- `yNMMNMMm/
mMMMh+++++++ohmMMNh. hMMMNNNNNNNMMMMNy:` `yMMMMN:
mMMMMMMMMMMMMMNmy/` hMMMhooooooosyhNMNd/ `sNMMMMMm/
mMMMdsssssmMMMd- hMMMo `-mMMN: -dMMNy+mMMNs`
mMMMo -hNMMd: hMMMo `dMMMs `+mMMNo` -dMMMd-
mMMMo `oNMMNo` hMMMs........-/yNMMN: .yNMMd: `sNMMm+
mMMMo :mMMMh. hMMMNmmmmmmNNNMMMNd/ :mMMNy. /mMMNy`
hmmm+ .hmmmd- ymmmmmmmmmmmmmdyo:` +mmmm+ -dmmmh.
presents...
____ __ __ ____
/ __ \____ _____/ /_____ / /_ / __ \_________ ____
/ /_/ / __ \/ ___/ //_/ _ \/ __/ / / / / ___/ __ \/ __ \
/ _, _/ /_/ / /__/ ,< / __/ /_ / /_/ / / / /_/ / /_/ /
/_/ |_|\____/\___/_/|_|\___/\__/ /_____/_/ \____/ .___/
/_/
ROCKET DROP: the only farming solution that let's you create pools
to stake *any* kind of token for *any* kind of yield. Now an exclusive
RBX-Carbon product!
If you have any questions, feel free to join our tg group listed here. Anyone can
help answer questions, or just @ and admin they will get back to
you.
web: https://rbx.ae
tg: @rbxtoken
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
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) {
// This method relies in extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @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);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
pragma solidity ^0.6.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: @openzeppelin/contracts/utils/EnumerableSet.sol
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
* (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) { // Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
// When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
// so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
require(set._values.length > index, "EnumerableSet: index out of bounds");
return set._values[index];
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(value)));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint256(_at(set._inner, index)));
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
}
// File: @openzeppelin/contracts/GSN/Context.sol
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity ^0.6.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: contracts/VendingMachine.sol
pragma solidity 0.6.12;
contract RocketDropV1point5 is Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// Info of each user.
struct UserInfo {
uint256 amount; // How many LP tokens the user has provided.
uint256 rewardDebt; // Reward debt. See explanation below.
uint256 depositStamp;
}
// Info of each pool.
struct PoolInfo {
IERC20 lpToken; // Address of LP token contract.
uint256 lastRewardBlock; // Last block number that ERC20s distribution occurs.
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
IERC20 rewardToken; // pool specific reward token.
uint256 startBlock; // pool specific block number when rewards start
uint256 endBlock; // pool specific block number when rewards end
uint256 rewardPerBlock; // pool specific reward per block
uint256 paidOut; // total paid out by pool
uint256 tokensStaked; // allows the same token to be staked across different pools
uint256 gasAmount; // eth fee charged on deposits and withdrawals (per pool)
uint256 minStake; // minimum tokens allowed to be staked
uint256 maxStake; // max tokens allowed to be staked
address payable partnerTreasury; // allows eth fee to be split with a partner on transfer
uint256 partnerPercent; // eth fee percent of partner split, 2 decimals (ie 10000 = 100.00%, 1002 = 10.02%)
}
// extra parameters for pools; optional
struct PoolExtras {
uint256 totalStakers;
uint256 maxStakers;
uint256 lpTokenFee; // divide by 1000 ie 150 is 1.5%
uint256 lockPeriod; // time in blocks needed before withdrawal
IERC20 accessToken;
uint256 accessTokenMin;
bool accessTokenRequired;
}
// default eth fee for deposits and withdrawals
//uint256 public gasAmount = 2000000000000000;
uint256 public gasAmount;
address payable public treasury;
IERC20 public accessToken;
uint256 public accessTokenMin;
bool public accessTokenRequired = false;
IERC20 public rbxToken;
// Info of each pool.
PoolInfo[] public poolInfo;
PoolExtras[] public poolExtras;
// Info of each user that stakes LP tokens.
mapping (uint256 => mapping (address => UserInfo)) public userInfo;
event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
constructor(IERC20 rbxTokenAddress) public {
rbxToken = rbxTokenAddress;
treasury = msg.sender;
}
function rewardPerBlock(uint index) external view returns (uint) {
return poolInfo[index].rewardPerBlock;
}
// Number of LP pools
function poolLength() external view returns (uint256) {
return poolInfo.length;
}
function currentBlock() external view returns (uint256) {
return block.number;
}
// Fund the farm, increase the end block
function initialFund(uint256 _pid, uint256 _amount, uint256 _startBlock) public {
require(poolInfo[_pid].startBlock == 0, "initialFund: initial funding already complete");
IERC20 erc20;
erc20 = poolInfo[_pid].rewardToken;
uint256 startTokenBalance = erc20.balanceOf(address(this));
erc20.safeTransferFrom(address(msg.sender), address(this), _amount);
uint256 endTokenBalance = erc20.balanceOf(address(this));
uint256 trueDepositedTokens = endTokenBalance.sub(startTokenBalance);
poolInfo[_pid].lastRewardBlock = _startBlock;
poolInfo[_pid].startBlock = _startBlock;
poolInfo[_pid].endBlock = _startBlock.add(trueDepositedTokens.div(poolInfo[_pid].rewardPerBlock));
}
// Fund the farm, increase the end block
function fundMore(uint256 _pid, uint256 _amount) public {
require(block.number < poolInfo[_pid].endBlock, "fundMore: pool closed or use initialFund() first");
IERC20 erc20;
erc20 = poolInfo[_pid].rewardToken;
uint256 startTokenBalance = erc20.balanceOf(address(this));
erc20.safeTransferFrom(address(msg.sender), address(this), _amount);
uint256 endTokenBalance = erc20.balanceOf(address(this));
uint256 trueDepositedTokens = endTokenBalance.sub(startTokenBalance);
poolInfo[_pid].endBlock += trueDepositedTokens.div(poolInfo[_pid].rewardPerBlock);
}
// Add a new lp to the pool. Can only be called by the owner.
// rewards are calculated per pool, so you can add the same lpToken multiple times
function add(IERC20 _lpToken, IERC20 _rewardToken, uint256 _rewardPerBlock, bool _withUpdate) public onlyOwner {
if (_withUpdate) {
massUpdatePools();
}
//###
poolInfo.push(PoolInfo({
lpToken: _lpToken,
lastRewardBlock: 0,
accERC20PerShare: 0,
rewardToken: _rewardToken,
startBlock: 0,
endBlock: 0,
rewardPerBlock: _rewardPerBlock,
paidOut: 0,
tokensStaked: 0,
gasAmount: gasAmount, // defaults to global gas/eth fee
minStake: 0,
maxStake: ~uint256(0),
partnerTreasury: treasury,
partnerPercent: 0
}));
poolExtras.push(PoolExtras({
totalStakers: 0,
maxStakers: ~uint256(0),
lpTokenFee: 0,
lockPeriod: 0,
accessTokenRequired: false,
accessToken: IERC20(address(0)),
accessTokenMin: 0
}));
}
//####
// Update the given pool's ERC20 reward per block. Can only be called by the owner.
function set(uint256 _pid, uint256 _rewardPerBlock, bool _withUpdate) public onlyOwner {
if (_withUpdate) {
updatePool(_pid);
}
poolInfo[_pid].rewardPerBlock = _rewardPerBlock;
updatePool(_pid);
}
// Pool adjustment functions
function minStake(uint256 _pid, uint256 _minStake) public onlyOwner {
poolInfo[_pid].minStake = _minStake;
}
function maxStake(uint256 _pid, uint256 _maxStake) public onlyOwner {
poolInfo[_pid].maxStake = _maxStake;
}
function maxStakersAdj(uint256 _pid, uint256 _maxStakers) public onlyOwner {
poolExtras[_pid].maxStakers = _maxStakers;
}
function lpTokenFeeAdj(uint256 _pid, uint256 _lpTokenFee) public onlyOwner {
poolExtras[_pid].lpTokenFee = _lpTokenFee;
}
function lockPeriodAdj(uint256 _pid, uint256 _lockPeriod) public onlyOwner {
poolExtras[_pid].lockPeriod = _lockPeriod;
}
function poolAccessTokenReq(uint256 _pid, bool _accessTokenRequired) public onlyOwner {
poolExtras[_pid].accessTokenRequired = _accessTokenRequired;
}
function poolAccessTokenAddy(uint256 _pid, IERC20 _accessToken) public onlyOwner {
poolExtras[_pid].accessToken = _accessToken;
}
function poolAccessTokenMin(uint256 _pid, uint256 _accessTokenMin) public onlyOwner {
poolExtras[_pid].accessTokenMin = _accessTokenMin;
}
// END Pool adjustment functions
// View function to see deposited LP for a user.
function deposited(uint256 _pid, address _user) external view returns (uint256) {
UserInfo storage user = userInfo[_pid][_user];
return user.amount;
}
// View function to see pending ERC20s for a user.
function pending(uint256 _pid, address _user) external view returns (uint256) {
PoolInfo memory pool = poolInfo[_pid];
UserInfo memory user = userInfo[_pid][_user];
uint256 accERC20PerShare = pool.accERC20PerShare;
uint256 lpSupply = pool.tokensStaked;
if (block.number > pool.lastRewardBlock && lpSupply != 0) {
uint256 lastBlock = block.number < pool.endBlock ? block.number : pool.endBlock;
uint256 nrOfBlocks = lastBlock.sub(pool.lastRewardBlock);
uint256 erc20Reward = nrOfBlocks.mul(pool.rewardPerBlock);
accERC20PerShare = accERC20PerShare.add(erc20Reward.mul(1e36).div(lpSupply));
}
return user.amount.mul(accERC20PerShare).div(1e36).sub(user.rewardDebt);
}
// View function for total reward the farm has yet to pay out.
function totalPending(uint256 _pid) external view returns (uint256) {
if (block.number <= poolInfo[_pid].startBlock) {
return 0;
}
uint256 lastBlock = block.number < poolInfo[_pid].endBlock ? block.number : poolInfo[_pid].endBlock;
return poolInfo[_pid].rewardPerBlock.mul(lastBlock - poolInfo[_pid].startBlock).sub(poolInfo[_pid].paidOut);
}
// Update reward variables for all pools. Be careful of gas spending!
function massUpdatePools() public {
uint256 length = poolInfo.length;
for (uint256 pid = 0; pid < length; ++pid) {
updatePool(pid);
}
}
// Update reward variables of the given pool to be up-to-date.
function updatePool(uint256 _pid) public {
PoolInfo storage pool = poolInfo[_pid];
uint256 lastBlock = block.number < pool.endBlock ? block.number : pool.endBlock;
if (lastBlock <= pool.lastRewardBlock) {
return;
}
uint256 lpSupply = pool.tokensStaked;
if (lpSupply == 0) {
pool.lastRewardBlock = lastBlock;
return;
}
uint256 nrOfBlocks = lastBlock.sub(pool.lastRewardBlock);
uint256 erc20Reward = nrOfBlocks.mul(pool.rewardPerBlock);
pool.accERC20PerShare = pool.accERC20PerShare.add(erc20Reward.mul(1e36).div(lpSupply));
pool.lastRewardBlock = lastBlock;
}
// Deposit LP tokens to VendingMachine for ERC20 allocation.
function deposit(uint256 _pid, uint256 _amount) public payable {
if(accessTokenRequired){
require(accessToken.balanceOf(msg.sender) >= accessTokenMin, 'Must have minimum amount of access token!');
}
PoolExtras storage poolEx = poolExtras[_pid];
if(poolEx.accessTokenRequired){
require(poolEx.accessToken.balanceOf(msg.sender) >= poolEx.accessTokenMin, 'Must have minimum amount of access token!');
}
require(poolEx.totalStakers < poolEx.maxStakers, 'Max stakers reached!');
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
uint256 poolGasAmount = pool.gasAmount;
require(msg.value >= poolGasAmount, 'Correct gas amount must be sent!');
require(_amount >= pool.minStake && (_amount.add(user.amount)) <= pool.maxStake, 'Min/Max stake required!');
updatePool(_pid);
if (user.amount > 0) {
uint256 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e36).sub(user.rewardDebt);
if(pendingAmount > 0)
erc20Transfer(msg.sender, _pid, pendingAmount);
}
uint256 startTokenBalance = pool.lpToken.balanceOf(address(this));
pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
uint256 endTokenBalance = pool.lpToken.balanceOf(address(this));
uint256 depositFee = poolEx.lpTokenFee.mul(endTokenBalance).div(1000);
uint256 trueDepositedTokens = endTokenBalance.sub(startTokenBalance).sub(depositFee);
user.amount = user.amount.add(trueDepositedTokens);
user.depositStamp = block.number;
pool.tokensStaked = pool.tokensStaked.add(trueDepositedTokens);
user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e36);
// remit eth fee according to partner status
if (pool.partnerPercent == 0) {
treasury.transfer(msg.value);
} else {
uint256 totalAmount = msg.value;
uint256 partnerAmount = totalAmount.mul(pool.partnerPercent).div(10000);
uint256 treasuryAmount = totalAmount.sub(partnerAmount);
treasury.transfer(treasuryAmount);
pool.partnerTreasury.transfer(partnerAmount);
}
poolEx.totalStakers = poolEx.totalStakers.add(1);
emit Deposit(msg.sender, _pid, _amount);
}
// Withdraw LP tokens from VendingMachine.
function withdraw(uint256 _pid, uint256 _amount) public payable {
if(accessTokenRequired){
require(accessToken.balanceOf(msg.sender) >= accessTokenMin, 'Must have minimum amount of access token!');
}
PoolExtras storage poolEx = poolExtras[_pid];
PoolInfo storage pool = poolInfo[_pid];
uint256 poolGasAmount = pool.gasAmount;
require(msg.value >= poolGasAmount, 'Correct gas amount must be sent!');
UserInfo storage user = userInfo[_pid][msg.sender];
require(user.amount >= _amount, "withdraw: can't withdraw more than deposit");
updatePool(_pid);
uint256 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e36).sub(user.rewardDebt);
if(pendingAmount > 0)
erc20Transfer(msg.sender, _pid, pendingAmount);
user.amount = user.amount.sub(_amount);
user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e36);
if(_amount > 0){
require(user.depositStamp.add(poolEx.lockPeriod) <= block.number,'Lock period not fulfilled');
pool.lpToken.safeTransfer(address(msg.sender), _amount);
pool.tokensStaked = pool.tokensStaked.sub(_amount);
}
// remit eth fee according to partner status
if (pool.partnerPercent == 0) {
treasury.transfer(msg.value);
} else {
uint256 totalAmount = msg.value;
uint256 partnerAmount = totalAmount.mul(pool.partnerPercent).div(10000);
uint256 treasuryAmount = totalAmount.sub(partnerAmount);
treasury.transfer(treasuryAmount);
pool.partnerTreasury.transfer(partnerAmount);
}
if(user.amount == 0){
poolEx.totalStakers = poolEx.totalStakers.sub(1);
}
emit Withdraw(msg.sender, _pid, _amount);
}
// Withdraw without caring about rewards. EMERGENCY ONLY.
function emergencyWithdraw(uint256 _pid) public {
PoolInfo storage pool = poolInfo[_pid];
PoolExtras storage poolEx = poolExtras[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
pool.lpToken.safeTransfer(address(msg.sender), user.amount);
pool.tokensStaked = pool.tokensStaked.sub(user.amount);
emit EmergencyWithdraw(msg.sender, _pid, user.amount);
user.amount = 0;
user.rewardDebt = 0;
poolEx.totalStakers = poolEx.totalStakers.sub(1);
}
// Transfer ERC20 and update the required ERC20 to payout all rewards
function erc20Transfer(address _to, uint256 _pid, uint256 _amount) internal {
IERC20 erc20;
erc20 = poolInfo[_pid].rewardToken;
erc20.transfer(_to, _amount);
poolInfo[_pid].paidOut += _amount;
}
// adjust default/global gas fee
function adjustGasGlobal(uint256 newgas) public onlyOwner {
gasAmount = newgas;
}
// access token settings
function changeAccessToken(IERC20 newToken) public onlyOwner {
accessToken = newToken;
}
function changeAccessMin(uint256 newMin) public onlyOwner {
accessTokenMin = newMin;
}
function changeAccessTknReq(bool setting) public onlyOwner {
accessTokenRequired = setting;
}
// adjust pool gas/eth fee
function adjustPoolGas(uint256 _pid, uint256 newgas) public onlyOwner {
poolInfo[_pid].gasAmount = newgas;
}
function adjustBlockReward(uint256 _pid, uint256 newReward) public onlyOwner {
poolInfo[_pid].rewardPerBlock = newReward;
}
function adjustEndBlock(uint256 _pid, uint256 newBlock) public onlyOwner {
poolInfo[_pid].endBlock = newBlock;
}
function adjustLastBlock(uint256 _pid, uint256 newBlock) public onlyOwner {
poolInfo[_pid].lastRewardBlock = newBlock;
}
function withdrawAnyToken(address _recipient, address _ERC20address, uint256 _amount) public onlyOwner returns(bool) {
IERC20(_ERC20address).transfer(_recipient, _amount); //use of the _ERC20 traditional transfer
return true;
}
// change global treasury
function changeTreasury(address payable newTreasury) public onlyOwner {
treasury = newTreasury;
}
function changePartnerTreasury(uint256 _pid, address payable newTreasury) public onlyOwner {
poolInfo[_pid].partnerTreasury = newTreasury;
}
function changePartnerPercent(uint256 _pid, uint256 newPercent) public onlyOwner {
poolInfo[_pid].partnerPercent = newPercent;
}
function transfer() public onlyOwner {
treasury.transfer(address(this).balance);
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"rbxTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"accessToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessTokenMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessTokenRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"newReward","type":"uint256"}],"name":"adjustBlockReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"newBlock","type":"uint256"}],"name":"adjustEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newgas","type":"uint256"}],"name":"adjustGasGlobal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"newBlock","type":"uint256"}],"name":"adjustLastBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"newgas","type":"uint256"}],"name":"adjustPoolGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMin","type":"uint256"}],"name":"changeAccessMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"setting","type":"bool"}],"name":"changeAccessTknReq","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"newToken","type":"address"}],"name":"changeAccessToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"changePartnerPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address payable","name":"newTreasury","type":"address"}],"name":"changePartnerTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTreasury","type":"address"}],"name":"changeTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"deposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"fundMore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"initialFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_lockPeriod","type":"uint256"}],"name":"lockPeriodAdj","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_lpTokenFee","type":"uint256"}],"name":"lpTokenFeeAdj","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_maxStake","type":"uint256"}],"name":"maxStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_maxStakers","type":"uint256"}],"name":"maxStakersAdj","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_minStake","type":"uint256"}],"name":"minStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract IERC20","name":"_accessToken","type":"address"}],"name":"poolAccessTokenAddy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_accessTokenMin","type":"uint256"}],"name":"poolAccessTokenMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_accessTokenRequired","type":"bool"}],"name":"poolAccessTokenReq","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolExtras","outputs":[{"internalType":"uint256","name":"totalStakers","type":"uint256"},{"internalType":"uint256","name":"maxStakers","type":"uint256"},{"internalType":"uint256","name":"lpTokenFee","type":"uint256"},{"internalType":"uint256","name":"lockPeriod","type":"uint256"},{"internalType":"contract IERC20","name":"accessToken","type":"address"},{"internalType":"uint256","name":"accessTokenMin","type":"uint256"},{"internalType":"bool","name":"accessTokenRequired","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accERC20PerShare","type":"uint256"},{"internalType":"contract IERC20","name":"rewardToken","type":"address"},{"internalType":"uint256","name":"startBlock","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"paidOut","type":"uint256"},{"internalType":"uint256","name":"tokensStaked","type":"uint256"},{"internalType":"uint256","name":"gasAmount","type":"uint256"},{"internalType":"uint256","name":"minStake","type":"uint256"},{"internalType":"uint256","name":"maxStake","type":"uint256"},{"internalType":"address payable","name":"partnerTreasury","type":"address"},{"internalType":"uint256","name":"partnerPercent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rbxToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"totalPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"depositStamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"_ERC20address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAnyToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526005805460ff191690553480156200001b57600080fd5b5060405162003a1738038062003a17833981810160405260208110156200004157600080fd5b505160006200004f620000d7565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055600280546001600160a01b03191633179055620000db565b3390565b61392c80620000eb6000396000f3fe6080604052600436106102935760003560e01c80638a4068dd1161015a578063c444a035116100c1578063e2bbb1581161007a578063e2bbb15814610a96578063e4c75c2714610ab9578063e5e9891e14610af2578063ef64fef514610b1c578063f2fde38b14610b48578063f4060a6e14610b7b57610293565b8063c444a035146109e2578063d10a51bc146109f7578063d1be41ac14610a27578063dc4ed60d14610a3c578063e12ed13c14610a6c578063e243c5fb14610a8157610293565b8063a3e55f7b11610113578063a3e55f7b146108d1578063a9720e661461090a578063b14f2a391461093a578063b993bfbc1461096d578063c08339ae1461099d578063c269ca30146109b257610293565b80638a4068dd146107bd5780638b0bd050146107d25780638da5cb5b146107fc5780639233336b1461081157806393f1a40b14610841578063a23831061461089857610293565b80635312ea8e116101fe57806367b50af9116101b757806367b50af91461068757806367b561331461069c5780636bfe033a146106c65780636f110eff14610711578063715018a61461077e578063791f39cd1461079357610293565b80635312ea8e146105585780635e1d68041461058257806361d027b3146105d957806362804f941461060a578063630b5ba11461063a57806364482f791461064f57610293565b80633677bdc3116102505780633677bdc31461043c57806343a693871461046c578063441a3e70146104a257806346fd51de146104c55780634ffd347a146104f557806351eb05a61461052e57610293565b8063081e3eda146102985780630824d576146102bf5780631526fe27146102f45780631cd0b3bb146103aa5780632d92572c146103da5780632de17c571461040a575b600080fd5b3480156102a457600080fd5b506102ad610bab565b60408051918252519081900360200190f35b3480156102cb57600080fd5b506102f2600480360360208110156102e257600080fd5b50356001600160a01b0316610bb1565b005b34801561030057600080fd5b5061031e6004803603602081101561031757600080fd5b5035610c2b565b604051808f6001600160a01b031681526020018e81526020018d81526020018c6001600160a01b031681526020018b81526020018a8152602001898152602001888152602001878152602001868152602001858152602001848152602001836001600160a01b031681526020018281526020019e50505050505050505050505050505060405180910390f35b3480156103b657600080fd5b506102f2600480360360408110156103cd57600080fd5b5080359060200135610cb6565b3480156103e657600080fd5b506102f2600480360360408110156103fd57600080fd5b5080359060200135610d35565b34801561041657600080fd5b506102f26004803603604081101561042d57600080fd5b50803590602001351515610db4565b34801561044857600080fd5b506102f26004803603604081101561045f57600080fd5b5080359060200135610e40565b34801561047857600080fd5b506102f26004803603606081101561048f57600080fd5b5080359060208101359060400135610ebf565b6102f2600480360360408110156104b857600080fd5b5080359060200135611101565b3480156104d157600080fd5b506102f2600480360360408110156104e857600080fd5b508035906020013561153f565b34801561050157600080fd5b506102f26004803603604081101561051857600080fd5b50803590602001356001600160a01b03166115be565b34801561053a57600080fd5b506102f26004803603602081101561055157600080fd5b503561165d565b34801561056457600080fd5b506102f26004803603602081101561057b57600080fd5b5035611731565b34801561058e57600080fd5b506105c5600480360360608110156105a557600080fd5b506001600160a01b0381358116916020810135909116906040013561180f565b604080519115158252519081900360200190f35b3480156105e557600080fd5b506105ee6118f6565b604080516001600160a01b039092168252519081900360200190f35b34801561061657600080fd5b506102f26004803603604081101561062d57600080fd5b5080359060200135611905565b34801561064657600080fd5b506102f2611984565b34801561065b57600080fd5b506102f26004803603606081101561067257600080fd5b508035906020810135906040013515156119a7565b34801561069357600080fd5b506102ad611a3f565b3480156106a857600080fd5b506102f2600480360360208110156106bf57600080fd5b5035611a45565b3480156106d257600080fd5b506102f2600480360360808110156106e957600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611aa2565b34801561071d57600080fd5b5061073b6004803603602081101561073457600080fd5b5035611dc2565b6040805197885260208801969096528686019490945260608601929092526001600160a01b0316608085015260a0840152151560c0830152519081900360e00190f35b34801561078a57600080fd5b506102f2611e1a565b34801561079f57600080fd5b506102ad600480360360208110156107b657600080fd5b5035611ebc565b3480156107c957600080fd5b506102f2611ee5565b3480156107de57600080fd5b506102ad600480360360208110156107f557600080fd5b5035611f76565b34801561080857600080fd5b506105ee61206e565b34801561081d57600080fd5b506102f26004803603604081101561083457600080fd5b508035906020013561207d565b34801561084d57600080fd5b5061087a6004803603604081101561086457600080fd5b50803590602001356001600160a01b03166120fc565b60408051938452602084019290925282820152519081900360600190f35b3480156108a457600080fd5b506102ad600480360360408110156108bb57600080fd5b50803590602001356001600160a01b0316612128565b3480156108dd57600080fd5b506102f2600480360360408110156108f457600080fd5b50803590602001356001600160a01b0316612152565b34801561091657600080fd5b506102f26004803603604081101561092d57600080fd5b50803590602001356121f1565b34801561094657600080fd5b506102f26004803603602081101561095d57600080fd5b50356001600160a01b03166123e6565b34801561097957600080fd5b506102f26004803603604081101561099057600080fd5b5080359060200135612460565b3480156109a957600080fd5b506105ee6124df565b3480156109be57600080fd5b506102f2600480360360408110156109d557600080fd5b50803590602001356124f3565b3480156109ee57600080fd5b506105c5612572565b348015610a0357600080fd5b506102f260048036036040811015610a1a57600080fd5b508035906020013561257b565b348015610a3357600080fd5b506102ad6125fa565b348015610a4857600080fd5b506102f260048036036040811015610a5f57600080fd5b5080359060200135612600565b348015610a7857600080fd5b506102ad61267f565b348015610a8d57600080fd5b506105ee612683565b6102f260048036036040811015610aac57600080fd5b5080359060200135612692565b348015610ac557600080fd5b506102ad60048036036040811015610adc57600080fd5b50803590602001356001600160a01b0316612cc9565b348015610afe57600080fd5b506102f260048036036020811015610b1557600080fd5b5035612ec1565b348015610b2857600080fd5b506102f260048036036020811015610b3f57600080fd5b50351515612f1e565b348015610b5457600080fd5b506102f260048036036020811015610b6b57600080fd5b50356001600160a01b0316612f89565b348015610b8757600080fd5b506102f260048036036040811015610b9e57600080fd5b5080359060200135613081565b60065490565b610bb9613100565b6000546001600160a01b03908116911614610c09576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60068181548110610c3857fe5b60009182526020909120600e9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a8b0154600b8c0154600c8d0154600d909d01546001600160a01b039c8d169e509a9c999b9889169a9799969895979496939592949193909216908e565b610cbe613100565b6000546001600160a01b03908116911614610d0e576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060068381548110610d1c57fe5b90600052602060002090600e0201600601819055505050565b610d3d613100565b6000546001600160a01b03908116911614610d8d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060078381548110610d9b57fe5b9060005260206000209060070201600101819055505050565b610dbc613100565b6000546001600160a01b03908116911614610e0c576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060078381548110610e1a57fe5b60009182526020909120600790910201600601805460ff19169115159190911790555050565b610e48613100565b6000546001600160a01b03908116911614610e98576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060068381548110610ea657fe5b90600052602060002090600e0201600101819055505050565b60068381548110610ecc57fe5b90600052602060002090600e020160040154600014610f1c5760405162461bcd60e51b815260040180806020018281038252602d81526020018061380c602d913960400191505060405180910390fd5b600060068481548110610f2b57fe5b600091825260208083206003600e909302019190910154604080516370a0823160e01b815230600482015290516001600160a01b03909216945084926370a0823192602480840193829003018186803b158015610f8757600080fd5b505afa158015610f9b573d6000803e3d6000fd5b505050506040513d6020811015610fb157600080fd5b50519050610fca6001600160a01b038316333087613104565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561101957600080fd5b505afa15801561102d573d6000803e3d6000fd5b505050506040513d602081101561104357600080fd5b5051905060006110538284613164565b9050846006888154811061106357fe5b90600052602060002090600e020160010181905550846006888154811061108657fe5b90600052602060002090600e0201600401819055506110d66110cf600689815481106110ae57fe5b90600052602060002090600e020160060154836131a690919063ffffffff16565b86906131e8565b600688815481106110e357fe5b90600052602060002090600e02016005018190555050505050505050565b60055460ff16156111c75760048054600354604080516370a0823160e01b815233948101949094525191926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d602081101561118857600080fd5b505110156111c75760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b6000600783815481106111d657fe5b906000526020600020906007020190506000600684815481106111f557fe5b90600052602060002090600e0201905060008160090154905080341015611263576040805162461bcd60e51b815260206004820181905260248201527f436f72726563742067617320616d6f756e74206d7573742062652073656e7421604482015290519081900360640190fd5b6000858152600860209081526040808320338452909152902080548511156112bc5760405162461bcd60e51b815260040180806020018281038252602a81526020018061387a602a913960400191505060405180910390fd5b6112c58661165d565b600061130882600101546113026a0c097ce7bc90715b34b9f160241b6112fc8860020154876000015461324290919063ffffffff16565b906131a6565b90613164565b9050801561131b5761131b33888361329b565b81546113279087613164565b808355600285015461134d916a0c097ce7bc90715b34b9f160241b916112fc9190613242565b600183015585156113f25743611374866003015484600201546131e890919063ffffffff16565b11156113c7576040805162461bcd60e51b815260206004820152601960248201527f4c6f636b20706572696f64206e6f742066756c66696c6c656400000000000000604482015290519081900360640190fd5b83546113dd906001600160a01b03163388613385565b60088401546113ec9087613164565b60088501555b600d84015461143a576002546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611434573d6000803e3d6000fd5b506114e9565b6000349050600061145e6127106112fc88600d01548561324290919063ffffffff16565b9050600061146c8383613164565b6002546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156114a7573d6000803e3d6000fd5b50600c8701546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156114e4573d6000803e3d6000fd5b505050505b81546114ff5784546114fc906001613164565b85555b604080518781529051889133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a350505050505050565b611547613100565b6000546001600160a01b03908116911614611597576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600783815481106115a557fe5b9060005260206000209060070201600501819055505050565b6115c6613100565b6000546001600160a01b03908116911614611616576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061162457fe5b906000526020600020906007020160040160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b60006006828154811061166c57fe5b90600052602060002090600e02019050600081600501544310611693578160050154611695565b435b9050816001015481116116a957505061172e565b6008820154806116bf575060019091015561172e565b60006116d884600101548461316490919063ffffffff16565b905060006116f385600601548361324290919063ffffffff16565b905061171f611714846112fc846a0c097ce7bc90715b34b9f160241b613242565b6002870154906131e8565b60028601555050506001909101555b50565b60006006828154811061174057fe5b90600052602060002090600e0201905060006007838154811061175f57fe5b600091825260208083208684526008825260408085203380875293529093208054865460079094029094019450926117a1926001600160a01b03169190613385565b805460088401546117b191613164565b600884015580546040805191825251859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a36000808255600180830191909155825461180791613164565b909155505050565b6000611819613100565b6000546001600160a01b03908116911614611869576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b826001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156118c057600080fd5b505af11580156118d4573d6000803e3d6000fd5b505050506040513d60208110156118ea57600080fd5b50600195945050505050565b6002546001600160a01b031681565b61190d613100565b6000546001600160a01b0390811691161461195d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061196b57fe5b9060005260206000209060070201600301819055505050565b60065460005b818110156119a35761199b8161165d565b60010161198a565b5050565b6119af613100565b6000546001600160a01b039081169116146119ff576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8015611a0e57611a0e8361165d565b8160068481548110611a1c57fe5b90600052602060002090600e020160060181905550611a3a8361165d565b505050565b60015481565b611a4d613100565b6000546001600160a01b03908116911614611a9d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600155565b611aaa613100565b6000546001600160a01b03908116911614611afa576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8015611b0857611b08611984565b6006604051806101c00160405280866001600160a01b031681526020016000815260200160008152602001856001600160a01b03168152602001600081526020016000815260200184815260200160008152602001600081526020016001548152602001600081526020016000198152602001600260009054906101000a90046001600160a01b03166001600160a01b03168152602001600081525090806001815401808255809150506001900390600052602060002090600e020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015561016082015181600b015561018082015181600c0160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506101a082015181600d0155505060076040518060e00160405280600081526020016000198152602001600081526020016000815260200160006001600160a01b03168152602001600081526020016000151581525090806001815401808255809150506001900390600052602060002090600702016000909190919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550505050505050565b60078181548110611dcf57fe5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549496509294919390926001600160a01b0316919060ff1687565b611e22613100565b6000546001600160a01b03908116911614611e72576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060068281548110611ecb57fe5b90600052602060002090600e02016006015490505b919050565b611eed613100565b6000546001600160a01b03908116911614611f3d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6002546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561172e573d6000803e3d6000fd5b600060068281548110611f8557fe5b90600052602060002090600e0201600401544311611fa557506000611ee0565b600060068381548110611fb457fe5b90600052602060002090600e0201600501544310611ff05760068381548110611fd957fe5b90600052602060002090600e020160050154611ff2565b435b90506120676006848154811061200457fe5b90600052602060002090600e0201600701546113026006868154811061202657fe5b90600052602060002090600e02016004015484036006878154811061204757fe5b90600052602060002090600e02016006015461324290919063ffffffff16565b9392505050565b6000546001600160a01b031690565b612085613100565b6000546001600160a01b039081169116146120d5576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106120e357fe5b90600052602060002090600e0201600b01819055505050565b600860209081526000928352604080842090915290825290208054600182015460029092015490919083565b60008281526008602090815260408083206001600160a01b03851684529091529020545b92915050565b61215a613100565b6000546001600160a01b039081169116146121aa576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106121b857fe5b90600052602060002090600e0201600c0160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b600682815481106121fe57fe5b90600052602060002090600e020160050154431061224d5760405162461bcd60e51b81526004018080602001828103825260308152602001806137dc6030913960400191505060405180910390fd5b60006006838154811061225c57fe5b600091825260208083206003600e909302019190910154604080516370a0823160e01b815230600482015290516001600160a01b03909216945084926370a0823192602480840193829003018186803b1580156122b857600080fd5b505afa1580156122cc573d6000803e3d6000fd5b505050506040513d60208110156122e257600080fd5b505190506122fb6001600160a01b038316333086613104565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561234a57600080fd5b505afa15801561235e573d6000803e3d6000fd5b505050506040513d602081101561237457600080fd5b5051905060006123848284613164565b90506123b76006878154811061239657fe5b90600052602060002090600e020160060154826131a690919063ffffffff16565b600687815481106123c457fe5b600091825260209091206005600e909202010180549091019055505050505050565b6123ee613100565b6000546001600160a01b0390811691161461243e576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b612468613100565b6000546001600160a01b039081169116146124b8576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106124c657fe5b90600052602060002090600e0201600501819055505050565b60055461010090046001600160a01b031681565b6124fb613100565b6000546001600160a01b0390811691161461254b576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061255957fe5b9060005260206000209060070201600201819055505050565b60055460ff1681565b612583613100565b6000546001600160a01b039081169116146125d3576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106125e157fe5b90600052602060002090600e0201600901819055505050565b60045481565b612608613100565b6000546001600160a01b03908116911614612658576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806006838154811061266657fe5b90600052602060002090600e0201600a01819055505050565b4390565b6003546001600160a01b031681565b60055460ff16156127585760048054600354604080516370a0823160e01b815233948101949094525191926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b1580156126ef57600080fd5b505afa158015612703573d6000803e3d6000fd5b505050506040513d602081101561271957600080fd5b505110156127585760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b60006007838154811061276757fe5b60009182526020909120600790910201600681015490915060ff1615612843576005810154600480830154604080516370a0823160e01b81523393810193909352516001600160a01b03909116916370a08231916024808301926020929190829003018186803b1580156127da57600080fd5b505afa1580156127ee573d6000803e3d6000fd5b505050506040513d602081101561280457600080fd5b505110156128435760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b6001810154815410612893576040805162461bcd60e51b81526020600482015260146024820152734d6178207374616b65727320726561636865642160601b604482015290519081900360640190fd5b6000600684815481106128a257fe5b6000918252602080832087845260088252604080852033865290925292206009600e9092029092019081015490925034811115612926576040805162461bcd60e51b815260206004820181905260248201527f436f72726563742067617320616d6f756e74206d7573742062652073656e7421604482015290519081900360640190fd5b82600a0154851015801561294a5750600b83015482546129479087906131e8565b11155b61299b576040805162461bcd60e51b815260206004820152601760248201527f4d696e2f4d6178207374616b6520726571756972656421000000000000000000604482015290519081900360640190fd5b6129a48661165d565b8154156129f75760006129e283600101546113026a0c097ce7bc90715b34b9f160241b6112fc8860020154886000015461324290919063ffffffff16565b905080156129f5576129f533888361329b565b505b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612a4157600080fd5b505afa158015612a55573d6000803e3d6000fd5b505050506040513d6020811015612a6b57600080fd5b50518454909150612a87906001600160a01b0316333089613104565b8354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612ad157600080fd5b505afa158015612ae5573d6000803e3d6000fd5b505050506040513d6020811015612afb57600080fd5b50516002870154909150600090612b1a906103e8906112fc9085613242565b90506000612b2c826113028587613164565b8654909150612b3b90826131e8565b86554360028701556008870154612b5290826131e8565b600888015560028701548654612b7b916a0c097ce7bc90715b34b9f160241b916112fc91613242565b6001870155600d870154612bc8576002546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015612bc2573d6000803e3d6000fd5b50612c77565b60003490506000612bec6127106112fc8b600d01548561324290919063ffffffff16565b90506000612bfa8383613164565b6002546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612c35573d6000803e3d6000fd5b50600c8a01546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612c72573d6000803e3d6000fd5b505050505b8754612c849060016131e8565b8855604080518a815290518b9133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050505050505050565b6000612cd361370a565b60068481548110612ce057fe5b6000918252602091829020604080516101c081018252600e90930290910180546001600160a01b03908116845260018201549484019490945260028101549183019190915260038101548316606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e083015260088101546101008301526009810154610120830152600a810154610140830152600b810154610160830152600c810154909216610180820152600d909101546101a08201529050612da9613794565b5060008481526008602090815260408083206001600160a01b038716845282529182902082516060810184528154815260018201548184015260029091015481840152918301516101008401519184015190919043118015612e0a57508015155b15612e855760008460a001514310612e26578460a00151612e28565b435b90506000612e4386602001518361316490919063ffffffff16565b90506000612e5e8760c001518361324290919063ffffffff16565b9050612e7f6110cf856112fc846a0c097ce7bc90715b34b9f160241b613242565b94505050505b612eb683602001516113026a0c097ce7bc90715b34b9f160241b6112fc86886000015161324290919063ffffffff16565b979650505050505050565b612ec9613100565b6000546001600160a01b03908116911614612f19576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600455565b612f26613100565b6000546001600160a01b03908116911614612f76576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6005805460ff1916911515919091179055565b612f91613100565b6000546001600160a01b03908116911614612fe1576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6001600160a01b0381166130265760405162461bcd60e51b81526004018080602001828103825260268152602001806137b66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b613089613100565b6000546001600160a01b039081169116146130d9576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106130e757fe5b90600052602060002090600e0201600d01819055505050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261315e9085906133d3565b50505050565b600061206783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613484565b600061206783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061351b565b600082820183811015612067576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826132515750600061214c565b8282028284828161325e57fe5b04146120675760405162461bcd60e51b81526004018080602001828103825260218152602001806138396021913960400191505060405180910390fd5b6000600683815481106132aa57fe5b90600052602060002090600e020160030160009054906101000a90046001600160a01b03169050806001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561332857600080fd5b505af115801561333c573d6000803e3d6000fd5b505050506040513d602081101561335257600080fd5b5050600680548391908590811061336557fe5b600091825260209091206007600e90920201018054909101905550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a3a9084905b6060613428826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135809092919063ffffffff16565b805190915015611a3a5780806020019051602081101561344757600080fd5b5051611a3a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806138cd602a913960400191505060405180910390fd5b600081848411156135135760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134d85781810151838201526020016134c0565b50505050905090810190601f1680156135055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361356a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134d85781810151838201526020016134c0565b50600083858161357657fe5b0495945050505050565b606061358f8484600085613597565b949350505050565b60606135a285613704565b6135f3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136325780518252601f199092019160209182019101613613565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613694576040519150601f19603f3d011682016040523d82523d6000602084013e613699565b606091505b509150915081156136ad57915061358f9050565b8051156136bd5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134d85781810151838201526020016134c0565b3b151590565b604051806101c0016040528060006001600160a01b03168152602001600081526020016000815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160006001600160a01b03168152602001600081525090565b6040518060600160405280600081526020016000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737366756e644d6f72653a20706f6f6c20636c6f736564206f722075736520696e697469616c46756e642829206669727374696e697469616c46756e643a20696e697469616c2066756e64696e6720616c726561647920636f6d706c657465536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657277697468647261773a2063616e2774207769746864726177206d6f7265207468616e206465706f7369744d7573742068617665206d696e696d756d20616d6f756e74206f662061636365737320746f6b656e215361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122004b5a339d72f78a89b663cc02d12d13e1b2fa1d2ab80240c142b33511ddf0fa164736f6c634300060c00330000000000000000000000008254e26e453eb5abd29b3c37ac9e8da32e5d3299
Deployed Bytecode
0x6080604052600436106102935760003560e01c80638a4068dd1161015a578063c444a035116100c1578063e2bbb1581161007a578063e2bbb15814610a96578063e4c75c2714610ab9578063e5e9891e14610af2578063ef64fef514610b1c578063f2fde38b14610b48578063f4060a6e14610b7b57610293565b8063c444a035146109e2578063d10a51bc146109f7578063d1be41ac14610a27578063dc4ed60d14610a3c578063e12ed13c14610a6c578063e243c5fb14610a8157610293565b8063a3e55f7b11610113578063a3e55f7b146108d1578063a9720e661461090a578063b14f2a391461093a578063b993bfbc1461096d578063c08339ae1461099d578063c269ca30146109b257610293565b80638a4068dd146107bd5780638b0bd050146107d25780638da5cb5b146107fc5780639233336b1461081157806393f1a40b14610841578063a23831061461089857610293565b80635312ea8e116101fe57806367b50af9116101b757806367b50af91461068757806367b561331461069c5780636bfe033a146106c65780636f110eff14610711578063715018a61461077e578063791f39cd1461079357610293565b80635312ea8e146105585780635e1d68041461058257806361d027b3146105d957806362804f941461060a578063630b5ba11461063a57806364482f791461064f57610293565b80633677bdc3116102505780633677bdc31461043c57806343a693871461046c578063441a3e70146104a257806346fd51de146104c55780634ffd347a146104f557806351eb05a61461052e57610293565b8063081e3eda146102985780630824d576146102bf5780631526fe27146102f45780631cd0b3bb146103aa5780632d92572c146103da5780632de17c571461040a575b600080fd5b3480156102a457600080fd5b506102ad610bab565b60408051918252519081900360200190f35b3480156102cb57600080fd5b506102f2600480360360208110156102e257600080fd5b50356001600160a01b0316610bb1565b005b34801561030057600080fd5b5061031e6004803603602081101561031757600080fd5b5035610c2b565b604051808f6001600160a01b031681526020018e81526020018d81526020018c6001600160a01b031681526020018b81526020018a8152602001898152602001888152602001878152602001868152602001858152602001848152602001836001600160a01b031681526020018281526020019e50505050505050505050505050505060405180910390f35b3480156103b657600080fd5b506102f2600480360360408110156103cd57600080fd5b5080359060200135610cb6565b3480156103e657600080fd5b506102f2600480360360408110156103fd57600080fd5b5080359060200135610d35565b34801561041657600080fd5b506102f26004803603604081101561042d57600080fd5b50803590602001351515610db4565b34801561044857600080fd5b506102f26004803603604081101561045f57600080fd5b5080359060200135610e40565b34801561047857600080fd5b506102f26004803603606081101561048f57600080fd5b5080359060208101359060400135610ebf565b6102f2600480360360408110156104b857600080fd5b5080359060200135611101565b3480156104d157600080fd5b506102f2600480360360408110156104e857600080fd5b508035906020013561153f565b34801561050157600080fd5b506102f26004803603604081101561051857600080fd5b50803590602001356001600160a01b03166115be565b34801561053a57600080fd5b506102f26004803603602081101561055157600080fd5b503561165d565b34801561056457600080fd5b506102f26004803603602081101561057b57600080fd5b5035611731565b34801561058e57600080fd5b506105c5600480360360608110156105a557600080fd5b506001600160a01b0381358116916020810135909116906040013561180f565b604080519115158252519081900360200190f35b3480156105e557600080fd5b506105ee6118f6565b604080516001600160a01b039092168252519081900360200190f35b34801561061657600080fd5b506102f26004803603604081101561062d57600080fd5b5080359060200135611905565b34801561064657600080fd5b506102f2611984565b34801561065b57600080fd5b506102f26004803603606081101561067257600080fd5b508035906020810135906040013515156119a7565b34801561069357600080fd5b506102ad611a3f565b3480156106a857600080fd5b506102f2600480360360208110156106bf57600080fd5b5035611a45565b3480156106d257600080fd5b506102f2600480360360808110156106e957600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611aa2565b34801561071d57600080fd5b5061073b6004803603602081101561073457600080fd5b5035611dc2565b6040805197885260208801969096528686019490945260608601929092526001600160a01b0316608085015260a0840152151560c0830152519081900360e00190f35b34801561078a57600080fd5b506102f2611e1a565b34801561079f57600080fd5b506102ad600480360360208110156107b657600080fd5b5035611ebc565b3480156107c957600080fd5b506102f2611ee5565b3480156107de57600080fd5b506102ad600480360360208110156107f557600080fd5b5035611f76565b34801561080857600080fd5b506105ee61206e565b34801561081d57600080fd5b506102f26004803603604081101561083457600080fd5b508035906020013561207d565b34801561084d57600080fd5b5061087a6004803603604081101561086457600080fd5b50803590602001356001600160a01b03166120fc565b60408051938452602084019290925282820152519081900360600190f35b3480156108a457600080fd5b506102ad600480360360408110156108bb57600080fd5b50803590602001356001600160a01b0316612128565b3480156108dd57600080fd5b506102f2600480360360408110156108f457600080fd5b50803590602001356001600160a01b0316612152565b34801561091657600080fd5b506102f26004803603604081101561092d57600080fd5b50803590602001356121f1565b34801561094657600080fd5b506102f26004803603602081101561095d57600080fd5b50356001600160a01b03166123e6565b34801561097957600080fd5b506102f26004803603604081101561099057600080fd5b5080359060200135612460565b3480156109a957600080fd5b506105ee6124df565b3480156109be57600080fd5b506102f2600480360360408110156109d557600080fd5b50803590602001356124f3565b3480156109ee57600080fd5b506105c5612572565b348015610a0357600080fd5b506102f260048036036040811015610a1a57600080fd5b508035906020013561257b565b348015610a3357600080fd5b506102ad6125fa565b348015610a4857600080fd5b506102f260048036036040811015610a5f57600080fd5b5080359060200135612600565b348015610a7857600080fd5b506102ad61267f565b348015610a8d57600080fd5b506105ee612683565b6102f260048036036040811015610aac57600080fd5b5080359060200135612692565b348015610ac557600080fd5b506102ad60048036036040811015610adc57600080fd5b50803590602001356001600160a01b0316612cc9565b348015610afe57600080fd5b506102f260048036036020811015610b1557600080fd5b5035612ec1565b348015610b2857600080fd5b506102f260048036036020811015610b3f57600080fd5b50351515612f1e565b348015610b5457600080fd5b506102f260048036036020811015610b6b57600080fd5b50356001600160a01b0316612f89565b348015610b8757600080fd5b506102f260048036036040811015610b9e57600080fd5b5080359060200135613081565b60065490565b610bb9613100565b6000546001600160a01b03908116911614610c09576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60068181548110610c3857fe5b60009182526020909120600e9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a8b0154600b8c0154600c8d0154600d909d01546001600160a01b039c8d169e509a9c999b9889169a9799969895979496939592949193909216908e565b610cbe613100565b6000546001600160a01b03908116911614610d0e576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060068381548110610d1c57fe5b90600052602060002090600e0201600601819055505050565b610d3d613100565b6000546001600160a01b03908116911614610d8d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060078381548110610d9b57fe5b9060005260206000209060070201600101819055505050565b610dbc613100565b6000546001600160a01b03908116911614610e0c576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060078381548110610e1a57fe5b60009182526020909120600790910201600601805460ff19169115159190911790555050565b610e48613100565b6000546001600160a01b03908116911614610e98576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8060068381548110610ea657fe5b90600052602060002090600e0201600101819055505050565b60068381548110610ecc57fe5b90600052602060002090600e020160040154600014610f1c5760405162461bcd60e51b815260040180806020018281038252602d81526020018061380c602d913960400191505060405180910390fd5b600060068481548110610f2b57fe5b600091825260208083206003600e909302019190910154604080516370a0823160e01b815230600482015290516001600160a01b03909216945084926370a0823192602480840193829003018186803b158015610f8757600080fd5b505afa158015610f9b573d6000803e3d6000fd5b505050506040513d6020811015610fb157600080fd5b50519050610fca6001600160a01b038316333087613104565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561101957600080fd5b505afa15801561102d573d6000803e3d6000fd5b505050506040513d602081101561104357600080fd5b5051905060006110538284613164565b9050846006888154811061106357fe5b90600052602060002090600e020160010181905550846006888154811061108657fe5b90600052602060002090600e0201600401819055506110d66110cf600689815481106110ae57fe5b90600052602060002090600e020160060154836131a690919063ffffffff16565b86906131e8565b600688815481106110e357fe5b90600052602060002090600e02016005018190555050505050505050565b60055460ff16156111c75760048054600354604080516370a0823160e01b815233948101949094525191926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d602081101561118857600080fd5b505110156111c75760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b6000600783815481106111d657fe5b906000526020600020906007020190506000600684815481106111f557fe5b90600052602060002090600e0201905060008160090154905080341015611263576040805162461bcd60e51b815260206004820181905260248201527f436f72726563742067617320616d6f756e74206d7573742062652073656e7421604482015290519081900360640190fd5b6000858152600860209081526040808320338452909152902080548511156112bc5760405162461bcd60e51b815260040180806020018281038252602a81526020018061387a602a913960400191505060405180910390fd5b6112c58661165d565b600061130882600101546113026a0c097ce7bc90715b34b9f160241b6112fc8860020154876000015461324290919063ffffffff16565b906131a6565b90613164565b9050801561131b5761131b33888361329b565b81546113279087613164565b808355600285015461134d916a0c097ce7bc90715b34b9f160241b916112fc9190613242565b600183015585156113f25743611374866003015484600201546131e890919063ffffffff16565b11156113c7576040805162461bcd60e51b815260206004820152601960248201527f4c6f636b20706572696f64206e6f742066756c66696c6c656400000000000000604482015290519081900360640190fd5b83546113dd906001600160a01b03163388613385565b60088401546113ec9087613164565b60088501555b600d84015461143a576002546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611434573d6000803e3d6000fd5b506114e9565b6000349050600061145e6127106112fc88600d01548561324290919063ffffffff16565b9050600061146c8383613164565b6002546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156114a7573d6000803e3d6000fd5b50600c8701546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156114e4573d6000803e3d6000fd5b505050505b81546114ff5784546114fc906001613164565b85555b604080518781529051889133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a350505050505050565b611547613100565b6000546001600160a01b03908116911614611597576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600783815481106115a557fe5b9060005260206000209060070201600501819055505050565b6115c6613100565b6000546001600160a01b03908116911614611616576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061162457fe5b906000526020600020906007020160040160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b60006006828154811061166c57fe5b90600052602060002090600e02019050600081600501544310611693578160050154611695565b435b9050816001015481116116a957505061172e565b6008820154806116bf575060019091015561172e565b60006116d884600101548461316490919063ffffffff16565b905060006116f385600601548361324290919063ffffffff16565b905061171f611714846112fc846a0c097ce7bc90715b34b9f160241b613242565b6002870154906131e8565b60028601555050506001909101555b50565b60006006828154811061174057fe5b90600052602060002090600e0201905060006007838154811061175f57fe5b600091825260208083208684526008825260408085203380875293529093208054865460079094029094019450926117a1926001600160a01b03169190613385565b805460088401546117b191613164565b600884015580546040805191825251859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a36000808255600180830191909155825461180791613164565b909155505050565b6000611819613100565b6000546001600160a01b03908116911614611869576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b826001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156118c057600080fd5b505af11580156118d4573d6000803e3d6000fd5b505050506040513d60208110156118ea57600080fd5b50600195945050505050565b6002546001600160a01b031681565b61190d613100565b6000546001600160a01b0390811691161461195d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061196b57fe5b9060005260206000209060070201600301819055505050565b60065460005b818110156119a35761199b8161165d565b60010161198a565b5050565b6119af613100565b6000546001600160a01b039081169116146119ff576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8015611a0e57611a0e8361165d565b8160068481548110611a1c57fe5b90600052602060002090600e020160060181905550611a3a8361165d565b505050565b60015481565b611a4d613100565b6000546001600160a01b03908116911614611a9d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600155565b611aaa613100565b6000546001600160a01b03908116911614611afa576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b8015611b0857611b08611984565b6006604051806101c00160405280866001600160a01b031681526020016000815260200160008152602001856001600160a01b03168152602001600081526020016000815260200184815260200160008152602001600081526020016001548152602001600081526020016000198152602001600260009054906101000a90046001600160a01b03166001600160a01b03168152602001600081525090806001815401808255809150506001900390600052602060002090600e020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015561016082015181600b015561018082015181600c0160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506101a082015181600d0155505060076040518060e00160405280600081526020016000198152602001600081526020016000815260200160006001600160a01b03168152602001600081526020016000151581525090806001815401808255809150506001900390600052602060002090600702016000909190919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550505050505050565b60078181548110611dcf57fe5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549496509294919390926001600160a01b0316919060ff1687565b611e22613100565b6000546001600160a01b03908116911614611e72576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060068281548110611ecb57fe5b90600052602060002090600e02016006015490505b919050565b611eed613100565b6000546001600160a01b03908116911614611f3d576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6002546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561172e573d6000803e3d6000fd5b600060068281548110611f8557fe5b90600052602060002090600e0201600401544311611fa557506000611ee0565b600060068381548110611fb457fe5b90600052602060002090600e0201600501544310611ff05760068381548110611fd957fe5b90600052602060002090600e020160050154611ff2565b435b90506120676006848154811061200457fe5b90600052602060002090600e0201600701546113026006868154811061202657fe5b90600052602060002090600e02016004015484036006878154811061204757fe5b90600052602060002090600e02016006015461324290919063ffffffff16565b9392505050565b6000546001600160a01b031690565b612085613100565b6000546001600160a01b039081169116146120d5576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106120e357fe5b90600052602060002090600e0201600b01819055505050565b600860209081526000928352604080842090915290825290208054600182015460029092015490919083565b60008281526008602090815260408083206001600160a01b03851684529091529020545b92915050565b61215a613100565b6000546001600160a01b039081169116146121aa576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106121b857fe5b90600052602060002090600e0201600c0160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b600682815481106121fe57fe5b90600052602060002090600e020160050154431061224d5760405162461bcd60e51b81526004018080602001828103825260308152602001806137dc6030913960400191505060405180910390fd5b60006006838154811061225c57fe5b600091825260208083206003600e909302019190910154604080516370a0823160e01b815230600482015290516001600160a01b03909216945084926370a0823192602480840193829003018186803b1580156122b857600080fd5b505afa1580156122cc573d6000803e3d6000fd5b505050506040513d60208110156122e257600080fd5b505190506122fb6001600160a01b038316333086613104565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561234a57600080fd5b505afa15801561235e573d6000803e3d6000fd5b505050506040513d602081101561237457600080fd5b5051905060006123848284613164565b90506123b76006878154811061239657fe5b90600052602060002090600e020160060154826131a690919063ffffffff16565b600687815481106123c457fe5b600091825260209091206005600e909202010180549091019055505050505050565b6123ee613100565b6000546001600160a01b0390811691161461243e576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b612468613100565b6000546001600160a01b039081169116146124b8576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106124c657fe5b90600052602060002090600e0201600501819055505050565b60055461010090046001600160a01b031681565b6124fb613100565b6000546001600160a01b0390811691161461254b576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806007838154811061255957fe5b9060005260206000209060070201600201819055505050565b60055460ff1681565b612583613100565b6000546001600160a01b039081169116146125d3576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106125e157fe5b90600052602060002090600e0201600901819055505050565b60045481565b612608613100565b6000546001600160a01b03908116911614612658576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b806006838154811061266657fe5b90600052602060002090600e0201600a01819055505050565b4390565b6003546001600160a01b031681565b60055460ff16156127585760048054600354604080516370a0823160e01b815233948101949094525191926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b1580156126ef57600080fd5b505afa158015612703573d6000803e3d6000fd5b505050506040513d602081101561271957600080fd5b505110156127585760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b60006007838154811061276757fe5b60009182526020909120600790910201600681015490915060ff1615612843576005810154600480830154604080516370a0823160e01b81523393810193909352516001600160a01b03909116916370a08231916024808301926020929190829003018186803b1580156127da57600080fd5b505afa1580156127ee573d6000803e3d6000fd5b505050506040513d602081101561280457600080fd5b505110156128435760405162461bcd60e51b81526004018080602001828103825260298152602001806138a46029913960400191505060405180910390fd5b6001810154815410612893576040805162461bcd60e51b81526020600482015260146024820152734d6178207374616b65727320726561636865642160601b604482015290519081900360640190fd5b6000600684815481106128a257fe5b6000918252602080832087845260088252604080852033865290925292206009600e9092029092019081015490925034811115612926576040805162461bcd60e51b815260206004820181905260248201527f436f72726563742067617320616d6f756e74206d7573742062652073656e7421604482015290519081900360640190fd5b82600a0154851015801561294a5750600b83015482546129479087906131e8565b11155b61299b576040805162461bcd60e51b815260206004820152601760248201527f4d696e2f4d6178207374616b6520726571756972656421000000000000000000604482015290519081900360640190fd5b6129a48661165d565b8154156129f75760006129e283600101546113026a0c097ce7bc90715b34b9f160241b6112fc8860020154886000015461324290919063ffffffff16565b905080156129f5576129f533888361329b565b505b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612a4157600080fd5b505afa158015612a55573d6000803e3d6000fd5b505050506040513d6020811015612a6b57600080fd5b50518454909150612a87906001600160a01b0316333089613104565b8354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612ad157600080fd5b505afa158015612ae5573d6000803e3d6000fd5b505050506040513d6020811015612afb57600080fd5b50516002870154909150600090612b1a906103e8906112fc9085613242565b90506000612b2c826113028587613164565b8654909150612b3b90826131e8565b86554360028701556008870154612b5290826131e8565b600888015560028701548654612b7b916a0c097ce7bc90715b34b9f160241b916112fc91613242565b6001870155600d870154612bc8576002546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015612bc2573d6000803e3d6000fd5b50612c77565b60003490506000612bec6127106112fc8b600d01548561324290919063ffffffff16565b90506000612bfa8383613164565b6002546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612c35573d6000803e3d6000fd5b50600c8a01546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612c72573d6000803e3d6000fd5b505050505b8754612c849060016131e8565b8855604080518a815290518b9133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050505050505050565b6000612cd361370a565b60068481548110612ce057fe5b6000918252602091829020604080516101c081018252600e90930290910180546001600160a01b03908116845260018201549484019490945260028101549183019190915260038101548316606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e083015260088101546101008301526009810154610120830152600a810154610140830152600b810154610160830152600c810154909216610180820152600d909101546101a08201529050612da9613794565b5060008481526008602090815260408083206001600160a01b038716845282529182902082516060810184528154815260018201548184015260029091015481840152918301516101008401519184015190919043118015612e0a57508015155b15612e855760008460a001514310612e26578460a00151612e28565b435b90506000612e4386602001518361316490919063ffffffff16565b90506000612e5e8760c001518361324290919063ffffffff16565b9050612e7f6110cf856112fc846a0c097ce7bc90715b34b9f160241b613242565b94505050505b612eb683602001516113026a0c097ce7bc90715b34b9f160241b6112fc86886000015161324290919063ffffffff16565b979650505050505050565b612ec9613100565b6000546001600160a01b03908116911614612f19576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b600455565b612f26613100565b6000546001600160a01b03908116911614612f76576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6005805460ff1916911515919091179055565b612f91613100565b6000546001600160a01b03908116911614612fe1576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b6001600160a01b0381166130265760405162461bcd60e51b81526004018080602001828103825260268152602001806137b66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b613089613100565b6000546001600160a01b039081169116146130d9576040805162461bcd60e51b8152602060048201819052602482015260008051602061385a833981519152604482015290519081900360640190fd5b80600683815481106130e757fe5b90600052602060002090600e0201600d01819055505050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261315e9085906133d3565b50505050565b600061206783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613484565b600061206783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061351b565b600082820183811015612067576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826132515750600061214c565b8282028284828161325e57fe5b04146120675760405162461bcd60e51b81526004018080602001828103825260218152602001806138396021913960400191505060405180910390fd5b6000600683815481106132aa57fe5b90600052602060002090600e020160030160009054906101000a90046001600160a01b03169050806001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561332857600080fd5b505af115801561333c573d6000803e3d6000fd5b505050506040513d602081101561335257600080fd5b5050600680548391908590811061336557fe5b600091825260209091206007600e90920201018054909101905550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a3a9084905b6060613428826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135809092919063ffffffff16565b805190915015611a3a5780806020019051602081101561344757600080fd5b5051611a3a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806138cd602a913960400191505060405180910390fd5b600081848411156135135760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134d85781810151838201526020016134c0565b50505050905090810190601f1680156135055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361356a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134d85781810151838201526020016134c0565b50600083858161357657fe5b0495945050505050565b606061358f8484600085613597565b949350505050565b60606135a285613704565b6135f3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136325780518252601f199092019160209182019101613613565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613694576040519150601f19603f3d011682016040523d82523d6000602084013e613699565b606091505b509150915081156136ad57915061358f9050565b8051156136bd5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134d85781810151838201526020016134c0565b3b151590565b604051806101c0016040528060006001600160a01b03168152602001600081526020016000815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160006001600160a01b03168152602001600081525090565b6040518060600160405280600081526020016000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737366756e644d6f72653a20706f6f6c20636c6f736564206f722075736520696e697469616c46756e642829206669727374696e697469616c46756e643a20696e697469616c2066756e64696e6720616c726561647920636f6d706c657465536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657277697468647261773a2063616e2774207769746864726177206d6f7265207468616e206465706f7369744d7573742068617665206d696e696d756d20616d6f756e74206f662061636365737320746f6b656e215361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122004b5a339d72f78a89b663cc02d12d13e1b2fa1d2ab80240c142b33511ddf0fa164736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008254e26e453eb5abd29b3c37ac9e8da32e5d3299
-----Decoded View---------------
Arg [0] : rbxTokenAddress (address): 0x8254e26e453EB5aBd29B3c37AC9E8Da32E5d3299
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008254e26e453eb5abd29b3c37ac9e8da32e5d3299
Loading...
Loading
Loading...
Loading
Net Worth in USD
$5,046.11
Net Worth in ETH
2.426242
Token Allocations
RBX
88.76%
ORACLE
10.15%
BNB
1.00%
Others
0.08%
Multichain Portfolio | 34 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.