Contract 0x0f13cc31b08bd2cb207c331553b6c4f13f575952

Contract Overview

Cycle Finance: Processor
Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x59737eecb995e6e4cede42657d3404a1eaa624d9be77706d699d65ced45d1e62Set Emission60340512021-10-24 6:35:5445 days 4 hrs ago0x89d856a1d6e5c8f561dd0c08c8d3b29a290cc78c IN  Cycle Finance: Processor0 AVAX0.000748425
0xad60d165482f76b202fe2273b2788b3313bfbe48751ec6058f722c6956acac7dSet Emission58235692021-10-19 7:30:1750 days 3 hrs ago0x89d856a1d6e5c8f561dd0c08c8d3b29a290cc78c IN  Cycle Finance: Processor0 AVAX0.000778336 26
0xfadab537394804cb5a90a8befffede8dbbb6681957f2cabbca5a13a31bd1003fTransfer Ownersh...42585932021-09-13 6:23:3586 days 4 hrs ago0x55e1b9afb814824a802b20bc62a2efddcecfd13a IN  Cycle Finance: Processor0 AVAX0.002914127042 101.343315679
0xb2d87e20d54dc75a2d3d29f2e93d8cd801f4b16e00449fcaafb22966b37997d3Set Emission29823782021-08-14 7:49:05116 days 2 hrs ago0x55e1b9afb814824a802b20bc62a2efddcecfd13a IN  Cycle Finance: Processor0 AVAX0.0067356
0x95b3ce35f2c44c2527db14ba5993c04bb2f8a11e3ee7914894d537252d96ce4dSet Emission29352692021-08-10 19:53:25119 days 14 hrs ago0x55e1b9afb814824a802b20bc62a2efddcecfd13a IN  Cycle Finance: Processor0 AVAX0.0067356
0x4f9d57216d2f49f8e1136bf42ee4e846ebe7bbd7e31a2c155ea92f7fd93c04b2Set Team BP27608652021-07-24 20:05:01136 days 14 hrs ago0x55e1b9afb814824a802b20bc62a2efddcecfd13a IN  Cycle Finance: Processor0 AVAX0.006734925
0xc58ada15102cffddd2a8563f44286d63d2b8efcef33152a67b24c84e8b80da470x6080604027541002021-07-24 0:02:40137 days 10 hrs ago0x55e1b9afb814824a802b20bc62a2efddcecfd13a IN  Contract Creation0 AVAX0.3988971
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ProcessorV5

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-14
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

/**
 * @dev 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);
}

/**
 * @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");
        }
    }
}

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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;
    }
}

interface ICycle {
    function cycle(uint256 amountIn) external;
    function authorize(uint256 amount) external;
}

interface IWAVAX {
    function deposit() external payable;
}

interface IStakingRewards {
    function notifyRewardAmount(uint256 reward) external;
}

/**
 * @title Processor V5
 * @dev Transfer to AVAX rewards, team and control daily emission
 */
