Transactions
Token Transfers
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- yVaren
- Optimization enabled
- true
- Compiler version
- v0.6.6+commit.6c089d02
- Optimization runs
- 999999
- EVM Version
- berlin
- Verified at
- 2026-04-22T03:09:31.914053Z
Constructor Arguments
00000000000000000000000072377f31e30a405282b522d588aebbea202b4f23000000000000000000000000e69a81b96fbf5cb6cae95d2ce5323eff2ba0eae40000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000000000000004a380000000000000000000000000000000000000000000000000000000000001b58
Arg [0] (address) : 0x72377f31e30a405282b522d588aebbea202b4f23
Arg [1] (address) : 0xe69a81b96fbf5cb6cae95d2ce5323eff2ba0eae4
Arg [2] (uint256) : 200000
Arg [3] (uint256) : 19000
Arg [4] (uint256) : 7000
/Users/kaj/Downloads/yyfl-voting-exploit-master/contracts/yVaren.sol
pragma solidity 0.6.6;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./interfaces/IyVaren.sol";
contract yVaren is IyVaren, ERC20, ReentrancyGuard {
using SafeERC20 for IERC20;
using Address for address;
using SafeMath for uint256;
uint256 public constant override MAX_OPERATIONS = 10;
IERC20 public immutable override VAREN;
uint256 public override blocksForNoWithdrawalFee;
uint256 public override earlyWithdrawalFeePercent = 5000; // 0.5%
mapping(address => uint256) public override earlyWithdrawalFeeExpiry;
address public override treasury;
uint256 public override treasuryEarlyWithdrawalFeeShare = 1000000; // 100%
mapping(address => uint256) public override voteLockAmount;
mapping(address => uint256) public override voteLockExpiry;
mapping(address => bool) public override hasActiveProposal;
mapping(uint256 => Proposal) public override proposals;
uint256 public override proposalCount;
uint256 public override votingPeriodBlocks;
uint256 public override minVarenForProposal = 1e17; // 0.1 Varen
uint256 public override quorumPercent = 150000; // 15%
uint256 public override voteThresholdPercent = 500000; // 50%
uint256 public override executionPeriodBlocks;
modifier onlyThis() {
require(msg.sender == address(this), "yVaren: FORBIDDEN");
_;
}
constructor(
address _varen,
address _treasury,
uint256 _blocksForNoWithdrawalFee,
uint256 _votingPeriodBlocks,
uint256 _executionPeriodBlocks
) public ERC20("Varen Staking Share", "yVaren") {
require(
_varen != address(0) && _treasury != address(0),
"yVaren: ZERO_ADDRESS"
);
_setupDecimals(ERC20(_varen).decimals());
VAREN = IERC20(_varen);
treasury = _treasury;
blocksForNoWithdrawalFee = _blocksForNoWithdrawalFee;
votingPeriodBlocks = _votingPeriodBlocks;
executionPeriodBlocks = _executionPeriodBlocks;
}
function stake(uint256 amount) external override nonReentrant {
require(amount > 0, "yVaren: ZERO");
uint256 shares = totalSupply() == 0
? amount
: (amount.mul(totalSupply())).div(VAREN.balanceOf(address(this)));
VAREN.safeTransferFrom(msg.sender, address(this), amount);
_mint(msg.sender, shares);
earlyWithdrawalFeeExpiry[msg.sender] = blocksForNoWithdrawalFee.add(
block.number
);
}
function withdraw(uint256 shares) external override nonReentrant {
require(shares > 0, "yVaren: ZERO");
_updateVoteExpiry();
require(_checkVoteExpiry(msg.sender, shares), "voteLockExpiry");
uint256 varenAmount = (VAREN.balanceOf(address(this))).mul(shares).div(
totalSupply()
);
_burn(msg.sender, shares);
if (block.number < earlyWithdrawalFeeExpiry[msg.sender]) {
uint256 feeAmount = varenAmount.mul(earlyWithdrawalFeePercent) /
1000000;
VAREN.safeTransfer(
treasury,
feeAmount.mul(treasuryEarlyWithdrawalFeeShare) / 1000000
);
varenAmount = varenAmount.sub(feeAmount);
}
VAREN.safeTransfer(msg.sender, varenAmount);
}
function getPricePerFullShare() external view override returns (uint256) {
return VAREN.balanceOf(address(this)).mul(1e18).div(totalSupply());
}
function getStakeVarenValue(address staker)
external
view
override
returns (uint256)
{
return
(VAREN.balanceOf(address(this)).mul(balanceOf(staker))).div(
totalSupply()
);
}
function propose(
address[] memory targets,
uint256[] memory values,
string[] memory signatures,
bytes[] memory calldatas,
string memory description
) public override nonReentrant returns (uint256 id) {
require(!hasActiveProposal[msg.sender], "yVaren: HAS_ACTIVE_PROPOSAL");
require(
targets.length == values.length &&
targets.length == signatures.length &&
targets.length == calldatas.length,
"yVaren: PARITY_MISMATCH"
);
require(targets.length != 0, "yVaren: NO_ACTIONS");
require(targets.length <= MAX_OPERATIONS, "yVaren: TOO_MANY_ACTIONS");
require(
(VAREN.balanceOf(address(this)).mul(balanceOf(msg.sender))).div(
totalSupply()
) >= minVarenForProposal,
"yVaren: INSUFFICIENT_VAREN_FOR_PROPOSAL"
);
uint256 endBlock = votingPeriodBlocks.add(block.number);
id = proposalCount;
proposals[id] = Proposal({
proposer: msg.sender,
endBlock: endBlock,
targets: targets,
values: values,
signatures: signatures,
calldatas: calldatas,
totalForVotes: 0,
totalAgainstVotes: 0,
quorumVotes: VAREN.balanceOf(address(this)).mul(quorumPercent) /
1000000,
executed: false
});
hasActiveProposal[msg.sender] = true;
proposalCount = proposalCount.add(1);
emit ProposalCreated(
id,
msg.sender,
targets,
values,
signatures,
calldatas,
block.number,
endBlock,
description
);
}
function _checkVoteExpiry(address _sender, uint256 _shares)
private
view
returns (bool)
{
// ?????
return _shares <= balanceOf(_sender).sub(voteLockAmount[_sender]);
}
function _updateVoteExpiry() private {
if (block.number >= voteLockExpiry[msg.sender]) {
voteLockExpiry[msg.sender] = 0;
voteLockAmount[msg.sender] = 0;
}
}
function vote(
uint256 id,
bool support,
uint256 voteAmount
) external override nonReentrant {
Proposal storage proposal = proposals[id];
require(proposal.proposer != address(0), "yVaren: INVALID_PROPOSAL_ID");
require(block.number < proposal.endBlock, "yVaren: VOTING_ENDED");
require(voteAmount > 0, "yVaren: ZERO");
require(
voteAmount <= balanceOf(msg.sender),
"yVaren: INSUFFICIENT_BALANCE"
);
_updateVoteExpiry();
require(
voteAmount >= voteLockAmount[msg.sender],
"yVaren: SMALLER_VOTE"
);
if (
(support && voteAmount == proposal.forVotes[msg.sender]) ||
(!support && voteAmount == proposal.againstVotes[msg.sender])
) {
revert("yVaren: SAME_VOTE");
}
if (voteAmount > voteLockAmount[msg.sender]) {
voteLockAmount[msg.sender] = voteAmount;
}
voteLockExpiry[msg.sender] = proposal.endBlock >
voteLockExpiry[msg.sender]
? proposal.endBlock
: voteLockExpiry[msg.sender];
if (support) {
proposal.totalForVotes = proposal.totalForVotes.add(voteAmount).sub(
proposal.forVotes[msg.sender]
);
proposal.forVotes[msg.sender] = voteAmount;
// remove opposite votes
proposal.totalAgainstVotes = proposal.totalAgainstVotes.sub(
proposal.againstVotes[msg.sender]
);
proposal.againstVotes[msg.sender] = 0;
} else {
proposal.totalAgainstVotes = proposal
.totalAgainstVotes
.add(voteAmount)
.sub(proposal.againstVotes[msg.sender]);
proposal.againstVotes[msg.sender] = voteAmount;
// remove opposite votes
proposal.totalForVotes = proposal.totalForVotes.sub(
proposal.forVotes[msg.sender]
);
proposal.forVotes[msg.sender] = 0;
}
emit VoteCast(msg.sender, id, support, voteAmount);
}
function executeProposal(uint256 id)
external
payable
override
nonReentrant
{
Proposal storage proposal = proposals[id];
require(!proposal.executed, "yVaren: PROPOSAL_ALREADY_EXECUTED");
{
// check if proposal passed
require(
proposal.proposer != address(0),
"yVaren: INVALID_PROPOSAL_ID"
);
require(
block.number >= proposal.endBlock,
"yVaren: PROPOSAL_IN_VOTING"
);
hasActiveProposal[proposal.proposer] = false;
uint256 totalVotes = proposal.totalForVotes.add(
proposal.totalAgainstVotes
);
if (
totalVotes < proposal.quorumVotes ||
proposal.totalForVotes <
totalVotes.mul(voteThresholdPercent) / 1000000 ||
block.number >= proposal.endBlock.add(executionPeriodBlocks) // execution period ended
) {
return;
}
}
bool success = true;
uint256 remainingValue = msg.value;
for (uint256 i = 0; i < proposal.targets.length; i++) {
if (proposal.values[i] > 0) {
require(
remainingValue >= proposal.values[i],
"yVaren: INSUFFICIENT_ETH"
);
remainingValue = remainingValue - proposal.values[i];
}
(success, ) = proposal.targets[i].call{value: proposal.values[i]}(
abi.encodePacked(
bytes4(keccak256(bytes(proposal.signatures[i]))),
proposal.calldatas[i]
)
);
if (!success) break;
}
proposal.executed = true;
emit ProposalExecuted(id, success);
}
function getVotes(uint256 proposalId, address voter)
external
view
override
returns (bool support, uint256 voteAmount)
{
support = proposals[proposalId].forVotes[voter] > 0;
voteAmount = support
? proposals[proposalId].forVotes[voter]
: proposals[proposalId].againstVotes[voter];
}
function getProposalCalls(uint256 proposalId)
external
view
override
returns (
address[] memory targets,
uint256[] memory values,
string[] memory signatures,
bytes[] memory calldatas
)
{
targets = proposals[proposalId].targets;
values = proposals[proposalId].values;
signatures = proposals[proposalId].signatures;
calldatas = proposals[proposalId].calldatas;
}
// SETTERS
function setTreasury(address _treasury) external override onlyThis {
treasury = _treasury;
}
function setTreasuryEarlyWithdrawalFeeShare(
uint256 _treasuryEarlyWithdrawalFeeShare
) external override onlyThis {
require(_treasuryEarlyWithdrawalFeeShare <= 1000000);
treasuryEarlyWithdrawalFeeShare = _treasuryEarlyWithdrawalFeeShare;
}
function setBlocksForNoWithdrawalFee(uint256 _blocksForNoWithdrawalFee)
external
override
onlyThis
{
// max 60 days
require(_blocksForNoWithdrawalFee <= 345600);
blocksForNoWithdrawalFee = _blocksForNoWithdrawalFee;
}
function setEarlyWithdrawalFeePercent(uint256 _earlyWithdrawalFeePercent)
external
override
onlyThis
{
// max 100%
require(_earlyWithdrawalFeePercent <= 1000000);
earlyWithdrawalFeePercent = _earlyWithdrawalFeePercent;
}
function setVotingPeriodBlocks(uint256 _votingPeriodBlocks)
external
override
onlyThis
{
// min 8 hours, max 2 weeks
require(_votingPeriodBlocks >= 1920 && _votingPeriodBlocks <= 80640);
votingPeriodBlocks = _votingPeriodBlocks;
}
function setMinVarenForProposal(uint256 _minVarenForProposal)
external
override
onlyThis
{
// min 0.01 Varen, max 520 Varen (1% of total supply)
require(
_minVarenForProposal >= 1e16 && _minVarenForProposal <= 520 * (1e18)
);
minVarenForProposal = _minVarenForProposal;
}
function setQuorumPercent(uint256 _quorumPercent)
external
override
onlyThis
{
// min 10%, max 33%
require(_quorumPercent >= 100000 && _quorumPercent <= 330000);
quorumPercent = _quorumPercent;
}
function setVoteThresholdPercent(uint256 _voteThresholdPercent)
external
override
onlyThis
{
// min 50%, max 66%
require(
_voteThresholdPercent >= 500000 && _voteThresholdPercent <= 660000
);
voteThresholdPercent = _voteThresholdPercent;
}
function setExecutionPeriodBlocks(uint256 _executionPeriodBlocks)
external
override
onlyThis
{
// min 8 hours, max 30 days
require(
_executionPeriodBlocks >= 1920 && _executionPeriodBlocks <= 172800
);
executionPeriodBlocks = _executionPeriodBlocks;
}
// ERC20 functions (overridden to add modifiers)
function transfer(address recipient, uint256 amount)
public
override
nonReentrant
returns (bool)
{
_updateVoteExpiry();
require(_checkVoteExpiry(msg.sender, amount), "voteLockExpiry");
super.transfer(recipient, amount);
}
function approve(address spender, uint256 amount)
public
override
nonReentrant
returns (bool)
{
super.approve(spender, amount);
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public override nonReentrant returns (bool) {
_updateVoteExpiry();
require(_checkVoteExpiry(sender, amount), "voteLockExpiry");
super.transferFrom(sender, recipient, amount);
}
function increaseAllowance(address spender, uint256 addedValue)
public
override
nonReentrant
returns (bool)
{
super.increaseAllowance(spender, addedValue);
}
function decreaseAllowance(address spender, uint256 subtractedValue)
public
override
nonReentrant
returns (bool)
{
super.decreaseAllowance(spender, subtractedValue);
}
}
/
// 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);
}
}
}
}
/contracts/interfaces/IyVaren.sol
pragma solidity 0.6.6;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IyVaren {
// Event emitted when a new proposal is created
event ProposalCreated(
uint256 id,
address indexed proposer,
address[] targets,
uint256[] values,
string[] signatures,
bytes[] calldatas,
uint256 startBlock,
uint256 endBlock,
string description
);
// Event emitted when a vote has been cast on a proposal
event VoteCast(
address indexed voter,
uint256 proposalId,
bool support,
uint256 votes
);
// Event emitted when a proposal has been executed
// Success=true if all actions were executed successfully
// Success=false if not all actions were executed successfully (executeProposal will not revert)
event ProposalExecuted(uint256 id, bool success);
// Maximum number of actions that can be included in a proposal
function MAX_OPERATIONS() external pure returns (uint256);
// https://etherscan.io/token/0x72377f31e30a405282b522d588aebbea202b4f23
function VAREN() external pure returns (IERC20);
struct Proposal {
// Address that created the proposal
address proposer;
// Number of votes in support of the proposal by a particular address
mapping(address => uint256) forVotes;
// Number of votes against the proposal by a particular address
mapping(address => uint256) againstVotes;
// Total number of votes in support of the proposal
uint256 totalForVotes;
// Total number of votes against the proposal
uint256 totalAgainstVotes;
// Number of votes in support of a proposal required for a quorum to be reached and for a vote to succeed
uint256 quorumVotes;
// Block at which voting ends: votes must be cast prior to this block
uint256 endBlock;
// Ordered list of target addresses for calls to be made on
address[] targets;
// Ordered list of ETH values (i.e. msg.value) to be passed to the calls to be made
uint256[] values;
// Ordered list of function signatures to be called
string[] signatures;
// Ordered list of calldata to be passed to each call
bytes[] calldatas;
// Flag marking whether the proposal has been executed
bool executed;
}
// Number of blocks after staking when the early withdrawal fee stops applying
function blocksForNoWithdrawalFee() external view returns (uint256);
// Fee for withdrawing before blocksForNoWithdrawalFee have passed, divide by 1,000,000 to get decimal form
function earlyWithdrawalFeePercent() external view returns (uint256);
function earlyWithdrawalFeeExpiry(address) external view returns (uint256);
function treasury() external view returns (address);
// Share of early withdrawal fee that goes to treasury (remainder goes to governance),
// divide by 1,000,000 to get decimal form
function treasuryEarlyWithdrawalFeeShare() external view returns (uint256);
// Amount of an address's stake that is locked for voting
function voteLockAmount(address) external view returns (uint256);
// Block number when an address's vote-locked amount will be unlock
function voteLockExpiry(address) external view returns (uint256);
function hasActiveProposal(address) external view returns (bool);
function proposals(uint256 id)
external
view
returns (
address proposer,
uint256 totalForVotes,
uint256 totalAgainstVotes,
uint256 quorumVotes,
uint256 endBlock,
bool executed
);
// Number of proposals created, used as the id for the next proposal
function proposalCount() external view returns (uint256);
// Length of voting period in blocks
function votingPeriodBlocks() external view returns (uint256);
function minVarenForProposal() external view returns (uint256);
// Need to divide by 1,000,000
function quorumPercent() external view returns (uint256);
// Need to divide by 1,000,000
function voteThresholdPercent() external view returns (uint256);
// Number of blocks after voting ends where proposals are allowed to be executed
function executionPeriodBlocks() external view returns (uint256);
function stake(uint256 amount) external;
function withdraw(uint256 shares) external;
function getPricePerFullShare() external view returns (uint256);
function getStakeVarenValue(address staker) external view returns (uint256);
function propose(
address[] calldata targets,
uint256[] calldata values,
string[] calldata signatures,
bytes[] calldata calldatas,
string calldata description
) external returns (uint256 id);
function vote(
uint256 id,
bool support,
uint256 voteAmount
) external;
function executeProposal(uint256 id) external payable;
function getVotes(uint256 proposalId, address voter)
external
view
returns (bool support, uint256 voteAmount);
function getProposalCalls(uint256 proposalId)
external
view
returns (
address[] memory targets,
uint256[] memory values,
string[] memory signatures,
bytes[] memory calldatas
);
function setTreasury(address) external;
function setTreasuryEarlyWithdrawalFeeShare(uint256) external;
function setBlocksForNoWithdrawalFee(uint256) external;
function setEarlyWithdrawalFeePercent(uint256) external;
function setVotingPeriodBlocks(uint256) external;
function setMinVarenForProposal(uint256) external;
function setQuorumPercent(uint256) external;
function setVoteThresholdPercent(uint256) external;
function setExecutionPeriodBlocks(uint256) external;
}
/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
/ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
/**
* @dev Implementation of the {IERC20} 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 {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-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 ERC20 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 {IERC20-approve}.
*/
contract ERC20 is Context, IERC20 {
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 name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-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 virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* 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 virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: 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 {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual 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 {IERC20-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 virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
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), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: 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 virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_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 virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: 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 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 virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal virtual {
_decimals = decimals_;
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
/
// 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.0 <0.8.0;
import "../utils/Context.sol";
/
// 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;
/*
* @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;
}
}
/SafeERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
Compiler Settings
{"remappings":[],"optimizer":{"runs":999999,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"berlin","compilationTarget":{"/Users/kaj/Downloads/yyfl-voting-exploit-master/contracts/yVaren.sol":"yVaren"}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_varen","internalType":"address"},{"type":"address","name":"_treasury","internalType":"address"},{"type":"uint256","name":"_blocksForNoWithdrawalFee","internalType":"uint256"},{"type":"uint256","name":"_votingPeriodBlocks","internalType":"uint256"},{"type":"uint256","name":"_executionPeriodBlocks","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ProposalCreated","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"address","name":"proposer","internalType":"address","indexed":true},{"type":"address[]","name":"targets","internalType":"address[]","indexed":false},{"type":"uint256[]","name":"values","internalType":"uint256[]","indexed":false},{"type":"string[]","name":"signatures","internalType":"string[]","indexed":false},{"type":"bytes[]","name":"calldatas","internalType":"bytes[]","indexed":false},{"type":"uint256","name":"startBlock","internalType":"uint256","indexed":false},{"type":"uint256","name":"endBlock","internalType":"uint256","indexed":false},{"type":"string","name":"description","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"ProposalExecuted","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"bool","name":"success","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"VoteCast","inputs":[{"type":"address","name":"voter","internalType":"address","indexed":true},{"type":"uint256","name":"proposalId","internalType":"uint256","indexed":false},{"type":"bool","name":"support","internalType":"bool","indexed":false},{"type":"uint256","name":"votes","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_OPERATIONS","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"VAREN","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"blocksForNoWithdrawalFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"earlyWithdrawalFeeExpiry","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"earlyWithdrawalFeePercent","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"executeProposal","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"executionPeriodBlocks","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getPricePerFullShare","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"targets","internalType":"address[]"},{"type":"uint256[]","name":"values","internalType":"uint256[]"},{"type":"string[]","name":"signatures","internalType":"string[]"},{"type":"bytes[]","name":"calldatas","internalType":"bytes[]"}],"name":"getProposalCalls","inputs":[{"type":"uint256","name":"proposalId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getStakeVarenValue","inputs":[{"type":"address","name":"staker","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"support","internalType":"bool"},{"type":"uint256","name":"voteAmount","internalType":"uint256"}],"name":"getVotes","inputs":[{"type":"uint256","name":"proposalId","internalType":"uint256"},{"type":"address","name":"voter","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasActiveProposal","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minVarenForProposal","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"proposalCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"proposer","internalType":"address"},{"type":"uint256","name":"totalForVotes","internalType":"uint256"},{"type":"uint256","name":"totalAgainstVotes","internalType":"uint256"},{"type":"uint256","name":"quorumVotes","internalType":"uint256"},{"type":"uint256","name":"endBlock","internalType":"uint256"},{"type":"bool","name":"executed","internalType":"bool"}],"name":"proposals","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"id","internalType":"uint256"}],"name":"propose","inputs":[{"type":"address[]","name":"targets","internalType":"address[]"},{"type":"uint256[]","name":"values","internalType":"uint256[]"},{"type":"string[]","name":"signatures","internalType":"string[]"},{"type":"bytes[]","name":"calldatas","internalType":"bytes[]"},{"type":"string","name":"description","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"quorumPercent","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBlocksForNoWithdrawalFee","inputs":[{"type":"uint256","name":"_blocksForNoWithdrawalFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setEarlyWithdrawalFeePercent","inputs":[{"type":"uint256","name":"_earlyWithdrawalFeePercent","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setExecutionPeriodBlocks","inputs":[{"type":"uint256","name":"_executionPeriodBlocks","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMinVarenForProposal","inputs":[{"type":"uint256","name":"_minVarenForProposal","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setQuorumPercent","inputs":[{"type":"uint256","name":"_quorumPercent","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTreasury","inputs":[{"type":"address","name":"_treasury","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTreasuryEarlyWithdrawalFeeShare","inputs":[{"type":"uint256","name":"_treasuryEarlyWithdrawalFeeShare","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVoteThresholdPercent","inputs":[{"type":"uint256","name":"_voteThresholdPercent","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVotingPeriodBlocks","inputs":[{"type":"uint256","name":"_votingPeriodBlocks","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"stake","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"treasury","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"treasuryEarlyWithdrawalFeeShare","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"vote","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"bool","name":"support","internalType":"bool"},{"type":"uint256","name":"voteAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"voteLockAmount","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"voteLockExpiry","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"voteThresholdPercent","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"votingPeriodBlocks","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"uint256","name":"shares","internalType":"uint256"}]}]
Contract Creation Code
0x60a0604052611388600855620f4240600b5567016345785d8a0000601255620249f06013556207a1206014553480156200003857600080fd5b5060405162004a2538038062004a258339810160408190526200005b91620002d6565b604080518082018252601381527f566172656e205374616b696e67205368617265000000000000000000000000006020808301918252835180850190945260068452653cab30b932b760d11b908401528151919291620000be9160039162000213565b508051620000d490600490602084019062000213565b50506005805460ff191660121790555060016006556001600160a01b038516158015906200010a57506001600160a01b03841615155b620001325760405162461bcd60e51b8152600401620001299062000354565b60405180910390fd5b620001ba856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200017057600080fd5b505afa15801562000185573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ab91906200032a565b6001600160e01b03620001fd16565b60609490941b6001600160601b031916608052600a80546001600160a01b0319166001600160a01b0394909416939093179092556007556011556015556200038b565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025657805160ff191683800117855562000286565b8280016001018555821562000286579182015b828111156200028657825182559160200191906001019062000269565b506200029492915062000298565b5090565b620002b591905b808211156200029457600081556001016200029f565b90565b80516001600160a01b0381168114620002d057600080fd5b92915050565b600080600080600060a08688031215620002ee578081fd5b620002fa8787620002b8565b94506200030b8760208801620002b8565b6040870151606088015160809098015196999198509695945092505050565b6000602082840312156200033c578081fd5b815160ff811681146200034d578182fd5b9392505050565b60208082526014908201527f79566172656e3a205a45524f5f41444452455353000000000000000000000000604082015260600190565b60805160601c614654620003d16000398061105f52806111c3528061122052806114355280611a855280611b455280611ca15280611cde528061230c52506146546000f3fe6080604052600436106102fd5760003560e01c8063797294ac1161018f578063b902421f116100e1578063dabee5541161008a578063f0f4426011610064578063f0f4426014610821578063f81cbd2614610841578063ffafe4ad14610856576102fd565b8063dabee554146107cc578063dd62ed3e146107e1578063e5d5c76a14610801576102fd565b8063d46a5d7e116100bb578063d46a5d7e14610777578063da35c66414610797578063da95691a146107ac576102fd565b8063b902421f1461072d578063bd5e83d014610742578063d3d7c55314610762576102fd565b80639f69053511610143578063a694fc3a1161011d578063a694fc3a146106d8578063a9059cbb146106f8578063b24b7ffd14610718576102fd565b80639f69053514610668578063a388133a14610698578063a457c2d7146106b8576102fd565b806384db62f41161017457806384db62f41461061357806394924e551461063357806395d89b4114610653576102fd565b8063797294ac146105de578063809c84b2146105fe576102fd565b806328a7878b116102535780635dc2803a116101fc5780636d6b086f116101d65780636d6b086f1461058957806370a08231146105a957806377c7b8fc146105c9576102fd565b80635dc2803a1461052457806361d027b314610539578063681973601461055b576102fd565b806338e440841161022d57806338e44084146104cf57806339509351146104e457806357b223ba14610504576102fd565b806328a7878b1461046d5780632e1a7d4d1461048d578063313ce567146104ad576102fd565b80630d61b519116102b55780631a45650e1161028f5780631a45650e1461042357806323b872dd14610438578063253fe18a14610458576102fd565b80630d61b519146103db5780630f2049dd146103ee57806318160ddd1461040e576102fd565b8063089275ff116102e6578063089275ff1461035f578063095ea7b31461038c5780630c9f441f146103b9576102fd565b8063013cf08b1461030257806306fdde031461033d575b600080fd5b34801561030e57600080fd5b5061032261031d366004613885565b610876565b60405161033496959493929190613b7c565b60405180910390f35b34801561034957600080fd5b506103526108c5565b6040516103349190613c25565b34801561036b57600080fd5b5061037f61037a3660046136ed565b61097a565b6040516103349190614426565b34801561039857600080fd5b506103ac6103a7366004613773565b61098c565b6040516103349190613c0a565b3480156103c557600080fd5b506103d96103d4366004613885565b6109ef565b005b6103d96103e9366004613885565b610a3d565b3480156103fa57600080fd5b5061037f6104093660046136ed565b610e75565b34801561041a57600080fd5b5061037f610e87565b34801561042f57600080fd5b5061037f610e8d565b34801561044457600080fd5b506103ac610453366004613733565b610e93565b34801561046457600080fd5b5061037f610f37565b34801561047957600080fd5b506103d9610488366004613885565b610f3d565b34801561049957600080fd5b506103d96104a8366004613885565b610f8b565b3480156104b957600080fd5b506104c2611256565b60405161033491906144d8565b3480156104db57600080fd5b5061037f61125f565b3480156104f057600080fd5b506103ac6104ff366004613773565b611265565b34801561051057600080fd5b506103d961051f366004613885565b6112b3565b34801561053057600080fd5b5061037f61130f565b34801561054557600080fd5b5061054e611314565b6040516103349190613b04565b34801561056757600080fd5b5061057b6105763660046138b5565b611330565b604051610334929190613c15565b34801561059557600080fd5b5061037f6105a43660046136ed565b6113e0565b3480156105b557600080fd5b5061037f6105c43660046136ed565b6113f2565b3480156105d557600080fd5b5061037f61141a565b3480156105ea57600080fd5b506103d96105f9366004613885565b611491565b34801561060a57600080fd5b5061037f6114ee565b34801561061f57600080fd5b506103d961062e366004613885565b6114f4565b34801561063f57600080fd5b506103d961064e366004613885565b611542565b34801561065f57600080fd5b5061035261159e565b34801561067457600080fd5b50610688610683366004613885565b61161d565b6040516103349493929190613bbe565b3480156106a457600080fd5b506103d96106b3366004613885565b611911565b3480156106c457600080fd5b506103ac6106d3366004613773565b61196e565b3480156106e457600080fd5b506103d96106f3366004613885565b6119bc565b34801561070457600080fd5b506103ac610713366004613773565b611ba9565b34801561072457600080fd5b5061037f611c3f565b34801561073957600080fd5b5061037f611c45565b34801561074e57600080fd5b5061037f61075d3660046136ed565b611c4b565b34801561076e57600080fd5b5061054e611cdc565b34801561078357600080fd5b506103d96107923660046138d8565b611d00565b3480156107a357600080fd5b5061037f6120fe565b3480156107b857600080fd5b5061037f6107c736600461379d565b612104565b3480156107d857600080fd5b5061037f61253b565b3480156107ed57600080fd5b5061037f6107fc366004613708565b612541565b34801561080d57600080fd5b506103d961081c366004613885565b612579565b34801561082d57600080fd5b506103d961083c3660046136ed565b6125e0565b34801561084d57600080fd5b5061037f612660565b34801561086257600080fd5b506103ac6108713660046136ed565b612666565b600f60205260009081526040902080546003820154600483015460058401546006850154600b9095015473ffffffffffffffffffffffffffffffffffffffff9094169492939192909160ff1686565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561096f5780601f106109445761010080835404028352916020019161096f565b820191906000526020600020905b81548152906001019060200180831161095257829003601f168201915b505050505090505b90565b600d6020526000908152604090205481565b6000600260065414156109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60405180910390fd5b60026006556109e3838361267b565b50600160065592915050565b333014610a28576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620f4240811115610a3857600080fd5b600b55565b60026006541415610a7a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556000818152600f60205260409020600b81015460ff1615610acc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613c95565b805473ffffffffffffffffffffffffffffffffffffffff16610b1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614211565b8060060154431015610b58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906142b6565b805473ffffffffffffffffffffffffffffffffffffffff166000908152600e6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905560048201546003830154610bbd9163ffffffff61269816565b90508160050154811080610bf45750620f4240610be5601454836126de90919063ffffffff16565b81610bec57fe5b048260030154105b80610c1557506015546006830154610c119163ffffffff61269816565b4310155b15610c21575050610e6d565b5060013460005b6007840154811015610e01576000846008018281548110610c4557fe5b90600052602060002001541115610cc857836008018181548110610c6557fe5b9060005260206000200154821015610ca9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614381565b836008018181548110610cb857fe5b9060005260206000200154820391505b836007018181548110610cd757fe5b60009182526020909120015460088501805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610d0c57fe5b9060005260206000200154856009018381548110610d2657fe5b90600052602060002001604051610d3d9190613af8565b604051809103902086600a018481548110610d5457fe5b90600052602060002001604051602001610d6f929190613aa8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610da791613adc565b60006040518083038185875af1925050503d8060008114610de4576040519150601f19603f3d011682016040523d82523d6000602084013e610de9565b606091505b50508093505082610df957610e01565b600101610c28565b50600b830180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f948f4a9cd986f1118c3fbd459f7a22b23c0693e1ca3ef06a6a8be5aa7d39cc0390610e6190869085906144b2565b60405180910390a15050505b506001600655565b60096020526000908152604090205481565b60025490565b60125481565b600060026006541415610ed2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655610edf612732565b610ee98483612768565b610f1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b610f2a8484846127a5565b5060016006559392505050565b60085481565b333014610f76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620f4240811115610f8657600080fd5b600855565b60026006541415610fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b600260065580611004576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b61100c612732565b6110163382612768565b61104c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b600061111e611059610e87565b611112847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b60206040518083038186803b1580156110ce57600080fd5b505afa1580156110e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611106919061389d565b9063ffffffff6126de16565b9063ffffffff61284c16565b905061112a3383612898565b33600090815260096020526040902054431015611206576000620f424061115c600854846126de90919063ffffffff16565b8161116357fe5b0490506111f2600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f42406111a5600b54856126de90919063ffffffff16565b816111ac57fe5b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169291900463ffffffff6129d416565b611202828263ffffffff612a7a16565b9150505b61124d73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016338363ffffffff6129d416565b50506001600655565b60055460ff1690565b60075481565b6000600260065414156112a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556109e38383612abc565b3330146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b610780811015801561130157506202a3008111155b61130a57600080fd5b601555565b600a81565b600a5473ffffffffffffffffffffffffffffffffffffffff1681565b6000828152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452600101909152812054151590816113a3576000848152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684526002019091529020546113d7565b6000848152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684526001019091529020545b90509250929050565b600c6020526000908152604090205481565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600061148c611427610e87565b611112670de0b6b3a76400007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b905090565b3330146114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620186a081101580156114e05750620509108111155b6114e957600080fd5b601355565b60145481565b33301461152d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6205460081111561153d57600080fd5b600755565b33301461157b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6107808110158015611590575062013b008111155b61159957600080fd5b601155565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561096f5780601f106109445761010080835404028352916020019161096f565b606080606080600f600086815260200190815260200160002060070180548060200260200160405190810160405280929190818152602001828054801561169a57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff16815260019091019060200180831161166f575b50505050509350600f600086815260200190815260200160002060080180548060200260200160405190810160405280929190818152602001828054801561170157602002820191906000526020600020905b8154815260200190600101908083116116ed575b5050506000888152600f6020908152604080832060090180548251818502810185019093528083529699509095909450925084015b828210156117ff5760008481526020908190208301805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156117eb5780601f106117c0576101008083540402835291602001916117eb565b820191906000526020600020905b8154815290600101906020018083116117ce57829003601f168201915b505050505081526020019060010190611736565b505050509150600f6000868152602001908152602001600020600a01805480602002602001604051908101604052809291908181526020016000905b828210156119045760008481526020908190208301805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156118f05780601f106118c5576101008083540402835291602001916118f0565b820191906000526020600020905b8154815290600101906020018083116118d357829003601f168201915b50505050508152602001906001019061183b565b5050505090509193509193565b33301461194a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6207a12081101580156119605750620a12208111155b61196957600080fd5b601455565b6000600260065414156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556109e38383612b1d565b600260065414156119f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b600260065580611a35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b6000611a3f610e87565b15611b27576040517f70a08231000000000000000000000000000000000000000000000000000000008152611b229073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190611aba903090600401613b04565b60206040518083038186803b158015611ad257600080fd5b505afa158015611ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0a919061389d565b611112611b15610e87565b859063ffffffff6126de16565b611b29565b815b9050611b7373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633308563ffffffff612b9816565b611b7d3382612bbf565b600754611b90904363ffffffff61269816565b3360009081526009602052604090205550506001600655565b600060026006541415611be8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655611bf5612732565b611bff3383612768565b611c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b6109e38383612cc0565b60115481565b600b5481565b6000611cd6611c58610e87565b611112611c64856113f2565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a08231906110b6903090600401613b04565b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60026006541415611d3d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556000838152600f60205260409020805473ffffffffffffffffffffffffffffffffffffffff16611d9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614211565b80600601544310611ddb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613ebf565b60008211611e15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b611e1e336113f2565b821115611e57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613ef6565b611e5f612732565b336000908152600c6020526040902054821015611ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906143b8565b828015611ec5575033600090815260018201602052604090205482145b80611ee9575082158015611ee9575033600090815260028201602052604090205482145b15611f20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613d4f565b336000908152600c6020526040902054821115611f4a57336000908152600c602052604090208290555b336000908152600d6020526040902054600682015411611f7957336000908152600d6020526040902054611f7f565b80600601545b336000908152600d60205260409020558215612023573360009081526001820160205260409020546003820154611fcd9190611fc1908563ffffffff61269816565b9063ffffffff612a7a16565b600382015533600090815260018201602090815260408083208590556002840190915290205460048201546120079163ffffffff612a7a16565b60048201553360009081526002820160205260408120556120a1565b336000908152600282016020526040902054600482015461204f9190611fc1908563ffffffff61269816565b600482015533600090815260028201602090815260408083208590556001840190915290205460038201546120899163ffffffff612a7a16565b60038201553360009081526001820160205260408120555b3373ffffffffffffffffffffffffffffffffffffffff167f877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c468585856040516120eb939291906144c2565b60405180910390a2505060016006555050565b60105481565b600060026006541415612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655336000908152600e602052604090205460ff1615612192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614248565b845186511480156121a4575083518651145b80156121b1575082518651145b6121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613d86565b855161221f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061401e565b600a8651111561225b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614120565b601254612275612269610e87565b611112611c64336113f2565b10156122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f2d565b6011546000906122c3904363ffffffff61269816565b905060105491506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001620f42406123636013547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b8161236a57fe5b048152602080820184905260408083018b905260608084018b905260808085018b905260a08086018b9052600060c0909601869052888652600f855294839020865181547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909116178155868501516003820155928601516004840155908501516005830155840151600682015591830151805161242492600785019201906131eb565b5060c08201518051612440916008840191602090910190613275565b5060e0820151805161245c9160098401916020909101906132bc565b50610100820151805161247991600a840191602090910190613315565b506101209190910151600b90910180549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00928316179055336000908152600e60205260409020805490911660019081179091556010546124e19163ffffffff61269816565b60105560405133907f7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0906125249085908b908b908b908b9043908a908d9061442f565b60405180910390a250600160065595945050505050565b60155481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3330146125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b662386f26fc1000081101580156125d25750681c30731cec032000008111155b6125db57600080fd5b601255565b333014612619576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60135481565b600e6020526000908152604090205460ff1681565b600061268f612688612cd4565b8484612cd8565b50600192915050565b6000828201838110156126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613dbd565b9392505050565b6000826126ed57506000611cd6565b828202828482816126fa57fe5b04146126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613fc1565b336000908152600d6020526040902054431061276657336000908152600d60209081526040808320839055600c9091528120555b565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c602052604081205461279b90611fc1856113f2565b9091111592915050565b60006127b2848484612de7565b612842846127be612cd4565b61283d856040518060600160405280602881526020016145d26028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090612809612cd4565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff612f7d16565b612cd8565b5060019392505050565b6000808211612887576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613e88565b81838161289057fe5b049392505050565b73ffffffffffffffffffffffffffffffffffffffff82166128e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906140c3565b6128f182600083612a75565b6129418160405180606001604052806022815260200161458a6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919063ffffffff612f7d16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205560025461297a908263ffffffff612a7a16565b60025560405160009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906129c8908590614426565b60405180910390a35050565b612a758363a9059cbb60e01b84846040516024016129f3929190613b56565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612fc3565b505050565b600082821115612ab6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613df4565b50900390565b600061268f612ac9612cd4565b8461283d8560016000612ada612cd4565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61269816565b600061268f612b2a612cd4565b8461283d856040518060600160405280602581526020016145fa6025913960016000612b54612cd4565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff612f7d16565b612bb9846323b872dd60e01b8585856040516024016129f393929190613b25565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216612c0c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906143ef565b612c1860008383612a75565b600254612c2b908263ffffffff61269816565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612c64908263ffffffff61269816565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906129c8908590614426565b600061268f612ccd612cd4565b8484612de7565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316612d25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906141b4565b73ffffffffffffffffffffffffffffffffffffffff8216612d72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613cf2565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612dda908590614426565b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316612e34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614157565b73ffffffffffffffffffffffffffffffffffffffff8216612e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613c38565b612e8c838383612a75565b612edc816040518060600160405280602681526020016145ac6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff612f7d16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612f1e908263ffffffff61269816565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612dda908590614426565b60008184841115612fbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9190613c25565b505050900390565b6060613025826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130799092919063ffffffff16565b805190915015612a7557808060200190518101906130439190613869565b612a75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906142ed565b60606130888484600085613090565b949350505050565b6060824710156130cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613e2b565b6130d585613192565b61310b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061427f565b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040516131359190613adc565b60006040518083038185875af1925050503d8060008114613172576040519150601f19603f3d011682016040523d82523d6000602084013e613177565b606091505b5091509150613187828286613198565b979650505050505050565b3b151590565b606083156131a75750816126d7565b8251156131b75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9190613c25565b828054828255906000526020600020908101928215613265579160200282015b8281111561326557825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061320b565b5061327192915061336e565b5090565b8280548282559060005260206000209081019282156132b0579160200282015b828111156132b0578251825591602001919060010190613295565b506132719291506133aa565b828054828255906000526020600020908101928215613309579160200282015b8281111561330957825180516132f99184916020909101906133c4565b50916020019190600101906132dc565b50613271929150613431565b828054828255906000526020600020908101928215613362579160200282015b8281111561336257825180516133529184916020909101906133c4565b5091602001919060010190613335565b50613271929150613454565b61097791905b808211156132715780547fffffffffffffffffffffffff0000000000000000000000000000000000000000168155600101613374565b61097791905b8082111561327157600081556001016133b0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061340557805160ff19168380011785556132b0565b828001600101855582156132b057918201828111156132b0578251825591602001919060010190613295565b61097791905b8082111561327157600061344b8282613477565b50600101613437565b61097791905b8082111561327157600061346e8282613477565b5060010161345a565b50805460018160011615610100020316600290046000825580601f1061349d57506134bb565b601f0160209004906000526020600020908101906134bb91906133aa565b50565b803573ffffffffffffffffffffffffffffffffffffffff81168114611cd657600080fd5b600082601f8301126134f2578081fd5b81356135056135008261450d565b6144e6565b81815291506020808301908481018184028601820187101561352657600080fd5b60005b8481101561354d5761353b88836134be565b84529282019290820190600101613529565b505050505092915050565b600082601f830112613568578081fd5b81356135766135008261450d565b818152915060208083019084810160005b8481101561354d5761359e888484358a0101613666565b84529282019290820190600101613587565b600082601f8301126135c0578081fd5b81356135ce6135008261450d565b818152915060208083019084810160005b8481101561354d576135f6888484358a0101613666565b845292820192908201906001016135df565b600082601f830112613618578081fd5b81356136266135008261450d565b81815291506020808301908481018184028601820187101561364757600080fd5b60005b8481101561354d5781358452928201929082019060010161364a565b600082601f830112613676578081fd5b813567ffffffffffffffff81111561368c578182fd5b6136bd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016144e6565b91508082528360208285010111156136d457600080fd5b8060208401602084013760009082016020015292915050565b6000602082840312156136fe578081fd5b6126d783836134be565b6000806040838503121561371a578081fd5b61372484846134be565b91506113d784602085016134be565b600080600060608486031215613747578081fd5b833561375281614559565b9250602084013561376281614559565b929592945050506040919091013590565b60008060408385031215613785578182fd5b61378f84846134be565b946020939093013593505050565b600080600080600060a086880312156137b4578081fd5b853567ffffffffffffffff808211156137cb578283fd5b6137d789838a016134e2565b965060208801359150808211156137ec578283fd5b6137f889838a01613608565b9550604088013591508082111561380d578283fd5b61381989838a016135b0565b9450606088013591508082111561382e578283fd5b61383a89838a01613558565b9350608088013591508082111561384f578283fd5b5061385c88828901613666565b9150509295509295909350565b60006020828403121561387a578081fd5b81516126d78161457b565b600060208284031215613896578081fd5b5035919050565b6000602082840312156138ae578081fd5b5051919050565b600080604083850312156138c7578182fd5b823591506113d784602085016134be565b6000806000606084860312156138ec578081fd5b8335925060208401356137628161457b565b6000815180845260208085019450808401835b8381101561394357815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101613911565b509495945050505050565b6000815180845260208085018081965082840281019150828601855b858110156139945782840389526139828483516139d0565b9885019893509084019060010161396a565b5091979650505050505050565b6000815180845260208085019450808401835b83811015613943578151875295820195908201906001016139b4565b600081518084526139e881602086016020860161452d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008154600180821660008114613a385760018114613a6d57613a9f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f600284041686019350613a9f565b600283048560005260208060002060005b83811015613a975781548a820152908501908201613a7e565b505050860193505b50505092915050565b60007fffffffff00000000000000000000000000000000000000000000000000000000841682526130886004830184613a1a565b60008251613aee81846020870161452d565b9190910192915050565b60006126d78284613a1a565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9690961686526020860194909452604085019290925260608401526080830152151560a082015260c00190565b600060808252613bd160808301876138fe565b8281036020840152613be381876139a1565b8381036040850152613bf5818761394e565b9150508281036060840152613187818561394e565b901515815260200190565b9115158252602082015260400190565b6000602082526126d760208301846139d0565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f79566172656e3a2050524f504f53414c5f414c52454144595f4558454355544560408201527f4400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f79566172656e3a2053414d455f564f5445000000000000000000000000000000604082015260600190565b60208082526017908201527f79566172656e3a205041524954595f4d49534d41544348000000000000000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526014908201527f79566172656e3a20564f54494e475f454e444544000000000000000000000000604082015260600190565b6020808252601c908201527f79566172656e3a20494e53554646494349454e545f42414c414e434500000000604082015260600190565b60208082526027908201527f79566172656e3a20494e53554646494349454e545f564152454e5f464f525f5060408201527f524f504f53414c00000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f79566172656e3a20464f5242494444454e000000000000000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f79566172656e3a204e4f5f414354494f4e530000000000000000000000000000604082015260600190565b6020808252600c908201527f79566172656e3a205a45524f0000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f766f74654c6f636b457870697279000000000000000000000000000000000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f79566172656e3a20544f4f5f4d414e595f414354494f4e530000000000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f79566172656e3a20494e56414c49445f50524f504f53414c5f49440000000000604082015260600190565b6020808252601b908201527f79566172656e3a204841535f4143544956455f50524f504f53414c0000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601a908201527f79566172656e3a2050524f504f53414c5f494e5f564f54494e47000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526018908201527f79566172656e3a20494e53554646494349454e545f4554480000000000000000604082015260600190565b60208082526014908201527f79566172656e3a20534d414c4c45525f564f5445000000000000000000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60006101008a83528060208401526144498184018b6138fe565b838103604085015261445b818b6139a1565b9150508281036060840152614470818961394e565b8381036080850152614482818961394e565b9150508560a08401528460c084015282810360e08401526144a381856139d0565b9b9a5050505050505050505050565b9182521515602082015260400190565b9283529015156020830152604082015260600190565b60ff91909116815260200190565b60405181810167ffffffffffffffff8111828210171561450557600080fd5b604052919050565b600067ffffffffffffffff821115614523578081fd5b5060209081020190565b60005b83811015614548578181015183820152602001614530565b83811115612bb95750506000910152565b73ffffffffffffffffffffffffffffffffffffffff811681146134bb57600080fd5b80151581146134bb57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b085357de35be695a5b825968edea4779ae2eab9411b633f2e4b4c13842a068164736f6c6343000606003300000000000000000000000072377f31e30a405282b522d588aebbea202b4f23000000000000000000000000e69a81b96fbf5cb6cae95d2ce5323eff2ba0eae40000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000000000000004a380000000000000000000000000000000000000000000000000000000000001b58
Deployed ByteCode
0x6080604052600436106102fd5760003560e01c8063797294ac1161018f578063b902421f116100e1578063dabee5541161008a578063f0f4426011610064578063f0f4426014610821578063f81cbd2614610841578063ffafe4ad14610856576102fd565b8063dabee554146107cc578063dd62ed3e146107e1578063e5d5c76a14610801576102fd565b8063d46a5d7e116100bb578063d46a5d7e14610777578063da35c66414610797578063da95691a146107ac576102fd565b8063b902421f1461072d578063bd5e83d014610742578063d3d7c55314610762576102fd565b80639f69053511610143578063a694fc3a1161011d578063a694fc3a146106d8578063a9059cbb146106f8578063b24b7ffd14610718576102fd565b80639f69053514610668578063a388133a14610698578063a457c2d7146106b8576102fd565b806384db62f41161017457806384db62f41461061357806394924e551461063357806395d89b4114610653576102fd565b8063797294ac146105de578063809c84b2146105fe576102fd565b806328a7878b116102535780635dc2803a116101fc5780636d6b086f116101d65780636d6b086f1461058957806370a08231146105a957806377c7b8fc146105c9576102fd565b80635dc2803a1461052457806361d027b314610539578063681973601461055b576102fd565b806338e440841161022d57806338e44084146104cf57806339509351146104e457806357b223ba14610504576102fd565b806328a7878b1461046d5780632e1a7d4d1461048d578063313ce567146104ad576102fd565b80630d61b519116102b55780631a45650e1161028f5780631a45650e1461042357806323b872dd14610438578063253fe18a14610458576102fd565b80630d61b519146103db5780630f2049dd146103ee57806318160ddd1461040e576102fd565b8063089275ff116102e6578063089275ff1461035f578063095ea7b31461038c5780630c9f441f146103b9576102fd565b8063013cf08b1461030257806306fdde031461033d575b600080fd5b34801561030e57600080fd5b5061032261031d366004613885565b610876565b60405161033496959493929190613b7c565b60405180910390f35b34801561034957600080fd5b506103526108c5565b6040516103349190613c25565b34801561036b57600080fd5b5061037f61037a3660046136ed565b61097a565b6040516103349190614426565b34801561039857600080fd5b506103ac6103a7366004613773565b61098c565b6040516103349190613c0a565b3480156103c557600080fd5b506103d96103d4366004613885565b6109ef565b005b6103d96103e9366004613885565b610a3d565b3480156103fa57600080fd5b5061037f6104093660046136ed565b610e75565b34801561041a57600080fd5b5061037f610e87565b34801561042f57600080fd5b5061037f610e8d565b34801561044457600080fd5b506103ac610453366004613733565b610e93565b34801561046457600080fd5b5061037f610f37565b34801561047957600080fd5b506103d9610488366004613885565b610f3d565b34801561049957600080fd5b506103d96104a8366004613885565b610f8b565b3480156104b957600080fd5b506104c2611256565b60405161033491906144d8565b3480156104db57600080fd5b5061037f61125f565b3480156104f057600080fd5b506103ac6104ff366004613773565b611265565b34801561051057600080fd5b506103d961051f366004613885565b6112b3565b34801561053057600080fd5b5061037f61130f565b34801561054557600080fd5b5061054e611314565b6040516103349190613b04565b34801561056757600080fd5b5061057b6105763660046138b5565b611330565b604051610334929190613c15565b34801561059557600080fd5b5061037f6105a43660046136ed565b6113e0565b3480156105b557600080fd5b5061037f6105c43660046136ed565b6113f2565b3480156105d557600080fd5b5061037f61141a565b3480156105ea57600080fd5b506103d96105f9366004613885565b611491565b34801561060a57600080fd5b5061037f6114ee565b34801561061f57600080fd5b506103d961062e366004613885565b6114f4565b34801561063f57600080fd5b506103d961064e366004613885565b611542565b34801561065f57600080fd5b5061035261159e565b34801561067457600080fd5b50610688610683366004613885565b61161d565b6040516103349493929190613bbe565b3480156106a457600080fd5b506103d96106b3366004613885565b611911565b3480156106c457600080fd5b506103ac6106d3366004613773565b61196e565b3480156106e457600080fd5b506103d96106f3366004613885565b6119bc565b34801561070457600080fd5b506103ac610713366004613773565b611ba9565b34801561072457600080fd5b5061037f611c3f565b34801561073957600080fd5b5061037f611c45565b34801561074e57600080fd5b5061037f61075d3660046136ed565b611c4b565b34801561076e57600080fd5b5061054e611cdc565b34801561078357600080fd5b506103d96107923660046138d8565b611d00565b3480156107a357600080fd5b5061037f6120fe565b3480156107b857600080fd5b5061037f6107c736600461379d565b612104565b3480156107d857600080fd5b5061037f61253b565b3480156107ed57600080fd5b5061037f6107fc366004613708565b612541565b34801561080d57600080fd5b506103d961081c366004613885565b612579565b34801561082d57600080fd5b506103d961083c3660046136ed565b6125e0565b34801561084d57600080fd5b5061037f612660565b34801561086257600080fd5b506103ac6108713660046136ed565b612666565b600f60205260009081526040902080546003820154600483015460058401546006850154600b9095015473ffffffffffffffffffffffffffffffffffffffff9094169492939192909160ff1686565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561096f5780601f106109445761010080835404028352916020019161096f565b820191906000526020600020905b81548152906001019060200180831161095257829003601f168201915b505050505090505b90565b600d6020526000908152604090205481565b6000600260065414156109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60405180910390fd5b60026006556109e3838361267b565b50600160065592915050565b333014610a28576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620f4240811115610a3857600080fd5b600b55565b60026006541415610a7a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556000818152600f60205260409020600b81015460ff1615610acc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613c95565b805473ffffffffffffffffffffffffffffffffffffffff16610b1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614211565b8060060154431015610b58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906142b6565b805473ffffffffffffffffffffffffffffffffffffffff166000908152600e6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905560048201546003830154610bbd9163ffffffff61269816565b90508160050154811080610bf45750620f4240610be5601454836126de90919063ffffffff16565b81610bec57fe5b048260030154105b80610c1557506015546006830154610c119163ffffffff61269816565b4310155b15610c21575050610e6d565b5060013460005b6007840154811015610e01576000846008018281548110610c4557fe5b90600052602060002001541115610cc857836008018181548110610c6557fe5b9060005260206000200154821015610ca9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614381565b836008018181548110610cb857fe5b9060005260206000200154820391505b836007018181548110610cd757fe5b60009182526020909120015460088501805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610d0c57fe5b9060005260206000200154856009018381548110610d2657fe5b90600052602060002001604051610d3d9190613af8565b604051809103902086600a018481548110610d5457fe5b90600052602060002001604051602001610d6f929190613aa8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610da791613adc565b60006040518083038185875af1925050503d8060008114610de4576040519150601f19603f3d011682016040523d82523d6000602084013e610de9565b606091505b50508093505082610df957610e01565b600101610c28565b50600b830180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f948f4a9cd986f1118c3fbd459f7a22b23c0693e1ca3ef06a6a8be5aa7d39cc0390610e6190869085906144b2565b60405180910390a15050505b506001600655565b60096020526000908152604090205481565b60025490565b60125481565b600060026006541415610ed2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655610edf612732565b610ee98483612768565b610f1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b610f2a8484846127a5565b5060016006559392505050565b60085481565b333014610f76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620f4240811115610f8657600080fd5b600855565b60026006541415610fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b600260065580611004576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b61100c612732565b6110163382612768565b61104c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b600061111e611059610e87565b611112847f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b60206040518083038186803b1580156110ce57600080fd5b505afa1580156110e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611106919061389d565b9063ffffffff6126de16565b9063ffffffff61284c16565b905061112a3383612898565b33600090815260096020526040902054431015611206576000620f424061115c600854846126de90919063ffffffff16565b8161116357fe5b0490506111f2600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f42406111a5600b54856126de90919063ffffffff16565b816111ac57fe5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f23169291900463ffffffff6129d416565b611202828263ffffffff612a7a16565b9150505b61124d73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2316338363ffffffff6129d416565b50506001600655565b60055460ff1690565b60075481565b6000600260065414156112a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556109e38383612abc565b3330146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b610780811015801561130157506202a3008111155b61130a57600080fd5b601555565b600a81565b600a5473ffffffffffffffffffffffffffffffffffffffff1681565b6000828152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452600101909152812054151590816113a3576000848152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684526002019091529020546113d7565b6000848152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684526001019091529020545b90509250929050565b600c6020526000908152604090205481565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600061148c611427610e87565b611112670de0b6b3a76400007f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b905090565b3330146114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b620186a081101580156114e05750620509108111155b6114e957600080fd5b601355565b60145481565b33301461152d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6205460081111561153d57600080fd5b600755565b33301461157b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6107808110158015611590575062013b008111155b61159957600080fd5b601155565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561096f5780601f106109445761010080835404028352916020019161096f565b606080606080600f600086815260200190815260200160002060070180548060200260200160405190810160405280929190818152602001828054801561169a57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff16815260019091019060200180831161166f575b50505050509350600f600086815260200190815260200160002060080180548060200260200160405190810160405280929190818152602001828054801561170157602002820191906000526020600020905b8154815260200190600101908083116116ed575b5050506000888152600f6020908152604080832060090180548251818502810185019093528083529699509095909450925084015b828210156117ff5760008481526020908190208301805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156117eb5780601f106117c0576101008083540402835291602001916117eb565b820191906000526020600020905b8154815290600101906020018083116117ce57829003601f168201915b505050505081526020019060010190611736565b505050509150600f6000868152602001908152602001600020600a01805480602002602001604051908101604052809291908181526020016000905b828210156119045760008481526020908190208301805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156118f05780601f106118c5576101008083540402835291602001916118f0565b820191906000526020600020905b8154815290600101906020018083116118d357829003601f168201915b50505050508152602001906001019061183b565b5050505090509193509193565b33301461194a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b6207a12081101580156119605750620a12208111155b61196957600080fd5b601455565b6000600260065414156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556109e38383612b1d565b600260065414156119f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b600260065580611a35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b6000611a3f610e87565b15611b27576040517f70a08231000000000000000000000000000000000000000000000000000000008152611b229073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2316906370a0823190611aba903090600401613b04565b60206040518083038186803b158015611ad257600080fd5b505afa158015611ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0a919061389d565b611112611b15610e87565b859063ffffffff6126de16565b611b29565b815b9050611b7373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f231633308563ffffffff612b9816565b611b7d3382612bbf565b600754611b90904363ffffffff61269816565b3360009081526009602052604090205550506001600655565b600060026006541415611be8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655611bf5612732565b611bff3383612768565b611c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061408c565b6109e38383612cc0565b60115481565b600b5481565b6000611cd6611c58610e87565b611112611c64856113f2565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2316906370a08231906110b6903090600401613b04565b92915050565b7f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2381565b60026006541415611d3d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b60026006556000838152600f60205260409020805473ffffffffffffffffffffffffffffffffffffffff16611d9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614211565b80600601544310611ddb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613ebf565b60008211611e15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614055565b611e1e336113f2565b821115611e57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613ef6565b611e5f612732565b336000908152600c6020526040902054821015611ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906143b8565b828015611ec5575033600090815260018201602052604090205482145b80611ee9575082158015611ee9575033600090815260028201602052604090205482145b15611f20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613d4f565b336000908152600c6020526040902054821115611f4a57336000908152600c602052604090208290555b336000908152600d6020526040902054600682015411611f7957336000908152600d6020526040902054611f7f565b80600601545b336000908152600d60205260409020558215612023573360009081526001820160205260409020546003820154611fcd9190611fc1908563ffffffff61269816565b9063ffffffff612a7a16565b600382015533600090815260018201602090815260408083208590556002840190915290205460048201546120079163ffffffff612a7a16565b60048201553360009081526002820160205260408120556120a1565b336000908152600282016020526040902054600482015461204f9190611fc1908563ffffffff61269816565b600482015533600090815260028201602090815260408083208590556001840190915290205460038201546120899163ffffffff612a7a16565b60038201553360009081526001820160205260408120555b3373ffffffffffffffffffffffffffffffffffffffff167f877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c468585856040516120eb939291906144c2565b60405180910390a2505060016006555050565b60105481565b600060026006541415612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061434a565b6002600655336000908152600e602052604090205460ff1615612192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614248565b845186511480156121a4575083518651145b80156121b1575082518651145b6121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613d86565b855161221f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061401e565b600a8651111561225b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614120565b601254612275612269610e87565b611112611c64336113f2565b10156122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f2d565b6011546000906122c3904363ffffffff61269816565b905060105491506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001620f42406123636013547f00000000000000000000000072377f31e30a405282b522d588aebbea202b4f2373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110b69190613b04565b8161236a57fe5b048152602080820184905260408083018b905260608084018b905260808085018b905260a08086018b9052600060c0909601869052888652600f855294839020865181547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909116178155868501516003820155928601516004840155908501516005830155840151600682015591830151805161242492600785019201906131eb565b5060c08201518051612440916008840191602090910190613275565b5060e0820151805161245c9160098401916020909101906132bc565b50610100820151805161247991600a840191602090910190613315565b506101209190910151600b90910180549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00928316179055336000908152600e60205260409020805490911660019081179091556010546124e19163ffffffff61269816565b60105560405133907f7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0906125249085908b908b908b908b9043908a908d9061442f565b60405180910390a250600160065595945050505050565b60155481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3330146125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b662386f26fc1000081101580156125d25750681c30731cec032000008111155b6125db57600080fd5b601255565b333014612619576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613f8a565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60135481565b600e6020526000908152604090205460ff1681565b600061268f612688612cd4565b8484612cd8565b50600192915050565b6000828201838110156126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613dbd565b9392505050565b6000826126ed57506000611cd6565b828202828482816126fa57fe5b04146126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613fc1565b336000908152600d6020526040902054431061276657336000908152600d60209081526040808320839055600c9091528120555b565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c602052604081205461279b90611fc1856113f2565b9091111592915050565b60006127b2848484612de7565b612842846127be612cd4565b61283d856040518060600160405280602881526020016145d26028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090612809612cd4565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff612f7d16565b612cd8565b5060019392505050565b6000808211612887576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613e88565b81838161289057fe5b049392505050565b73ffffffffffffffffffffffffffffffffffffffff82166128e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906140c3565b6128f182600083612a75565b6129418160405180606001604052806022815260200161458a6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919063ffffffff612f7d16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205560025461297a908263ffffffff612a7a16565b60025560405160009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906129c8908590614426565b60405180910390a35050565b612a758363a9059cbb60e01b84846040516024016129f3929190613b56565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612fc3565b505050565b600082821115612ab6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613df4565b50900390565b600061268f612ac9612cd4565b8461283d8560016000612ada612cd4565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61269816565b600061268f612b2a612cd4565b8461283d856040518060600160405280602581526020016145fa6025913960016000612b54612cd4565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff612f7d16565b612bb9846323b872dd60e01b8585856040516024016129f393929190613b25565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216612c0c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906143ef565b612c1860008383612a75565b600254612c2b908263ffffffff61269816565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612c64908263ffffffff61269816565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906129c8908590614426565b600061268f612ccd612cd4565b8484612de7565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316612d25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906141b4565b73ffffffffffffffffffffffffffffffffffffffff8216612d72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613cf2565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612dda908590614426565b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316612e34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614157565b73ffffffffffffffffffffffffffffffffffffffff8216612e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613c38565b612e8c838383612a75565b612edc816040518060600160405280602681526020016145ac6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff612f7d16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612f1e908263ffffffff61269816565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612dda908590614426565b60008184841115612fbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9190613c25565b505050900390565b6060613025826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130799092919063ffffffff16565b805190915015612a7557808060200190518101906130439190613869565b612a75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb906142ed565b60606130888484600085613090565b949350505050565b6060824710156130cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90613e2b565b6130d585613192565b61310b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061427f565b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040516131359190613adc565b60006040518083038185875af1925050503d8060008114613172576040519150601f19603f3d011682016040523d82523d6000602084013e613177565b606091505b5091509150613187828286613198565b979650505050505050565b3b151590565b606083156131a75750816126d7565b8251156131b75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9190613c25565b828054828255906000526020600020908101928215613265579160200282015b8281111561326557825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061320b565b5061327192915061336e565b5090565b8280548282559060005260206000209081019282156132b0579160200282015b828111156132b0578251825591602001919060010190613295565b506132719291506133aa565b828054828255906000526020600020908101928215613309579160200282015b8281111561330957825180516132f99184916020909101906133c4565b50916020019190600101906132dc565b50613271929150613431565b828054828255906000526020600020908101928215613362579160200282015b8281111561336257825180516133529184916020909101906133c4565b5091602001919060010190613335565b50613271929150613454565b61097791905b808211156132715780547fffffffffffffffffffffffff0000000000000000000000000000000000000000168155600101613374565b61097791905b8082111561327157600081556001016133b0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061340557805160ff19168380011785556132b0565b828001600101855582156132b057918201828111156132b0578251825591602001919060010190613295565b61097791905b8082111561327157600061344b8282613477565b50600101613437565b61097791905b8082111561327157600061346e8282613477565b5060010161345a565b50805460018160011615610100020316600290046000825580601f1061349d57506134bb565b601f0160209004906000526020600020908101906134bb91906133aa565b50565b803573ffffffffffffffffffffffffffffffffffffffff81168114611cd657600080fd5b600082601f8301126134f2578081fd5b81356135056135008261450d565b6144e6565b81815291506020808301908481018184028601820187101561352657600080fd5b60005b8481101561354d5761353b88836134be565b84529282019290820190600101613529565b505050505092915050565b600082601f830112613568578081fd5b81356135766135008261450d565b818152915060208083019084810160005b8481101561354d5761359e888484358a0101613666565b84529282019290820190600101613587565b600082601f8301126135c0578081fd5b81356135ce6135008261450d565b818152915060208083019084810160005b8481101561354d576135f6888484358a0101613666565b845292820192908201906001016135df565b600082601f830112613618578081fd5b81356136266135008261450d565b81815291506020808301908481018184028601820187101561364757600080fd5b60005b8481101561354d5781358452928201929082019060010161364a565b600082601f830112613676578081fd5b813567ffffffffffffffff81111561368c578182fd5b6136bd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016144e6565b91508082528360208285010111156136d457600080fd5b8060208401602084013760009082016020015292915050565b6000602082840312156136fe578081fd5b6126d783836134be565b6000806040838503121561371a578081fd5b61372484846134be565b91506113d784602085016134be565b600080600060608486031215613747578081fd5b833561375281614559565b9250602084013561376281614559565b929592945050506040919091013590565b60008060408385031215613785578182fd5b61378f84846134be565b946020939093013593505050565b600080600080600060a086880312156137b4578081fd5b853567ffffffffffffffff808211156137cb578283fd5b6137d789838a016134e2565b965060208801359150808211156137ec578283fd5b6137f889838a01613608565b9550604088013591508082111561380d578283fd5b61381989838a016135b0565b9450606088013591508082111561382e578283fd5b61383a89838a01613558565b9350608088013591508082111561384f578283fd5b5061385c88828901613666565b9150509295509295909350565b60006020828403121561387a578081fd5b81516126d78161457b565b600060208284031215613896578081fd5b5035919050565b6000602082840312156138ae578081fd5b5051919050565b600080604083850312156138c7578182fd5b823591506113d784602085016134be565b6000806000606084860312156138ec578081fd5b8335925060208401356137628161457b565b6000815180845260208085019450808401835b8381101561394357815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101613911565b509495945050505050565b6000815180845260208085018081965082840281019150828601855b858110156139945782840389526139828483516139d0565b9885019893509084019060010161396a565b5091979650505050505050565b6000815180845260208085019450808401835b83811015613943578151875295820195908201906001016139b4565b600081518084526139e881602086016020860161452d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008154600180821660008114613a385760018114613a6d57613a9f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f600284041686019350613a9f565b600283048560005260208060002060005b83811015613a975781548a820152908501908201613a7e565b505050860193505b50505092915050565b60007fffffffff00000000000000000000000000000000000000000000000000000000841682526130886004830184613a1a565b60008251613aee81846020870161452d565b9190910192915050565b60006126d78284613a1a565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9690961686526020860194909452604085019290925260608401526080830152151560a082015260c00190565b600060808252613bd160808301876138fe565b8281036020840152613be381876139a1565b8381036040850152613bf5818761394e565b9150508281036060840152613187818561394e565b901515815260200190565b9115158252602082015260400190565b6000602082526126d760208301846139d0565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f79566172656e3a2050524f504f53414c5f414c52454144595f4558454355544560408201527f4400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f79566172656e3a2053414d455f564f5445000000000000000000000000000000604082015260600190565b60208082526017908201527f79566172656e3a205041524954595f4d49534d41544348000000000000000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526014908201527f79566172656e3a20564f54494e475f454e444544000000000000000000000000604082015260600190565b6020808252601c908201527f79566172656e3a20494e53554646494349454e545f42414c414e434500000000604082015260600190565b60208082526027908201527f79566172656e3a20494e53554646494349454e545f564152454e5f464f525f5060408201527f524f504f53414c00000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f79566172656e3a20464f5242494444454e000000000000000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f79566172656e3a204e4f5f414354494f4e530000000000000000000000000000604082015260600190565b6020808252600c908201527f79566172656e3a205a45524f0000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f766f74654c6f636b457870697279000000000000000000000000000000000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f79566172656e3a20544f4f5f4d414e595f414354494f4e530000000000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f79566172656e3a20494e56414c49445f50524f504f53414c5f49440000000000604082015260600190565b6020808252601b908201527f79566172656e3a204841535f4143544956455f50524f504f53414c0000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601a908201527f79566172656e3a2050524f504f53414c5f494e5f564f54494e47000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526018908201527f79566172656e3a20494e53554646494349454e545f4554480000000000000000604082015260600190565b60208082526014908201527f79566172656e3a20534d414c4c45525f564f5445000000000000000000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60006101008a83528060208401526144498184018b6138fe565b838103604085015261445b818b6139a1565b9150508281036060840152614470818961394e565b8381036080850152614482818961394e565b9150508560a08401528460c084015282810360e08401526144a381856139d0565b9b9a5050505050505050505050565b9182521515602082015260400190565b9283529015156020830152604082015260600190565b60ff91909116815260200190565b60405181810167ffffffffffffffff8111828210171561450557600080fd5b604052919050565b600067ffffffffffffffff821115614523578081fd5b5060209081020190565b60005b83811015614548578181015183820152602001614530565b83811115612bb95750506000910152565b73ffffffffffffffffffffffffffffffffffffffff811681146134bb57600080fd5b80151581146134bb57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b085357de35be695a5b825968edea4779ae2eab9411b633f2e4b4c13842a068164736f6c63430006060033