Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 5,818 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 20318768 | 133 days ago | IN | 0 ETH | 0.00054567 | ||||
Claim | 18592813 | 375 days ago | IN | 0 ETH | 0.00210116 | ||||
Withdraw | 18592808 | 375 days ago | IN | 0 ETH | 0.00285068 | ||||
Withdraw | 16866243 | 617 days ago | IN | 0 ETH | 0.00201034 | ||||
Withdraw | 16827756 | 623 days ago | IN | 0 ETH | 0.00178187 | ||||
Distribute Divs | 16140684 | 719 days ago | IN | 0 ETH | 0.00124925 | ||||
Claim | 16009327 | 737 days ago | IN | 0 ETH | 0.00090541 | ||||
Withdraw | 16009324 | 737 days ago | IN | 0 ETH | 0.00073183 | ||||
Claim | 15754954 | 773 days ago | IN | 0 ETH | 0.00125066 | ||||
Withdraw | 15660710 | 786 days ago | IN | 0 ETH | 0.00045104 | ||||
Claim | 15660705 | 786 days ago | IN | 0 ETH | 0.00017559 | ||||
Claim | 15660697 | 786 days ago | IN | 0 ETH | 0.00044851 | ||||
Withdraw | 15645353 | 788 days ago | IN | 0 ETH | 0.00075698 | ||||
Withdraw | 15577728 | 798 days ago | IN | 0 ETH | 0.0004547 | ||||
Withdraw | 15553378 | 801 days ago | IN | 0 ETH | 0.00026185 | ||||
Claim | 15543894 | 802 days ago | IN | 0 ETH | 0.00038493 | ||||
Withdraw | 15543890 | 802 days ago | IN | 0 ETH | 0.00037962 | ||||
Withdraw | 15481710 | 812 days ago | IN | 0 ETH | 0.00068754 | ||||
Withdraw | 15445212 | 818 days ago | IN | 0 ETH | 0.00112579 | ||||
Withdraw | 15439915 | 819 days ago | IN | 0 ETH | 0.00085865 | ||||
Claim | 15439908 | 819 days ago | IN | 0 ETH | 0.00092375 | ||||
Withdraw | 15410615 | 824 days ago | IN | 0 ETH | 0.0008167 | ||||
Withdraw | 15398080 | 826 days ago | IN | 0 ETH | 0.00122677 | ||||
Withdraw | 15383643 | 828 days ago | IN | 0 ETH | 0.00037027 | ||||
Deposit | 15379962 | 829 days ago | IN | 0 ETH | 0.00084483 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
UniMexStaking
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-08 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/math/SignedSafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SignedSafeMath * @dev Signed math operations with safety checks that revert on error. */ library SignedSafeMath { int256 constant private _INT256_MIN = -2**255; /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { // 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; } require(!(a == -1 && b == _INT256_MIN), "SignedSafeMath: multiplication overflow"); int256 c = a * b; require(c / a == b, "SignedSafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two signed 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(int256 a, int256 b) internal pure returns (int256) { require(b != 0, "SignedSafeMath: division by zero"); require(!(b == -1 && a == _INT256_MIN), "SignedSafeMath: division overflow"); int256 c = a / b; return c; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a), "SignedSafeMath: subtraction overflow"); return c; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a), "SignedSafeMath: addition overflow"); return c; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.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/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @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 on 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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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 <0.8.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: contracts/Uniswap.sol pragma solidity 0.6.12; interface IUniswapV2Pair { function getReserves() external view returns (uint112 r0, uint112 r1, uint32 blockTimestampLast); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; } interface IUniswapV2Factory { function getPair(address a, address b) external view returns (address p); } interface IUniswapV2Router02 { function WETH() external returns (address); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } library UniswapV2Library { using SafeMath for uint; // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'UV2: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'UV2: ZERO_ADDRESS'); } // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) { require(amountIn > 0, 'UV2: INSUFFICIENT_INPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UV2: INSUFFICIENT_LIQUIDITY'); uint amountInWithFee = amountIn.mul(997); uint numerator = amountInWithFee.mul(reserveOut); uint denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = numerator / denominator; } } // File: contracts/UniMexStaking.sol // SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; contract UniMexStaking is Ownable { using SignedSafeMath for int256; using SafeMath for uint256; using SafeERC20 for IERC20; uint256 private constant FLOAT_SCALAR = 2**64; uint256 public stakersBalance; uint256 public trustSwapStakersBalance; uint256 public yieldxStakersBalance; uint256 public teamPlusLiquidationReserve; uint256 public percentFactor = 1e3; uint256 public trustSwapPercentScaled = 125; //12.5% uint256 public yieldxStakersPercentScaled = 125; //12.5% uint256 public teamPercentScaled = 125; //12.5% address public trustSwapAddress; address public yieldxStakersAddress; address public teamAddress; address public uniswapRouter; struct User { uint256 balance; int256 scaledPayout; } IERC20 public token; IERC20 public WETH; uint256 public divPerShare; mapping(address => User) public users; event OnDeposit(address indexed from, uint256 amount); event OnWithdraw(address indexed from, uint256 amount); event OnClaim(address indexed from, uint256 amount); event OnTransfer(address indexed from, address indexed to, uint256 amount); constructor(address _uniswapRouter, address _weth, address _trustSwap, address _yieldxStakers, address _team) public { require(_uniswapRouter != address(0) && _weth != address(0) && _trustSwap != address(0) && _yieldxStakers != address(0) && _team != address(0), "ZERO_ADDRESS"); WETH = IERC20(_weth); uniswapRouter = _uniswapRouter; trustSwapAddress = _trustSwap; yieldxStakersAddress = _yieldxStakers; teamAddress = _team; } function setToken(address _token) external onlyOwner { require(address(token) == address(0)); token = IERC20(_token); } function totalSupply() private view returns (uint256) { return token.balanceOf(address(this)); } function setTrustSwapAddress(address _newAddr) public onlyOwner { require(_newAddr != address(0)); trustSwapAddress = _newAddr; } function setYieldXAddress(address _newAddr) public onlyOwner { require(_newAddr != address(0)); yieldxStakersAddress = _newAddr; } function setTeamAddress(address _newAddr) public onlyOwner { require(_newAddr != address(0)); teamAddress = _newAddr; } //@dev deposit dust token upon deployment to prevent division by zero function distribute(uint256 _amount) external returns(bool) { WETH.safeTransferFrom(address(msg.sender), address(this), _amount); uint256 trustSwapPart = _amount.mul(trustSwapPercentScaled).div(percentFactor); trustSwapStakersBalance = trustSwapStakersBalance.add(trustSwapPart); uint256 yieldxStakersPart = _amount.mul(yieldxStakersPercentScaled).div(percentFactor); yieldxStakersBalance = yieldxStakersBalance.add(yieldxStakersPart); uint256 teamPart = _amount.mul(teamPercentScaled).div(percentFactor); teamPlusLiquidationReserve = teamPlusLiquidationReserve.add(teamPart); uint256 stakersPart = _amount.sub(trustSwapPart).sub(yieldxStakersPart).sub(teamPart); divPerShare = divPerShare.add((stakersPart.mul(FLOAT_SCALAR)).div(totalSupply())); } function distributeDivs() external returns(bool) { uint256 trustSwapBalanceCopy = trustSwapStakersBalance; trustSwapStakersBalance = 0; uint256 teamBalanceCopy = teamPlusLiquidationReserve; teamPlusLiquidationReserve = 0; uint256 yieldxBalanceCopy = yieldxStakersBalance; yieldxStakersBalance = 0; WETH.safeTransfer(yieldxStakersAddress, yieldxBalanceCopy); WETH.safeTransfer(teamAddress, teamBalanceCopy); WETH.safeTransfer(trustSwapAddress, trustSwapBalanceCopy); return true; } function deposit(uint256 _amount) external { token.safeTransferFrom(msg.sender, address(this), _amount); depositFrom(_amount); } function depositFrom(uint256 _amount) private { users[msg.sender].balance = users[msg.sender].balance.add(_amount); users[msg.sender].scaledPayout = users[msg.sender].scaledPayout.add( int256(_amount.mul(divPerShare)) ); emit OnDeposit(msg.sender, _amount); } function withdraw(uint256 _amount) external { require(balanceOf(msg.sender) >= _amount); users[msg.sender].balance = users[msg.sender].balance.sub(_amount); users[msg.sender].scaledPayout = users[msg.sender].scaledPayout.sub( int256(_amount.mul(divPerShare)) ); token.safeTransfer(msg.sender, _amount); emit OnWithdraw(msg.sender, _amount); } function claim() external { uint256 _dividends = dividendsOf(msg.sender); require(_dividends > 0); users[msg.sender].scaledPayout = users[msg.sender].scaledPayout.add( int256(_dividends.mul(FLOAT_SCALAR)) ); WETH.safeTransfer(address(msg.sender), _dividends); emit OnClaim(msg.sender, _dividends); } function reinvestWithMinimalAmountOut(uint256 delay, uint256 minimalAmountOut) public { uint256 dividends = dividendsOf(msg.sender); require(dividends > 0); users[msg.sender].scaledPayout = users[msg.sender].scaledPayout.add( int256(dividends.mul(FLOAT_SCALAR)) ); WETH.approve(address(uniswapRouter), dividends); uint256 balanceBefore = IERC20(token).balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(WETH); path[1] = address(token); IUniswapV2Router02(uniswapRouter) .swapExactTokensForTokensSupportingFeeOnTransferTokens( dividends, minimalAmountOut, path, address(this), block.timestamp.add(delay) ); uint256 balanceAfter = IERC20(token).balanceOf(address(this)); uint convertedTokens = balanceAfter.sub(balanceBefore); require(convertedTokens > 0, "ZERO_CONVERT"); depositFrom(convertedTokens); } function reinvest(uint256 delay) external { reinvestWithMinimalAmountOut(delay, 0); } function transfer(address _to, uint256 _amount) external returns (bool) { return _transfer(msg.sender, _to, _amount); } function balanceOf(address _user) public view returns (uint256) { return users[_user].balance; } function dividendsOf(address _user) public view returns (uint256) { return uint256( int256(divPerShare.mul(balanceOf(_user))).sub( users[_user].scaledPayout ) ) .div(FLOAT_SCALAR); } function _transfer( address _from, address _to, uint256 _amount ) internal returns (bool) { require(users[_from].balance >= _amount); users[_from].balance = users[_from].balance.sub(_amount); users[_from].scaledPayout = users[_from].scaledPayout.sub( int256(_amount.mul(divPerShare)) ); users[_to].balance = users[_to].balance.add(_amount); users[_to].scaledPayout = users[_to].scaledPayout.add( int256(_amount.mul(divPerShare)) ); emit OnTransfer(msg.sender, _to, _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_uniswapRouter","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_trustSwap","type":"address"},{"internalType":"address","name":"_yieldxStakers","type":"address"},{"internalType":"address","name":"_team","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnWithdraw","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"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"distribute","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDivs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"divPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"dividendsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"reinvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"delay","type":"uint256"},{"internalType":"uint256","name":"minimalAmountOut","type":"uint256"}],"name":"reinvestWithMinimalAmountOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddr","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddr","type":"address"}],"name":"setTrustSwapAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddr","type":"address"}],"name":"setYieldXAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakersBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamPercentScaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamPlusLiquidationReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trustSwapAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trustSwapPercentScaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trustSwapStakersBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"int256","name":"scaledPayout","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yieldxStakersAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldxStakersBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldxStakersPercentScaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526103e8600555607d600655607d600755607d6008553480156200002657600080fd5b5060405162001c2d38038062001c2d833981810160405260a08110156200004c57600080fd5b50805160208201516040830151606084015160809094015192939192909190600062000077620001c2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b03851615801590620000e257506001600160a01b03841615155b8015620000f757506001600160a01b03831615155b80156200010c57506001600160a01b03821615155b80156200012157506001600160a01b03811615155b62000162576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600e80546001600160a01b03199081166001600160a01b0396871617909155600c805482169686169690961790955560098054861693851693909317909255600a80548516918416919091179055600b80549093169116179055620001c6565b3390565b611a5780620001d66000396000f3fe608060405234801561001057600080fd5b50600436106101f95760003560e01c806372a07da61161011a5780639c4407d8116100ad578063b6b55f251161007c578063b6b55f251461048b578063c850ce3e146104a8578063f2fde38b146104b0578063f5fe6275146104d6578063fc0c546a146104de576101f9565b80639c4407d814610410578063a87430ba14610418578063a9059cbb14610457578063ad5c464814610483576101f9565b806383b4918b116100e957806383b4918b146103ab578063865d014a146103c85780638da5cb5b146103eb57806391c05b0b146103f3576101f9565b806372a07da61461038b578063735de9f71461039357806374c1098a1461039b5780637961104c146103a3576101f9565b80633b66f3a3116101925780636a954556116101615780636a9545561461031b57806370a08231146103375780637126aac91461035d578063715018a614610383576101f9565b80633b66f3a3146102bf578063406ecda7146102c75780634e71d92d146102ed5780636690864e146102f5576101f9565b80632e1a7d4d116101ce5780632e1a7d4d1461028a578063335959a8146102a757806333aa9461146102af578063395cd2b6146102b7576101f9565b806265318b146101fe578062c1789e14610236578063144fa6d71461023e5780631c75f08514610266575b600080fd5b6102246004803603602081101561021457600080fd5b50356001600160a01b03166104e6565b60408051918252519081900360200190f35b610224610537565b6102646004803603602081101561025457600080fd5b50356001600160a01b031661053d565b005b61026e6105cd565b604080516001600160a01b039092168252519081900360200190f35b610264600480360360208110156102a057600080fd5b50356105dc565b6102246106ae565b6102246106b4565b6102246106ba565b61026e6106c0565b610264600480360360208110156102dd57600080fd5b50356001600160a01b03166106cf565b61026461075c565b6102646004803603602081101561030b57600080fd5b50356001600160a01b0316610808565b610323610895565b604080519115158252519081900360200190f35b6102246004803603602081101561034d57600080fd5b50356001600160a01b0316610910565b6102646004803603602081101561037357600080fd5b50356001600160a01b031661092b565b6102646109b8565b610224610a5a565b61026e610a60565b610224610a6f565b61026e610a75565b610264600480360360208110156103c157600080fd5b5035610a84565b610264600480360360408110156103de57600080fd5b5080359060200135610a92565b61026e610df1565b6103236004803603602081101561040957600080fd5b5035610e00565b610224610eed565b61043e6004803603602081101561042e57600080fd5b50356001600160a01b0316610ef3565b6040805192835260208301919091528051918290030190f35b6103236004803603604081101561046d57600080fd5b506001600160a01b038135169060200135610f0c565b61026e610f20565b610264600480360360208110156104a157600080fd5b5035610f2f565b610224610f50565b610264600480360360208110156104c657600080fd5b50356001600160a01b0316610f56565b61022461104e565b61026e611054565b6001600160a01b03811660009081526010602052604081206001015461053190600160401b9061052b9061052561051c87610910565b600f5490611063565b906110bc565b90611121565b92915050565b600f5481565b610545611163565b6000546001600160a01b03908116911614610595576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b600d546001600160a01b0316156105ab57600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b806105e633610910565b10156105f157600080fd5b3360009081526010602052604090205461060b9082611167565b33600090815260106020526040902055600f546106469061062d908390611063565b33600090815260106020526040902060010154906110bc565b33600081815260106020526040902060010191909155600d54610675916001600160a01b0390911690836111a9565b60408051828152905133917fbace9fd79d5ea02ed8b43fa96af07e4e8f859a2f71ff878c748f5c22c5780284919081900360200190a250565b60025481565b60065481565b60035481565b6009546001600160a01b031681565b6106d7611163565b6000546001600160a01b03908116911614610727576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661073a57600080fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610767336104e6565b90506000811161077657600080fd5b6107a061078782600160401b611063565b3360009081526010602052604090206001015490611200565b33600081815260106020526040902060010191909155600e546107cf916001600160a01b0390911690836111a9565b60408051828152905133917f554d55684a5d3137fb3cbe1d16e4c7716d84a35d3ca5a2d496e041cd683a776e919081900360200190a250565b610810611163565b6000546001600160a01b03908116911614610860576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661087357600080fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6002805460009182905560048054908390556003805490849055600a54600e546108cc916001600160a01b039182169116836111a9565b600b54600e546108e9916001600160a01b039182169116846111a9565b600954600e54610906916001600160a01b039182169116856111a9565b6001935050505090565b6001600160a01b031660009081526010602052604090205490565b610933611163565b6000546001600160a01b03908116911614610983576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661099657600080fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6109c0611163565b6000546001600160a01b03908116911614610a10576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60085481565b600c546001600160a01b031681565b60075481565b600a546001600160a01b031681565b610a8f816000610a92565b50565b6000610a9d336104e6565b905060008111610aac57600080fd5b610abd61078782600160401b611063565b33600090815260106020908152604080832060010193909355600e54600c54845163095ea7b360e01b81526001600160a01b03918216600482015260248101879052945191169363095ea7b39360448083019493928390030190829087803b158015610b2857600080fd5b505af1158015610b3c573d6000803e3d6000fd5b505050506040513d6020811015610b5257600080fd5b5050600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b9f57600080fd5b505afa158015610bb3573d6000803e3d6000fd5b505050506040513d6020811015610bc957600080fd5b50516040805160028082526060808301845293945090916020830190803683375050600e5482519293506001600160a01b031691839150600090610c0957fe5b6001600160a01b039283166020918202929092010152600d54825191169082906001908110610c3457fe5b6001600160a01b039283166020918202929092010152600c5416635c11d79584868430610c61428c611265565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610cd1578181015183820152602001610cb9565b505050509050019650505050505050600060405180830381600087803b158015610cfa57600080fd5b505af1158015610d0e573d6000803e3d6000fd5b5050600d54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b158015610d5f57600080fd5b505afa158015610d73573d6000803e3d6000fd5b505050506040513d6020811015610d8957600080fd5b505190506000610d998285611167565b905060008111610ddf576040805162461bcd60e51b815260206004820152600c60248201526b16915493d7d0d3d39591549560a21b604482015290519081900360640190fd5b610de8816112bf565b50505050505050565b6000546001600160a01b031690565b600e54600090610e1b906001600160a01b031633308561134a565b6000610e3860055461052b6006548661106390919063ffffffff16565b600254909150610e489082611265565b600255600554600754600091610e639161052b908790611063565b600354909150610e739082611265565b600355600554600854600091610e8e9161052b908890611063565b600454909150610e9e9082611265565b6004556000610eb982610eb385818a89611167565b90611167565b9050610ee0610ed7610ec96113aa565b61052b84600160401b611063565b600f5490611265565b600f555092949350505050565b60015481565b6010602052600090815260409020805460019091015482565b6000610f19338484611426565b9392505050565b600e546001600160a01b031681565b600d54610f47906001600160a01b031633308461134a565b610a8f816112bf565b60045481565b610f5e611163565b6000546001600160a01b03908116911614610fae576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b038116610ff35760405162461bcd60e51b81526004018080602001828103825260268152602001806119266026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60055481565b600d546001600160a01b031681565b60008261107257506000610531565b8282028284828161107f57fe5b0414610f195760405162461bcd60e51b81526004018080602001828103825260218152602001806119936021913960400191505060405180910390fd5b60008183038183128015906110d15750838113155b806110e657506000831280156110e657508381135b610f195760405162461bcd60e51b81526004018080602001828103825260248152602001806119d46024913960400191505060405180910390fd5b6000610f1983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611599565b3390565b6000610f1983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061163b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111fb908490611695565b505050565b60008282018183128015906112155750838112155b8061122a575060008312801561122a57508381125b610f195760405162461bcd60e51b815260040180806020018281038252602181526020018061194c6021913960400191505060405180910390fd5b600082820183811015610f19576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b336000908152601060205260409020546112d99082611265565b33600090815260106020526040902055600f546112fb90610787908390611063565b33600081815260106020908152604091829020600101939093558051848152905191927fa9376856550cfe9f0d25894ccc2b7caa4aeffd8b24c8bc99159a8d3de8fe6aaa92918290030190a250565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113a4908590611695565b50505050565b600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156113f557600080fd5b505afa158015611409573d6000803e3d6000fd5b505050506040513d602081101561141f57600080fd5b5051905090565b6001600160a01b03831660009081526010602052604081205482111561144b57600080fd5b6001600160a01b03841660009081526010602052604090205461146e9083611167565b6001600160a01b038516600090815260106020526040902055600f546114bb90611499908490611063565b6001600160a01b038616600090815260106020526040902060010154906110bc565b6001600160a01b0380861660009081526010602052604080822060010193909355908516815220546114ed9083611265565b6001600160a01b038416600090815260106020526040902055600f5461153a90611518908490611063565b6001600160a01b03851660009081526010602052604090206001015490611200565b6001600160a01b0384166000818152601060209081526040918290206001019390935580518581529051919233927fbbedcb837162a70780767a22e1a55cd24f272af57731058a3faed2412954ec689281900390910190a39392505050565b600081836116255760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115ea5781810151838201526020016115d2565b50505050905090810190601f1680156116175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161163157fe5b0495945050505050565b6000818484111561168d5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156115ea5781810151838201526020016115d2565b505050900390565b60606116ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117469092919063ffffffff16565b8051909150156111fb5780806020019051602081101561170957600080fd5b50516111fb5760405162461bcd60e51b815260040180806020018281038252602a8152602001806119f8602a913960400191505060405180910390fd5b6060611755848460008561175d565b949350505050565b60608247101561179e5760405162461bcd60e51b815260040180806020018281038252602681526020018061196d6026913960400191505060405180910390fd5b6117a7856118b9565b6117f8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106118375780518252601f199092019160209182019101611818565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611899576040519150601f19603f3d011682016040523d82523d6000602084013e61189e565b606091505b50915091506118ae8282866118bf565b979650505050505050565b3b151590565b606083156118ce575081610f19565b8251156118de5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156115ea5781810151838201526020016115d256fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735369676e6564536166654d6174683a206164646974696f6e206f766572666c6f77416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725369676e6564536166654d6174683a207375627472616374696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200a9230267250403b77dc6703b57cf9f574c2346acbea4843b196f8e9096604ba64736f6c634300060c00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000099b8f0f49971f078edc8b8bfe48da6344e65db3f000000000000000000000000a0f4d4e55e10a9f55dd5ea665ff41b8d632e3b6f0000000000000000000000009857a29b5810049cbe9d83c34f122c23420b2d44
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f95760003560e01c806372a07da61161011a5780639c4407d8116100ad578063b6b55f251161007c578063b6b55f251461048b578063c850ce3e146104a8578063f2fde38b146104b0578063f5fe6275146104d6578063fc0c546a146104de576101f9565b80639c4407d814610410578063a87430ba14610418578063a9059cbb14610457578063ad5c464814610483576101f9565b806383b4918b116100e957806383b4918b146103ab578063865d014a146103c85780638da5cb5b146103eb57806391c05b0b146103f3576101f9565b806372a07da61461038b578063735de9f71461039357806374c1098a1461039b5780637961104c146103a3576101f9565b80633b66f3a3116101925780636a954556116101615780636a9545561461031b57806370a08231146103375780637126aac91461035d578063715018a614610383576101f9565b80633b66f3a3146102bf578063406ecda7146102c75780634e71d92d146102ed5780636690864e146102f5576101f9565b80632e1a7d4d116101ce5780632e1a7d4d1461028a578063335959a8146102a757806333aa9461146102af578063395cd2b6146102b7576101f9565b806265318b146101fe578062c1789e14610236578063144fa6d71461023e5780631c75f08514610266575b600080fd5b6102246004803603602081101561021457600080fd5b50356001600160a01b03166104e6565b60408051918252519081900360200190f35b610224610537565b6102646004803603602081101561025457600080fd5b50356001600160a01b031661053d565b005b61026e6105cd565b604080516001600160a01b039092168252519081900360200190f35b610264600480360360208110156102a057600080fd5b50356105dc565b6102246106ae565b6102246106b4565b6102246106ba565b61026e6106c0565b610264600480360360208110156102dd57600080fd5b50356001600160a01b03166106cf565b61026461075c565b6102646004803603602081101561030b57600080fd5b50356001600160a01b0316610808565b610323610895565b604080519115158252519081900360200190f35b6102246004803603602081101561034d57600080fd5b50356001600160a01b0316610910565b6102646004803603602081101561037357600080fd5b50356001600160a01b031661092b565b6102646109b8565b610224610a5a565b61026e610a60565b610224610a6f565b61026e610a75565b610264600480360360208110156103c157600080fd5b5035610a84565b610264600480360360408110156103de57600080fd5b5080359060200135610a92565b61026e610df1565b6103236004803603602081101561040957600080fd5b5035610e00565b610224610eed565b61043e6004803603602081101561042e57600080fd5b50356001600160a01b0316610ef3565b6040805192835260208301919091528051918290030190f35b6103236004803603604081101561046d57600080fd5b506001600160a01b038135169060200135610f0c565b61026e610f20565b610264600480360360208110156104a157600080fd5b5035610f2f565b610224610f50565b610264600480360360208110156104c657600080fd5b50356001600160a01b0316610f56565b61022461104e565b61026e611054565b6001600160a01b03811660009081526010602052604081206001015461053190600160401b9061052b9061052561051c87610910565b600f5490611063565b906110bc565b90611121565b92915050565b600f5481565b610545611163565b6000546001600160a01b03908116911614610595576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b600d546001600160a01b0316156105ab57600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b806105e633610910565b10156105f157600080fd5b3360009081526010602052604090205461060b9082611167565b33600090815260106020526040902055600f546106469061062d908390611063565b33600090815260106020526040902060010154906110bc565b33600081815260106020526040902060010191909155600d54610675916001600160a01b0390911690836111a9565b60408051828152905133917fbace9fd79d5ea02ed8b43fa96af07e4e8f859a2f71ff878c748f5c22c5780284919081900360200190a250565b60025481565b60065481565b60035481565b6009546001600160a01b031681565b6106d7611163565b6000546001600160a01b03908116911614610727576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661073a57600080fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610767336104e6565b90506000811161077657600080fd5b6107a061078782600160401b611063565b3360009081526010602052604090206001015490611200565b33600081815260106020526040902060010191909155600e546107cf916001600160a01b0390911690836111a9565b60408051828152905133917f554d55684a5d3137fb3cbe1d16e4c7716d84a35d3ca5a2d496e041cd683a776e919081900360200190a250565b610810611163565b6000546001600160a01b03908116911614610860576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661087357600080fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6002805460009182905560048054908390556003805490849055600a54600e546108cc916001600160a01b039182169116836111a9565b600b54600e546108e9916001600160a01b039182169116846111a9565b600954600e54610906916001600160a01b039182169116856111a9565b6001935050505090565b6001600160a01b031660009081526010602052604090205490565b610933611163565b6000546001600160a01b03908116911614610983576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b03811661099657600080fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6109c0611163565b6000546001600160a01b03908116911614610a10576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60085481565b600c546001600160a01b031681565b60075481565b600a546001600160a01b031681565b610a8f816000610a92565b50565b6000610a9d336104e6565b905060008111610aac57600080fd5b610abd61078782600160401b611063565b33600090815260106020908152604080832060010193909355600e54600c54845163095ea7b360e01b81526001600160a01b03918216600482015260248101879052945191169363095ea7b39360448083019493928390030190829087803b158015610b2857600080fd5b505af1158015610b3c573d6000803e3d6000fd5b505050506040513d6020811015610b5257600080fd5b5050600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b9f57600080fd5b505afa158015610bb3573d6000803e3d6000fd5b505050506040513d6020811015610bc957600080fd5b50516040805160028082526060808301845293945090916020830190803683375050600e5482519293506001600160a01b031691839150600090610c0957fe5b6001600160a01b039283166020918202929092010152600d54825191169082906001908110610c3457fe5b6001600160a01b039283166020918202929092010152600c5416635c11d79584868430610c61428c611265565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610cd1578181015183820152602001610cb9565b505050509050019650505050505050600060405180830381600087803b158015610cfa57600080fd5b505af1158015610d0e573d6000803e3d6000fd5b5050600d54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b158015610d5f57600080fd5b505afa158015610d73573d6000803e3d6000fd5b505050506040513d6020811015610d8957600080fd5b505190506000610d998285611167565b905060008111610ddf576040805162461bcd60e51b815260206004820152600c60248201526b16915493d7d0d3d39591549560a21b604482015290519081900360640190fd5b610de8816112bf565b50505050505050565b6000546001600160a01b031690565b600e54600090610e1b906001600160a01b031633308561134a565b6000610e3860055461052b6006548661106390919063ffffffff16565b600254909150610e489082611265565b600255600554600754600091610e639161052b908790611063565b600354909150610e739082611265565b600355600554600854600091610e8e9161052b908890611063565b600454909150610e9e9082611265565b6004556000610eb982610eb385818a89611167565b90611167565b9050610ee0610ed7610ec96113aa565b61052b84600160401b611063565b600f5490611265565b600f555092949350505050565b60015481565b6010602052600090815260409020805460019091015482565b6000610f19338484611426565b9392505050565b600e546001600160a01b031681565b600d54610f47906001600160a01b031633308461134a565b610a8f816112bf565b60045481565b610f5e611163565b6000546001600160a01b03908116911614610fae576040805162461bcd60e51b815260206004820181905260248201526000805160206119b4833981519152604482015290519081900360640190fd5b6001600160a01b038116610ff35760405162461bcd60e51b81526004018080602001828103825260268152602001806119266026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60055481565b600d546001600160a01b031681565b60008261107257506000610531565b8282028284828161107f57fe5b0414610f195760405162461bcd60e51b81526004018080602001828103825260218152602001806119936021913960400191505060405180910390fd5b60008183038183128015906110d15750838113155b806110e657506000831280156110e657508381135b610f195760405162461bcd60e51b81526004018080602001828103825260248152602001806119d46024913960400191505060405180910390fd5b6000610f1983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611599565b3390565b6000610f1983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061163b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111fb908490611695565b505050565b60008282018183128015906112155750838112155b8061122a575060008312801561122a57508381125b610f195760405162461bcd60e51b815260040180806020018281038252602181526020018061194c6021913960400191505060405180910390fd5b600082820183811015610f19576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b336000908152601060205260409020546112d99082611265565b33600090815260106020526040902055600f546112fb90610787908390611063565b33600081815260106020908152604091829020600101939093558051848152905191927fa9376856550cfe9f0d25894ccc2b7caa4aeffd8b24c8bc99159a8d3de8fe6aaa92918290030190a250565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113a4908590611695565b50505050565b600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156113f557600080fd5b505afa158015611409573d6000803e3d6000fd5b505050506040513d602081101561141f57600080fd5b5051905090565b6001600160a01b03831660009081526010602052604081205482111561144b57600080fd5b6001600160a01b03841660009081526010602052604090205461146e9083611167565b6001600160a01b038516600090815260106020526040902055600f546114bb90611499908490611063565b6001600160a01b038616600090815260106020526040902060010154906110bc565b6001600160a01b0380861660009081526010602052604080822060010193909355908516815220546114ed9083611265565b6001600160a01b038416600090815260106020526040902055600f5461153a90611518908490611063565b6001600160a01b03851660009081526010602052604090206001015490611200565b6001600160a01b0384166000818152601060209081526040918290206001019390935580518581529051919233927fbbedcb837162a70780767a22e1a55cd24f272af57731058a3faed2412954ec689281900390910190a39392505050565b600081836116255760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115ea5781810151838201526020016115d2565b50505050905090810190601f1680156116175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161163157fe5b0495945050505050565b6000818484111561168d5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156115ea5781810151838201526020016115d2565b505050900390565b60606116ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117469092919063ffffffff16565b8051909150156111fb5780806020019051602081101561170957600080fd5b50516111fb5760405162461bcd60e51b815260040180806020018281038252602a8152602001806119f8602a913960400191505060405180910390fd5b6060611755848460008561175d565b949350505050565b60608247101561179e5760405162461bcd60e51b815260040180806020018281038252602681526020018061196d6026913960400191505060405180910390fd5b6117a7856118b9565b6117f8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106118375780518252601f199092019160209182019101611818565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611899576040519150601f19603f3d011682016040523d82523d6000602084013e61189e565b606091505b50915091506118ae8282866118bf565b979650505050505050565b3b151590565b606083156118ce575081610f19565b8251156118de5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156115ea5781810151838201526020016115d256fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735369676e6564536166654d6174683a206164646974696f6e206f766572666c6f77416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725369676e6564536166654d6174683a207375627472616374696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200a9230267250403b77dc6703b57cf9f574c2346acbea4843b196f8e9096604ba64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000099b8f0f49971f078edc8b8bfe48da6344e65db3f000000000000000000000000a0f4d4e55e10a9f55dd5ea665ff41b8d632e3b6f0000000000000000000000009857a29b5810049cbe9d83c34f122c23420b2d44
-----Decoded View---------------
Arg [0] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _trustSwap (address): 0x99b8f0f49971f078EdC8B8bfe48DA6344e65Db3F
Arg [3] : _yieldxStakers (address): 0xA0F4D4E55E10A9F55dD5EA665FF41b8d632e3B6F
Arg [4] : _team (address): 0x9857A29B5810049cBe9D83C34f122c23420b2d44
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 00000000000000000000000099b8f0f49971f078edc8b8bfe48da6344e65db3f
Arg [3] : 000000000000000000000000a0f4d4e55e10a9f55dd5ea665ff41b8d632e3b6f
Arg [4] : 0000000000000000000000009857a29b5810049cbe9d83c34f122c23420b2d44
Deployed Bytecode Sourcemap
26992:7655:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33731:294;;;;;;;;;;;;;;;;-1:-1:-1;33731:294:0;-1:-1:-1;;;;;33731:294:0;;:::i;:::-;;;;;;;;;;;;;;;;27869:26;;;:::i;28722:142::-;;;;;;;;;;;;;;;;-1:-1:-1;28722:142:0;-1:-1:-1;;;;;28722:142:0;;:::i;:::-;;27662:26;;;:::i;:::-;;;;-1:-1:-1;;;;;27662:26:0;;;;;;;;;;;;;;31458:414;;;;;;;;;;;;;;;;-1:-1:-1;31458:414:0;;:::i;27229:38::-;;;:::i;27407:43::-;;;:::i;27274:35::-;;;:::i;27582:31::-;;;:::i;28990:152::-;;;;;;;;;;;;;;;;-1:-1:-1;28990:152:0;-1:-1:-1;;;;;28990:152:0;;:::i;31880:371::-;;;:::i;29311:142::-;;;;;;;;;;;;;;;;-1:-1:-1;29311:142:0;-1:-1:-1;;;;;29311:142:0;;:::i;30389:577::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;33613:110;;;;;;;;;;;;;;;;-1:-1:-1;33613:110:0;-1:-1:-1;;;;;33613:110:0;;:::i;29150:153::-;;;;;;;;;;;;;;;;-1:-1:-1;29150:153:0;-1:-1:-1;;;;;29150:153:0;;:::i;2737:148::-;;;:::i;27527:38::-;;;:::i;27697:28::-;;;:::i;27465:47::-;;;:::i;27620:35::-;;;:::i;33365:99::-;;;;;;;;;;;;;;;;-1:-1:-1;33365:99:0;;:::i;32259:1098::-;;;;;;;;;;;;;;;;-1:-1:-1;32259:1098:0;;;;;;;:::i;2095:79::-;;;:::i;29537:844::-;;;;;;;;;;;;;;;;-1:-1:-1;29537:844:0;;:::i;27193:29::-;;;:::i;27904:37::-;;;;;;;;;;;;;;;;-1:-1:-1;27904:37:0;-1:-1:-1;;;;;27904:37:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33472:133;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33472:133:0;;;;;;;;:::i;27844:18::-;;;:::i;30974:151::-;;;;;;;;;;;;;;;;-1:-1:-1;30974:151:0;;:::i;27316:41::-;;;:::i;3040:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3040:244:0;-1:-1:-1;;;;;3040:244:0;;:::i;27366:34::-;;;:::i;27818:19::-;;;:::i;33731:294::-;-1:-1:-1;;;;;33922:12:0;;33788:7;33922:12;;;:5;:12;;;;;:25;;;33828:189;;-1:-1:-1;;;27179:5:0;33854:112;;33861:33;33877:16;33928:5;33877:9;:16::i;:::-;33861:11;;;:15;:33::i;:::-;33854:45;;:112::i;:::-;33828:175;;:189::i;:::-;33808:209;33731:294;-1:-1:-1;;33731:294:0:o;27869:26::-;;;;:::o;28722:142::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;28802:5:::1;::::0;-1:-1:-1;;;;;28802:5:0::1;28794:28:::0;28786:37:::1;;;::::0;::::1;;28834:5;:22:::0;;-1:-1:-1;;;;;;28834:22:0::1;-1:-1:-1::0;;;;;28834:22:0;;;::::1;::::0;;;::::1;::::0;;28722:142::o;27662:26::-;;;-1:-1:-1;;;;;27662:26:0;;:::o;31458:414::-;31546:7;31521:21;31531:10;31521:9;:21::i;:::-;:32;;31513:41;;;;;;31599:10;31593:17;;;;:5;:17;;;;;:25;:38;;31623:7;31593:29;:38::i;:::-;31571:10;31565:17;;;;:5;:17;;;;;:66;31743:11;;31675:92;;31731:24;;:7;;:11;:24::i;:::-;31681:10;31675:17;;;;:5;:17;;;;;:30;;;;:34;:92::i;:::-;31648:10;31642:17;;;;:5;:17;;;;;:30;;:125;;;;31778:5;;:39;;-1:-1:-1;;;;;31778:5:0;;;;31809:7;31778:18;:39::i;:::-;31833:31;;;;;;;;31844:10;;31833:31;;;;;;;;;;31458:414;:::o;27229:38::-;;;;:::o;27407:43::-;;;;:::o;27274:35::-;;;;:::o;27582:31::-;;;-1:-1:-1;;;;;27582:31:0;;:::o;28990:152::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29073:22:0;::::1;29065:31;;;::::0;::::1;;29107:16;:27:::0;;-1:-1:-1;;;;;;29107:27:0::1;-1:-1:-1::0;;;;;29107:27:0;;;::::1;::::0;;;::::1;::::0;;28990:152::o;31880:371::-;31917:18;31938:23;31950:10;31938:11;:23::i;:::-;31917:44;;31993:1;31980:10;:14;31972:23;;;;;;32039:96;32095:28;:10;-1:-1:-1;;;32095:14:0;:28::i;:::-;32045:10;32039:17;;;;:5;:17;;;;;:30;;;;:34;:96::i;:::-;32012:10;32006:17;;;;:5;:17;;;;;:30;;:129;;;;32146:4;;:50;;-1:-1:-1;;;;;32146:4:0;;;;32185:10;32146:17;:50::i;:::-;32212:31;;;;;;;;32220:10;;32212:31;;;;;;;;;;31880:371;:::o;29311:142::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29389:22:0;::::1;29381:31;;;::::0;::::1;;29423:11;:22:::0;;-1:-1:-1;;;;;;29423:22:0::1;-1:-1:-1::0;;;;;29423:22:0;;;::::1;::::0;;;::::1;::::0;;29311:142::o;30389:577::-;30480:23;;;30432:4;30514:27;;;;30578:26;;;30615:30;;;;30684:20;;;30715:24;;;;30770:20;;30752:4;;:58;;-1:-1:-1;;;;;30752:4:0;;;;30770:20;30684;30752:17;:58::i;:::-;30839:11;;30821:4;;:47;;-1:-1:-1;;;;;30821:4:0;;;;30839:11;30852:15;30821:17;:47::i;:::-;30897:16;;30879:4;;:57;;-1:-1:-1;;;;;30879:4:0;;;;30897:16;30915:20;30879:17;:57::i;:::-;30954:4;30947:11;;;;;30389:577;:::o;33613:110::-;-1:-1:-1;;;;;33695:12:0;33668:7;33695:12;;;:5;:12;;;;;:20;;33613:110::o;29150:153::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29230:22:0;::::1;29222:31;;;::::0;::::1;;29264:20;:31:::0;;-1:-1:-1;;;;;;29264:31:0::1;-1:-1:-1::0;;;;;29264:31:0;;;::::1;::::0;;;::::1;::::0;;29150:153::o;2737:148::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;2844:1:::1;2828:6:::0;;2807:40:::1;::::0;-1:-1:-1;;;;;2828:6:0;;::::1;::::0;2807:40:::1;::::0;2844:1;;2807:40:::1;2875:1;2858:19:::0;;-1:-1:-1;;;;;;2858:19:0::1;::::0;;2737:148::o;27527:38::-;;;;:::o;27697:28::-;;;-1:-1:-1;;;;;27697:28:0;;:::o;27465:47::-;;;;:::o;27620:35::-;;;-1:-1:-1;;;;;27620:35:0;;:::o;33365:99::-;33418:38;33447:5;33454:1;33418:28;:38::i;:::-;33365:99;:::o;32259:1098::-;32356:17;32376:23;32388:10;32376:11;:23::i;:::-;32356:43;;32430:1;32418:9;:13;32410:22;;;;;;32476:95;32532:27;:9;-1:-1:-1;;;32532:13:0;:27::i;32476:95::-;32449:10;32443:17;;;;:5;:17;;;;;;;;:30;;:128;;;;32582:4;;32603:13;;32582:47;;-1:-1:-1;;;32582:47:0;;-1:-1:-1;;;;;32603:13:0;;;32582:47;;;;;;;;;;;;:4;;;:12;;:47;;;;;32443:17;32582:47;;;;;;;;:4;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32673:5:0;;32666:38;;;-1:-1:-1;;;32666:38:0;;32698:4;32666:38;;;;;;32642:21;;-1:-1:-1;;;;;32673:5:0;;32666:23;;:38;;;;;32582:47;;32666:38;;;;;;;32673:5;32666:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32666:38:0;32741:16;;;32755:1;32741:16;;;32717:21;32741:16;;;;;32666:38;;-1:-1:-1;32741:16:0;;;;;;;;;;-1:-1:-1;;32786:4:0;;32768:7;;;;-1:-1:-1;;;;;;32786:4:0;;32768:7;;-1:-1:-1;32786:4:0;;32768:7;;;;-1:-1:-1;;;;;32768:23:0;;;:7;;;;;;;;;:23;32820:5;;32802:7;;32820:5;;;32802:4;;32820:5;;32802:7;;;;;;-1:-1:-1;;;;;32802:24:0;;;:7;;;;;;;;;:24;32858:13;;;32839:101;32959:9;32987:16;33022:4;33053;33077:26;:15;33097:5;33077:19;:26::i;:::-;32839:279;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32839:279:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33159:5:0;;33152:38;;;-1:-1:-1;;;33152:38:0;;33184:4;33152:38;;;;;;33129:20;;-1:-1:-1;;;;;;33159:5:0;;;;-1:-1:-1;33152:23:0;;:38;;;;;;;;;;;;;;33159:5;33152:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33152:38:0;;-1:-1:-1;33201:20:0;33224:31;33152:38;33241:13;33224:16;:31::i;:::-;33201:54;;33292:1;33274:15;:19;33266:44;;;;;-1:-1:-1;;;33266:44:0;;;;;;;;;;;;-1:-1:-1;;;33266:44:0;;;;;;;;;;;;;;;33321:28;33333:15;33321:11;:28::i;:::-;32259:1098;;;;;;;:::o;2095:79::-;2133:7;2160:6;-1:-1:-1;;;;;2160:6:0;2095:79;:::o;29537:844::-;29608:4;;29591;;29608:66;;-1:-1:-1;;;;;29608:4:0;29638:10;29659:4;29666:7;29608:21;:66::i;:::-;29687:21;29711:54;29751:13;;29711:35;29723:22;;29711:7;:11;;:35;;;;:::i;:54::-;29802:23;;29687:78;;-1:-1:-1;29802:42:0;;29687:78;29802:27;:42::i;:::-;29776:23;:68;29929:13;;29897:26;;29857:25;;29885:58;;:39;;:7;;:11;:39::i;:58::-;29977:20;;29857:86;;-1:-1:-1;29977:43:0;;29857:86;29977:24;:43::i;:::-;29954:20;:66;30087:13;;30064:17;;30033:16;;30052:49;;:30;;:7;;:11;:30::i;:49::-;30141:26;;30033:68;;-1:-1:-1;30141:40:0;;30033:68;30141:30;:40::i;:::-;30112:26;:69;30194:19;30216:63;30270:8;30216:49;30247:17;30216:49;:7;30228:13;30216:11;:26::i;:::-;:30;;:49::i;:63::-;30194:85;;30306:67;30322:50;30358:13;:11;:13::i;:::-;30323:29;:11;-1:-1:-1;;;30323:15:0;:29::i;30322:50::-;30306:11;;;:15;:67::i;:::-;30292:11;:81;-1:-1:-1;29537:844:0;;;-1:-1:-1;;;;29537:844:0:o;27193:29::-;;;;:::o;27904:37::-;;;;;;;;;;;;;;;;;;;:::o;33472:133::-;33538:4;33562:35;33572:10;33584:3;33589:7;33562:9;:35::i;:::-;33555:42;33472:133;-1:-1:-1;;;33472:133:0:o;27844:18::-;;;-1:-1:-1;;;;;27844:18:0;;:::o;30974:151::-;31028:5;;:58;;-1:-1:-1;;;;;31028:5:0;31051:10;31071:4;31078:7;31028:22;:58::i;:::-;31097:20;31109:7;31097:11;:20::i;27316:41::-;;;;:::o;3040:244::-;2317:12;:10;:12::i;:::-;2307:6;;-1:-1:-1;;;;;2307:6:0;;;:22;;;2299:67;;;;;-1:-1:-1;;;2299:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2299:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3129:22:0;::::1;3121:73;;;;-1:-1:-1::0;;;3121:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3231:6;::::0;;3210:38:::1;::::0;-1:-1:-1;;;;;3210:38:0;;::::1;::::0;3231:6;::::1;::::0;3210:38:::1;::::0;::::1;3259:6;:17:::0;;-1:-1:-1;;;;;;3259:17:0::1;-1:-1:-1::0;;;;;3259:17:0;;;::::1;::::0;;;::::1;::::0;;3040:244::o;27366:34::-;;;;:::o;27818:19::-;;;-1:-1:-1;;;;;27818:19:0;;:::o;5576:471::-;5634:7;5879:6;5875:47;;-1:-1:-1;5909:1:0;5902:8;;5875:47;5946:5;;;5950:1;5946;:5;:1;5970:5;;;;;:10;5962:56;;;;-1:-1:-1;;;5962:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10785:218;10841:6;10871:5;;;10896:6;;;;;;:16;;;10911:1;10906;:6;;10896:16;10895:38;;;;10922:1;10918;:5;:14;;;;;10931:1;10927;:5;10918:14;10887:87;;;;-1:-1:-1;;;10887:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6523:132;6581:7;6608:39;6612:1;6615;6608:39;;;;;;;;;;;;;;;;;:3;:39::i;632:106::-;720:10;632:106;:::o;4686:136::-;4744:7;4771:43;4775:1;4778;4771:43;;;;;;;;;;;;;;;;;:3;:43::i;21970:177::-;22080:58;;;-1:-1:-1;;;;;22080:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22080:58:0;-1:-1:-1;;;22080:58:0;;;22053:86;;22073:5;;22053:19;:86::i;:::-;21970:177;;;:::o;11248:215::-;11304:6;11334:5;;;11359:6;;;;;;:16;;;11374:1;11369;:6;;11359:16;11358:38;;;;11385:1;11381;:5;:14;;;;;11394:1;11390;:5;11381:14;11350:84;;;;-1:-1:-1;;;11350:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4222:181;4280:7;4312:5;;;4336:6;;;;4328:46;;;;;-1:-1:-1;;;4328:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31137:313;31228:10;31222:17;;;;:5;:17;;;;;:25;:38;;31252:7;31222:29;:38::i;:::-;31200:10;31194:17;;;;:5;:17;;;;;:66;31372:11;;31304:92;;31360:24;;:7;;:11;:24::i;31304:92::-;31277:10;31271:17;;;;:5;:17;;;;;;;;;:30;;:125;;;;31412:30;;;;;;;31277:10;;31412:30;;;;;;;;;31137:313;:::o;22155:205::-;22283:68;;;-1:-1:-1;;;;;22283:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22283:68:0;-1:-1:-1;;;22283:68:0;;;22256:96;;22276:5;;22256:19;:96::i;:::-;22155:205;;;;:::o;28872:110::-;28944:5;;:30;;;-1:-1:-1;;;28944:30:0;;28968:4;28944:30;;;;;;28917:7;;-1:-1:-1;;;;;28944:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28944:30:0;;-1:-1:-1;28872:110:0;:::o;34033:611::-;-1:-1:-1;;;;;34174:12:0;;34149:4;34174:12;;;:5;:12;;;;;:20;:31;-1:-1:-1;34174:31:0;34166:40;;;;;;-1:-1:-1;;;;;34240:12:0;;;;;;:5;:12;;;;;:20;:33;;34265:7;34240:24;:33::i;:::-;-1:-1:-1;;;;;34217:12:0;;;;;;:5;:12;;;;;:56;34375:11;;34312:87;;34363:24;;:7;;:11;:24::i;:::-;-1:-1:-1;;;;;34312:12:0;;;;;;:5;:12;;;;;:25;;;;:29;:87::i;:::-;-1:-1:-1;;;;;34284:12:0;;;;;;;:5;:12;;;;;;:25;;:115;;;;34431:10;;;;;;:18;:31;;34454:7;34431:22;:31::i;:::-;-1:-1:-1;;;;;34410:10:0;;;;;;:5;:10;;;;;:52;34560:11;;34499:85;;34548:24;;:7;;:11;:24::i;:::-;-1:-1:-1;;;;;34499:10:0;;;;;;:5;:10;;;;;:23;;;;:27;:85::i;:::-;-1:-1:-1;;;;;34473:10:0;;;;;;:5;:10;;;;;;;;;:23;;:111;;;;34600:36;;;;;;;34473:10;;34611;;34600:36;;;;;;;;;;34033:611;;;;;:::o;7151:278::-;7237:7;7272:12;7265:5;7257:28;;;;-1:-1:-1;;;7257:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7296:9;7312:1;7308;:5;;;;;;;7151:278;-1:-1:-1;;;;;7151:278:0:o;5125:192::-;5211:7;5247:12;5239:6;;;;5231:29;;;;-1:-1:-1;;;5231:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5283:5:0;;;5125:192::o;24275:761::-;24699:23;24725:69;24753:4;24725:69;;;;;;;;;;;;;;;;;24733:5;-1:-1:-1;;;;;24725:27:0;;;:69;;;;;:::i;:::-;24809:17;;24699:95;;-1:-1:-1;24809:21:0;24805:224;;24951:10;24940:30;;;;;;;;;;;;;;;-1:-1:-1;24940:30:0;24932:85;;;;-1:-1:-1;;;24932:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17969:195;18072:12;18104:52;18126:6;18134:4;18140:1;18143:12;18104:21;:52::i;:::-;18097:59;17969:195;-1:-1:-1;;;;17969:195:0:o;19021:530::-;19148:12;19206:5;19181:21;:30;;19173:81;;;;-1:-1:-1;;;19173:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19273:18;19284:6;19273:10;:18::i;:::-;19265:60;;;;;-1:-1:-1;;;19265:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19399:12;19413:23;19440:6;-1:-1:-1;;;;;19440:11:0;19460:5;19468:4;19440:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19440:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19398:75;;;;19491:52;19509:7;19518:10;19530:12;19491:17;:52::i;:::-;19484:59;19021:530;-1:-1:-1;;;;;;;19021:530:0:o;15051:422::-;15418:20;15457:8;;;15051:422::o;20557:742::-;20672:12;20701:7;20697:595;;;-1:-1:-1;20732:10:0;20725:17;;20697:595;20846:17;;:21;20842:439;;21109:10;21103:17;21170:15;21157:10;21153:2;21149:19;21142:44;21057:148;21245:20;;-1:-1:-1;;;21245:20:0;;;;;;;;;;;;;;;;;21252:12;;21245:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://0a9230267250403b77dc6703b57cf9f574c2346acbea4843b196f8e9096604ba
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.