Polygon Sponsored slots available. Book your slot here!
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
OVERVIEW
This MiniComplexRewarderTime contract acts as a supplemental contract to the MiniApeV2 contract to handle multi-token rewards. This particular contract handles wMATIC rewards.Contract Name:
MiniComplexRewarderTime
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-16 */ // Sources flattened with hardhat v2.3.0 https://hardhat.org // File @boringcrypto/boring-solidity/contracts/interfaces/[email protected] // SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); // EIP 2612 function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; } // File @boringcrypto/boring-solidity/contracts/libraries/[email protected] pragma solidity 0.6.12; library BoringERC20 { function safeSymbol(IERC20 token) internal view returns(string memory) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x95d89b41)); return success && data.length > 0 ? abi.decode(data, (string)) : "???"; } function safeName(IERC20 token) internal view returns(string memory) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x06fdde03)); return success && data.length > 0 ? abi.decode(data, (string)) : "???"; } function safeDecimals(IERC20 token) internal view returns (uint8) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x313ce567)); return success && data.length == 32 ? abi.decode(data, (uint8)) : 18; } function safeTransfer(IERC20 token, address to, uint256 amount) internal { (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0xa9059cbb, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: Transfer failed"); } function safeTransferFrom(IERC20 token, address from, address to, uint256 amount) internal { (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0x23b872dd, from, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: TransferFrom failed"); } } // File contracts/interfaces/IRewarder.sol pragma solidity 0.6.12; interface IRewarder { using BoringERC20 for IERC20; function onBananaReward(uint256 pid, address user, address recipient, uint256 bananaAmount, uint256 newLpAmount) external; function pendingTokens(uint256 pid, address user, uint256 bananaAmount) external view returns (IERC20[] memory, uint256[] memory); } // File @boringcrypto/boring-solidity/contracts/libraries/[email protected] pragma solidity 0.6.12; // a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math) library BoringMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) {require((c = a + b) >= b, "BoringMath: Add Overflow");} function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {require((c = a - b) <= a, "BoringMath: Underflow");} function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {require(b == 0 || (c = a * b)/b == a, "BoringMath: Mul Overflow");} function to128(uint256 a) internal pure returns (uint128 c) { require(a <= uint128(-1), "BoringMath: uint128 Overflow"); c = uint128(a); } function to64(uint256 a) internal pure returns (uint64 c) { require(a <= uint64(-1), "BoringMath: uint64 Overflow"); c = uint64(a); } function to32(uint256 a) internal pure returns (uint32 c) { require(a <= uint32(-1), "BoringMath: uint32 Overflow"); c = uint32(a); } } library BoringMath128 { function add(uint128 a, uint128 b) internal pure returns (uint128 c) {require((c = a + b) >= b, "BoringMath: Add Overflow");} function sub(uint128 a, uint128 b) internal pure returns (uint128 c) {require((c = a - b) <= a, "BoringMath: Underflow");} } library BoringMath64 { function add(uint64 a, uint64 b) internal pure returns (uint64 c) {require((c = a + b) >= b, "BoringMath: Add Overflow");} function sub(uint64 a, uint64 b) internal pure returns (uint64 c) {require((c = a - b) <= a, "BoringMath: Underflow");} } library BoringMath32 { function add(uint32 a, uint32 b) internal pure returns (uint32 c) {require((c = a + b) >= b, "BoringMath: Add Overflow");} function sub(uint32 a, uint32 b) internal pure returns (uint32 c) {require((c = a - b) <= a, "BoringMath: Underflow");} } // File @boringcrypto/boring-solidity/contracts/[email protected] // Audit on 5-Jan-2021 by Keno and BoringCrypto // P1 - P3: OK pragma solidity 0.6.12; // Source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol + Claimable.sol // Edited by BoringCrypto // T1 - T4: OK contract BoringOwnableData { // V1 - V5: OK address public owner; // V1 - V5: OK address public pendingOwner; } // T1 - T4: OK contract BoringOwnable is BoringOwnableData { // E1: OK event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () public { owner = msg.sender; emit OwnershipTransferred(address(0), msg.sender); } // F1 - F9: OK // C1 - C21: OK function transferOwnership(address newOwner, bool direct, bool renounce) public onlyOwner { if (direct) { // Checks require(newOwner != address(0) || renounce, "Ownable: zero address"); // Effects emit OwnershipTransferred(owner, newOwner); owner = newOwner; pendingOwner = address(0); } else { // Effects pendingOwner = newOwner; } } // F1 - F9: OK // C1 - C21: OK function claimOwnership() public { address _pendingOwner = pendingOwner; // Checks require(msg.sender == _pendingOwner, "Ownable: caller != pending owner"); // Effects emit OwnershipTransferred(owner, _pendingOwner); owner = _pendingOwner; pendingOwner = address(0); } // M1 - M5: OK // C1 - C21: OK modifier onlyOwner() { require(msg.sender == owner, "Ownable: caller is not the owner"); _; } } // File @boringcrypto/boring-solidity/contracts/[email protected] // Audit on 5-Jan-2021 by Keno and BoringCrypto // P1 - P3: OK pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // solhint-disable avoid-low-level-calls // T1 - T4: OK contract BaseBoringBatchable { function _getRevertMsg(bytes memory _returnData) internal pure returns (string memory) { // If the _res length is less than 68, then the transaction failed silently (without a revert message) if (_returnData.length < 68) return "Transaction reverted silently"; assembly { // Slice the sighash. _returnData := add(_returnData, 0x04) } return abi.decode(_returnData, (string)); // All that remains is the revert string } // F3 - F9: OK // F1: External is ok here because this is the batch function, adding it to a batch makes no sense // F2: Calls in the batch may be payable, delegatecall operates in the same context, so each call in the batch has access to msg.value // C1 - C21: OK // C3: The length of the loop is fully under user control, so can't be exploited // C7: Delegatecall is only used on the same contract, so it's safe function batch(bytes[] calldata calls, bool revertOnFail) external payable returns(bool[] memory successes, bytes[] memory results) { // Interactions successes = new bool[](calls.length); results = new bytes[](calls.length); for (uint256 i = 0; i < calls.length; i++) { (bool success, bytes memory result) = address(this).delegatecall(calls[i]); require(success || !revertOnFail, _getRevertMsg(result)); successes[i] = success; results[i] = result; } } } // T1 - T4: OK contract BoringBatchable is BaseBoringBatchable { // F1 - F9: OK // F6: Parameters can be used front-run the permit and the user's permit will fail (due to nonce or other revert) // if part of a batch this could be used to grief once as the second call would not need the permit // C1 - C21: OK function permitToken(IERC20 token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { // Interactions // X1 - X5 token.permit(from, to, amount, deadline, v, r, s); } } // File contracts/libraries/SignedSafeMath.sol pragma solidity 0.6.12; library SignedSafeMath { int256 constant private _INT256_MIN = -2**255; /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } require(!(a == -1 && b == _INT256_MIN), "SignedSafeMath: multiplication overflow"); int256 c = a * b; require(c / a == b, "SignedSafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two signed integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(int256 a, int256 b) internal pure returns (int256) { require(b != 0, "SignedSafeMath: division by zero"); require(!(b == -1 && a == _INT256_MIN), "SignedSafeMath: division overflow"); int256 c = a / b; return c; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a), "SignedSafeMath: subtraction overflow"); return c; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a), "SignedSafeMath: addition overflow"); return c; } function toUInt256(int256 a) internal pure returns (uint256) { require(a >= 0, "Integer < 0"); return uint256(a); } } // File contracts/interfaces/IMasterApeV2.sol pragma solidity 0.6.12; interface IMasterApeV2 { using BoringERC20 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. BANANA to distribute per block. uint256 lastRewardBlock; // Last block number that BANANA distribution occurs. uint256 accBananaPerShare; // Accumulated BANANA per share, times 1e12. See below. } function poolInfo(uint256 pid) external view returns (IMasterApeV2.PoolInfo memory); function totalAllocPoint() external view returns (uint256); function deposit(uint256 _pid, uint256 _amount) external; } // File contracts/MasterApeV2Auxiliary.sol pragma solidity 0.6.12; /// @notice The (older) MasterApe contract gives out a constant number of BANANA tokens per block. /// It is the only address with minting rights for BANANA. /// The idea for this MasterApe V2 (MCV2) contract is therefore to be the owner of a dummy token /// that is deposited into the MasterApe V1 (MCV1) contract. /// The allocation point for this pool on MCV1 is the total allocation point for all pools that receive double incentives. contract MasterApeV2Auxiliary is BoringOwnable, BoringBatchable { using BoringMath for uint256; using BoringMath128 for uint128; using BoringERC20 for IERC20; using SignedSafeMath for int256; /// @notice Info of each MCV2 user. /// `amount` LP token amount the user has provided. /// `rewardDebt` The amount of BANANA entitled to the user. struct UserInfo { uint256 amount; int256 rewardDebt; } /// @notice Info of each MCV2 pool. /// `allocPoint` The amount of allocation points assigned to the pool. /// Also known as the amount of BANANA to distribute per block. struct PoolInfo { uint128 accBananaPerShare; uint64 lastRewardBlock; uint64 allocPoint; } /// @notice Address of MCV1 contract. IMasterApeV2 public immutable MASTER_APE; /// @notice Address of BANANA contract. IERC20 public immutable BANANA; /// @notice The index of MCV2 master pool in MCV1. uint256 public immutable MASTER_PID; /// @notice Info of each MCV2 pool. PoolInfo[] public poolInfo; /// @notice Address of the LP token for each MCV2 pool. IERC20[] public lpToken; /// @notice Address of each `IRewarder` contract in MCV2. IRewarder[] public rewarder; /// @notice Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; /// @dev Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint; uint256 private constant MASTERAPE_BANANA_PER_BLOCK = 1e20; uint256 private constant ACC_BANANA_PRECISION = 1e12; event Deposit(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event Harvest(address indexed user, uint256 indexed pid, uint256 amount); event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, IERC20 indexed lpToken, IRewarder indexed rewarder); event LogSetPool(uint256 indexed pid, uint256 allocPoint, IRewarder indexed rewarder, bool overwrite); event LogUpdatePool(uint256 indexed pid, uint64 lastRewardBlock, uint256 lpSupply, uint256 accBananaPerShare); event LogInit(); /// @param _MASTER_APE The ApeSwap MCV1 contract address. /// @param _banana The BANANA token contract address. /// @param _MASTER_PID The pool ID of the dummy token on the base MCV1 contract. constructor(IMasterApeV2 _MASTER_APE, IERC20 _banana, uint256 _MASTER_PID) public { MASTER_APE = _MASTER_APE; BANANA = _banana; MASTER_PID = _MASTER_PID; } /// @notice Deposits a dummy token to `MASTER_APE` MCV1. This is required because MCV1 holds the minting rights for BANANA. /// Any balance of transaction sender in `dummyToken` is transferred. /// The allocation point for the pool on MCV1 is the total allocation point for all pools that receive double incentives. /// @param dummyToken The address of the ERC-20 token to deposit into MCV1. function init(IERC20 dummyToken) external { uint256 balance = dummyToken.balanceOf(msg.sender); require(balance != 0, "MasterApeV2: Balance must exceed 0"); dummyToken.safeTransferFrom(msg.sender, address(this), balance); dummyToken.approve(address(MASTER_APE), balance); MASTER_APE.deposit(MASTER_PID, balance); emit LogInit(); } /// @notice Returns the number of MCV2 pools. function poolLength() public view returns (uint256 pools) { pools = poolInfo.length; } /// @notice Add a new LP to the pool. Can only be called by the owner. /// DO NOT add the same LP token more than once. Rewards will be messed up if you do. /// @param allocPoint AP of the new pool. /// @param _lpToken Address of the LP ERC-20 token. /// @param _rewarder Address of the rewarder delegate. function add(uint256 allocPoint, IERC20 _lpToken, IRewarder _rewarder) public onlyOwner { uint256 lastRewardBlock = block.number; totalAllocPoint = totalAllocPoint.add(allocPoint); lpToken.push(_lpToken); rewarder.push(_rewarder); poolInfo.push(PoolInfo({ allocPoint: allocPoint.to64(), lastRewardBlock: lastRewardBlock.to64(), accBananaPerShare: 0 })); emit LogPoolAddition(lpToken.length.sub(1), allocPoint, _lpToken, _rewarder); } /// @notice Update the given pool's BANANA allocation point and `IRewarder` contract. Can only be called by the owner. /// @param _pid The index of the pool. See `poolInfo`. /// @param _allocPoint New AP of the pool. /// @param _rewarder Address of the rewarder delegate. /// @param overwrite True if _rewarder should be `set`. Otherwise `_rewarder` is ignored. function set(uint256 _pid, uint256 _allocPoint, IRewarder _rewarder, bool overwrite) public onlyOwner { totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint.to64(); if (overwrite) { rewarder[_pid] = _rewarder; } emit LogSetPool(_pid, _allocPoint, overwrite ? _rewarder : rewarder[_pid], overwrite); } /// @notice View function to see pending BANANA on frontend. /// @param _pid The index of the pool. See `poolInfo`. /// @param _user Address of user. /// @return pending BANANA reward for a given user. function pendingBanana(uint256 _pid, address _user) external view returns (uint256 pending) { PoolInfo memory pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accBananaPerShare = pool.accBananaPerShare; uint256 lpSupply = lpToken[_pid].balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 blocks = block.number.sub(pool.lastRewardBlock); uint256 bananaReward = blocks.mul(bananaPerBlock()).mul(pool.allocPoint) / totalAllocPoint; accBananaPerShare = accBananaPerShare.add(bananaReward.mul(ACC_BANANA_PRECISION) / lpSupply); } pending = int256(user.amount.mul(accBananaPerShare) / ACC_BANANA_PRECISION).sub(user.rewardDebt).toUInt256(); } /// @notice Update reward variables for all pools. Be careful of gas spending! /// @param pids Pool IDs of all to be updated. Make sure to update all active pools. function massUpdatePools(uint256[] calldata pids) external { uint256 len = pids.length; for (uint256 i = 0; i < len; ++i) { updatePool(pids[i]); } } /// @notice Calculates and returns the `amount` of BANANA per block. function bananaPerBlock() public view returns (uint256 amount) { amount = uint256(MASTERAPE_BANANA_PER_BLOCK) .mul(MASTER_APE.poolInfo(MASTER_PID).allocPoint) / MASTER_APE.totalAllocPoint(); } /// @notice Update reward variables of the given pool. /// @param pid The index of the pool. See `poolInfo`. /// @return pool Returns the pool that was updated. function updatePool(uint256 pid) public returns (PoolInfo memory pool) { pool = poolInfo[pid]; if (block.number > pool.lastRewardBlock) { uint256 lpSupply = lpToken[pid].balanceOf(address(this)); if (lpSupply > 0) { uint256 blocks = block.number.sub(pool.lastRewardBlock); uint256 bananaReward = blocks.mul(bananaPerBlock()).mul(pool.allocPoint) / totalAllocPoint; pool.accBananaPerShare = pool.accBananaPerShare.add((bananaReward.mul(ACC_BANANA_PRECISION) / lpSupply).to128()); } pool.lastRewardBlock = block.number.to64(); poolInfo[pid] = pool; emit LogUpdatePool(pid, pool.lastRewardBlock, lpSupply, pool.accBananaPerShare); } } /// @notice Deposit LP tokens to MCV2 for BANANA allocation. /// @param pid The index of the pool. See `poolInfo`. /// @param amount LP token amount to deposit. /// @param to The receiver of `amount` deposit benefit. function deposit(uint256 pid, uint256 amount, address to) public { PoolInfo memory pool = updatePool(pid); UserInfo storage user = userInfo[pid][to]; // Effects user.amount = user.amount.add(amount); user.rewardDebt = user.rewardDebt.add(int256(amount.mul(pool.accBananaPerShare) / ACC_BANANA_PRECISION)); // Interactions IRewarder _rewarder = rewarder[pid]; if (address(_rewarder) != address(0)) { _rewarder.onBananaReward(pid, to, to, 0, user.amount); } lpToken[pid].safeTransferFrom(msg.sender, address(this), amount); emit Deposit(msg.sender, pid, amount, to); } /// @notice Withdraw LP tokens from MCV2. /// @param pid The index of the pool. See `poolInfo`. /// @param amount LP token amount to withdraw. /// @param to Receiver of the LP tokens. function withdraw(uint256 pid, uint256 amount, address to) public { PoolInfo memory pool = updatePool(pid); UserInfo storage user = userInfo[pid][msg.sender]; // Effects user.rewardDebt = user.rewardDebt.sub(int256(amount.mul(pool.accBananaPerShare) / ACC_BANANA_PRECISION)); user.amount = user.amount.sub(amount); // Interactions IRewarder _rewarder = rewarder[pid]; if (address(_rewarder) != address(0)) { _rewarder.onBananaReward(pid, msg.sender, to, 0, user.amount); } lpToken[pid].safeTransfer(to, amount); emit Withdraw(msg.sender, pid, amount, to); } /// @notice Harvest proceeds for transaction sender to `to`. /// @param pid The index of the pool. See `poolInfo`. /// @param to Receiver of BANANA rewards. function harvest(uint256 pid, address to) public { PoolInfo memory pool = updatePool(pid); UserInfo storage user = userInfo[pid][msg.sender]; int256 accumulatedBanana = int256(user.amount.mul(pool.accBananaPerShare) / ACC_BANANA_PRECISION); uint256 _pendingBanana = accumulatedBanana.sub(user.rewardDebt).toUInt256(); // Effects user.rewardDebt = accumulatedBanana; // Interactions if (_pendingBanana != 0) { BANANA.safeTransfer(to, _pendingBanana); } IRewarder _rewarder = rewarder[pid]; if (address(_rewarder) != address(0)) { _rewarder.onBananaReward( pid, msg.sender, to, _pendingBanana, user.amount); } emit Harvest(msg.sender, pid, _pendingBanana); } /// @notice Withdraw LP tokens from MCV2 and harvest proceeds for transaction sender to `to`. /// @param pid The index of the pool. See `poolInfo`. /// @param amount LP token amount to withdraw. /// @param to Receiver of the LP tokens and BANANA rewards. function withdrawAndHarvest(uint256 pid, uint256 amount, address to) public { PoolInfo memory pool = updatePool(pid); UserInfo storage user = userInfo[pid][msg.sender]; int256 accumulatedBanana = int256(user.amount.mul(pool.accBananaPerShare) / ACC_BANANA_PRECISION); uint256 _pendingBanana = accumulatedBanana.sub(user.rewardDebt).toUInt256(); // Effects user.rewardDebt = accumulatedBanana.sub(int256(amount.mul(pool.accBananaPerShare) / ACC_BANANA_PRECISION)); user.amount = user.amount.sub(amount); // Interactions BANANA.safeTransfer(to, _pendingBanana); IRewarder _rewarder = rewarder[pid]; if (address(_rewarder) != address(0)) { _rewarder.onBananaReward(pid, msg.sender, to, _pendingBanana, user.amount); } lpToken[pid].safeTransfer(to, amount); emit Withdraw(msg.sender, pid, amount, to); emit Harvest(msg.sender, pid, _pendingBanana); } /// @notice Harvests BANANA from `MASTER_APE` MCV1 and pool `MASTER_PID` to this MCV2 contract. function harvestFromMasterApeV2() public { MASTER_APE.deposit(MASTER_PID, 0); } /// @notice Withdraw without caring about rewards. EMERGENCY ONLY. /// @param pid The index of the pool. See `poolInfo`. /// @param to Receiver of the LP tokens. function emergencyWithdraw(uint256 pid, address to) public { UserInfo storage user = userInfo[pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; IRewarder _rewarder = rewarder[pid]; if (address(_rewarder) != address(0)) { _rewarder.onBananaReward(pid, msg.sender, to, 0, 0); } // Note: transfer can fail or succeed if `amount` is zero. lpToken[pid].safeTransfer(to, amount); emit EmergencyWithdraw(msg.sender, pid, amount, to); } } // File contracts/mocks/MiniComplexRewarderTime.sol pragma solidity 0.6.12; /// @author @0xKeno contract MiniComplexRewarderTime is IRewarder, BoringOwnable{ using BoringMath for uint256; using BoringMath128 for uint128; using BoringERC20 for IERC20; IERC20 public immutable rewardToken; /// @notice Info of each MCV2 user. /// `amount` LP token amount the user has provided. /// `rewardDebt` The amount of BANANA entitled to the user. struct UserInfo { uint256 amount; uint256 rewardDebt; } /// @notice Info of each MCV2 pool. /// `allocPoint` The amount of allocation points assigned to the pool. /// Also known as the amount of BANANA to distribute per block. struct PoolInfo { uint128 accBananaPerShare; uint64 lastRewardTime; uint64 allocPoint; } /// @notice Info of each pool. mapping (uint256 => PoolInfo) public poolInfo; uint256[] public poolIds; /// @notice Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; /// @dev Total allocation points. Must be the sum of all allocation points in all pools. uint256 totalAllocPoint; uint256 public rewardPerSecond; uint256 private constant ACC_TOKEN_PRECISION = 1e12; address public immutable MINIAPE_V2; event LogOnReward(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event LogPoolAddition(uint256 indexed pid, uint256 allocPoint); event LogSetPool(uint256 indexed pid, uint256 allocPoint); event LogUpdatePool(uint256 indexed pid, uint64 lastRewardTime, uint256 lpSupply, uint256 accBananaPerShare); event LogRewardPerSecond(uint256 rewardPerSecond); event LogInit(); constructor (IERC20 _rewardToken, uint256 _rewardPerSecond, address _MINIAPE_V2) public { rewardToken = _rewardToken; rewardPerSecond = _rewardPerSecond; MINIAPE_V2 = _MINIAPE_V2; } function onBananaReward (uint256 pid, address _user, address to, uint256, uint256 lpToken) onlyMAV2 override external { PoolInfo memory pool = updatePool(pid); UserInfo storage user = userInfo[pid][_user]; uint256 pending; if (user.amount > 0) { pending = (user.amount.mul(pool.accBananaPerShare) / ACC_TOKEN_PRECISION).sub( user.rewardDebt ); rewardToken.safeTransfer(to, pending); } user.amount = lpToken; user.rewardDebt = lpToken.mul(pool.accBananaPerShare) / ACC_TOKEN_PRECISION; emit LogOnReward(_user, pid, pending, to); } function pendingTokens(uint256 pid, address user, uint256) override external view returns (IERC20[] memory rewardTokens, uint256[] memory rewardAmounts) { IERC20[] memory _rewardTokens = new IERC20[](1); _rewardTokens[0] = (rewardToken); uint256[] memory _rewardAmounts = new uint256[](1); _rewardAmounts[0] = pendingToken(pid, user); return (_rewardTokens, _rewardAmounts); } /// @notice Sets the banana per second to be distributed. Can only be called by the owner. /// @param _rewardPerSecond The amount of Banana to be distributed per second. function setRewardPerSecond(uint256 _rewardPerSecond) public onlyOwner { rewardPerSecond = _rewardPerSecond; emit LogRewardPerSecond(_rewardPerSecond); } modifier onlyMAV2 { require( msg.sender == MINIAPE_V2, "Only MAV2 can call this function." ); _; } /// @notice Returns the number of MCV2 pools. function poolLength() public view returns (uint256 pools) { pools = poolIds.length; } /// @notice Add a new LP to the pool. Can only be called by the owner. /// DO NOT add the same LP token more than once. Rewards will be messed up if you do. /// @param allocPoint AP of the new pool. /// @param _pid Pid on MCV2 function add(uint256 allocPoint, uint256 _pid) public onlyOwner { require(poolInfo[_pid].lastRewardTime == 0, "Pool already exists"); uint256 lastRewardTime = block.timestamp; totalAllocPoint = totalAllocPoint.add(allocPoint); poolInfo[_pid] = PoolInfo({ allocPoint: allocPoint.to64(), lastRewardTime: lastRewardTime.to64(), accBananaPerShare: 0 }); poolIds.push(_pid); emit LogPoolAddition(_pid, allocPoint); } /// @notice Update the given pool's BANANA allocation point and `IRewarder` contract. Can only be called by the owner. /// @param _pid The index of the pool. See `poolInfo`. /// @param _allocPoint New AP of the pool. function set(uint256 _pid, uint256 _allocPoint) public onlyOwner { totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint.to64(); emit LogSetPool(_pid, _allocPoint); } /// @notice View function to see pending Token /// @param _pid The index of the pool. See `poolInfo`. /// @param _user Address of user. /// @return pending BANANA reward for a given user. function pendingToken(uint256 _pid, address _user) public view returns (uint256 pending) { PoolInfo memory pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accBananaPerShare = pool.accBananaPerShare; uint256 lpSupply = MasterApeV2Auxiliary(MINIAPE_V2).lpToken(_pid).balanceOf(MINIAPE_V2); if (block.timestamp > pool.lastRewardTime && lpSupply != 0) { uint256 time = block.timestamp.sub(pool.lastRewardTime); uint256 bananaReward = time.mul(rewardPerSecond).mul(pool.allocPoint) / totalAllocPoint; accBananaPerShare = accBananaPerShare.add(bananaReward.mul(ACC_TOKEN_PRECISION) / lpSupply); } pending = (user.amount.mul(accBananaPerShare) / ACC_TOKEN_PRECISION).sub(user.rewardDebt); } /// @notice Update reward variables for all pools. Be careful of gas spending! /// @param pids Pool IDs of all to be updated. Make sure to update all active pools. function massUpdatePools(uint256[] calldata pids) external { uint256 len = pids.length; for (uint256 i = 0; i < len; ++i) { updatePool(pids[i]); } } /// @notice Update reward variables of the given pool. /// @param pid The index of the pool. See `poolInfo`. /// @return pool Returns the pool that was updated. function updatePool(uint256 pid) public returns (PoolInfo memory pool) { pool = poolInfo[pid]; if (block.timestamp > pool.lastRewardTime) { uint256 lpSupply = MasterApeV2Auxiliary(MINIAPE_V2).lpToken(pid).balanceOf(MINIAPE_V2); if (lpSupply > 0) { uint256 time = block.timestamp.sub(pool.lastRewardTime); uint256 bananaReward = time.mul(rewardPerSecond).mul(pool.allocPoint) / totalAllocPoint; pool.accBananaPerShare = pool.accBananaPerShare.add((bananaReward.mul(ACC_TOKEN_PRECISION) / lpSupply).to128()); } pool.lastRewardTime = block.timestamp.to64(); poolInfo[pid] = pool; emit LogUpdatePool(pid, pool.lastRewardTime, lpSupply, pool.accBananaPerShare); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerSecond","type":"uint256"},{"internalType":"address","name":"_MINIAPE_V2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"LogInit","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"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"LogOnReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"LogPoolAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardPerSecond","type":"uint256"}],"name":"LogRewardPerSecond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"LogSetPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"lastRewardTime","type":"uint64"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accBananaPerShare","type":"uint256"}],"name":"LogUpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MINIAPE_V2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pids","type":"uint256[]"}],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"lpToken","type":"uint256"}],"name":"onBananaReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingToken","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"pendingTokens","outputs":[{"internalType":"contract IERC20[]","name":"rewardTokens","type":"address[]"},{"internalType":"uint256[]","name":"rewardAmounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"uint128","name":"accBananaPerShare","type":"uint128"},{"internalType":"uint64","name":"lastRewardTime","type":"uint64"},{"internalType":"uint64","name":"allocPoint","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"pools","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerSecond","type":"uint256"}],"name":"setRewardPerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"}],"name":"updatePool","outputs":[{"components":[{"internalType":"uint128","name":"accBananaPerShare","type":"uint128"},{"internalType":"uint64","name":"lastRewardTime","type":"uint64"},{"internalType":"uint64","name":"allocPoint","type":"uint64"}],"internalType":"struct MiniComplexRewarderTime.PoolInfo","name":"pool","type":"tuple"}],"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"}]
Contract Creation Code
60c06040523480156200001157600080fd5b506040516200197138038062001971833981016040819052620000349162000099565b600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160601b0319606093841b811660805260069290925590911b1660a052620000f9565b600080600060608486031215620000ae578283fd5b8351620000bb81620000e0565b602085015160408601519194509250620000d581620000e0565b809150509250925092565b6001600160a01b0381168114620000f657600080fd5b50565b60805160601c60a05160601c61182b62000146600039806104b5528061062352806106d4528061076952806109cb5280610a605250806105745280610f055280610fad525061182b6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806357a5b58c116100ad5780638f10369a116100715780638f10369a1461024557806393f1a40b1461024d578063d63b3c491461026e578063e30c39781461028f578063f7c618c11461029757610121565b806357a5b58c146101f157806366da58151461020457806369883b4e14610217578063771602f71461022a5780638da5cb5b1461023d57610121565b80632e0d1cd1116100f45780632e0d1cd11461018e578063431b5099146101a157806348e43af4146101b65780634e71e0c8146101c957806351eb05a6146101d157610121565b8063078dfbe714610126578063081e3eda1461013b5780631526fe27146101595780631ab06ee51461017b575b600080fd5b6101396101343660046111e5565b61029f565b005b61014361038e565b604051610150919061178e565b60405180910390f35b61016c6101673660046112dc565b610394565b60405161015093929190611764565b6101396101893660046113c3565b6103cb565b61013961019c36600461133b565b6104aa565b6101a9610621565b6040516101509190611425565b6101436101c436600461130c565b610645565b6101396108c5565b6101e46101df3660046112dc565b610952565b604051610150919061172b565b6101396101ff36600461122f565b610c50565b6101396102123660046112dc565b610c86565b6101436102253660046112dc565b610cf0565b6101396102383660046113c3565b610d0e565b6101a9610ea4565b610143610eb3565b61026061025b36600461130c565b610eb9565b604051610150929190611797565b61028161027c36600461138c565b610edd565b604051610150929190611452565b6101a9610f9c565b6101a9610fab565b6000546001600160a01b031633146102d25760405162461bcd60e51b81526004016102c990611612565b60405180910390fd5b811561036d576001600160a01b0383161515806102ec5750805b6103085760405162461bcd60e51b81526004016102c990611575565b600080546040516001600160a01b03808716939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055610389565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b60035490565b6002602052600090815260409020546001600160801b038116906001600160401b03600160801b8204811691600160c01b90041683565b6000546001600160a01b031633146103f55760405162461bcd60e51b81526004016102c990611612565b60008281526002602052604090205460055461042c91839161042691600160c01b90046001600160401b0316610fcf565b90610ff8565b6005556104388161101b565b6000838152600260205260409081902080546001600160401b0393909316600160c01b026001600160c01b03909316929092179091555182907f942cc7e17a17c164bd977f32ab8c54265d5b9d481e4e352bf874f1e568874e7c9061049e90849061178e565b60405180910390a25050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104f25760405162461bcd60e51b81526004016102c990611647565b6104fa6111c5565b61050386610952565b60008781526004602090815260408083206001600160a01b038a16845290915281208054929350911561059b57600182015483518354610565929164e8d4a5100091610557916001600160801b0316611048565b8161055e57fe5b0490610fcf565b905061059b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016878361107f565b838255825164e8d4a51000906105bb9086906001600160801b0316611048565b816105c257fe5b048260010181905550856001600160a01b031688886001600160a01b03167f2ece88ca2bc08dd018db50e1d25a20bf1241e5fab1c396caa51f01a54bd2f75b8460405161060f919061178e565b60405180910390a45050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061064f6111c5565b506000838152600260209081526040808320815160608101835290546001600160801b0380821683526001600160401b03600160801b8304811684870152600160c01b9092049091168284015287855260048085528386206001600160a01b03808a1688529552838620835194516378ed5d1f60e01b815293969095949092169391927f0000000000000000000000000000000000000000000000000000000000000000909216916378ed5d1f91610709918b910161178e565b60206040518083038186803b15801561072157600080fd5b505afa158015610735573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075991906112c0565b6001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016107a49190611425565b60206040518083038186803b1580156107bc57600080fd5b505afa1580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f491906112f4565b905083602001516001600160401b03164211801561081157508015155b1561089d57600061083885602001516001600160401b031642610fcf90919063ffffffff16565b9050600060055461086b87604001516001600160401b03166108656006548661104890919063ffffffff16565b90611048565b8161087257fe5b049050610898836108888364e8d4a51000611048565b8161088f57fe5b86919004610ff8565b935050505b600183015483546108ba919064e8d4a51000906105579086611048565b979650505050505050565b6001546001600160a01b03163381146108f05760405162461bcd60e51b81526004016102c990611688565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b61095a6111c5565b50600081815260026020908152604091829020825160608101845290546001600160801b03811682526001600160401b03600160801b82048116938301849052600160c01b9091041692810192909252421115610c4b576040516378ed5d1f60e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906378ed5d1f90610a0090869060040161178e565b60206040518083038186803b158015610a1857600080fd5b505afa158015610a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5091906112c0565b6001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401610a9b9190611425565b60206040518083038186803b158015610ab357600080fd5b505afa158015610ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aeb91906112f4565b90508015610b8e576000610b1583602001516001600160401b031642610fcf90919063ffffffff16565b90506000600554610b4285604001516001600160401b03166108656006548661104890919063ffffffff16565b81610b4957fe5b049050610b80610b6f84610b628464e8d4a51000611048565b81610b6957fe5b0461116d565b85516001600160801b031690611196565b6001600160801b0316845250505b610b974261101b565b6001600160401b03908116602084810191825260008681526002909152604090819020855181549351838801516001600160801b03199095166001600160801b0383161767ffffffffffffffff60801b1916600160801b82881602176001600160c01b0316600160c01b95909616949094029490941790555185927f0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad35392610c4192909186916117a5565b60405180910390a2505b919050565b8060005b81811015610c8057610c77848483818110610c6b57fe5b90506020020135610952565b50600101610c54565b50505050565b6000546001600160a01b03163314610cb05760405162461bcd60e51b81526004016102c990611612565b60068190556040517fde89cb17ac7f58f94792b3e91e086ed85403819c24ceea882491f960ccb1a27890610ce590839061178e565b60405180910390a150565b60038181548110610cfd57fe5b600091825260209091200154905081565b6000546001600160a01b03163314610d385760405162461bcd60e51b81526004016102c990611612565b600081815260026020526040902054600160801b90046001600160401b031615610d745760405162461bcd60e51b81526004016102c990611511565b6005544290610d839084610ff8565b60055560408051606081019091526000815260208101610da28361101b565b6001600160401b03168152602001610db98561101b565b6001600160401b0390811690915260008481526002602090815260408083208551815493870151968301518616600160c01b026001600160c01b0397909616600160801b0267ffffffffffffffff60801b196001600160801b039092166001600160801b031990951694909417169290921794909416929092179091556003805460018101825591527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018390555182907f38410508059921573ab9ebdca2a5034be738d236366b8f32de4434ea95ed3c8190610e9790869061178e565b60405180910390a2505050565b6000546001600160a01b031681565b60065481565b60046020908152600092835260408084209091529082529020805460019091015482565b60408051600180825281830190925260609182918291602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610f3157fe5b6001600160a01b039290921660209283029190910190910152604080516001808252818301909252606091816020016020820280368337019050509050610f788787610645565b81600081518110610f8557fe5b602090810291909101015290969095509350505050565b6001546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b80820382811115610ff25760405162461bcd60e51b81526004016102c9906114e2565b92915050565b81810181811015610ff25760405162461bcd60e51b81526004016102c9906115db565b60006001600160401b038211156110445760405162461bcd60e51b81526004016102c9906116bd565b5090565b60008115806110635750508082028282828161106057fe5b04145b610ff25760405162461bcd60e51b81526004016102c9906116f4565b60006060846001600160a01b031663a9059cbb85856040516024016110a5929190611439565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516110de91906113ec565b6000604051808303816000865af19150503d806000811461111b576040519150601f19603f3d011682016040523d82523d6000602084013e611120565b606091505b509150915081801561114a57508051158061114a57508080602001905181019061114a919061129d565b6111665760405162461bcd60e51b81526004016102c99061153e565b5050505050565b60006001600160801b038211156110445760405162461bcd60e51b81526004016102c9906115a4565b8181016001600160801b038083169082161015610ff25760405162461bcd60e51b81526004016102c9906115db565b604080516060810182526000808252602082018190529181019190915290565b6000806000606084860312156111f9578283fd5b8335611204816117cf565b92506020840135611214816117e7565b91506040840135611224816117e7565b809150509250925092565b60008060208385031215611241578182fd5b82356001600160401b0380821115611257578384fd5b818501915085601f83011261126a578384fd5b813581811115611278578485fd5b866020808302850101111561128b578485fd5b60209290920196919550909350505050565b6000602082840312156112ae578081fd5b81516112b9816117e7565b9392505050565b6000602082840312156112d1578081fd5b81516112b9816117cf565b6000602082840312156112ed578081fd5b5035919050565b600060208284031215611305578081fd5b5051919050565b6000806040838503121561131e578182fd5b823591506020830135611330816117cf565b809150509250929050565b600080600080600060a08688031215611352578081fd5b853594506020860135611364816117cf565b93506040860135611374816117cf565b94979396509394606081013594506080013592915050565b6000806000606084860312156113a0578283fd5b8335925060208401356113b2816117cf565b929592945050506040919091013590565b600080604083850312156113d5578182fd5b50508035926020909101359150565b815260200190565b60008251815b8181101561140c57602081860181015185830152016113f2565b8181111561141a5782828501525b509190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b828110156114945781516001600160a01b03168452928401929084019060010161146f565b505050838103828501528085516114ab818461178e565b91508387019250845b818110156114d5576114c78385516113e4565b9385019392506001016114b4565b5090979650505050505050565b602080825260159082015274426f72696e674d6174683a20556e646572666c6f7760581b604082015260600190565b602080825260139082015272506f6f6c20616c72656164792065786973747360681b604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b6020808252601590820152744f776e61626c653a207a65726f206164647265737360581b604082015260600190565b6020808252601c908201527f426f72696e674d6174683a2075696e74313238204f766572666c6f7700000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f4f6e6c79204d4156322063616e2063616c6c20746869732066756e6374696f6e6040820152601760f91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604082015260600190565b6020808252601b908201527f426f72696e674d6174683a2075696e743634204f766572666c6f770000000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b81516001600160801b031681526020808301516001600160401b0390811691830191909152604092830151169181019190915260600190565b6001600160801b039390931683526001600160401b03918216602084015216604082015260600190565b90815260200190565b918252602082015260400190565b6001600160401b0393909316835260208301919091526001600160801b0316604082015260600190565b6001600160a01b03811681146117e457600080fd5b50565b80151581146117e457600080fdfea264697066735822122073ce3b93b4c1a843ec8df36150439513fa6cad741b7cdb71e316cce16e2fcbf764736f6c634300060c00330000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000054aff400858dcac39797a81894d9920f16972d1d
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000054aff400858dcac39797a81894d9920f16972d1d
-----Decoded View---------------
Arg [0] : _rewardToken (address): 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [1] : _rewardPerSecond (uint256): 100000000000000
Arg [2] : _MINIAPE_V2 (address): 0x54aff400858dcac39797a81894d9920f16972d1d
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [1] : 00000000000000000000000000000000000000000000000000005af3107a4000
Arg [2] : 00000000000000000000000054aff400858dcac39797a81894d9920f16972d1d
Deployed ByteCode Sourcemap
26848:7476:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5682:472;;;;;;:::i;:::-;;:::i;:::-;;30520:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27669:45;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;31634:267::-;;;;;;:::i;:::-;;:::i;28808:687::-;;;;;;:::i;:::-;;:::i;28110:35::-;;;:::i;:::-;;;;;;;:::i;32117:820::-;;;;;;:::i;:::-;;:::i;6203:348::-;;;:::i;33496:823::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;33119:193::-;;;;;;:::i;:::-;;:::i;30121:176::-;;;;;;:::i;:::-;;:::i;27723:24::-;;;;;;:::i;:::-;;:::i;30874:520::-;;;;;;:::i;:::-;;:::i;5258:20::-;;;:::i;28013:30::-;;;:::i;27814:66::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;29507:426::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;5305:27::-;;;:::i;27026:35::-;;;:::i;5682:472::-;6654:5;;-1:-1:-1;;;;;6654:5:0;6640:10;:19;6632:64;;;;-1:-1:-1;;;6632:64:0;;;;;;;:::i;:::-;;;;;;;;;5787:6:::1;5783:364;;;-1:-1:-1::0;;;;;5841:22:0;::::1;::::0;::::1;::::0;:34:::1;;;5867:8;5841:34;5833:68;;;;-1:-1:-1::0;;;5833:68:0::1;;;;;;;:::i;:::-;5968:5;::::0;;5947:37:::1;::::0;-1:-1:-1;;;;;5947:37:0;;::::1;::::0;5968:5;::::1;::::0;5947:37:::1;::::0;::::1;5999:5;:16:::0;;-1:-1:-1;;;;;5999:16:0;::::1;-1:-1:-1::0;;;;;;5999:16:0;;::::1;;::::0;;;;6030:25;;;;::::1;::::0;;5783:364:::1;;;6112:12;:23:::0;;-1:-1:-1;;;;;;6112:23:0::1;-1:-1:-1::0;;;;;6112:23:0;::::1;;::::0;;5783:364:::1;5682:472:::0;;;:::o;30520:99::-;30597:7;:14;;30520:99::o;27669:45::-;;;;;;;;;;;;-1:-1:-1;;;;;27669:45:0;;;-1:-1:-1;;;;;;;;27669:45:0;;;;;-1:-1:-1;;;27669:45:0;;;;:::o;31634:267::-;6654:5;;-1:-1:-1;;;;;6654:5:0;6640:10;:19;6632:64;;;;-1:-1:-1;;;6632:64:0;;;;;;;:::i;:::-;31748:14:::1;::::0;;;:8:::1;:14;::::0;;;;:25;31728:15:::1;::::0;:63:::1;::::0;31779:11;;31728:46:::1;::::0;-1:-1:-1;;;31748:25:0;::::1;-1:-1:-1::0;;;;;31748:25:0::1;31728:19;:46::i;:::-;:50:::0;::::1;:63::i;:::-;31710:15;:81:::0;31830:18:::1;:11:::0;:16:::1;:18::i;:::-;31802:14;::::0;;;:8:::1;:14;::::0;;;;;;:46;;-1:-1:-1;;;;;31802:46:0;;;::::1;-1:-1:-1::0;;;31802:46:0::1;-1:-1:-1::0;;;;;31802:46:0;;::::1;::::0;;;::::1;::::0;;;31864:29;31811:4;;31864:29:::1;::::0;::::1;::::0;31881:11;;31864:29:::1;:::i;:::-;;;;;;;;31634:267:::0;;:::o;28808:687::-;30356:10;-1:-1:-1;;;;;30370:10:0;30356:24;;30334:107;;;;-1:-1:-1;;;30334:107:0;;;;;;;:::i;:::-;28937:20:::1;;:::i;:::-;28960:15;28971:3;28960:10;:15::i;:::-;28986:21;29010:13:::0;;;:8:::1;:13;::::0;;;;;;;-1:-1:-1;;;;;29010:20:0;::::1;::::0;;;;;;;29071:11;;28937:38;;-1:-1:-1;29010:20:0;29071:15;29067:251:::1;;29220:15;::::0;::::1;::::0;29147:22;;29131:11;;29130:124:::1;::::0;29220:15;28097:4:::1;::::0;29131:39:::1;::::0;-1:-1:-1;;;;;29131:39:0::1;:15;:39::i;:::-;:61;;;;;;::::0;29130:67:::1;:124::i;:::-;29103:151:::0;-1:-1:-1;29269:37:0::1;-1:-1:-1::0;;;;;29269:11:0::1;:24;29294:2:::0;29103:151;29269:24:::1;:37::i;:::-;29328:21:::0;;;29390:22;;28097:4:::1;::::0;29378:35:::1;::::0;29342:7;;-1:-1:-1;;;;;29378:35:0::1;:11;:35::i;:::-;:57;;;;;;29360:4;:15;;:75;;;;29484:2;-1:-1:-1::0;;;;;29451:36:0::1;29470:3;29463:5;-1:-1:-1::0;;;;;29451:36:0::1;;29475:7;29451:36;;;;;;:::i;:::-;;;;;;;;30452:1;;;28808:687:::0;;;;;:::o;28110:35::-;;;:::o;32117:820::-;32189:15;32217:20;;:::i;:::-;-1:-1:-1;32240:14:0;;;;:8;:14;;;;;;;;32217:37;;;;;;;;;-1:-1:-1;;;;;32217:37:0;;;;;-1:-1:-1;;;;;;;;32217:37:0;;;;;;;;-1:-1:-1;;;32217:37:0;;;;;;;;;;32289:14;;;:8;:14;;;;;;-1:-1:-1;;;;;32289:21:0;;;;;;;;;;32349:22;;32401:46;;-1:-1:-1;;;32401:46:0;;32217:37;;32289:21;;32321:50;;;;;32240:14;;32422:10;32401:40;;;;;;:46;;32249:4;;32401:46;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;32401:56:0;;32458:10;32401:68;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32382:87;;32502:4;:19;;;-1:-1:-1;;;;;32484:37:0;:15;:37;:54;;;;-1:-1:-1;32525:13:0;;;32484:54;32480:350;;;32555:12;32570:40;32590:4;:19;;;-1:-1:-1;;;;;32570:40:0;:15;:19;;:40;;;;:::i;:::-;32555:55;;32625:20;32697:15;;32648:46;32678:4;:15;;;-1:-1:-1;;;;;32648:46:0;:25;32657:15;;32648:4;:8;;:25;;;;:::i;:::-;:29;;:46::i;:::-;:64;;;;;;;-1:-1:-1;32747:71:0;32809:8;32769:37;32648:64;28097:4;32769:16;:37::i;:::-;:48;;;;;32747:17;;32769:48;;32747:21;:71::i;:::-;32727:91;;32480:350;;;32913:15;;;;32851:11;;32850:79;;32913:15;28097:4;;32851:34;;32867:17;32851:15;:34::i;32850:79::-;32840:89;32117:820;-1:-1:-1;;;;;;;32117:820:0:o;6203:348::-;6271:12;;-1:-1:-1;;;;;6271:12:0;6331:10;:27;;6323:72;;;;-1:-1:-1;;;6323:72:0;;;;;;;:::i;:::-;6454:5;;;6433:42;;-1:-1:-1;;;;;6433:42:0;;;;6454:5;;;6433:42;;;6486:5;:21;;-1:-1:-1;;;;;6486:21:0;;;-1:-1:-1;;;;;;6486:21:0;;;;;;;6518:25;;;;;;;6203:348::o;33496:823::-;33545:20;;:::i;:::-;-1:-1:-1;33585:13:0;;;;:8;:13;;;;;;;;;33578:20;;;;;;;;;-1:-1:-1;;;;;33578:20:0;;;;-1:-1:-1;;;;;;;;33578:20:0;;;;;;;;;;-1:-1:-1;;;33578:20:0;;;;;;;;;;;33613:15;:37;33609:703;;;33686:45;;-1:-1:-1;;;33686:45:0;;33667:16;;-1:-1:-1;;;;;33707:10:0;33686:40;;;;:45;;33727:3;;33686:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;33686:55:0;;33742:10;33686:67;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33667:86;-1:-1:-1;33774:12:0;;33770:344;;33807:12;33822:40;33842:4;:19;;;-1:-1:-1;;;;;33822:40:0;:15;:19;;:40;;;;:::i;:::-;33807:55;;33881:20;33953:15;;33904:46;33934:4;:15;;;-1:-1:-1;;;;;33904:46:0;:25;33913:15;;33904:4;:8;;:25;;;;:::i;:46::-;:64;;;;;;;-1:-1:-1;34012:86:0;34039:58;34080:8;34040:37;33904:64;28097:4;34040:16;:37::i;:::-;:48;;;;;;34039:56;:58::i;:::-;34012:22;;-1:-1:-1;;;;;34012:26:0;;;:86::i;:::-;-1:-1:-1;;;;;33987:111:0;;;-1:-1:-1;;33770:344:0;34150:22;:15;:20;:22::i;:::-;-1:-1:-1;;;;;34128:44:0;;;:19;;;;:44;;;34187:13;;;;:8;:13;;;;;;;;:20;;;;;;;;;;-1:-1:-1;;;;;;34187:20:0;;;-1:-1:-1;;;;;34187:20:0;;;-1:-1:-1;;;;34187:20:0;-1:-1:-1;;;34187:20:0;;;;;-1:-1:-1;;;;;34187:20:0;-1:-1:-1;;;34187:20:0;;;;;;;;;;;;;;34227:73;34187:13;;34227:73;;;;34187:20;;34267:8;;34227:73;:::i;:::-;;;;;;;;33609:703;;33496:823;;;:::o;33119:193::-;33203:4;33189:11;33225:80;33249:3;33245:1;:7;33225:80;;;33274:19;33285:4;;33290:1;33285:7;;;;;;;;;;;;;33274:10;:19::i;:::-;-1:-1:-1;33254:3:0;;33225:80;;;;33119:193;;;:::o;30121:176::-;6654:5;;-1:-1:-1;;;;;6654:5:0;6640:10;:19;6632:64;;;;-1:-1:-1;;;6632:64:0;;;;;;;:::i;:::-;30203:15:::1;:34:::0;;;30253:36:::1;::::0;::::1;::::0;::::1;::::0;30221:16;;30253:36:::1;:::i;:::-;;;;;;;;30121:176:::0;:::o;27723:24::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27723:24:0;:::o;30874:520::-;6654:5;;-1:-1:-1;;;;;6654:5:0;6640:10;:19;6632:64;;;;-1:-1:-1;;;6632:64:0;;;;;;;:::i;:::-;30957:14:::1;::::0;;;:8:::1;:14;::::0;;;;:29;-1:-1:-1;;;30957:29:0;::::1;-1:-1:-1::0;;;;;30957:29:0::1;:34:::0;30949:66:::1;;;;-1:-1:-1::0;;;30949:66:0::1;;;;;;;:::i;:::-;31095:15;::::0;31051::::1;::::0;31095:31:::1;::::0;31115:10;31095:19:::1;:31::i;:::-;31077:15;:49:::0;31156:152:::1;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;31156:152:0;;::::1;::::0;::::1;31240:21;:14:::0;:19:::1;:21::i;:::-;-1:-1:-1::0;;;;;31156:152:0::1;;;;;31192:17;:10;:15;:17::i;:::-;-1:-1:-1::0;;;;;31156:152:0;;::::1;::::0;;;31139:14:::1;::::0;;;:8:::1;:14;::::0;;;;;;;:169;;;;;;::::1;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;;31139:169:0::1;-1:-1:-1::0;;;;;31139:169:0;;;::::1;-1:-1:-1::0;;;31139:169:0::1;-1:-1:-1::0;;;;;;;;;31139:169:0;;::::1;-1:-1:-1::0;;;;;;31139:169:0;;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;31319:7:::1;:18:::0;;31139:169;31319:18;::::1;::::0;;;;;::::1;::::0;;;31353:33;31148:4;;31353:33:::1;::::0;::::1;::::0;31375:10;;31353:33:::1;:::i;:::-;;;;;;;;6707:1;30874:520:::0;;:::o;5258:20::-;;;-1:-1:-1;;;;;5258:20:0;;:::o;28013:30::-;;;;:::o;27814:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29507:426::-;29703:15;;;29716:1;29703:15;;;;;;;;;29598:28;;;;;;29703:15;;;;;;;;;;;-1:-1:-1;29703:15:0;29671:47;;29749:11;29729:13;29743:1;29729:16;;;;;;;;-1:-1:-1;;;;;29729:32:0;;;;:16;;;;;;;;;;;:32;29806:16;;;29820:1;29806:16;;;;;;;;;29772:31;;29806:16;;;;;;;;;;;;-1:-1:-1;29806:16:0;29772:50;;29853:23;29866:3;29871:4;29853:12;:23::i;:::-;29833:14;29848:1;29833:17;;;;;;;;;;;;;;;;;:43;29895:13;;;;-1:-1:-1;29507:426:0;-1:-1:-1;;;;29507:426:0:o;5305:27::-;;;-1:-1:-1;;;;;5305:27:0;;:::o;27026:35::-;;;:::o;3247:122::-;3330:5;;;3325:16;;;;3317:50;;;;-1:-1:-1;;;3317:50:0;;;;;;;:::i;:::-;3247:122;;;;:::o;3116:125::-;3199:5;;;3194:16;;;;3186:53;;;;-1:-1:-1;;;3186:53:0;;;;;;;:::i;3685:156::-;3733:8;-1:-1:-1;;;;;3762:15:0;;;3754:55;;;;-1:-1:-1;;;3754:55:0;;;;;;;:::i;:::-;-1:-1:-1;3831:1:0;3685:156::o;3375:137::-;3433:9;3453:6;;;:28;;-1:-1:-1;;3468:5:0;;;3480:1;3475;3468:5;3475:1;3463:13;;;;;:18;3453:28;3445:65;;;;-1:-1:-1;;;3445:65:0;;;;;;;:::i;1798:304::-;1883:12;1897:17;1926:5;-1:-1:-1;;;;;1918:19:0;1961:10;1973:2;1977:6;1938:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1938:46:0;;;;;;;;;;;1918:67;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1882:103;;;;2004:7;:57;;;;-1:-1:-1;2016:11:0;;:16;;:44;;;2047:4;2036:24;;;;;;;;;;;;:::i;:::-;1996:98;;;;-1:-1:-1;;;1996:98:0;;;;;;;:::i;:::-;1798:304;;;;;:::o;3518:161::-;3567:9;-1:-1:-1;;;;;3597:16:0;;;3589:57;;;;-1:-1:-1;;;3589:57:0;;;;;;;:::i;4039:125::-;4122:5;;;-1:-1:-1;;;;;4117:16:0;;;;;;;;4109:53;;;;-1:-1:-1;;;4109:53:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1231:479::-;;;;1363:2;1351:9;1342:7;1338:23;1334:32;1331:2;;;-1:-1;;1369:12;1331:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1421:63;-1:-1;1521:2;1557:22;;584:20;609:30;584:20;609:30;:::i;:::-;1529:60;-1:-1;1626:2;1662:22;;584:20;609:30;584:20;609:30;:::i;:::-;1634:60;;;;1325:385;;;;;:::o;1717:397::-;;;1856:2;1844:9;1835:7;1831:23;1827:32;1824:2;;;-1:-1;;1862:12;1824:2;1920:17;1907:31;-1:-1;;;;;1958:18;1950:6;1947:30;1944:2;;;-1:-1;;1980:12;1944:2;2081:6;2070:9;2066:22;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;341:6;328:20;1958:18;360:6;357:30;354:2;;;-1:-1;;390:12;354:2;485:3;1856:2;;469:6;465:17;426:6;451:32;;448:41;445:2;;;-1:-1;;492:12;445:2;1856;422:17;;;;;2000:98;;-1:-1;1818:296;;-1:-1;;;;1818:296::o;2121:257::-;;2233:2;2221:9;2212:7;2208:23;2204:32;2201:2;;;-1:-1;;2239:12;2201:2;732:6;726:13;744:30;768:5;744:30;:::i;:::-;2291:71;2195:183;-1:-1;;;2195:183::o;2385:289::-;;2513:2;2501:9;2492:7;2488:23;2484:32;2481:2;;;-1:-1;;2519:12;2481:2;883:6;877:13;895:46;935:5;895:46;:::i;2681:241::-;;2785:2;2773:9;2764:7;2760:23;2756:32;2753:2;;;-1:-1;;2791:12;2753:2;-1:-1;1020:20;;2747:175;-1:-1;2747:175::o;2929:263::-;;3044:2;3032:9;3023:7;3019:23;3015:32;3012:2;;;-1:-1;;3050:12;3012:2;-1:-1;1168:13;;3006:186;-1:-1;3006:186::o;3199:366::-;;;3320:2;3308:9;3299:7;3295:23;3291:32;3288:2;;;-1:-1;;3326:12;3288:2;1033:6;1020:20;3378:63;;3478:2;3521:9;3517:22;72:20;97:33;124:5;97:33;:::i;:::-;3486:63;;;;3282:283;;;;;:::o;3572:743::-;;;;;;3744:3;3732:9;3723:7;3719:23;3715:33;3712:2;;;-1:-1;;3751:12;3712:2;1033:6;1020:20;3803:63;;3903:2;3946:9;3942:22;72:20;97:33;124:5;97:33;:::i;:::-;3911:63;-1:-1;4011:2;4050:22;;72:20;97:33;72:20;97:33;:::i;:::-;3706:609;;;;-1:-1;4019:63;;4119:2;4158:22;;1020:20;;-1:-1;4227:3;4267:22;1020:20;;3706:609;-1:-1;;3706:609::o;4322:491::-;;;;4460:2;4448:9;4439:7;4435:23;4431:32;4428:2;;;-1:-1;;4466:12;4428:2;1033:6;1020:20;4518:63;;4618:2;4661:9;4657:22;72:20;97:33;124:5;97:33;:::i;:::-;4422:391;;4626:63;;-1:-1;;;4726:2;4765:22;;;;1020:20;;4422:391::o;4820:366::-;;;4941:2;4929:9;4920:7;4916:23;4912:32;4909:2;;;-1:-1;;4947:12;4909:2;-1:-1;;1020:20;;;5099:2;5138:22;;;1020:20;;-1:-1;4903:283::o;5402:173::-;12807:37;;5564:4;5555:14;;5482:93::o;13200:271::-;;7394:5;21854:12;-1:-1;24310:101;24324:6;24321:1;24318:13;24310:101;;;7538:4;24391:11;;;;;24385:18;24372:11;;;24365:39;24339:10;24310:101;;;24426:6;24423:1;24420:13;24417:2;;;-1:-1;24482:6;24477:3;24473:16;24466:27;24417:2;-1:-1;7569:16;;;;;13334:137;-1:-1;;13334:137::o;13478:222::-;-1:-1;;;;;23592:54;;;;5654:37;;13605:2;13590:18;;13576:124::o;13707:333::-;-1:-1;;;;;23592:54;;;;5654:37;;14026:2;14011:18;;12807:37;13862:2;13847:18;;13833:207::o;14047:655::-;14315:2;14329:47;;;21854:12;;14300:18;;;22529:19;;;14047:655;;22578:4;;22569:14;;;;21537;;;14047:655;6189:286;6214:6;6211:1;6208:13;6189:286;;;6275:13;;-1:-1;;;;;23592:54;7671:63;;5373:14;;;;22269;;;;1958:18;6229:9;6189:286;;;6193:14;;;14559:9;14553:4;14549:20;22578:4;14533:9;14529:18;14522:48;14584:108;6729:5;21854:12;6748:86;6827:6;6822:3;6748:86;:::i;:::-;6741:93;;22578:4;6905:5;21537:14;6917:21;;-1:-1;6944:260;6969:6;6966:1;6963:13;6944:260;;;7057:63;7116:3;7036:6;7030:13;7057:63;:::i;:::-;22269:14;;;;7050:70;-1:-1;6236:1;6984:9;6944:260;;;-1:-1;14576:116;;14286:416;-1:-1;;;;;;;14286:416::o;14964:::-;15164:2;15178:47;;;8130:2;15149:18;;;22529:19;-1:-1;;;22569:14;;;8146:44;8209:12;;;15135:245::o;15387:416::-;15587:2;15601:47;;;8460:2;15572:18;;;22529:19;-1:-1;;;22569:14;;;8476:42;8537:12;;;15558:245::o;15810:416::-;16010:2;16024:47;;;8788:2;15995:18;;;22529:19;8824:30;22569:14;;;8804:51;8874:12;;;15981:245::o;16233:416::-;16433:2;16447:47;;;9125:2;16418:18;;;22529:19;-1:-1;;;22569:14;;;9141:44;9204:12;;;16404:245::o;16656:416::-;16856:2;16870:47;;;9455:2;16841:18;;;22529:19;9491:30;22569:14;;;9471:51;9541:12;;;16827:245::o;17079:416::-;17279:2;17293:47;;;9792:2;17264:18;;;22529:19;9828:26;22569:14;;;9808:47;9874:12;;;17250:245::o;17502:416::-;17702:2;17716:47;;;17687:18;;;22529:19;10161:34;22569:14;;;10141:55;10215:12;;;17673:245::o;17925:416::-;18125:2;18139:47;;;10466:2;18110:18;;;22529:19;10502:34;22569:14;;;10482:55;-1:-1;;;10557:12;;;10550:25;10594:12;;;18096:245::o;18348:416::-;18548:2;18562:47;;;18533:18;;;22529:19;10881:34;22569:14;;;10861:55;10935:12;;;18519:245::o;18771:416::-;18971:2;18985:47;;;11186:2;18956:18;;;22529:19;11222:29;22569:14;;;11202:50;11271:12;;;18942:245::o;19194:416::-;19394:2;19408:47;;;11522:2;19379:18;;;22529:19;11558:26;22569:14;;;11538:47;11604:12;;;19365:245::o;19617:326::-;11943:23;;-1:-1;;;;;23472:46;12444:37;;12124:4;12113:16;;;12107:23;-1:-1;;;;;23798:30;;;12182:14;;;13035:36;;;;12282:4;12271:16;;;12265:23;23798:30;12340:14;;;13035:36;;;;19796:2;19781:18;;19767:176::o;19950:436::-;-1:-1;;;;;23472:46;;;;12444:37;;-1:-1;;;;;23798:30;;;20291:2;20276:18;;13035:36;23798:30;20372:2;20357:18;;13035:36;20129:2;20114:18;;20100:286::o;20393:222::-;12807:37;;;20520:2;20505:18;;20491:124::o;20622:333::-;12807:37;;;20941:2;20926:18;;12807:37;20777:2;20762:18;;20748:207::o;20962:440::-;-1:-1;;;;;23798:30;;;;13035:36;;21305:2;21290:18;;12807:37;;;;-1:-1;;;;;23472:46;21388:2;21373:18;;12684:50;21143:2;21128:18;;21114:288::o;24514:117::-;-1:-1;;;;;23592:54;;24573:35;;24563:2;;24622:1;;24612:12;24563:2;24557:74;:::o;24638:111::-;24719:5;23273:13;23266:21;24697:5;24694:32;24684:2;;24740:1;;24730:12
Swarm Source
ipfs://73ce3b93b4c1a843ec8df36150439513fa6cad741b7cdb71e316cce16e2fcbf7
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.