Contract
0xd139490f63d220caca960da9e40ad59fc3adcb15
4
Contract Overview
My Name Tag:
Not Available
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
MasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./SafeMath.sol"; import "./IBEP20.sol"; import "./SafeBEP20.sol"; import "./Ownable.sol"; import "./ReentrancyGuard.sol"; import "./XB.sol"; // MasterChef is the master of XB. He can make XB and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once XB is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeBEP20 for IBEP20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of XB // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accxbPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accxbPerShare` (and `lastRewardTimestamp`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IBEP20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. XB to distribute per second. uint256 lastRewardTimestamp; // Last timestamp that XB distribution occurs. uint256 accxbPerShare; // Accumulated XB per share, times 1e12. See below. uint16 depositFeeBP; // Deposit fee in basis points uint256 lpSupply; } // The XB TOKEN! XB public xb; // Dev address. address public devaddr; // XB tokens created per second. uint256 public xbPerSec; // Deposit Fee address address public feeAddress1; address public feeAddress2; address public feeAddress3; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The timestamp when xb mining starts. uint256 public startTimestamp = 1678291200; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event SetFeeAddress1(address indexed user, address indexed newAddress); event SetFeeAddress2(address indexed user, address indexed newAddress); event SetFeeAddress3(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 xbPerSec); event addPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); event setPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); constructor( XB _xb, address _devaddr, address _feeAddress1, address _feeAddress2, address _feeAddress3, uint256 _xbPerSec ) public { xb = _xb; devaddr = _devaddr; feeAddress1 = _feeAddress1; feeAddress2 = _feeAddress2; feeAddress3 = _feeAddress3; xbPerSec = _xbPerSec; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IBEP20 => bool) public poolExistence; modifier nonDuplicated(IBEP20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner nonDuplicated(_lpToken) { // valid ERC20 token _lpToken.balanceOf(address(this)); require(_depositFeeBP <= 200, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardTimestamp = block.timestamp > startTimestamp ? block.timestamp : startTimestamp; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push(PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastRewardTimestamp: lastRewardTimestamp, accxbPerShare : 0, depositFeeBP : _depositFeeBP, lpSupply: 0 })); emit addPool(poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP); } // Update the given pool's XB allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner { require(_depositFeeBP <= 200, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; emit setPool(_pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP); } // Return reward multiplier over the given _from to _to timestamp. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending XB on frontend. function pendingxb(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accxbPerShare = pool.accxbPerShare; if (block.timestamp > pool.lastRewardTimestamp && pool.lpSupply != 0 && totalAllocPoint > 0) { uint256 multiplier = getMultiplier(pool.lastRewardTimestamp, block.timestamp); uint256 xbReward = multiplier.mul(xbPerSec).mul(pool.allocPoint).div(totalAllocPoint); accxbPerShare = accxbPerShare.add(xbReward.mul(1e12).div(pool.lpSupply)); } return user.amount.mul(accxbPerShare).div(1e12).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTimestamp) { return; } if (pool.lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardTimestamp = block.timestamp; return; } uint256 multiplier = getMultiplier(pool.lastRewardTimestamp, block.timestamp); uint256 xbReward = multiplier.mul(xbPerSec).mul(pool.allocPoint).div(totalAllocPoint); xb.mint(devaddr, xbReward.div(10)); xb.mint(address(this), xbReward); pool.accxbPerShare = pool.accxbPerShare.add(xbReward.mul(1e12).div(pool.lpSupply)); pool.lastRewardTimestamp = block.timestamp; } // Deposit LP tokens to MasterChef for XB allocation. function deposit(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accxbPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeXBTransfer(msg.sender, pending); } } if (_amount > 0) { uint256 balanceBefore = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); _amount = pool.lpToken.balanceOf(address(this)) - balanceBefore; if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress1, depositFee.div(3)); pool.lpToken.safeTransfer(feeAddress2, depositFee.div(3)); pool.lpToken.safeTransfer(feeAddress3, depositFee.div(3)); user.amount = user.amount.add(_amount).sub(depositFee); pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); pool.lpSupply = pool.lpSupply.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accxbPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accxbPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeXBTransfer(msg.sender, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); pool.lpSupply = pool.lpSupply.sub(_amount); } user.rewardDebt = user.amount.mul(pool.accxbPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.safeTransfer(address(msg.sender), amount); if (pool.lpSupply >= amount) { pool.lpSupply = pool.lpSupply.sub(amount); } else { pool.lpSupply = 0; } emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe XB transfer function, just in case if rounding error causes pool to not have enough XB. function safeXBTransfer(address _to, uint256 _amount) internal { uint256 xbBal = xb.balanceOf(address(this)); bool transferSuccess = false; if (_amount > xbBal) { transferSuccess = xb.transfer(_to, xbBal); } else { transferSuccess = xb.transfer(_to, _amount); } require(transferSuccess, "safeXBTransfer: transfer failed"); } function setup() external onlyOwner { require(poolInfo.length == 0, "setup already called!"); add(4500, IBEP20(0xb9994776199e40d31d095Eb858786039cF455aB4), 0, false); // XB-USDC 0 add(1500, IBEP20(0xE273F44272A6f8d6561591566f17087291695392), 0, false); // XB-WETH 1 add(1000, xb, 0, false); // XB 2 add(200, IBEP20(0x84652bb2539513BAf36e225c930Fdd8eaa63CE27), 200, false); // USDC-WETH 3 add(200, IBEP20(0x87425D8812f44726091831a9A109f4bDc3eA34b4), 200, false); // USDC-GRAIL 4 add(400, IBEP20(0x5201f6482EEA49c90FE609eD9d8F69328bAc8ddA), 200, false); // wstETH-WETH 5 add(150, IBEP20(0x01efEd58B534d7a7464359A6F8d14D986125816B), 200, false); // USDC-DAI 6 add(150, IBEP20(0x913398d79438e8D709211cFC3DC8566F6C67e1A8), 200, false); // USDC-GMX 7 add(150, IBEP20(0x1C31fB3359357f6436565cCb3E982Bc6Bf4189ae), 200, false); // USDC-USDT 8 add(150, IBEP20(0x4c0A68dd92449Fc06c1A651E9eb1dFfB61D64e18), 200, false); // WETH-VELA 9 add(100, IBEP20(0x3FEe6E8FBDE48B727f82C55639ed2dD0cd9BA642), 200, false); // WETH-LUSD 10 add(200, IBEP20(0x96059759C6492fb4e8a9777b65f307F2C811a34F), 200, false); // WETH-WBTC 11 add(200, IBEP20(0x82aF49447D8a07e3bd95BD0d56f35241523fBab1), 200, false); // WETH 12 add(200, IBEP20(0x3d9907F9a368ad0a51Be60f7Da3b97cf940982D8), 200, false); // GRAIL 13 add(300, IBEP20(0x5979D7b546E38E414F7E9822514be443A4800529), 200, false); // wstWETH 14 add(200, IBEP20(0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a), 200, false); // GMX 15 add(150, IBEP20(0x088cd8f5eF3652623c22D48b1605DCfE860Cd704), 200, false); // VELA 16 add(150, IBEP20(0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1), 200, false); // DAI 17 add(100, IBEP20(0x93b346b6BC2548dA6A1E7d98E9a421B42541425b), 200, false); // LUSD 18 } // Update dev address. function setDevAddress(address _devaddr) external { require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; emit SetDevAddress(msg.sender, _devaddr); } function setFeeAddress1(address _feeAddress1) external { require(msg.sender == feeAddress1, "setFeeAddress1: FORBIDDEN"); require(_feeAddress1 != address(0), "!nonzero"); feeAddress1 = _feeAddress1; emit SetFeeAddress1(msg.sender, _feeAddress1); } function setFeeAddress2(address _feeAddress2) external { require(msg.sender == feeAddress2, "setFeeAddress2: FORBIDDEN"); require(_feeAddress2 != address(0), "!nonzero"); feeAddress2 = _feeAddress2; emit SetFeeAddress2(msg.sender, _feeAddress2); } function setFeeAddress3(address _feeAddress3) external { require(msg.sender == feeAddress3, "setFeeAddress3: FORBIDDEN"); require(_feeAddress3 != address(0), "!nonzero"); feeAddress3 = _feeAddress3; emit SetFeeAddress3(msg.sender, _feeAddress3); } //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all. function updateEmissionRate(uint256 _xbPerSec) external onlyOwner { massUpdatePools(); xbPerSec = _xbPerSec; emit UpdateEmissionRate(msg.sender, _xbPerSec); } }
// 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); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.4.0; import './Ownable.sol'; import './Context.sol'; import './IBEP20.sol'; import './SafeMath.sol'; /** * @dev Implementation of the {IBEP20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of BEP20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IBEP20-approve}. */ contract BEP20 is Context, IBEP20, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the name of the token. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom (address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance') ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner */ function mint(uint256 amount) public onlyOwner returns (bool) { _mint(_msgSender(), amount); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer (address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), 'BEP20: transfer from the zero address'); require(recipient != address(0), 'BEP20: transfer to the zero address'); _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance'); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), 'BEP20: mint to the zero address'); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), 'BEP20: burn from the zero address'); _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance'); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve (address owner, address spender, uint256 amount) internal { require(owner != address(0), 'BEP20: approve from the zero address'); require(spender != address(0), 'BEP20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.4; interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./Context.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IBEP20.sol"; import "./SafeMath.sol"; import "./Address.sol"; /** * @title SafeBEP20 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer(IBEP20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IBEP20 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 * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IBEP20 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), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IBEP20 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(IBEP20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeBEP20: 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(IBEP20 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, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT 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; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./BEP20.sol"; // XB with Governance. contract XB is BEP20('X Blue', 'XB') { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @notice A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "XB::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "XB::delegateBySig: invalid nonce"); require(now <= expiry, "XB::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "XB::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying XBs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "XB::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
[{"inputs":[{"internalType":"contract XB","name":"_xb","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress1","type":"address"},{"internalType":"address","name":"_feeAddress2","type":"address"},{"internalType":"address","name":"_feeAddress3","type":"address"},{"internalType":"uint256","name":"_xbPerSec","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress2","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress3","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"xbPerSec","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"addPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"setPool","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingxb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"accxbPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"lpSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress1","type":"address"}],"name":"setFeeAddress1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress2","type":"address"}],"name":"setFeeAddress2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress3","type":"address"}],"name":"setFeeAddress3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xbPerSec","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xb","outputs":[{"internalType":"contract XB","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xbPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600a55636408b100600b553480156200001e57600080fd5b5060405162003ed238038062003ed2833981810160405260c08110156200004457600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000996200029660201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806004819055505050505050506200029e565b600033905090565b613c2480620002ae6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638fb23f5e11610104578063d49e77cd116100a2578063e6fd48bc11610071578063e6fd48bc146107cb578063e8033c47146107e9578063eb78f95e1461082d578063f2fde38b14610861576101da565b8063d49e77cd146106d9578063d96384221461070d578063d9dc9a911461075f578063e2bbb15814610793576101da565b8063a853b67c116100de578063a853b67c146105cf578063ba0bba4014610631578063cbd258b51461063b578063d0d41fe114610695576101da565b80638fb23f5e1461050457806393f1a40b14610548578063a2e81ab3146105b1576101da565b80635312ea8e1161017c57806384e82a331161014b57806384e82a33146103d85780638688505b146104405780638da5cb5b146104845780638dbb1e3a146104b8576101da565b80635312ea8e14610362578063589c309414610390578063630b5ba1146103c4578063715018a6146103ce576101da565b806317caf6f1116101b857806317caf6f1146102aa5780631b3b8b79146102c8578063441a3e70146102fc57806351eb05a614610334576101da565b8063081e3eda146101df5780630ba84cd2146101fd5780631526fe271461022b575b600080fd5b6101e76108a5565b6040518082815260200191505060405180910390f35b6102296004803603602081101561021357600080fd5b81019080803590602001909291905050506108b2565b005b6102576004803603602081101561024157600080fd5b81019080803590602001909291905050506109c1565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018361ffff168152602001828152602001965050505050505060405180910390f35b6102b2610a38565b6040518082815260200191505060405180910390f35b6102d0610a3e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103326004803603604081101561031257600080fd5b810190808035906020019092919080359060200190929190505050610a64565b005b6103606004803603602081101561034a57600080fd5b8101908080359060200190929190505050610d69565b005b61038e6004803603602081101561037857600080fd5b8101908080359060200190929190505050611000565b005b6103986111f6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103cc61121c565b005b6103d6611249565b005b61043e600480360360808110156103ee57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff1690602001909291908035151590602001909291905050506113b6565b005b6104826004803603602081101561045657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611840565b005b61048c611a44565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ee600480360360408110156104ce57600080fd5b810190808035906020019092919080359060200190929190505050611a6d565b6040518082815260200191505060405180910390f35b6105466004803603602081101561051a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a8a565b005b6105946004803603604081101561055e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c8e565b604051808381526020018281526020019250505060405180910390f35b6105b9611cbf565b6040518082815260200191505060405180910390f35b61061b600480360360408110156105e557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cc5565b6040518082815260200191505060405180910390f35b610639611e56565b005b61067d6004803603602081101561065157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061222b565b60405180821515815260200191505060405180910390f35b6106d7600480360360208110156106ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061224b565b005b6106e16123ac565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61075d6004803603608081101561072357600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291908035151590602001909291905050506123d2565b005b61076761263b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107c9600480360360408110156107a957600080fd5b810190808035906020019092919080359060200190929190505050612661565b005b6107d3612ce6565b6040518082815260200191505060405180910390f35b61082b600480360360208110156107ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cec565b005b610835612ef0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108a36004803603602081101561087757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f16565b005b6000600880549050905090565b6108ba613108565b73ffffffffffffffffffffffffffffffffffffffff166108d8611a44565b73ffffffffffffffffffffffffffffffffffffffff1614610961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61096961121c565b806004819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b600881815481106109ce57fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b600a5481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060088381548110610af457fe5b9060005260206000209060060201905060006009600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610bd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610bdb84610d69565b6000610c258260010154610c1764e8d4a51000610c098760030154876000015461311090919063ffffffff16565b61319690919063ffffffff16565b61321f90919063ffffffff16565b90506000811115610c3b57610c3a33826132a2565b5b6000841115610cd257610c5b84836000015461321f90919063ffffffff16565b8260000181905550610cb233858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135939092919063ffffffff16565b610cc984846005015461321f90919063ffffffff16565b83600501819055505b610d0464e8d4a51000610cf68560030154856000015461311090919063ffffffff16565b61319690919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b600060088281548110610d7857fe5b9060005260206000209060060201905080600201544211610d995750610ffd565b600081600501541480610db0575060008160010154145b15610dc45742816002018190555050610ffd565b6000610dd4826002015442611a6d565b90506000610e17600a54610e098560010154610dfb6004548761311090919063ffffffff16565b61311090919063ffffffff16565b61319690919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610e8e600a8561319690919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610ee157600080fd5b505af1158015610ef5573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610f8c57600080fd5b505af1158015610fa0573d6000803e3d6000fd5b50505050610fe8610fd58460050154610fc764e8d4a510008561311090919063ffffffff16565b61319690919063ffffffff16565b846003015461363590919063ffffffff16565b83600301819055504283600201819055505050505b50565b60026001541415611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006008828154811061109057fe5b9060005260206000209060060201905060006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061116033828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135939092919063ffffffff16565b8083600501541061118f5761118281846005015461321f90919063ffffffff16565b836005018190555061119a565b600083600501819055505b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905060005b818110156112455761123a81610d69565b806001019050611229565b5050565b611251613108565b73ffffffffffffffffffffffffffffffffffffffff1661126f611a44565b73ffffffffffffffffffffffffffffffffffffffff16146112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6113be613108565b73ffffffffffffffffffffffffffffffffffffffff166113dc611a44565b73ffffffffffffffffffffffffffffffffffffffff1614611465576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8260001515600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461152c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561159357600080fd5b505afa1580156115a7573d6000803e3d6000fd5b505050506040513d60208110156115bd57600080fd5b81019080805190602001909291905050505060c88361ffff16111561162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613b0e6025913960400191505060405180910390fd5b811561163c5761163b61121c565b5b6000600b54421161164f57600b54611651565b425b905061166886600a5461363590919063ffffffff16565b600a819055506001600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060086040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600880549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f07868887604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f73657446656541646472657373333a20464f5242494444454e0000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f6912a4c3a8c0938eef0ab0062a8137d2c600b3ec99731e946349e82fa775b03a60405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611a82838361321f90919063ffffffff16565b905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f73657446656541646472657373313a20464f5242494444454e0000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f999c45fcf5692552720291fde1ed748e188fffc3fd0d230f3c0b22c0d7582f2c60405160405180910390a350565b6009602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b60045481565b60008060088481548110611cd557fe5b9060005260206000209060060201905060006009600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600082600301549050826002015442118015611d5a57506000836005015414155b8015611d6857506000600a54115b15611e07576000611d7d846002015442611a6d565b90506000611dc0600a54611db28760010154611da46004548761311090919063ffffffff16565b61311090919063ffffffff16565b61319690919063ffffffff16565b9050611e02611df38660050154611de564e8d4a510008561311090919063ffffffff16565b61319690919063ffffffff16565b8461363590919063ffffffff16565b925050505b611e4b8260010154611e3d64e8d4a51000611e2f85876000015461311090919063ffffffff16565b61319690919063ffffffff16565b61321f90919063ffffffff16565b935050505092915050565b611e5e613108565b73ffffffffffffffffffffffffffffffffffffffff16611e7c611a44565b73ffffffffffffffffffffffffffffffffffffffff1614611f05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060088054905014611f80576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f736574757020616c72656164792063616c6c656421000000000000000000000081525060200191505060405180910390fd5b611fa361119473b9994776199e40d31d095eb858786039cf455ab46000806113b6565b611fc66105dc73e273f44272a6f8d6561591566f170872916953926000806113b6565b611ff76103e8600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806113b6565b61201a60c87384652bb2539513baf36e225c930fdd8eaa63ce2760c860006113b6565b61203d60c87387425d8812f44726091831a9a109f4bdc3ea34b460c860006113b6565b612061610190735201f6482eea49c90fe609ed9d8f69328bac8dda60c860006113b6565b61208460967301efed58b534d7a7464359a6f8d14d986125816b60c860006113b6565b6120a7609673913398d79438e8d709211cfc3dc8566f6c67e1a860c860006113b6565b6120ca6096731c31fb3359357f6436565ccb3e982bc6bf4189ae60c860006113b6565b6120ed6096734c0a68dd92449fc06c1a651e9eb1dffb61d64e1860c860006113b6565b6121106064733fee6e8fbde48b727f82c55639ed2dd0cd9ba64260c860006113b6565b61213360c87396059759c6492fb4e8a9777b65f307f2c811a34f60c860006113b6565b61215660c87382af49447d8a07e3bd95bd0d56f35241523fbab160c860006113b6565b61217960c8733d9907f9a368ad0a51be60f7da3b97cf940982d860c860006113b6565b61219d61012c735979d7b546e38e414f7e9822514be443a480052960c860006113b6565b6121c060c873fc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a60c860006113b6565b6121e3609673088cd8f5ef3652623c22d48b1605dcfe860cd70460c860006113b6565b612206609673da10009cbd5d07dd0cecc66161fc93d7c9000da160c860006113b6565b61222960647393b346b6bc2548da6a1e7d98e9a421b42541425b60c860006113b6565b565b600c6020528060005260406000206000915054906101000a900460ff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461230e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6465763a207775743f000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123da613108565b73ffffffffffffffffffffffffffffffffffffffff166123f8611a44565b73ffffffffffffffffffffffffffffffffffffffff1614612481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60c88261ffff1611156124df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613bca6025913960400191505060405180910390fd5b80156124ee576124ed61121c565b5b612533836125256008878154811061250257fe5b906000526020600020906006020160010154600a5461321f90919063ffffffff16565b61363590919063ffffffff16565b600a81905550826008858154811061254757fe5b906000526020600020906006020160010181905550816008858154811061256a57fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed287600886815481106125c457fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a250505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156126da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600883815481106126f157fe5b9060005260206000209060060201905060006009600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061275e84610d69565b6000816000015411156127cd5760006127b582600101546127a764e8d4a510006127998760030154876000015461311090919063ffffffff16565b61319690919063ffffffff16565b61321f90919063ffffffff16565b905060008111156127cb576127ca33826132a2565b5b505b6000831115612c505760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561286357600080fd5b505afa158015612877573d6000803e3d6000fd5b505050506040513d602081101561288d57600080fd5b810190808051906020019092919050505090506128f13330868660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136bd909392919063ffffffff16565b808360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561297d57600080fd5b505afa158015612991573d6000803e3d6000fd5b505050506040513d60208110156129a757600080fd5b810190808051906020019092919050505003935060008360040160009054906101000a900461ffff1661ffff161115612c0f576000612a19612710612a0b8660040160009054906101000a900461ffff1661ffff168861311090919063ffffffff16565b61319690919063ffffffff16565b9050612a9f600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a5560038461319690919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135939092919063ffffffff16565b612b23600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612ad960038461319690919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135939092919063ffffffff16565b612ba7600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612b5d60038461319690919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135939092919063ffffffff16565b612bd081612bc287866000015461363590919063ffffffff16565b61321f90919063ffffffff16565b8360000181905550612c0181612bf387876005015461363590919063ffffffff16565b61321f90919063ffffffff16565b846005018190555050612c4e565b612c2684836000015461363590919063ffffffff16565b8260000181905550612c4584846005015461363590919063ffffffff16565b83600501819055505b505b612c8264e8d4a51000612c748460030154846000015461311090919063ffffffff16565b61319690919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b600b5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612daf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f73657446656541646472657373323a20464f5242494444454e0000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e52576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f27170fbbc70bb19e7252d999e7a10fca57657d00ec01b026ae273970b2c84e9160405160405180910390a350565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612f1e613108565b73ffffffffffffffffffffffffffffffffffffffff16612f3c611a44565b73ffffffffffffffffffffffffffffffffffffffff1614612fc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561304b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613b5d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000808314156131235760009050613190565b600082840290508284828161313457fe5b041461318b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ba96021913960400191505060405180910390fd5b809150505b92915050565b600080821161320d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161321657fe5b04905092915050565b600082821115613297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561332d57600080fd5b505afa158015613341573d6000803e3d6000fd5b505050506040513d602081101561335757600080fd5b8101908080519060200190929190505050905060008183111561344957600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561340757600080fd5b505af115801561341b573d6000803e3d6000fd5b505050506040513d602081101561343157600080fd5b8101908080519060200190929190505050905061351a565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156134dc57600080fd5b505af11580156134f0573d6000803e3d6000fd5b505050506040513d602081101561350657600080fd5b810190808051906020019092919050505090505b8061358d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f7361666558425472616e736665723a207472616e73666572206661696c65640081525060200191505060405180910390fd5b50505050565b6136308363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061377e565b505050565b6000808284019050838110156136b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b613778846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061377e565b50505050565b60606137e0826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661386d9092919063ffffffff16565b90506000815111156138685780806020019051602081101561380157600080fd5b8101908080519060200190929190505050613867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613b33602a913960400191505060405180910390fd5b5b505050565b606061387c8484600085613885565b90509392505050565b6060824710156138e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613b836026913960400191505060405180910390fd5b6138e985613a2e565b61395b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106139ab5780518252602082019150602081019050602083039250613988565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613a0d576040519150601f19603f3d011682016040523d82523d6000602084013e613a12565b606091505b5091509150613a22828286613a41565b92505050949350505050565b600080823b905060008111915050919050565b60608315613a5157829050613b06565b600083511115613a645782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613acb578082015181840152602081019050613ab0565b50505050905090810190601f168015613af85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e7473a2646970667358221220b144f5708d1ae840334a558308510ede59ed880f60f1be6b3d891973a2898dda64736f6c634300060c003300000000000000000000000050aa7a13b28eea97dc6c3f5e8aaa7fe512e7306d000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000a40134266b5ffcb06c0b2bc6163a50e753a3a604000000000000000000000000a53529b65e8c0bcccb0f517bd768aa02b12c5cbc000000000000000000000000c48d2f4f0303efdced1085edb72f6d53cd5a551d000000000000000000000000000000000000000000000000002386f26fc10000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000050aa7a13b28eea97dc6c3f5e8aaa7fe512e7306d000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000a40134266b5ffcb06c0b2bc6163a50e753a3a604000000000000000000000000a53529b65e8c0bcccb0f517bd768aa02b12c5cbc000000000000000000000000c48d2f4f0303efdced1085edb72f6d53cd5a551d000000000000000000000000000000000000000000000000002386f26fc10000
-----Decoded View---------------
Arg [0] : _xb (address): 0x50aa7a13b28eea97dc6c3f5e8aaa7fe512e7306d
Arg [1] : _devaddr (address): 0x000000000000000000000000000000000000dead
Arg [2] : _feeAddress1 (address): 0xa40134266b5ffcb06c0b2bc6163a50e753a3a604
Arg [3] : _feeAddress2 (address): 0xa53529b65e8c0bcccb0f517bd768aa02b12c5cbc
Arg [4] : _feeAddress3 (address): 0xc48d2f4f0303efdced1085edb72f6d53cd5a551d
Arg [5] : _xbPerSec (uint256): 10000000000000000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000050aa7a13b28eea97dc6c3f5e8aaa7fe512e7306d
Arg [1] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [2] : 000000000000000000000000a40134266b5ffcb06c0b2bc6163a50e753a3a604
Arg [3] : 000000000000000000000000a53529b65e8c0bcccb0f517bd768aa02b12c5cbc
Arg [4] : 000000000000000000000000c48d2f4f0303efdced1085edb72f6d53cd5a551d
Arg [5] : 000000000000000000000000000000000000000000000000002386f26fc10000
Deployed ByteCode Sourcemap
583:14656:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3970:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15046:190;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2365:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2606:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2237:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9666:808;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7271:756;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10545:561;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2072:12;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7015:180;;;:::i;:::-;;1763:148:5;;;:::i;:::-;;4340:946:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14627:288;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1112:87:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6031:121:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14035:288;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2447:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;2179:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6213:719;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11632:2167;;;:::i;:::-;;4073:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13835:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2112:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5396:555;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2303:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;8094:1520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2692:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14331:288;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2270:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2066:244:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3970:95:4;4015:7;4042:8;:15;;;;4035:22;;3970:95;:::o;15046:190::-;1343:12:5;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15123:17:4::1;:15;:17::i;:::-;15162:9;15151:8;:20;;;;15206:10;15187:41;;;15218:9;15187:41;;;;;;;;;;;;;;;;;;15046:190:::0;:::o;2365:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2606:34::-;;;;:::o;2237:26::-;;;;;;;;;;;;;:::o;9666:808::-;1721:1:6;2327:7;;:19;;2319:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;9748:21:4::1;9772:8;9781:4;9772:14;;;;;;;;;;;;;;;;;;9748:38;;9797:21;9821:8;:14;9830:4;9821:14;;;;;;;;;;;:26;9836:10;9821:26;;;;;;;;;;;;;;;9797:50;;9881:7;9866:4;:11;;;:22;;9858:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9922:16;9933:4;9922:10;:16::i;:::-;9949:15;9967:66;10017:4;:15;;;9967:45;10007:4;9967:35;9983:4;:18;;;9967:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;9949:84;;10058:1;10048:7;:11;10044:79;;;10076:35;10091:10;10103:7;10076:14;:35::i;:::-;10044:79;10147:1;10137:7;:11;10133:209;;;10179:24;10195:7;10179:4;:11;;;:15;;:24;;;;:::i;:::-;10165:4;:11;;:38;;;;10218:55;10252:10;10265:7;10218:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;10304:26;10322:7;10304:4;:13;;;:17;;:26;;;;:::i;:::-;10288:4;:13;;:42;;;;10133:209;10370:45;10410:4;10370:35;10386:4;:18;;;10370:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;10352:4;:15;;:63;;;;10452:4;10440:10;10431:35;;;10458:7;10431:35;;;;;;;;;;;;;;;;;;2491:1:6;;;1677::::0;2639:7;:22;;;;9666:808:4;;:::o;7271:756::-;7323:21;7347:8;7356:4;7347:14;;;;;;;;;;;;;;;;;;7323:38;;7395:4;:24;;;7376:15;:43;7372:82;;7436:7;;;7372:82;7485:1;7468:4;:13;;;:18;:42;;;;7509:1;7490:4;:15;;;:20;7468:42;7464:138;;;7554:15;7527:4;:24;;:42;;;;7584:7;;;7464:138;7612:18;7633:56;7647:4;:24;;;7673:15;7633:13;:56::i;:::-;7612:77;;7700:16;7719:66;7769:15;;7719:45;7748:4;:15;;;7719:24;7734:8;;7719:10;:14;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;7700:85;;7796:2;;;;;;;;;;;:7;;;7804;;;;;;;;;;;7813:16;7826:2;7813:8;:12;;:16;;;;:::i;:::-;7796:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7841:2;;;;;;;;;;;:7;;;7857:4;7864:8;7841:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7905:61;7928:37;7951:4;:13;;;7928:18;7941:4;7928:8;:12;;:18;;;;:::i;:::-;:22;;:37;;;;:::i;:::-;7905:4;:18;;;:22;;:61;;;;:::i;:::-;7884:4;:18;;:82;;;;8004:15;7977:4;:24;;:42;;;;7271:756;;;;;:::o;10545:561::-;1721:1:6;2327:7;;:19;;2319:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;10619:21:4::1;10643:8;10652:4;10643:14;;;;;;;;;;;;;;;;;;10619:38;;10668:21;10692:8;:14;10701:4;10692:14;;;;;;;;;;;:26;10707:10;10692:26;;;;;;;;;;;;;;;10668:50;;10729:14;10746:4;:11;;;10729:28;;10782:1;10768:4;:11;;:15;;;;10812:1;10794:4;:15;;:19;;;;10824:54;10858:10;10871:6;10824:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;10912:6;10895:4;:13;;;:23;10891:147;;10951:25;10969:6;10951:4;:13;;;:17;;:25;;;;:::i;:::-;10935:4;:13;;:41;;;;10891:147;;;11025:1;11009:4;:13;;:17;;;;10891:147;11085:4;11073:10;11055:43;;;11091:6;11055:43;;;;;;;;;;;;;;;;;;2491:1:6;;;1677::::0;2639:7;:22;;;;10545:561:4;:::o;2072:12::-;;;;;;;;;;;;;:::o;7015:180::-;7060:14;7077:8;:15;;;;7060:32;;7108:11;7103:85;7131:6;7125:3;:12;7103:85;;;7161:15;7172:3;7161:10;:15::i;:::-;7139:5;;;;;7103:85;;;;7015:180;:::o;1763:148:5:-;1343:12;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1870:1:::1;1833:40;;1854:6;::::0;::::1;;;;;;;;1833:40;;;;;;;;;;;;1901:1;1884:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1763:148::o:0;4340:946:4:-;1343:12:5;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4462:8:4::1;4210:5;4183:32;;:13;:23;4197:8;4183:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;4175:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;4513:8:::2;:18;;;4540:4;4513:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;4584:3;4567:13;:20;;;;4559:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4644:11;4640:61;;;4672:17;:15;:17::i;:::-;4640:61;4711:27;4759:14;;4741:15;:32;:67;;4794:14;;4741:67;;;4776:15;4741:67;4711:97;;4837:32;4857:11;4837:15;;:19;;:32;;;;:::i;:::-;4819:15;:50;;;;4906:4;4880:13;:23;4894:8;4880:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;4921:8;4935:249;;;;;;;;4969:8;4935:249;;;;;;5005:11;4935:249;;;;5052:19;4935:249;;;;5102:1;4935:249;;;;5133:13;4935:249;;;;;;5171:1;4935:249;;::::0;4921:264:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5229:1;5211:8;:15;;;;:19;5203:75;5240:8;5251:11;5264:13;5203:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4256:1;1403::5::1;4340:946:4::0;;;;:::o;14627:288::-;14715:11;;;;;;;;;;;14701:25;;:10;:25;;;14693:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14799:1;14775:26;;:12;:26;;;;14767:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14839:12;14825:11;;:26;;;;;;;;;;;;;;;;;;14894:12;14867:40;;14882:10;14867:40;;;;;;;;;;;;14627:288;:::o;1112:87:5:-;1158:7;1185:6;;;;;;;;;;;1178:13;;1112:87;:::o;6031:121:4:-;6103:7;6130:14;6138:5;6130:3;:7;;:14;;;;:::i;:::-;6123:21;;6031:121;;;;:::o;14035:288::-;14123:11;;;;;;;;;;;14109:25;;:10;:25;;;14101:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14207:1;14183:26;;:12;:26;;;;14175:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14247:12;14233:11;;:26;;;;;;;;;;;;;;;;;;14302:12;14275:40;;14290:10;14275:40;;;;;;;;;;;;14035:288;:::o;2447:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2179:23::-;;;;:::o;6213:719::-;6284:7;6304:21;6328:8;6337:4;6328:14;;;;;;;;;;;;;;;;;;6304:38;;6353:21;6377:8;:14;6386:4;6377:14;;;;;;;;;;;:21;6392:5;6377:21;;;;;;;;;;;;;;;6353:45;;6409:21;6433:4;:18;;;6409:42;;6484:4;:24;;;6466:15;:42;:64;;;;;6529:1;6512:4;:13;;;:18;;6466:64;:87;;;;;6552:1;6534:15;;:19;6466:87;6462:384;;;6570:18;6591:56;6605:4;:24;;;6631:15;6591:13;:56::i;:::-;6570:77;;6662:16;6681:66;6731:15;;6681:45;6710:4;:15;;;6681:24;6696:8;;6681:10;:14;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;6662:85;;6778:56;6796:37;6819:4;:13;;;6796:18;6809:4;6796:8;:12;;:18;;;;:::i;:::-;:22;;:37;;;;:::i;:::-;6778:13;:17;;:56;;;;:::i;:::-;6762:72;;6462:384;;;6863:61;6908:4;:15;;;6863:40;6898:4;6863:30;6879:13;6863:4;:11;;;:15;;:30;;;;:::i;:::-;:34;;:40;;;;:::i;:::-;:44;;:61;;;;:::i;:::-;6856:68;;;;;6213:719;;;;:::o;11632:2167::-;1343:12:5;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11706:1:4::1;11687:8;:15;;;;:20;11679:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11746:71;11750:4;11763:42;11808:1;11811:5:::0;11746:3:::1;:71::i;:::-;11889;11893:4;11906:42;11951:1;11954:5:::0;11889:3:::1;:71::i;:::-;12032:23;12036:4;12042:2;;;;;;;;;;;12046:1;12049:5:::0;12032:3:::1;:23::i;:::-;12137:72;12141:3;12153:42;12198:3;12203:5;12137:3;:72::i;:::-;12240;12244:3;12256:42;12301:3;12306:5;12240:3;:72::i;:::-;12343;12347:3;12359:42;12404:3;12409:5;12343:3;:72::i;:::-;12446;12450:3;12462:42;12507:3;12512:5;12446:3;:72::i;:::-;12549;12553:3;12565:42;12610:3;12615:5;12549:3;:72::i;:::-;12652;12656:3;12668:42;12713:3;12718:5;12652:3;:72::i;:::-;12755;12759:3;12771:42;12816:3;12821:5;12755:3;:72::i;:::-;12858;12862:3;12874:42;12919:3;12924:5;12858:3;:72::i;:::-;12964;12968:3;12980:42;13025:3;13030:5;12964:3;:72::i;:::-;13070;13074:3;13086:42;13131:3;13136:5;13070:3;:72::i;:::-;13174;13178:3;13190:42;13235:3;13240:5;13174:3;:72::i;:::-;13278;13282:3;13294:42;13339:3;13344:5;13278:3;:72::i;:::-;13382;13386:3;13398:42;13443:3;13448:5;13382:3;:72::i;:::-;13486;13490:3;13502:42;13547:3;13552:5;13486:3;:72::i;:::-;13592;13596:3;13608:42;13653:3;13658:5;13592:3;:72::i;:::-;13696;13700:3;13712:42;13757:3;13762:5;13696:3;:72::i;:::-;11632:2167::o:0;4073:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;13835:192::-;13918:7;;;;;;;;;;;13904:21;;:10;:21;;;13896:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13960:8;13950:7;;:18;;;;;;;;;;;;;;;;;;14010:8;13984:35;;13998:10;13984:35;;;;;;;;;;;;13835:192;:::o;2112:22::-;;;;;;;;;;;;;:::o;5396:555::-;1343:12:5;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5539:3:4::1;5522:13;:20;;;;5514:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5599:11;5595:61;;;5627:17;:15;:17::i;:::-;5595:61;5684:63;5735:11;5684:46;5704:8;5713:4;5704:14;;;;;;;;;;;;;;;;;;:25;;;5684:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;5666:15;:81;;;;5786:11;5758:8;5767:4;5758:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;5838:13;5808:8;5817:4;5808:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;5877:4;5869:74;5891:8;5900:4;5891:14;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;5916:11;5929:13;5869:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5396:555:::0;;;;:::o;2303:26::-;;;;;;;;;;;;;:::o;8094:1520::-;1721:1:6;2327:7;;:19;;2319:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;8175:21:4::1;8199:8;8208:4;8199:14;;;;;;;;;;;;;;;;;;8175:38;;8224:21;8248:8;:14;8257:4;8248:14;;;;;;;;;;;:26;8263:10;8248:26;;;;;;;;;;;;;;;8224:50;;8285:16;8296:4;8285:10;:16::i;:::-;8330:1;8316:4;:11;;;:15;8312:233;;;8348:15;8366:66;8416:4;:15;;;8366:45;8406:4;8366:35;8382:4;:18;;;8366:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;8348:84;;8461:1;8451:7;:11;8447:87;;;8483:35;8498:10;8510:7;8483:14;:35::i;:::-;8447:87;8312:233;;8569:1;8559:7;:11;8555:928;;;8587:21;8611:4;:12;;;;;;;;;;;;:22;;;8642:4;8611:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;8587:61;;8663:74;8701:10;8722:4;8729:7;8663:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;8802:13;8762:4;:12;;;;;;;;;;;;:22;;;8793:4;8762:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:53;8752:63;;8854:1;8834:4;:17;;;;;;;;;;;;:21;;;8830:642;;;8876:18;8897:41;8932:5;8897:30;8909:4;:17;;;;;;;;;;;;8897:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;8876:62;;8957:57;8983:11;;;;;;;;;;;8996:17;9011:1;8996:10;:14;;:17;;;;:::i;:::-;8957:4;:12;;;;;;;;;;;;:25;;;;:57;;;;;:::i;:::-;9033;9059:11;;;;;;;;;;;9072:17;9087:1;9072:10;:14;;:17;;;;:::i;:::-;9033:4;:12;;;;;;;;;;;;:25;;;;:57;;;;;:::i;:::-;9109;9135:11;;;;;;;;;;;9148:17;9163:1;9148:10;:14;;:17;;;;:::i;:::-;9109:4;:12;;;;;;;;;;;;:25;;;;:57;;;;;:::i;:::-;9199:40;9228:10;9199:24;9215:7;9199:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;9185:4;:11;;:54;;;;9274:42;9305:10;9274:26;9292:7;9274:4;:13;;;:17;;:26;;;;:::i;:::-;:30;;:42;;;;:::i;:::-;9258:4;:13;;:58;;;;8830:642;;;;9371:24;9387:7;9371:4;:11;;;:15;;:24;;;;:::i;:::-;9357:4;:11;;:38;;;;9430:26;9448:7;9430:4;:13;;;:17;;:26;;;;:::i;:::-;9414:4;:13;;:42;;;;8830:642;8555:928;;9511:45;9551:4;9511:35;9527:4;:18;;;9511:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;9493:4;:15;;:63;;;;9592:4;9580:10;9572:34;;;9598:7;9572:34;;;;;;;;;;;;;;;;;;2491:1:6;;1677::::0;2639:7;:22;;;;8094:1520:4;;:::o;2692:42::-;;;;:::o;14331:288::-;14419:11;;;;;;;;;;;14405:25;;:10;:25;;;14397:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14503:1;14479:26;;:12;:26;;;;14471:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14543:12;14529:11;;:26;;;;;;;;;;;;;;;;;;14598:12;14571:40;;14586:10;14571:40;;;;;;;;;;;;14331:288;:::o;2270:26::-;;;;;;;;;;;;;:::o;2066:244:5:-;1343:12;:10;:12::i;:::-;1332:23;;:7;:5;:7::i;:::-;:23;;;1324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2175:1:::1;2155:22;;:8;:22;;;;2147:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2265:8;2236:38;;2257:6;::::0;::::1;;;;;;;;2236:38;;;;;;;;;;;;2294:8;2285:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2066:244:::0;:::o;613:106:2:-;666:15;701:10;694:17;;613:106;:::o;3653:220:8:-;3711:7;3740:1;3735;:6;3731:20;;;3750:1;3743:8;;;;3731:20;3762:9;3778:1;3774;:5;3762:17;;3807:1;3802;3798;:5;;;;;;:10;3790:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3864:1;3857:8;;;3653:220;;;;;:::o;4351:153::-;4409:7;4441:1;4437;:5;4429:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4495:1;4491;:5;;;;;;4484:12;;4351:153;;;;:::o;3236:158::-;3294:7;3327:1;3322;:6;;3314:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3385:1;3381;:5;3374:12;;3236:158;;;;:::o;11215:409:4:-;11289:13;11305:2;;;;;;;;;;;:12;;;11326:4;11305:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11289:43;;11343:20;11396:5;11386:7;:15;11382:165;;;11436:2;;;;;;;;;;;:11;;;11448:3;11453:5;11436:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11418:41;;11382:165;;;11510:2;;;;;;;;;;;:11;;;11522:3;11527:7;11510:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11492:43;;11382:165;11565:15;11557:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11215:409;;;;:::o;706:177:7:-;789:86;809:5;839:23;;;864:2;868:5;816:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;789:19;:86::i;:::-;706:177;;;:::o;2774:179:8:-;2832:7;2852:9;2868:1;2864;:5;2852:17;;2893:1;2888;:6;;2880:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2944:1;2937:8;;;2774:179;;;;:::o;891:205:7:-;992:96;1012:5;1042:27;;;1071:4;1077:2;1081:5;1019:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;992:19;:96::i;:::-;891:205;;;;:::o;3011:761::-;3435:23;3461:69;3489:4;3461:69;;;;;;;;;;;;;;;;;3469:5;3461:27;;;;:69;;;;;:::i;:::-;3435:95;;3565:1;3545:10;:17;:21;3541:224;;;3687:10;3676:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3668:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3541:224;3011:761;;;:::o;3671:195:0:-;3774:12;3806:52;3828:6;3836:4;3842:1;3845:12;3806:21;:52::i;:::-;3799:59;;3671:195;;;;;:::o;4723:530::-;4850:12;4908:5;4883:21;:30;;4875:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:18;4986:6;4975:10;:18::i;:::-;4967:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5101:12;5115:23;5142:6;:11;;5162:5;5170:4;5142:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5100:75;;;;5193:52;5211:7;5220:10;5232:12;5193:17;:52::i;:::-;5186:59;;;;4723:530;;;;;;:::o;751:422::-;811:4;1019:12;1130:7;1118:20;1110:28;;1164:1;1157:4;:8;1150:15;;;751:422;;;:::o;7263:742::-;7378:12;7407:7;7403:595;;;7438:10;7431:17;;;;7403:595;7572:1;7552:10;:17;:21;7548:439;;;7815:10;7809:17;7876:15;7863:10;7859:2;7855:19;7848:44;7763:148;7958:12;7951:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7263:742;;;;;;:::o
Metadata Hash
b144f5708d1ae840334a558308510ede59ed880f60f1be6b3d891973a2898dda
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.