contract ProcessorV5 is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    address public constant CYCLE = address(0x81440C939f2C1E34fc7048E518a637205A632a74);
    address public constant WAVAX = address(0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7);
    uint256 public constant BP_DIV = 10000;

    address public AVAXRewards;
    address public Proxy;
    address public Team;
    uint256 public teamBP;
    uint256 public emission;

    event RewardsProcessed(uint256 amountCYCLE);
    event AVAXRewardsUpdated(address AVAXRewards);
    event ProxyUpdated(address Proxy);
    event TeamUpdated(address Team);
    event TeamBPUpdated(uint256 teamBP);
    event EmissionUpdated(uint256 newEmission);

    constructor(
        address _AVAXRewards,
        address _Proxy,
        address _Team,
        uint256 _teamBP,
        uint256 _emission
    ) public {
        AVAXRewards = _AVAXRewards;
        Proxy = _Proxy;
        Team = _Team;
        teamBP = _teamBP;
        emission = _emission;
    }

    receive() external payable {}

    modifier onlyProxy() {
        require(msg.sender == Proxy, "ProcessorV5: Caller must be the Proxy");
        _;
    }

    /**
     * @dev Owner Controls
     */
    function setEmission(uint256 newEmission) external onlyOwner {
        emission = newEmission;
        emit EmissionUpdated(newEmission);
    }

    function setAVAXRewards(address _AVAXRewards) external onlyOwner {
        AVAXRewards = _AVAXRewards;
        emit AVAXRewardsUpdated(AVAXRewards);
    }

    function setProxy(address _Proxy) external onlyOwner {
        Proxy = _Proxy;
        emit ProxyUpdated(Proxy);
    }

    function setTeam(address _Team) external onlyOwner {
        Team = _Team;
        emit TeamUpdated(Team);
    }

    function setTeamBP(uint256 _teamBP) external onlyOwner {
        teamBP = _teamBP;
        emit TeamBPUpdated(teamBP);
    }

    // In case rewards need to be cleared for update
    function clearRewards() external onlyOwner {
        IERC20(CYCLE).safeTransfer(msg.sender, balanceCYCLE());
    }

    function balanceWAVAX() public view returns (uint256) {
        return IERC20(WAVAX).balanceOf(address(this));
    }

    function balanceCYCLE() public view returns (uint256) {
        return IERC20(CYCLE).balanceOf(address(this));
    }

    function process() external onlyProxy {
        uint256 balanceAVAX = address(this).balance;
        if (balanceAVAX > 0) {
            IWAVAX(WAVAX).deposit{value: balanceAVAX}();
        }

        uint256 balWAVAX = balanceWAVAX();
        uint256 teamFee = balWAVAX.mul(teamBP).div(BP_DIV);
        IERC20(WAVAX).safeTransfer(Team, teamFee);
        uint256 rewardAmount = balanceWAVAX();
        IERC20(WAVAX).safeTransfer(AVAXRewards, rewardAmount);
        IStakingRewards(AVAXRewards).notifyRewardAmount(rewardAmount);

        uint256 balCYCLE = balanceCYCLE();
        uint256 amountToSend = balCYCLE < emission ? balCYCLE : emission;
        ICycle(CYCLE).authorize(amountToSend);
        ICycle(CYCLE).cycle(amountToSend);

        emit RewardsProcessed(amountToSend);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_AVAXRewards","type":"address"},{"internalType":"address","name":"_Proxy","type":"address"},{"internalType":"address","name":"_Team","type":"address"},{"internalType":"uint256","name":"_teamBP","type":"uint256"},{"internalType":"uint256","name":"_emission","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"AVAXRewards","type":"address"}],"name":"AVAXRewardsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newEmission","type":"uint256"}],"name":"EmissionUpdated","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":false,"internalType":"address","name":"Proxy","type":"address"}],"name":"ProxyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountCYCLE","type":"uint256"}],"name":"RewardsProcessed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"teamBP","type":"uint256"}],"name":"TeamBPUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"Team","type":"address"}],"name":"TeamUpdated","type":"event"},{"inputs":[],"name":"AVAXRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BP_DIV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CYCLE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAVAX","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceCYCLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceWAVAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emission","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"process","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_AVAXRewards","type":"address"}],"name":"setAVAXRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEmission","type":"uint256"}],"name":"setEmission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Proxy","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Team","type":"address"}],"name":"setTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_teamBP","type":"uint256"}],"name":"setTeamBP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051611ea4380380611ea4833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600061007c6101f560201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816004819055508060058190555050505050506101fd565b600033905090565b611c988061020c6000396000f3fe6080604052600436106101235760003560e01c80638da5cb5b116100a0578063e22223d511610064578063e22223d51461048c578063e5c9ceb3146104a3578063f2fde38b146104ce578063f756c10a1461051f578063fd782de51461054a5761012a565b80638da5cb5b1461036757806397107d6d146103a85780639e8d48d0146103f9578063c33fb8771461043a578063ddce102f146104515761012a565b80633bf65663116100e75780633bf6566314610262578063639e01dd146102a3578063715018a6146102e457806373b295c2146102fb578063827c049e1461033c5761012a565b806301856db61461012f57806302767a491461018057806307812647146101ab578063095cf5c6146101e65780631df90923146102375761012a565b3661012a57005b600080fd5b34801561013b57600080fd5b5061017e6004803603602081101561015257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061058b565b005b34801561018c57600080fd5b506101956106ed565b6040518082815260200191505060405180910390f35b3480156101b757600080fd5b506101e4600480360360208110156101ce57600080fd5b81019080803590602001909291905050506106f3565b005b3480156101f257600080fd5b506102356004803603602081101561020957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107e5565b005b34801561024357600080fd5b5061024c610947565b6040518082815260200191505060405180910390f35b34801561026e57600080fd5b50610277610a04565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102af57600080fd5b506102b8610a2a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102f057600080fd5b506102f9610a50565b005b34801561030757600080fd5b50610310610bbd565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034857600080fd5b50610351610bd5565b6040518082815260200191505060405180910390f35b34801561037357600080fd5b5061037c610bdb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103b457600080fd5b506103f7600480360360208110156103cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c04565b005b34801561040557600080fd5b5061040e610d66565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561044657600080fd5b5061044f610d7e565b005b34801561045d57600080fd5b5061048a6004803603602081101561047457600080fd5b810190808035906020019092919050505061119c565b005b34801561049857600080fd5b506104a161128c565b005b3480156104af57600080fd5b506104b8611383565b6040518082815260200191505060405180910390f35b3480156104da57600080fd5b5061051d600480360360208110156104f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611440565b005b34801561052b57600080fd5b50610534611632565b6040518082815260200191505060405180910390f35b34801561055657600080fd5b5061055f611638565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059361165e565b73ffffffffffffffffffffffffffffffffffffffff166105b1610bdb565b73ffffffffffffffffffffffffffffffffffffffff161461063a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fed5547feac7e185637dd76fbc00d26e9644d42d58655d510815b617b861d64eb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60045481565b6106fb61165e565b73ffffffffffffffffffffffffffffffffffffffff16610719610bdb565b73ffffffffffffffffffffffffffffffffffffffff16146107a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806004819055507fd1faaf1dd58a0a34505600bc08960f84260170f89755c3850ee1493fe21b6cb06004546040518082815260200191505060405180910390a150565b6107ed61165e565b73ffffffffffffffffffffffffffffffffffffffff1661080b610bdb565b73ffffffffffffffffffffffffffffffffffffffff1614610894576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6123f717363f8c044cbe4fa59229536a58de97552d1ba6ba8ad4d347e836da54600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60007381440c939f2c1e34fc7048e518a637205a632a7473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156109c457600080fd5b505afa1580156109d8573d6000803e3d6000fd5b505050506040513d60208110156109ee57600080fd5b8101908080519060200190929190505050905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a5861165e565b73ffffffffffffffffffffffffffffffffffffffff16610a76610bdb565b73ffffffffffffffffffffffffffffffffffffffff1614610aff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b73b31f66aa3c1e785363f0875a1b74e27b85fd66c781565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c0c61165e565b73ffffffffffffffffffffffffffffffffffffffff16610c2a610bdb565b73ffffffffffffffffffffffffffffffffffffffff1614610cb3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ffc80377ca9c49cc11ae6982f390a42db976d5530af7c43889264b13fbbd7c57e600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b7381440c939f2c1e34fc7048e518a637205a632a7481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611bf36025913960400191505060405180910390fd5b60004790506000811115610ea85773b31f66aa3c1e785363f0875a1b74e27b85fd66c773ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e8e57600080fd5b505af1158015610ea2573d6000803e3d6000fd5b50505050505b6000610eb2611383565b90506000610edf612710610ed16004548561166690919063ffffffff16565b6116ec90919063ffffffff16565b9050610f42600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273b31f66aa3c1e785363f0875a1b74e27b85fd66c773ffffffffffffffffffffffffffffffffffffffff166117759092919063ffffffff16565b6000610f4c611383565b9050610faf600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273b31f66aa3c1e785363f0875a1b74e27b85fd66c773ffffffffffffffffffffffffffffffffffffffff166117759092919063ffffffff16565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c6b16ab826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561102457600080fd5b505af1158015611038573d6000803e3d6000fd5b505050506000611046610947565b90506000600554821061105b5760055461105d565b815b90507381440c939f2c1e34fc7048e518a637205a632a7473ffffffffffffffffffffffffffffffffffffffff16639a8baedf826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b505050507381440c939f2c1e34fc7048e518a637205a632a7473ffffffffffffffffffffffffffffffffffffffff16639e048952826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561114557600080fd5b505af1158015611159573d6000803e3d6000fd5b505050507fcbb46d9b69e77a6b5011c11cd2bf9be0461c9a1920e9f42678661cec154cd2a8816040518082815260200191505060405180910390a1505050505050565b6111a461165e565b73ffffffffffffffffffffffffffffffffffffffff166111c2610bdb565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806005819055507fb114240d54ce08081cbd18870dc3b6cd4091bb86ff29d2ad41906c2a2d6723d4816040518082815260200191505060405180910390a150565b61129461165e565b73ffffffffffffffffffffffffffffffffffffffff166112b2610bdb565b73ffffffffffffffffffffffffffffffffffffffff161461133b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61138133611347610947565b7381440c939f2c1e34fc7048e518a637205a632a7473ffffffffffffffffffffffffffffffffffffffff166117759092919063ffffffff16565b565b600073b31f66aa3c1e785363f0875a1b74e27b85fd66c773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561140057600080fd5b505afa158015611414573d6000803e3d6000fd5b505050506040513d602081101561142a57600080fd5b8101908080519060200190929190505050905090565b61144861165e565b73ffffffffffffffffffffffffffffffffffffffff16611466610bdb565b73ffffffffffffffffffffffffffffffffffffffff16146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611575576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611ba76026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61271081565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008083141561167957600090506116e6565b600082840290508284828161168a57fe5b04146116e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611c186021913960400191505060405180910390fd5b809150505b92915050565b6000808211611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161176c57fe5b04905092915050565b6118128363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611817565b505050565b6060611879826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166119069092919063ffffffff16565b90506000815111156119015780806020019051602081101561189a57600080fd5b8101908080519060200190929190505050611900576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611c39602a913960400191505060405180910390fd5b5b505050565b6060611915848460008561191e565b90509392505050565b606082471015611979576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611bcd6026913960400191505060405180910390fd5b61198285611ac7565b6119f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611a445780518252602082019150602081019050602083039250611a21565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611aa6576040519150601f19603f3d011682016040523d82523d6000602084013e611aab565b606091505b5091509150611abb828286611ada565b92505050949350505050565b600080823b905060008111915050919050565b60608315611aea57829050611b9f565b600083511115611afd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b64578082015181840152602081019050611b49565b50505050905090810190601f168015611b915780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c50726f636573736f7256353a2043616c6c6572206d757374206265207468652050726f7879536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d8c2a74d134950d6f08019fd0514888c127b121b1d290715062f6445e194a74d64736f6c634300060c00330000000000000000000000006140d3ed2426cbb24f07d884106d9018d49d91010000000000000000000000009f0631f10d607dd80696a067df2150da683aca8100000000000000000000000055e1b9afb814824a802b20bc62a2efddcecfd13a0000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000004563918244f400000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000006140d3ed2426cbb24f07d884106d9018d49d91010000000000000000000000009f0631f10d607dd80696a067df2150da683aca8100000000000000000000000055e1b9afb814824a802b20bc62a2efddcecfd13a0000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000004563918244f400000

-----Decoded View---------------
Arg [0] : _AVAXRewards (address): 0x6140d3ed2426cbb24f07d884106d9018d49d9101
Arg [1] : _Proxy (address): 0x9f0631f10d607dd80696a067df2150da683aca81
Arg [2] : _Team (address): 0x55e1b9afb814824a802b20bc62a2efddcecfd13a
Arg [3] : _teamBP (uint256): 3000
Arg [4] : _emission (uint256): 80000000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000006140d3ed2426cbb24f07d884106d9018d49d9101
Arg [1] : 0000000000000000000000009f0631f10d607dd80696a067df2150da683aca81
Arg [2] : 00000000000000000000000055e1b9afb814824a802b20bc62a2efddcecfd13a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [4] : 000000000000000000000000000000000000000000000004563918244f400000


Deployed ByteCode Sourcemap

25264:3228:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26702:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25684:21;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27119:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26996:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27558:118;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25598:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25658:19;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;24326:148;;;;;;;;;;;;;:::i;:::-;;25461:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25712:23;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23675:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26867:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25371:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27684:805;;;;;;;;;;;;;:::i;:::-;;26548:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27308:116;;;;;;;;;;;;;:::i;:::-;;27432:118;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24629:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25551:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25631:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26702:157;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26792:12:::1;26778:11;;:26;;;;;;;;;;;;;;;;;;26820:31;26839:11;;;;;;;;;;;26820:31;;;;;;;;;;;;;;;;;;;;26702:157:::0;:::o;25684:21::-;;;;:::o;27119:127::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27194:7:::1;27185:6;:16;;;;27217:21;27231:6;;27217:21;;;;;;;;;;;;;;;;;;27119:127:::0;:::o;26996:115::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27065:5:::1;27058:4;;:12;;;;;;;;;;;;;;;;;;27086:17;27098:4;;;;;;;;;;;27086:17;;;;;;;;;;;;;;;;;;;;26996:115:::0;:::o;27558:118::-;27603:7;25411:42;27630:23;;;27662:4;27630:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27623:45;;27558:118;:::o;25598:26::-;;;;;;;;;;;;;:::o;25658:19::-;;;;;;;;;;;;;:::o;24326:148::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24433:1:::1;24396:40;;24417:6;::::0;::::1;;;;;;;;24396:40;;;;;;;;;;;;24464:1;24447:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;24326:148::o:0;25461:83::-;25501:42;25461:83;:::o;25712:23::-;;;;:::o;23675:87::-;23721:7;23748:6;;;;;;;;;;;23741:13;;23675:87;:::o;26867:121::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26939:6:::1;26931:5;;:14;;;;;;;;;;;;;;;;;;26961:19;26974:5;;;;;;;;;;;26961:19;;;;;;;;;;;;;;;;;;;;26867:121:::0;:::o;25371:83::-;25411:42;25371:83;:::o;27684:805::-;26427:5;;;;;;;;;;;26413:19;;:10;:19;;;26405:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27733:19:::1;27755:21;27733:43;;27805:1;27791:11;:15;27787:91;;;25501:42;27823:21;;;27852:11;27823:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;27787:91;27890:16;27909:14;:12;:14::i;:::-;27890:33;;27934:15;27952:32;25584:5;27952:20;27965:6;;27952:8;:12;;:20;;;;:::i;:::-;:24;;:32;;;;:::i;:::-;27934:50;;27995:41;28022:4;;;;;;;;;;;28028:7;25501:42;27995:26;;;;:41;;;;;:::i;:::-;28047:20;28070:14;:12;:14::i;:::-;28047:37;;28095:53;28122:11;;;;;;;;;;;28135:12;25501:42;28095:26;;;;:53;;;;;:::i;:::-;28175:11;;;;;;;;;;;28159:47;;;28207:12;28159:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;28233:16;28252:14;:12;:14::i;:::-;28233:33;;28277:20;28311:8;;28300;:19;:41;;28333:8;;28300:41;;;28322:8;28300:41;28277:64;;25411:42;28352:23;;;28376:12;28352:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;25411:42;28400:19;;;28420:12;28400:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;28451:30;28468:12;28451:30;;;;;;;;;;;;;;;;;;26485:1;;;;;;27684:805::o:0;26548:146::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26631:11:::1;26620:8;:22;;;;26658:28;26674:11;26658:28;;;;;;;;;;;;;;;;;;26548:146:::0;:::o;27308:116::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27362:54:::1;27389:10;27401:14;:12;:14::i;:::-;25411:42;27362:26;;;;:54;;;;;:::i;:::-;27308:116::o:0;27432:118::-;27477:7;25501:42;27504:23;;;27536:4;27504:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27497:45;;27432:118;:::o;24629:244::-;23906:12;:10;:12::i;:::-;23895:23;;:7;:5;:7::i;:::-;:23;;;23887:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24738:1:::1;24718:22;;:8;:22;;;;24710:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24828:8;24799:38;;24820:6;::::0;::::1;;;;;;;;24799:38;;;;;;;;;;;;24857:8;24848:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;24629:244:::0;:::o;25551:38::-;25584:5;25551:38;:::o;25631:20::-;;;;;;;;;;;;;:::o;22304:106::-;22357:15;22392:10;22385:17;;22304:106;:::o;11628:220::-;11686:7;11715:1;11710;:6;11706:20;;;11725:1;11718:8;;;;11706:20;11737:9;11753:1;11749;:5;11737:17;;11782:1;11777;11773;:5;;;;;;:10;11765:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11839:1;11832:8;;;11628:220;;;;;:::o;12326:153::-;12384:7;12416:1;12412;:5;12404:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12470:1;12466;:5;;;;;;12459:12;;12326:153;;;;:::o;18688:177::-;18771:86;18791:5;18821:23;;;18846:2;18850:5;18798:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18771:19;:86::i;:::-;18688:177;;;:::o;20993:761::-;21417:23;21443:69;21471:4;21443:69;;;;;;;;;;;;;;;;;21451:5;21443:27;;;;:69;;;;;:::i;:::-;21417:95;;21547:1;21527:10;:17;:21;21523:224;;;21669:10;21658:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21650:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21523:224;20993:761;;;:::o;3669:195::-;3772:12;3804:52;3826:6;3834:4;3840:1;3843:12;3804:21;:52::i;:::-;3797:59;;3669:195;;;;;:::o;4721:530::-;4848:12;4906:5;4881:21;:30;;4873:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4973:18;4984:6;4973:10;:18::i;:::-;4965:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5099:12;5113:23;5140:6;:11;;5160:5;5168:4;5140:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5098:75;;;;5191:52;5209:7;5218:10;5230:12;5191:17;:52::i;:::-;5184:59;;;;4721:530;;;;;;:::o;751:422::-;811:4;1019:12;1130:7;1118:20;1110:28;;1164:1;1157:4;:8;1150:15;;;751:422;;;:::o;7261:742::-;7376:12;7405:7;7401:595;;;7436:10;7429:17;;;;7401:595;7570:1;7550:10;:17;:21;7546:439;;;7813:10;7807:17;7874:15;7861:10;7857:2;7853:19;7846:44;7761:148;7956:12;7949:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7261:742;;;;;;:::o

Swarm Source

ipfs://d8c2a74d134950d6f08019fd0514888c127b121b1d290715062f6445e194a74d
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.