Source Code
Latest 25 from a total of 6,482 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 55859968 | 692 days ago | IN | 0 POL | 0.01728311 | ||||
| Deposit | 55859925 | 692 days ago | IN | 0 POL | 0.0196045 | ||||
| Deposit | 55736775 | 695 days ago | IN | 0 POL | 0.02258965 | ||||
| Withdraw | 55704043 | 696 days ago | IN | 0 POL | 0.03104154 | ||||
| Withdraw | 55703947 | 696 days ago | IN | 0 POL | 0.04201142 | ||||
| Withdraw | 55703866 | 696 days ago | IN | 0 POL | 0.03635153 | ||||
| Deposit | 55703814 | 696 days ago | IN | 0 POL | 0.03455541 | ||||
| Deposit | 55697194 | 696 days ago | IN | 0 POL | 0.0314715 | ||||
| Deposit | 55694017 | 696 days ago | IN | 0 POL | 0.02277572 | ||||
| Deposit | 55637099 | 698 days ago | IN | 0 POL | 0.00975659 | ||||
| Deposit | 55599507 | 699 days ago | IN | 0 POL | 0.01428666 | ||||
| Deposit | 55520894 | 701 days ago | IN | 0 POL | 0.00782365 | ||||
| Deposit | 55520894 | 701 days ago | IN | 0 POL | 0.00972285 | ||||
| Deposit | 55346752 | 706 days ago | IN | 0 POL | 0.01532401 | ||||
| Deposit | 54893945 | 718 days ago | IN | 0 POL | 0.00340029 | ||||
| Deposit | 54889889 | 718 days ago | IN | 0 POL | 0.00441415 | ||||
| Withdraw | 54889786 | 718 days ago | IN | 0 POL | 0.00357436 | ||||
| Deposit | 54889670 | 718 days ago | IN | 0 POL | 0.0034681 | ||||
| Deposit | 54576377 | 726 days ago | IN | 0 POL | 0.01403965 | ||||
| Withdraw | 54341429 | 732 days ago | IN | 0 POL | 0.01025304 | ||||
| Deposit | 54340864 | 732 days ago | IN | 0 POL | 0.01112426 | ||||
| Deposit | 54120113 | 738 days ago | IN | 0 POL | 0.00897283 | ||||
| Deposit | 53758407 | 747 days ago | IN | 0 POL | 0.00494792 | ||||
| Withdraw | 53751637 | 747 days ago | IN | 0 POL | 0.02774348 | ||||
| Deposit | 53717404 | 748 days ago | IN | 0 POL | 0.00713891 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GreenFarms
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at polygonscan.com on 2022-03-22
*/
// SPDX-License-Identifier: MIT
/******************************************/
/* IERC20 starts here */
/******************************************/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
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);
}
/******************************************/
/* SafeMath starts here */
/******************************************/
// 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;
}
}
/******************************************/
/* Address starts here */
/******************************************/
// 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) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
return _functionCallWithValue(target, data, value, errorMessage);
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
/******************************************/
/* SafeERC20 starts here */
/******************************************/
// 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");
}
}
}
/******************************************/
/* Context starts here */
/******************************************/
// 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;
}
}
/******************************************/
/* Ownable starts here */
/******************************************/
// 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;
}
}
/******************************************/
/* GreenFarms starts here */
/******************************************/
pragma solidity ^0.6.12;
contract GreenFarms is Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
struct UserInfo
{
uint256 amount; // How many LP tokens the user has provided.
uint256 rewardDebt; // Reward debt. See explanation below.
}
struct PoolInfo
{
IERC20 lpToken; // Address of LP token contract.
uint256 allocPoint; // How many allocation points assigned to this pool.
uint256 lastRewardBlock; // Last block number that GREEN distribution occured.
uint256 accGreenPerShare; // Accumulated GREEN per share, times 1e12. See below.
uint256 entryFee; // Fee taken on entry as BPS (1/10000).
}
IERC20 public GREEN; // GREEN token
PoolInfo[] public poolInfo; // Info of each pool.
uint256 public greenPerBlock; // GREEN tokens created per block.
uint256 public startBlock; // The block number at which GREEN distribution starts.
uint256 public endBlock; // The block number at which GREEN distribution ends.
uint256 public totalAllocPoint = 0; // Total allocation poitns. Must be the sum of all allocation points in all pools.
address public feeTo;
mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Info of each user that stakes LP tokens.
event Deposit(address indexed user, uint256 indexed pid, uint256 amount, uint256 fee);
event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
constructor(IERC20 _GREEN, uint256 _greenPerBlock, uint256 _startBlock, uint256 _endBlock) public {
GREEN = _GREEN;
greenPerBlock = _greenPerBlock;
startBlock = _startBlock;
endBlock = _endBlock;
}
/**
* @dev Adds a new lp to the pool. Can only be called by the owner. DO NOT add the same LP token more than once.
* @param _allocPoint How many allocation points to assign to this pool.
* @param _lpToken Address of LP token contract.
* @param _entryFee Fee required to enter this pool.
* @param _withUpdate Whether to update all LP token contracts. Should be true if GREEN distribution has already begun.
*/
function add(uint256 _allocPoint, IERC20 _lpToken, uint256 _entryFee, bool _withUpdate) public onlyOwner {
if (_withUpdate) {
massUpdatePools();
}
uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
totalAllocPoint = totalAllocPoint.add(_allocPoint);
poolInfo.push(PoolInfo({
lpToken: _lpToken,
allocPoint: _allocPoint,
lastRewardBlock: lastRewardBlock,
accGreenPerShare: 0,
entryFee: _entryFee
}));
}
/**
* @dev Update the given pool's GREEN allocation point. Can only be called by the owner.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
* @param _allocPoint How many allocation points to assign to this pool.
* @param _withUpdate Whether to update all LP token contracts. Should be true if GREEN distribution has already begun.
*/
function set(uint256 _pid, uint256 _allocPoint, uint256 _entryFee, bool _withUpdate) public onlyOwner {
if (_withUpdate) {
massUpdatePools();
}
totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
poolInfo[_pid].allocPoint = _allocPoint;
poolInfo[_pid].entryFee = _entryFee;
}
/**
* @dev Return reward multiplier over the given _from to _to blocks based on block count.
* @param _from First block.
* @param _to Last block.
* @return Number of blocks.
*/
function getMultiplier(uint256 _from, uint256 _to) internal view returns (uint256) {
if (_to < endBlock) {
return _to.sub(_from);
} else if (_from >= endBlock) {
return 0;
} else {
return endBlock.sub(_from);
}
}
/**
* @dev View function to see pending GREEN on frontend.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
* @param _user Address of a specific user.
* @return Pending GREEN.
*/
function pendingGreen(uint256 _pid, address _user) external view returns (uint256) {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][_user];
uint256 accGreenPerShare = pool.accGreenPerShare;
uint256 lpSupply = pool.lpToken.balanceOf(address(this));
if (block.number > pool.lastRewardBlock && lpSupply != 0) {
uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
uint256 greenReward = multiplier.mul(greenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
accGreenPerShare = accGreenPerShare.add(greenReward.mul(1e12).div(lpSupply));
}
return user.amount.mul(accGreenPerShare).div(1e12).sub(user.rewardDebt);
}
/**
* @dev Update reward vairables for all pools. Be careful of gas spending!
*/
function massUpdatePools() public {
uint256 length = poolInfo.length;
for (uint256 pid = 0; pid < length; ++pid) {
updatePool(pid);
}
}
/**
* @dev Update reward variables of the given pool to be up-to-date.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
*/
function updatePool(uint256 _pid) public {
PoolInfo storage pool = poolInfo[_pid];
if (block.number <= pool.lastRewardBlock) {
return;
}
uint256 lpSupply = pool.lpToken.balanceOf(address(this));
if (lpSupply == 0) {
pool.lastRewardBlock = block.number;
return;
}
uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
uint256 greenReward = multiplier.mul(greenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
pool.accGreenPerShare = pool.accGreenPerShare.add(greenReward.mul(1e12).div(lpSupply));
pool.lastRewardBlock = block.number;
}
/**
* @dev Deposit LP tokens to the Farm for GREEN allocation.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
* @param _amount Amount of LP tokens to deposit.
*/
function deposit(uint256 _pid, uint256 _amount) public {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
updatePool(_pid);
if (user.amount > 0) {
uint256 pending = user.amount.mul(pool.accGreenPerShare).div(1e12).sub(user.rewardDebt);
safeGreenTransfer(msg.sender, pending);
}
uint256 fee = _amount * pool.entryFee / 10000;
pool.lpToken.safeTransferFrom(address(msg.sender), feeTo, fee);
pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount - fee);
user.amount = user.amount.add(_amount - fee);
user.rewardDebt = user.amount.mul(pool.accGreenPerShare).div(1e12);
emit Deposit(msg.sender, _pid, _amount - fee, fee);
}
/**
* @dev Withdraw LP tokens from the Farm.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
* @param _amount Amount of LP tokens to withdraw.
*/
function withdraw(uint256 _pid, uint256 _amount) public {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
require(user.amount >= _amount, "Can't withdraw more token than previously deposited.");
updatePool(_pid);
uint256 pending = user.amount.mul(pool.accGreenPerShare).div(1e12).sub(user.rewardDebt);
safeGreenTransfer(msg.sender, pending);
user.amount = user.amount.sub(_amount);
user.rewardDebt = user.amount.mul(pool.accGreenPerShare).div(1e12);
pool.lpToken.safeTransfer(address(msg.sender), _amount);
emit Withdraw(msg.sender, _pid, _amount);
}
/**
* @dev Withdraw without caring about rewards. EMERGENCY ONLY.
* @param _pid ID of a specific LP token pool. See index of PoolInfo[].
*/
function emergencyWithdraw(uint256 _pid) public {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
pool.lpToken.safeTransfer(address(msg.sender), user.amount);
emit EmergencyWithdraw(msg.sender, _pid, user.amount);
user.amount = 0;
user.rewardDebt = 0;
}
/**
* @dev Safe transfer function, just in case if rounding error causes the Farm to not have enough GREEN.
* @param _to Target address.
* @param _amount Amount of GREEN to transfer.
*/
function safeGreenTransfer(address _to, uint256 _amount) internal {
uint256 greenBalance = GREEN.balanceOf(address(this));
if (_amount > greenBalance) {
GREEN.transfer(_to, greenBalance);
} else {
GREEN.transfer(_to, _amount);
}
}
/**
* @dev Views total number of LP token pools.
* @return Size of poolInfo array.
*/
function poolLength() external view returns (uint256) {
return poolInfo.length;
}
/**
* @dev Views total number of GREEN tokens deposited for rewards.
* @return GREEN token balance of the Farm.
*/
function balance() public view returns (uint256) {
return GREEN.balanceOf(address(this));
}
/**
* @dev Transfer GREEN tokens.
* @return Success.
*/
function transfer(address to, uint256 value) external onlyOwner returns (bool) {
return GREEN.transfer(to, value);
}
/**
* @dev Define last block on which GREEN reward distribution occurs.
* @return Last block number.
*/
function setEndBlock(uint256 _endBlock) external onlyOwner returns (uint256) {
require(block.number < endBlock, "Reward distribution already ended.");
require(_endBlock > block.number, "Block needs to be in the future.");
endBlock = _endBlock;
return endBlock;
}
/**
* @dev Update GREEN per block.
* @return GREEN per block.
*/
function setGreenPerBlock(uint256 _greenPerBlock) external onlyOwner returns (uint256) {
require(_greenPerBlock > 0, "Green per Block must be greater than 0.");
massUpdatePools();
greenPerBlock = _greenPerBlock;
return greenPerBlock;
}
/**
* @dev Set feeTo.
*/
function setFeeTo(address _feeTo) external onlyOwner {
feeTo = _feeTo;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_GREEN","type":"address"},{"internalType":"uint256","name":"_greenPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"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"},{"indexed":false,"internalType":"uint256","name":"fee","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":"GREEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint256","name":"_entryFee","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balance","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"greenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","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":"pendingGreen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accGreenPerShare","type":"uint256"},{"internalType":"uint256","name":"entryFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint256","name":"_entryFee","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"setEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"setFeeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_greenPerBlock","type":"uint256"}],"name":"setGreenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","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"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600060065534801561001557600080fd5b5060405162002cf438038062002cf48339818101604052608081101561003a57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600061007961017660201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35083600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260038190555081600481905550806005819055505050505061017e565b600033905090565b612b66806200018e6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806378ec96a0116100de578063b2e5e5a311610097578063c713aa9411610071578063c713aa9414610607578063e2bbb15814610649578063f2fde38b14610681578063f46901ed146106c557610173565b8063b2e5e5a314610589578063b327cc52146105a7578063b69ef8a8146105e957610173565b806378ec96a0146103a25780638862445a146103d65780638da5cb5b1461042457806393f1a40b14610458578063988d7a60146104c1578063a9059cbb1461052557610173565b8063441a3e7011610130578063441a3e70146102dc57806348cd4cb11461031457806351eb05a6146103325780635312ea8e14610360578063630b5ba11461038e578063715018a61461039857610173565b8063017e7e5814610178578063081e3eda146101ac578063083c6323146101ca578063114d955e146101e85780631526fe271461024a57806317caf6f1146102be575b600080fd5b610180610709565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101b461072f565b6040518082815260200191505060405180910390f35b6101d261073c565b6040518082815260200191505060405180910390f35b610234600480360360408110156101fe57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610742565b6040518082815260200191505060405180910390f35b6102766004803603602081101561026057600080fd5b8101908080359060200190929190505050610988565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6102c66109eb565b6040518082815260200191505060405180910390f35b610312600480360360408110156102f257600080fd5b8101908080359060200190929190803590602001909291905050506109f1565b005b61031c610c1e565b6040518082815260200191505060405180910390f35b61035e6004803603602081101561034857600080fd5b8101908080359060200190929190505050610c24565b005b61038c6004803603602081101561037657600080fd5b8101908080359060200190929190505050610de5565b005b610396610f17565b005b6103a0610f44565b005b6103aa6110ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610422600480360360808110156103ec57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035151590602001909291905050506110f0565b005b61042c61125e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a46004803603604081101561046e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611287565b604051808381526020018281526020019250505060405180910390f35b610523600480360360808110156104d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035151590602001909291905050506112b8565b005b6105716004803603604081101561053b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114a2565b60405180821515815260200191505060405180910390f35b610591611642565b6040518082815260200191505060405180910390f35b6105d3600480360360208110156105bd57600080fd5b8101908080359060200190929190505050611648565b6040518082815260200191505060405180910390f35b6105f1611784565b6040518082815260200191505060405180910390f35b6106336004803603602081101561061d57600080fd5b810190808035906020019092919050505061184f565b6040518082815260200191505060405180910390f35b61067f6004803603604081101561065f57600080fd5b8101908080359060200190929190803590602001909291905050506119f9565b005b6106c36004803603602081101561069757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c71565b005b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e7c565b005b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280549050905090565b60055481565b6000806002848154811061075257fe5b9060005260206000209060050201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561084c57600080fd5b505afa158015610860573d6000803e3d6000fd5b505050506040513d602081101561087657600080fd5b8101908080519060200190929190505050905083600201544311801561089d575060008114155b156109385760006108b2856002015443611f88565b905060006108f56006546108e788600101546108d960035487611fde90919063ffffffff16565b611fde90919063ffffffff16565b61206490919063ffffffff16565b90506109336109248461091664e8d4a5100085611fde90919063ffffffff16565b61206490919063ffffffff16565b856120ae90919063ffffffff16565b935050505b61097c836001015461096e64e8d4a51000610960868860000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b94505050505092915050565b6002818154811061099557fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b60065481565b600060028381548110610a0057fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612a436034913960400191505060405180910390fd5b610aca84610c24565b6000610b148260010154610b0664e8d4a51000610af887600301548760000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b9050610b203382612180565b610b3784836000015461213690919063ffffffff16565b8260000181905550610b7164e8d4a51000610b6385600301548560000154611fde90919063ffffffff16565b61206490919063ffffffff16565b8260010181905550610bc833858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166123f99092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60045481565b600060028281548110610c3357fe5b9060005260206000209060050201905080600201544311610c545750610de2565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ce157600080fd5b505afa158015610cf5573d6000803e3d6000fd5b505050506040513d6020811015610d0b57600080fd5b810190808051906020019092919050505090506000811415610d37574382600201819055505050610de2565b6000610d47836002015443611f88565b90506000610d8a600654610d7c8660010154610d6e60035487611fde90919063ffffffff16565b611fde90919063ffffffff16565b61206490919063ffffffff16565b9050610dcc610db984610dab64e8d4a5100085611fde90919063ffffffff16565b61206490919063ffffffff16565b85600301546120ae90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600060028281548110610df457fe5b9060005260206000209060050201905060006008600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610eab3382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166123f99092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b6000600280549050905060005b81811015610f4057610f3581610c24565b806001019050610f24565b5050565b610f4c61249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110f861249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156111c7576111c6610f17565b5b61120c836111fe600287815481106111db57fe5b90600052602060002090600502016001015460065461213690919063ffffffff16565b6120ae90919063ffffffff16565b600681905550826002858154811061122057fe5b906000526020600020906005020160010181905550816002858154811061124357fe5b90600052602060002090600502016004018190555050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6008602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b6112c061249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611380576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561138f5761138e610f17565b5b600060045443116113a2576004546113a4565b435b90506113bb856006546120ae90919063ffffffff16565b60068190555060026040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018381526020016000815260200185815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015550505050505050565b60006114ac61249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115ff57600080fd5b505af1158015611613573d6000803e3d6000fd5b505050506040513d602081101561162957600080fd5b8101908080519060200190929190505050905092915050565b60035481565b600061165261249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611712576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000821161176b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612ae06027913960400191505060405180910390fd5b611773610f17565b816003819055506003549050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561180f57600080fd5b505afa158015611823573d6000803e3d6000fd5b505050506040513d602081101561183957600080fd5b8101908080519060200190929190505050905090565b600061185961249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544310611973576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612a9d6022913960400191505060405180910390fd5b4382116119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f426c6f636b206e6565647320746f20626520696e20746865206675747572652e81525060200191505060405180910390fd5b816005819055506005549050919050565b600060028381548110611a0857fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a7584610c24565b600081600001541115611ada576000611acc8260010154611abe64e8d4a51000611ab087600301548760000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b9050611ad83382612180565b505b60006127108360040154850281611aed57fe5b049050611b6333600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124a3909392919063ffffffff16565b611bb633308387038660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124a3909392919063ffffffff16565b611bcf81850383600001546120ae90919063ffffffff16565b8260000181905550611c0964e8d4a51000611bfb85600301548560000154611fde90919063ffffffff16565b61206490919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e83870384604051808381526020018281526020019250505060405180910390a35050505050565b611c7961249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a776026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e8461249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600554821015611fae57611fa7838361213690919063ffffffff16565b9050611fd8565b6005548310611fc05760009050611fd8565b611fd58360055461213690919063ffffffff16565b90505b92915050565b600080831415611ff1576000905061205e565b600082840290508284828161200257fe5b0414612059576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612abf6021913960400191505060405180910390fd5b809150505b92915050565b60006120a683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612564565b905092915050565b60008082840190508381101561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061217883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061262a565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561220b57600080fd5b505afa15801561221f573d6000803e3d6000fd5b505050506040513d602081101561223557600080fd5b810190808051906020019092919050505090508082111561232457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156122e357600080fd5b505af11580156122f7573d6000803e3d6000fd5b505050506040513d602081101561230d57600080fd5b8101908080519060200190929190505050506123f4565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156123b757600080fd5b505af11580156123cb573d6000803e3d6000fd5b505050506040513d60208110156123e157600080fd5b8101908080519060200190929190505050505b505050565b6124968363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126ea565b505050565b600033905090565b61255e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126ea565b50505050565b60008083118290612610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125d55780820151818401526020810190506125ba565b50505050905090810190601f1680156126025780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161261c57fe5b049050809150509392505050565b60008383111582906126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561269c578082015181840152602081019050612681565b50505050905090810190601f1680156126c95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606061274c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127d99092919063ffffffff16565b90506000815111156127d45780806020019051602081101561276d57600080fd5b81019080805190602001909291905050506127d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b07602a913960400191505060405180910390fd5b5b505050565b60606127e884846000856127f1565b90509392505050565b60606127fc856129f7565b61286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106128be578051825260208201915060208101905060208303925061289b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612920576040519150601f19603f3d011682016040523d82523d6000602084013e612925565b606091505b5091509150811561293a5780925050506129ef565b60008151111561294d5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b4578082015181840152602081019050612999565b50505050905090810190601f1680156129e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612a3957506000801b8214155b9250505091905056fe43616e2774207769746864726177206d6f726520746f6b656e207468616e2070726576696f75736c79206465706f73697465642e4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737352657761726420646973747269627574696f6e20616c726561647920656e6465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77477265656e2070657220426c6f636b206d7573742062652067726561746572207468616e20302e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220db41c9fd20ca19567c85f63cd43ca3592406fca959d37e92915ea5e0565b047764736f6c634300060c003300000000000000000000000040db6d7812b8288eca452f912ca9f262b186f27800000000000000000000000000000000000000000000000000b8bdb97852000000000000000000000000000000000000000000000000000000000000019238c0000000000000000000000000000000000000000000000000000000003b9ac9ff
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c806378ec96a0116100de578063b2e5e5a311610097578063c713aa9411610071578063c713aa9414610607578063e2bbb15814610649578063f2fde38b14610681578063f46901ed146106c557610173565b8063b2e5e5a314610589578063b327cc52146105a7578063b69ef8a8146105e957610173565b806378ec96a0146103a25780638862445a146103d65780638da5cb5b1461042457806393f1a40b14610458578063988d7a60146104c1578063a9059cbb1461052557610173565b8063441a3e7011610130578063441a3e70146102dc57806348cd4cb11461031457806351eb05a6146103325780635312ea8e14610360578063630b5ba11461038e578063715018a61461039857610173565b8063017e7e5814610178578063081e3eda146101ac578063083c6323146101ca578063114d955e146101e85780631526fe271461024a57806317caf6f1146102be575b600080fd5b610180610709565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101b461072f565b6040518082815260200191505060405180910390f35b6101d261073c565b6040518082815260200191505060405180910390f35b610234600480360360408110156101fe57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610742565b6040518082815260200191505060405180910390f35b6102766004803603602081101561026057600080fd5b8101908080359060200190929190505050610988565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6102c66109eb565b6040518082815260200191505060405180910390f35b610312600480360360408110156102f257600080fd5b8101908080359060200190929190803590602001909291905050506109f1565b005b61031c610c1e565b6040518082815260200191505060405180910390f35b61035e6004803603602081101561034857600080fd5b8101908080359060200190929190505050610c24565b005b61038c6004803603602081101561037657600080fd5b8101908080359060200190929190505050610de5565b005b610396610f17565b005b6103a0610f44565b005b6103aa6110ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610422600480360360808110156103ec57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035151590602001909291905050506110f0565b005b61042c61125e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a46004803603604081101561046e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611287565b604051808381526020018281526020019250505060405180910390f35b610523600480360360808110156104d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035151590602001909291905050506112b8565b005b6105716004803603604081101561053b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114a2565b60405180821515815260200191505060405180910390f35b610591611642565b6040518082815260200191505060405180910390f35b6105d3600480360360208110156105bd57600080fd5b8101908080359060200190929190505050611648565b6040518082815260200191505060405180910390f35b6105f1611784565b6040518082815260200191505060405180910390f35b6106336004803603602081101561061d57600080fd5b810190808035906020019092919050505061184f565b6040518082815260200191505060405180910390f35b61067f6004803603604081101561065f57600080fd5b8101908080359060200190929190803590602001909291905050506119f9565b005b6106c36004803603602081101561069757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c71565b005b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e7c565b005b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280549050905090565b60055481565b6000806002848154811061075257fe5b9060005260206000209060050201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561084c57600080fd5b505afa158015610860573d6000803e3d6000fd5b505050506040513d602081101561087657600080fd5b8101908080519060200190929190505050905083600201544311801561089d575060008114155b156109385760006108b2856002015443611f88565b905060006108f56006546108e788600101546108d960035487611fde90919063ffffffff16565b611fde90919063ffffffff16565b61206490919063ffffffff16565b90506109336109248461091664e8d4a5100085611fde90919063ffffffff16565b61206490919063ffffffff16565b856120ae90919063ffffffff16565b935050505b61097c836001015461096e64e8d4a51000610960868860000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b94505050505092915050565b6002818154811061099557fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b60065481565b600060028381548110610a0057fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612a436034913960400191505060405180910390fd5b610aca84610c24565b6000610b148260010154610b0664e8d4a51000610af887600301548760000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b9050610b203382612180565b610b3784836000015461213690919063ffffffff16565b8260000181905550610b7164e8d4a51000610b6385600301548560000154611fde90919063ffffffff16565b61206490919063ffffffff16565b8260010181905550610bc833858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166123f99092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60045481565b600060028281548110610c3357fe5b9060005260206000209060050201905080600201544311610c545750610de2565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ce157600080fd5b505afa158015610cf5573d6000803e3d6000fd5b505050506040513d6020811015610d0b57600080fd5b810190808051906020019092919050505090506000811415610d37574382600201819055505050610de2565b6000610d47836002015443611f88565b90506000610d8a600654610d7c8660010154610d6e60035487611fde90919063ffffffff16565b611fde90919063ffffffff16565b61206490919063ffffffff16565b9050610dcc610db984610dab64e8d4a5100085611fde90919063ffffffff16565b61206490919063ffffffff16565b85600301546120ae90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600060028281548110610df457fe5b9060005260206000209060050201905060006008600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610eab3382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166123f99092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b6000600280549050905060005b81811015610f4057610f3581610c24565b806001019050610f24565b5050565b610f4c61249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110f861249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156111c7576111c6610f17565b5b61120c836111fe600287815481106111db57fe5b90600052602060002090600502016001015460065461213690919063ffffffff16565b6120ae90919063ffffffff16565b600681905550826002858154811061122057fe5b906000526020600020906005020160010181905550816002858154811061124357fe5b90600052602060002090600502016004018190555050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6008602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b6112c061249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611380576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561138f5761138e610f17565b5b600060045443116113a2576004546113a4565b435b90506113bb856006546120ae90919063ffffffff16565b60068190555060026040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018381526020016000815260200185815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015550505050505050565b60006114ac61249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115ff57600080fd5b505af1158015611613573d6000803e3d6000fd5b505050506040513d602081101561162957600080fd5b8101908080519060200190929190505050905092915050565b60035481565b600061165261249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611712576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000821161176b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612ae06027913960400191505060405180910390fd5b611773610f17565b816003819055506003549050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561180f57600080fd5b505afa158015611823573d6000803e3d6000fd5b505050506040513d602081101561183957600080fd5b8101908080519060200190929190505050905090565b600061185961249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544310611973576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612a9d6022913960400191505060405180910390fd5b4382116119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f426c6f636b206e6565647320746f20626520696e20746865206675747572652e81525060200191505060405180910390fd5b816005819055506005549050919050565b600060028381548110611a0857fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a7584610c24565b600081600001541115611ada576000611acc8260010154611abe64e8d4a51000611ab087600301548760000154611fde90919063ffffffff16565b61206490919063ffffffff16565b61213690919063ffffffff16565b9050611ad83382612180565b505b60006127108360040154850281611aed57fe5b049050611b6333600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124a3909392919063ffffffff16565b611bb633308387038660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124a3909392919063ffffffff16565b611bcf81850383600001546120ae90919063ffffffff16565b8260000181905550611c0964e8d4a51000611bfb85600301548560000154611fde90919063ffffffff16565b61206490919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e83870384604051808381526020018281526020019250505060405180910390a35050505050565b611c7961249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a776026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e8461249b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600554821015611fae57611fa7838361213690919063ffffffff16565b9050611fd8565b6005548310611fc05760009050611fd8565b611fd58360055461213690919063ffffffff16565b90505b92915050565b600080831415611ff1576000905061205e565b600082840290508284828161200257fe5b0414612059576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612abf6021913960400191505060405180910390fd5b809150505b92915050565b60006120a683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612564565b905092915050565b60008082840190508381101561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061217883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061262a565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561220b57600080fd5b505afa15801561221f573d6000803e3d6000fd5b505050506040513d602081101561223557600080fd5b810190808051906020019092919050505090508082111561232457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156122e357600080fd5b505af11580156122f7573d6000803e3d6000fd5b505050506040513d602081101561230d57600080fd5b8101908080519060200190929190505050506123f4565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156123b757600080fd5b505af11580156123cb573d6000803e3d6000fd5b505050506040513d60208110156123e157600080fd5b8101908080519060200190929190505050505b505050565b6124968363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126ea565b505050565b600033905090565b61255e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126ea565b50505050565b60008083118290612610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125d55780820151818401526020810190506125ba565b50505050905090810190601f1680156126025780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161261c57fe5b049050809150509392505050565b60008383111582906126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561269c578082015181840152602081019050612681565b50505050905090810190601f1680156126c95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606061274c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127d99092919063ffffffff16565b90506000815111156127d45780806020019051602081101561276d57600080fd5b81019080805190602001909291905050506127d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b07602a913960400191505060405180910390fd5b5b505050565b60606127e884846000856127f1565b90509392505050565b60606127fc856129f7565b61286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106128be578051825260208201915060208101905060208303925061289b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612920576040519150601f19603f3d011682016040523d82523d6000602084013e612925565b606091505b5091509150811561293a5780925050506129ef565b60008151111561294d5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b4578082015181840152602081019050612999565b50505050905090810190601f1680156129e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612a3957506000801b8214155b9250505091905056fe43616e2774207769746864726177206d6f726520746f6b656e207468616e2070726576696f75736c79206465706f73697465642e4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737352657761726420646973747269627574696f6e20616c726561647920656e6465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77477265656e2070657220426c6f636b206d7573742062652067726561746572207468616e20302e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220db41c9fd20ca19567c85f63cd43ca3592406fca959d37e92915ea5e0565b047764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000040db6d7812b8288eca452f912ca9f262b186f27800000000000000000000000000000000000000000000000000b8bdb97852000000000000000000000000000000000000000000000000000000000000019238c0000000000000000000000000000000000000000000000000000000003b9ac9ff
-----Decoded View---------------
Arg [0] : _GREEN (address): 0x40DB6d7812b8288eCA452F912ca9F262b186f278
Arg [1] : _greenPerBlock (uint256): 52000000000000000
Arg [2] : _startBlock (uint256): 26360000
Arg [3] : _endBlock (uint256): 999999999
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000040db6d7812b8288eca452f912ca9f262b186f278
Arg [1] : 00000000000000000000000000000000000000000000000000b8bdb978520000
Arg [2] : 00000000000000000000000000000000000000000000000000000000019238c0
Arg [3] : 000000000000000000000000000000000000000000000000000000003b9ac9ff
Deployed Bytecode Sourcemap
22446:11049:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23747:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31979:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23528:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26966:768;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23292:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23623:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30126:689;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23431:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28196:690;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30986:356;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27840:180;;;:::i;:::-;;21724:148;;;:::i;:::-;;23236:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25836:369;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21082:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23786:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;24869:567;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32416:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23355:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33080:276;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32224:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32681:303;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29109:811;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22027:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33406:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23747:20;;;;;;;;;;;;;:::o;31979:95::-;32024:7;32051:8;:15;;;;32044:22;;31979:95;:::o;23528:23::-;;;;:::o;26966:768::-;27040:7;27060:21;27084:8;27093:4;27084:14;;;;;;;;;;;;;;;;;;27060:38;;27109:21;27133:8;:14;27142:4;27133:14;;;;;;;;;;;:21;27148:5;27133:21;;;;;;;;;;;;;;;27109:45;;27165:24;27192:4;:21;;;27165:48;;27224:16;27243:4;:12;;;;;;;;;;;;:22;;;27274:4;27243:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27224:56;;27310:4;:20;;;27295:12;:35;:52;;;;;27346:1;27334:8;:13;;27295:52;27291:354;;;27364:18;27385:49;27399:4;:20;;;27421:12;27385:13;:49::i;:::-;27364:70;;27449:19;27471:71;27526:15;;27471:50;27505:4;:15;;;27471:29;27486:13;;27471:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;27449:93;;27576:57;27597:35;27623:8;27597:21;27613:4;27597:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;27576:16;:20;;:57;;;;:::i;:::-;27557:76;;27291:354;;;27662:64;27710:4;:15;;;27662:43;27700:4;27662:33;27678:16;27662:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;:47;;:64;;;;:::i;:::-;27655:71;;;;;;26966:768;;;;:::o;23292:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23623:34::-;;;;:::o;30126:689::-;30193:21;30217:8;30226:4;30217:14;;;;;;;;;;;;;;;;;;30193:38;;30242:21;30266:8;:14;30275:4;30266:14;;;;;;;;;;;:26;30281:10;30266:26;;;;;;;;;;;;;;;30242:50;;30326:7;30311:4;:11;;;:22;;30303:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30401:16;30412:4;30401:10;:16::i;:::-;30428:15;30446:69;30499:4;:15;;;30446:48;30489:4;30446:38;30462:4;:21;;;30446:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;30428:87;;30526:38;30544:10;30556:7;30526:17;:38::i;:::-;30589:24;30605:7;30589:4;:11;;;:15;;:24;;;;:::i;:::-;30575:4;:11;;:38;;;;30642:48;30685:4;30642:38;30658:4;:21;;;30642:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;30624:4;:15;;:66;;;;30701:55;30735:10;30748:7;30701:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;30793:4;30781:10;30772:35;;;30799:7;30772:35;;;;;;;;;;;;;;;;;;30126:689;;;;;:::o;23431:25::-;;;;:::o;28196:690::-;28248:21;28272:8;28281:4;28272:14;;;;;;;;;;;;;;;;;;28248:38;;28317:4;:20;;;28301:12;:36;28297:75;;28354:7;;;28297:75;28382:16;28401:4;:12;;;;;;;;;;;;:22;;;28432:4;28401:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28382:56;;28465:1;28453:8;:13;28449:102;;;28506:12;28483:4;:20;;:35;;;;28533:7;;;;28449:102;28561:18;28582:49;28596:4;:20;;;28618:12;28582:13;:49::i;:::-;28561:70;;28642:19;28664:71;28719:15;;28664:50;28698:4;:15;;;28664:29;28679:13;;28664:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;28642:93;;28770:62;28796:35;28822:8;28796:21;28812:4;28796:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;28770:4;:21;;;:25;;:62;;;;:::i;:::-;28746:4;:21;;:86;;;;28866:12;28843:4;:20;;:35;;;;28196:690;;;;;;:::o;30986:356::-;31045:21;31069:8;31078:4;31069:14;;;;;;;;;;;;;;;;;;31045:38;;31094:21;31118:8;:14;31127:4;31118:14;;;;;;;;;;;:26;31133:10;31118:26;;;;;;;;;;;;;;;31094:50;;31155:59;31189:10;31202:4;:11;;;31155:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;31260:4;31248:10;31230:48;;;31266:4;:11;;;31230:48;;;;;;;;;;;;;;;;;;31303:1;31289:4;:11;;:15;;;;31333:1;31315:4;:15;;:19;;;;30986:356;;;:::o;27840:180::-;27885:14;27902:8;:15;;;;27885:32;;27933:11;27928:85;27956:6;27950:3;:12;27928:85;;;27986:15;27997:3;27986:10;:15::i;:::-;27964:5;;;;;27928:85;;;;27840:180;:::o;21724:148::-;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21831:1:::1;21794:40;;21815:6;::::0;::::1;;;;;;;;21794:40;;;;;;;;;;;;21862:1;21845:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;21724:148::o:0;23236:19::-;;;;;;;;;;;;;:::o;25836:369::-;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25953:11:::1;25949:61;;;25981:17;:15;:17::i;:::-;25949:61;26038:63;26089:11;26038:46;26058:8;26067:4;26058:14;;;;;;;;;;;;;;;;;;:25;;;26038:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;26020:15;:81;;;;26140:11;26112:8;26121:4;26112:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;26188:9;26162:8;26171:4;26162:14;;;;;;;;;;;;;;;;;;:23;;:35;;;;25836:369:::0;;;;:::o;21082:79::-;21120:7;21147:6;;;;;;;;;;;21140:13;;21082:79;:::o;23786:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24869:567::-;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24989:11:::1;24985:61;;;25017:17;:15;:17::i;:::-;24985:61;25056:23;25097:10;;25082:12;:25;:53;;25125:10;;25082:53;;;25110:12;25082:53;25056:79;;25164:32;25184:11;25164:15;;:19;;:32;;;;:::i;:::-;25146:15;:50;;;;25207:8;25221:206;;;;;;;;25254:8;25221:206;;;;;;25289:11;25221:206;;;;25332:15;25221:206;;;;25380:1;25221:206;;;;25406:9;25221:206;;::::0;25207:221:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21364:1;24869:567:::0;;;;:::o;32416:130::-;32489:4;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32513:5:::1;;;;;;;;;;;:14;;;32528:2;32532:5;32513:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;32506:32;;32416:130:::0;;;;:::o;23355:28::-;;;;:::o;33080:276::-;33158:7;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33203:1:::1;33186:14;:18;33178:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33259:17;:15;:17::i;:::-;33303:14;33287:13;:30;;;;33335:13;;33328:20;;33080:276:::0;;;:::o;32224:105::-;32264:7;32291:5;;;;;;;;;;;:15;;;32315:4;32291:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32284:37;;32224:105;:::o;32681:303::-;32749:7;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32792:8:::1;;32777:12;:23;32769:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32870:12;32858:9;:24;32850:69;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;32941:9;32930:8;:20;;;;32968:8;;32961:15;;32681:303:::0;;;:::o;29109:811::-;29175:21;29199:8;29208:4;29199:14;;;;;;;;;;;;;;;;;;29175:38;;29224:21;29248:8;:14;29257:4;29248:14;;;;;;;;;;;:26;29263:10;29248:26;;;;;;;;;;;;;;;29224:50;;29285:16;29296:4;29285:10;:16::i;:::-;29330:1;29316:4;:11;;;:15;29312:188;;;29348:15;29366:69;29419:4;:15;;;29366:48;29409:4;29366:38;29382:4;:21;;;29366:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;29348:87;;29450:38;29468:10;29480:7;29450:17;:38::i;:::-;29312:188;;29510:11;29550:5;29534:4;:13;;;29524:7;:23;:31;;;;;;29510:45;;29566:62;29604:10;29617:5;;;;;;;;;;;29624:3;29566:4;:12;;;;;;;;;;;;:29;;;;:62;;;;;;:::i;:::-;29639:80;29677:10;29698:4;29715:3;29705:7;:13;29639:4;:12;;;;;;;;;;;;:29;;;;:80;;;;;;:::i;:::-;29744:30;29770:3;29760:7;:13;29744:4;:11;;;:15;;:30;;;;:::i;:::-;29730:4;:11;;:44;;;;29803:48;29846:4;29803:38;29819:4;:21;;;29803:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;29785:4;:15;;:66;;;;29887:4;29875:10;29867:45;;;29903:3;29893:7;:13;29908:3;29867:45;;;;;;;;;;;;;;;;;;;;;;;;29109:811;;;;;:::o;22027:244::-;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22136:1:::1;22116:22;;:8;:22;;;;22108:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22226:8;22197:38;;22218:6;::::0;::::1;;;;;;;;22197:38;;;;;;;;;;;;22255:8;22246:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;22027:244:::0;:::o;33406:86::-;21304:12;:10;:12::i;:::-;21294:22;;:6;;;;;;;;;;:22;;;21286:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33478:6:::1;33470:5;;:14;;;;;;;;;;;;;;;;;;33406:86:::0;:::o;26425:297::-;26499:7;26529:8;;26523:3;:14;26519:191;;;26561:14;26569:5;26561:3;:7;;:14;;;;:::i;:::-;26554:21;;;;26519:191;26606:8;;26597:5;:17;26593:117;;26638:1;26631:8;;;;26593:117;26679:19;26692:5;26679:8;;:12;;:19;;;;:::i;:::-;26672:26;;26425:297;;;;;:::o;5389:471::-;5447:7;5697:1;5692;:6;5688:47;;;5722:1;5715:8;;;;5688:47;5747:9;5763:1;5759;:5;5747:17;;5792:1;5787;5783;:5;;;;;;:10;5775:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5851:1;5844:8;;;5389:471;;;;;:::o;6336:132::-;6394:7;6421:39;6425:1;6428;6421:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6414:46;;6336:132;;;;:::o;4035:181::-;4093:7;4113:9;4129:1;4125;:5;4113:17;;4154:1;4149;:6;;4141:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4207:1;4200:8;;;4035:181;;;;:::o;4499:136::-;4557:7;4584:43;4588:1;4591;4584:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4577:50;;4499:136;;;;:::o;31565:297::-;31642:20;31665:5;;;;;;;;;;;:15;;;31689:4;31665:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31642:53;;31720:12;31710:7;:22;31706:149;;;31749:5;;;;;;;;;;;:14;;;31764:3;31769:12;31749:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31706:149;;;31815:5;;;;;;;;;;;:14;;;31830:3;31835:7;31815:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31706:149;31565:297;;;:::o;15663:177::-;15746:86;15766:5;15796:23;;;15821:2;15825:5;15773:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15746:19;:86::i;:::-;15663:177;;;:::o;19498:106::-;19551:15;19586:10;19579:17;;19498:106;:::o;15848:205::-;15949:96;15969:5;15999:27;;;16028:4;16034:2;16038:5;15976:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15949:19;:96::i;:::-;15848:205;;;;:::o;6964:278::-;7050:7;7082:1;7078;:5;7085:12;7070:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7109:9;7125:1;7121;:5;;;;;;7109:17;;7233:1;7226:8;;;6964:278;;;;;:::o;4938:192::-;5024:7;5057:1;5052;:6;;5060:12;5044:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5084:9;5100:1;5096;:5;5084:17;;5121:1;5114:8;;;4938:192;;;;;:::o;17968:761::-;18392:23;18418:69;18446:4;18418:69;;;;;;;;;;;;;;;;;18426:5;18418:27;;;;:69;;;;;:::i;:::-;18392:95;;18522:1;18502:10;:17;:21;18498:224;;;18644:10;18633:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18625:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18498:224;17968:761;;;:::o;12512:196::-;12615:12;12647:53;12670:6;12678:4;12684:1;12687:12;12647:22;:53::i;:::-;12640:60;;12512:196;;;;;:::o;13889:979::-;14019:12;14052:18;14063:6;14052:10;:18::i;:::-;14044:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14178:12;14192:23;14219:6;:11;;14239:8;14250:4;14219:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14177:78;;;;14270:7;14266:595;;;14301:10;14294:17;;;;;;14266:595;14435:1;14415:10;:17;:21;14411:439;;;14678:10;14672:17;14739:15;14726:10;14722:2;14718:19;14711:44;14626:148;14821:12;14814:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13889:979;;;;;;;:::o;9397:619::-;9457:4;9719:16;9746:19;9768:66;9746:88;;;;9937:7;9925:20;9913:32;;9977:11;9965:8;:23;;:42;;;;;10004:3;9992:15;;:8;:15;;9965:42;9957:51;;;;9397:619;;;:::o
Swarm Source
ipfs://db41c9fd20ca19567c85f63cd43ca3592406fca959d37e92915ea5e0565b0477
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.