Contract
0xa95C238B5a72f481f6Abd50f951F01891130b441
11
Contract Overview
[ Download CSV Export ]
Contract Name:
HakuStakingToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-01-10 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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); } /** * @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; using Address for address; 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal 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 { _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 { } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // This is the place where haku's live to create xhaku. // This contract handles swapping to and from xHAKU, HakuSwap's staking token. contract HakuStakingToken is ERC20("Haku Staking Token", "xHAKU") { using SafeMath for uint256; IERC20 public haku; // admin address public admin; // lock feature mapping(address => uint256) public _stakedTime; uint256 public delayToWithdraw = 0; // Define the Haku token contract constructor(IERC20 _haku) public { haku = _haku; admin = msg.sender; } function stakedTime(address account) public view returns (uint256) { return _stakedTime[account]; } function canWithdraw(address account) public view returns (bool) { if(_stakedTime[account]==0){ return false; } else if(_stakedTime[account]+ delayToWithdraw < block.timestamp){ return true; } return false; } function setDelayToWithdraw(uint256 second) external { require(msg.sender == admin, "admin: you are not admin"); delayToWithdraw = second; } // Locks Haku and mints xHaku function enter(uint256 _amount) public { // Gets the amount of Haku locked in the contract uint256 totalHaku = haku.balanceOf(address(this)); // Gets the amount of xHaku in existence uint256 totalShares = totalSupply(); // If no xHaku exists, mint it 1:1 to the amount put in if (totalShares == 0 || totalHaku == 0) { mint(msg.sender, _amount); } // Calculate and mint the amount of xHaku the Haku is worth. The ratio will change overtime, as xHaku is burned/minted and Haku deposited + gained from fees / withdrawn. else { uint256 what = _amount.mul(totalShares).div(totalHaku); mint(msg.sender, what); } // Lock the Haku in the contract haku.transferFrom(msg.sender, address(this), _amount); // store the locked timestamp _stakedTime[msg.sender] = block.timestamp; } // Unlocks the staked + gained Haku and burns xHaku function leave(uint256 _share) public { if (canWithdraw(msg.sender)) { // Gets the amount of xHaku in existence uint256 totalShares = totalSupply(); // Calculates the amount of Haku the xHaku is worth uint256 what = _share.mul(haku.balanceOf(address(this))).div(totalShares); burn(msg.sender, _share); haku.transfer(msg.sender, what); } // when unstaking earlier, 2% is burned, 2% goes to xHAKU pool back. else { // Gets the amount of xHaku in existence uint256 totalShares = totalSupply(); // Calculates the amount of Haku the xHaku is worth uint256 what = _share.mul(haku.balanceOf(address(this))).div(totalShares); burn(msg.sender, _share); // burn address address burnaddr = 0x000000000000000000000000000000000000dEaD; uint256 burn = what.mul(2).div(100); uint256 redeem = what.mul(96).div(100); haku.transfer(burnaddr, burn); haku.transfer(msg.sender, redeem); } } // returns the total amount of HAKU an address has in the contract including fees earned function HAKUBalance(address _account) external view returns (uint256 hakuAmount_) { uint256 xHAKUAmount = balanceOf(_account); uint256 totalxHAKU = totalSupply(); hakuAmount_ = xHAKUAmount.mul(haku.balanceOf(address(this))).div(totalxHAKU); } // returns how much HAKU someone gets for redeeming xHAKU function xHAKUForHAKU(uint256 _xHAKUAmount) external view returns (uint256 hakuAmount_) { uint256 totalxHAKU = totalSupply(); hakuAmount_ = _xHAKUAmount.mul(haku.balanceOf(address(this))).div(totalxHAKU); } // returns how much xHAKU someone gets for depositing HAKU function HAKUForxHAKU(uint256 _hakuAmount) external view returns (uint256 xHAKUAmount_) { uint256 totalHaku = haku.balanceOf(address(this)); uint256 totalxHAKU = totalSupply(); if (totalxHAKU == 0 || totalHaku == 0) { xHAKUAmount_ = _hakuAmount; } else { xHAKUAmount_ = _hakuAmount.mul(totalxHAKU).div(totalHaku); } } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol // A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); // A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); function burn(address _from, uint256 _amount) private { _burn(_from, _amount); _moveDelegates(_delegates[_from], address(0), _amount); } function mint(address recipient, uint256 _amount) private { _mint(recipient, _amount); _initDelegates(recipient); _moveDelegates(address(0), _delegates[recipient], _amount); } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { bool result = super.transferFrom(sender, recipient, amount); // Call parent hook _initDelegates(recipient); _moveDelegates(_delegates[sender], _delegates[recipient], amount); return result; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { bool result = super.transfer(recipient, amount); // Call parent hook _initDelegates(recipient); _moveDelegates(_delegates[_msgSender()], _delegates[recipient], amount); return result; } // initialize delegates mapping of recipient if not already function _initDelegates(address recipient) internal { if(_delegates[recipient] == address(0)) { _delegates[recipient] = recipient; } } /** * @param delegator The address to get delegates for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "HAKU::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "HAKU::delegateBySig: invalid nonce"); require(block.timestamp <= expiry, "HAKU::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "HAKU::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying HAKUs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld - amount; _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld + amount; _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "HAKU::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal view returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } // Update admin address by the previous admin. function setAdmin(address _admin) public { require(msg.sender == admin, "admin: wut?"); admin = _admin; } }
[{"inputs":[{"internalType":"contract IERC20","name":"_haku","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"HAKUBalance","outputs":[{"internalType":"uint256","name":"hakuAmount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_hakuAmount","type":"uint256"}],"name":"HAKUForxHAKU","outputs":[{"internalType":"uint256","name":"xHAKUAmount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_stakedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"canWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delayToWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"haku","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"second","type":"uint256"}],"name":"setDelayToWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"stakedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xHAKUAmount","type":"uint256"}],"name":"xHAKUForHAKU","outputs":[{"internalType":"uint256","name":"hakuAmount_","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006008553480156200001657600080fd5b50604051620043e3380380620043e3833981810160405260208110156200003c57600080fd5b81019080805190602001909291905050506040518060400160405280601281526020017f48616b75205374616b696e6720546f6b656e00000000000000000000000000008152506040518060400160405280600581526020017f7848414b550000000000000000000000000000000000000000000000000000008152508160039080519060200190620000d192919062000192565b508060049080519060200190620000ea92919062000192565b506012600560006101000a81548160ff021916908360ff160217905550505080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000238565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001d557805160ff191683800117855562000206565b8280016001018555821562000206579182015b8281111562000205578251825591602001919060010190620001e8565b5b50905062000215919062000219565b5090565b5b80821115620002345760008160009055506001016200021a565b5090565b61419b80620002486000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063a9059cbb116100ad578063d63379ea1161007c578063d63379ea14610b23578063dd62ed3e14610b7b578063e7a324dc14610bf3578063f1127ed814610c11578063f851a44014610c8657610206565b8063a9059cbb146109d0578063aec220ab14610a34578063b4b5ea5714610a52578063c3cda52014610aaa57610206565b80638d599a0a116100e95780638d599a0a1461088d57806395d89b41146108bb578063a457c2d71461093e578063a59f3e0c146109a257610206565b806370a0823114610723578063782d6fe11461077b5780637ecebe00146107dd578063859b7dfa1461083557610206565b8063313ce5671161019d5780635c19a95c1161016c5780635c19a95c146105cd578063656e3ead1461061157806367dfd4c9146106535780636fcfff4514610681578063704b6c02146106df57610206565b8063313ce5671461049857806339509351146104b95780633e10d14e1461051d578063587cde1e1461055f57610206565b806319262d30116101d957806319262d301461036857806320606b70146103c25780632074ddd2146103e057806323b872dd1461041457610206565b8063067095551461020b57806306fdde0314610263578063095ea7b3146102e657806318160ddd1461034a575b600080fd5b61024d6004803603602081101561022157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cba565b6040518082815260200191505060405180910390f35b61026b610d03565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102ab578082015181840152602081019050610290565b50505050905090810190601f1680156102d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610332600480360360408110156102fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610da5565b60405180821515815260200191505060405180910390f35b610352610dc3565b6040518082815260200191505060405180910390f35b6103aa6004803603602081101561037e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610dcd565b60405180821515815260200191505060405180910390f35b6103ca610e7d565b6040518082815260200191505060405180910390f35b6103e8610ea1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104806004803603606081101561042a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ec7565b60405180821515815260200191505060405180910390f35b6104a0610fb4565b604051808260ff16815260200191505060405180910390f35b610505600480360360408110156104cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fcb565b60405180821515815260200191505060405180910390f35b6105496004803603602081101561053357600080fd5b810190808035906020019092919050505061107e565b6040518082815260200191505060405180910390f35b6105a16004803603602081101561057557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061119e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61060f600480360360208110156105e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611207565b005b61063d6004803603602081101561062757600080fd5b8101908080359060200190929190505050611214565b6040518082815260200191505060405180910390f35b61067f6004803603602081101561066957600080fd5b8101908080359060200190929190505050611311565b005b6106c36004803603602081101561069757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117fd565b604051808263ffffffff16815260200191505060405180910390f35b610721600480360360208110156106f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611820565b005b6107656004803603602081101561073957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611927565b6040518082815260200191505060405180910390f35b6107c76004803603604081101561079157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061196f565b6040518082815260200191505060405180910390f35b61081f600480360360208110156107f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d30565b6040518082815260200191505060405180910390f35b6108776004803603602081101561084b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d48565b6040518082815260200191505060405180910390f35b6108b9600480360360208110156108a357600080fd5b8101908080359060200190929190505050611e53565b005b6108c3611f20565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109035780820151818401526020810190506108e8565b50505050905090810190601f1680156109305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61098a6004803603604081101561095457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fc2565b60405180821515815260200191505060405180910390f35b6109ce600480360360208110156109b857600080fd5b810190808035906020019092919050505061208f565b005b610a1c600480360360408110156109e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506122f1565b60405180821515815260200191505060405180910390f35b610a3c6123e3565b6040518082815260200191505060405180910390f35b610a9460048036036020811015610a6857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123e9565b6040518082815260200191505060405180910390f35b610b21600480360360c0811015610ac057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803560ff16906020019092919080359060200190929190803590602001909291905050506124bf565b005b610b6560048036036020811015610b3957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612823565b6040518082815260200191505060405180910390f35b610bdd60048036036040811015610b9157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061283b565b6040518082815260200191505060405180910390f35b610bfb6128c2565b6040518082815260200191505060405180910390f35b610c6360048036036040811015610c2757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff1690602001909291905050506128e6565b604051808363ffffffff1681526020018281526020019250505060405180910390f35b610c8e612927565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d9b5780601f10610d7057610100808354040283529160200191610d9b565b820191906000526020600020905b815481529060010190602001808311610d7e57829003601f168201915b5050505050905090565b6000610db9610db261294d565b8484612955565b6001905092915050565b6000600254905090565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610e1f5760009050610e78565b42600854600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054011015610e735760019050610e78565b600090505b919050565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610ed5858585612b4c565b9050610ee084612c25565b610fa9600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685612d3b565b809150509392505050565b6000600560009054906101000a900460ff16905090565b6000611074610fd861294d565b8461106f8560016000610fe961294d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fb890919063ffffffff16565b612955565b6001905092915050565b600080600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561110a57600080fd5b505afa15801561111e573d6000803e3d6000fd5b505050506040513d602081101561113457600080fd5b810190808051906020019092919050505090506000611151610dc3565b905060008114806111625750600082145b1561116f57839250611197565b61119482611186838761304090919063ffffffff16565b6130c690919063ffffffff16565b92505b5050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6112113382613110565b50565b60008061121f610dc3565b9050611309816112fb600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112b157600080fd5b505afa1580156112c5573d6000803e3d6000fd5b505050506040513d60208110156112db57600080fd5b81019080805190602001909291905050508661304090919063ffffffff16565b6130c690919063ffffffff16565b915050919050565b61131a33610dcd565b156114f7576000611329610dc3565b9050600061141582611407600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156113bd57600080fd5b505afa1580156113d1573d6000803e3d6000fd5b505050506040513d60208110156113e757600080fd5b81019080805190602001909291905050508661304090919063ffffffff16565b6130c690919063ffffffff16565b90506114213384613281565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156114b457600080fd5b505af11580156114c8573d6000803e3d6000fd5b505050506040513d60208110156114de57600080fd5b81019080805190602001909291905050505050506117fa565b6000611501610dc3565b905060006115ed826115df600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561159557600080fd5b505afa1580156115a9573d6000803e3d6000fd5b505050506040513d60208110156115bf57600080fd5b81019080805190602001909291905050508661304090919063ffffffff16565b6130c690919063ffffffff16565b90506115f93384613281565b600061dead90506000611629606461161b60028661304090919063ffffffff16565b6130c690919063ffffffff16565b90506000611654606461164660608761304090919063ffffffff16565b6130c690919063ffffffff16565b9050600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156116e957600080fd5b505af11580156116fd573d6000803e3d6000fd5b505050506040513d602081101561171357600080fd5b810190808051906020019092919050505050600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156117b857600080fd5b505af11580156117cc573d6000803e3d6000fd5b505050506040513d60208110156117e257600080fd5b81019080805190602001909291905050505050505050505b50565b600b6020528060005260406000206000915054906101000a900463ffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60004382106119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806140346027913960400191505060405180910390fd5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff161415611a36576000915050611d2a565b82600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff1611611b2057600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff16815260200190815260200160002060010154915050611d2a565b82600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008063ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff161115611ba1576000915050611d2a565b6000806001830390505b8163ffffffff168163ffffffff161115611cc4576000600283830363ffffffff1681611bd357fe5b0482039050611be0613f17565b600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff168152602001600182015481525050905086816000015163ffffffff161415611c9c57806020015195505050505050611d2a565b86816000015163ffffffff161015611cb657819350611cbd565b6001820392505b5050611bab565b600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206001015493505050505b92915050565b600c6020528060005260406000206000915090505481565b600080611d5483611927565b90506000611d60610dc3565b9050611e4a81611e3c600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611df257600080fd5b505afa158015611e06573d6000803e3d6000fd5b505050506040513d6020811015611e1c57600080fd5b81019080805190602001909291905050508561304090919063ffffffff16565b6130c690919063ffffffff16565b92505050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f61646d696e3a20796f7520617265206e6f742061646d696e000000000000000081525060200191505060405180910390fd5b8060088190555050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b5050505050905090565b6000612085611fcf61294d565b846120808560405180606001604052806025815260200161410d6025913960016000611ff961294d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132fa9092919063ffffffff16565b612955565b6001905092915050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561211a57600080fd5b505afa15801561212e573d6000803e3d6000fd5b505050506040513d602081101561214457600080fd5b810190808051906020019092919050505090506000612161610dc3565b905060008114806121725750600082145b156121865761218133846133ba565b6121bb565b60006121ad8361219f848761304090919063ffffffff16565b6130c690919063ffffffff16565b90506121b933826133ba565b505b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561226c57600080fd5b505af1158015612280573d6000803e3d6000fd5b505050506040513d602081101561229657600080fd5b81019080805190602001909291905050505042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6000806122fe848461343c565b905061230984612c25565b6123d96009600061231861294d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685612d3b565b8091505092915050565b60085481565b600080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff16116124535760006124b7565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff168152602001908152602001600020600101545b915050919050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666124ea610d03565b805190602001206124f961345a565b30604051602001808581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200194505050505060405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019450505050506040516020818303038152906040528051906020012090506000828260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561267d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061407c6026913960400191505060405180910390fd5b600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505589146127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806140eb6022913960400191505060405180910390fd5b8742111561280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613fc56026913960400191505060405180910390fd5b612817818b613110565b50505050505050505050565b60076020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900463ffffffff16908060010154905082565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806140c76024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613f7d6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000612b59848484613467565b612c1a84612b6561294d565b612c158560405180606001604052806028815260200161400c60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000612bcb61294d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132fa9092919063ffffffff16565b612955565b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff16600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d385780600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612d775750600081115b15612fb357600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e97576000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612e1a576000612e7e565b600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b905060008382039050612e9386848484613728565b5050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612fb2576000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612f35576000612f99565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b905060008382019050612fae85848484613728565b5050505b5b505050565b600080828401905083811015613036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561305357600090506130c0565b600082840290508284828161306457fe5b04146130bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613feb6021913960400191505060405180910390fd5b809150505b92915050565b600061310883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506139bc565b905092915050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600061317f84611927565b905082600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a461327b828483612d3b565b50505050565b61328b8282613a82565b6132f6600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600083612d3b565b5050565b60008383111582906133a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561336c578082015181840152602081019050613351565b50505050905090810190601f1680156133995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6133c48282613c46565b6133cd82612c25565b6134386000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612d3b565b5050565b600061345061344961294d565b8484613467565b6001905092915050565b6000804690508091505090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806140a26025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613573576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613f386023913960400191505060405180910390fd5b61357e838383613e0d565b6135e981604051806060016040528060268152602001613f9f602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132fa9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061367c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fb890919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600061374c4360405180606001604052806034815260200161413260349139613e12565b905060008463ffffffff161180156137e157508063ffffffff16600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16145b156138525781600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff1681526020019081526020016000206001018190555061395f565b60405180604001604052808263ffffffff16815260200183815250600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff1602179055506020820151816001015590505060018401600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051808381526020018281526020019250505060405180910390a25050505050565b60008083118290613a68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a2d578082015181840152602081019050613a12565b50505050905090810190601f168015613a5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613a7457fe5b049050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061405b6021913960400191505060405180910390fd5b613b1482600083613e0d565b613b7f81604051806060016040528060228152602001613f5b602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132fa9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613bd681600254613ecd90919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ce9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b613cf560008383613e0d565b613d0a81600254612fb890919063ffffffff16565b600281905550613d61816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fb890919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b600064010000000083108290613ec3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613e88578082015181840152602081019050613e6d565b50505050905090810190601f168015613eb55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082905092915050565b6000613f0f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506132fa565b905092915050565b6040518060400160405280600063ffffffff16815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636548414b553a3a64656c656761746542795369673a207369676e61747572652065787069726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636548414b553a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a206275726e2066726f6d20746865207a65726f206164647265737348414b553a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737348414b553a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f48414b553a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a26469706673582212208b1caf9d88e917eeb091a86b3dab51368291609a5caf047fe8322a916d496ed964736f6c634300060c0033000000000000000000000000695fa794d59106cebd40ab5f5ca19f458c723829
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000695fa794d59106cebd40ab5f5ca19f458c723829
-----Decoded View---------------
Arg [0] : _haku (address): 0x695fa794d59106cebd40ab5f5ca19f458c723829
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000695fa794d59106cebd40ab5f5ca19f458c723829
Deployed ByteCode Sourcemap
26182:14362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26619:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11928:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14034:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13003:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26740:284;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31570:122;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26288:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32794:363;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12855:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;15407:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30159:402;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33829:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34122:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29858:229;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28242:1168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31448:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40413:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13166:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36663:1253;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31975:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29512:275;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27032:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12130:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16128:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27238:939;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33165:337;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26432:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35977:255;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34660:1116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26379:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13736:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31786:117;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31309:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;26329:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26619:113;26677:7;26704:11;:20;26716:7;26704:20;;;;;;;;;;;;;;;;26697:27;;26619:113;;;:::o;11928:83::-;11965:13;11998:5;11991:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11928:83;:::o;14034:169::-;14117:4;14134:39;14143:12;:10;:12::i;:::-;14157:7;14166:6;14134:8;:39::i;:::-;14191:4;14184:11;;14034:169;;;;:::o;13003:100::-;13056:7;13083:12;;13076:19;;13003:100;:::o;26740:284::-;26799:4;26841:1;26819:11;:20;26831:7;26819:20;;;;;;;;;;;;;;;;:23;26816:178;;;26865:5;26858:12;;;;26816:178;26940:15;26922;;26900:11;:20;26912:7;26900:20;;;;;;;;;;;;;;;;:37;:55;26897:97;;;26978:4;26971:11;;;;26897:97;27011:5;27004:12;;26740:284;;;;:::o;31570:122::-;31612:80;31570:122;:::o;26288:18::-;;;;;;;;;;;;;:::o;32794:363::-;32906:4;32928:11;32942:45;32961:6;32969:9;32980:6;32942:18;:45::i;:::-;32928:59;;33020:25;33035:9;33020:14;:25::i;:::-;33058:65;33073:10;:18;33084:6;33073:18;;;;;;;;;;;;;;;;;;;;;;;;;33093:10;:21;33104:9;33093:21;;;;;;;;;;;;;;;;;;;;;;;;;33116:6;33058:14;:65::i;:::-;33143:6;33136:13;;;32794:363;;;;;:::o;12855:83::-;12896:5;12921:9;;;;;;;;;;;12914:16;;12855:83;:::o;15407:218::-;15495:4;15512:83;15521:12;:10;:12::i;:::-;15535:7;15544:50;15583:10;15544:11;:25;15556:12;:10;:12::i;:::-;15544:25;;;;;;;;;;;;;;;:34;15570:7;15544:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;15512:8;:83::i;:::-;15613:4;15606:11;;15407:218;;;;:::o;30159:402::-;30225:20;30258:17;30278:4;;;;;;;;;;;:14;;;30301:4;30278:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30258:49;;30318:18;30339:13;:11;:13::i;:::-;30318:34;;30381:1;30367:10;:15;:33;;;;30399:1;30386:9;:14;30367:33;30363:191;;;30432:11;30417:26;;30363:191;;;30500:42;30532:9;30500:27;30516:10;30500:11;:15;;:27;;;;:::i;:::-;:31;;:42;;;;:::i;:::-;30485:57;;30363:191;30159:402;;;;;:::o;33829:149::-;33917:7;33949:10;:21;33960:9;33949:21;;;;;;;;;;;;;;;;;;;;;;;;;33942:28;;33829:149;;;:::o;34122:104::-;34186:32;34196:10;34208:9;34186;:32::i;:::-;34122:104;:::o;29858:229::-;29925:19;29957:18;29978:13;:11;:13::i;:::-;29957:34;;30016:63;30068:10;30016:47;30033:4;;;;;;;;;;;:14;;;30056:4;30033:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30016:12;:16;;:47;;;;:::i;:::-;:51;;:63;;;;:::i;:::-;30002:77;;29858:229;;;;:::o;28242:1168::-;28295:23;28307:10;28295:11;:23::i;:::-;28291:1112;;;28389:19;28411:13;:11;:13::i;:::-;28389:35;;28504:12;28519:58;28565:11;28519:41;28530:4;;;;;;;;;;;:14;;;28553:4;28530:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28519:6;:10;;:41;;;;:::i;:::-;:45;;:58;;;;:::i;:::-;28504:73;;28592:24;28597:10;28609:6;28592:4;:24::i;:::-;28631:4;;;;;;;;;;;:13;;;28645:10;28657:4;28631:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28291:1112;;;;;28836:19;28858:13;:11;:13::i;:::-;28836:35;;28951:12;28966:58;29012:11;28966:41;28977:4;;;;;;;;;;;:14;;;29000:4;28977:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28966:6;:10;;:41;;;;:::i;:::-;:45;;:58;;;;:::i;:::-;28951:73;;29039:24;29044:10;29056:6;29039:4;:24::i;:::-;29109:16;29128:42;29109:61;;29185:12;29200:20;29216:3;29200:11;29209:1;29200:4;:8;;:11;;;;:::i;:::-;:15;;:20;;;;:::i;:::-;29185:35;;29247:14;29264:21;29281:3;29264:12;29273:2;29264:4;:8;;:12;;;;:::i;:::-;:16;;:21;;;;:::i;:::-;29247:38;;29314:4;;;;;;;;;;;:13;;;29328:8;29338:4;29314:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29358:4;;;;;;;;;;;:13;;;29372:10;29384:6;29358:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28291:1112;;;;;;28242:1168;:::o;31448:49::-;;;;;;;;;;;;;;;;;;;;;;:::o;40413:128::-;40487:5;;;;;;;;;;;40473:19;;:10;:19;;;40465:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40527:6;40519:5;;:14;;;;;;;;;;;;;;;;;;40413:128;:::o;13166:119::-;13232:7;13259:9;:18;13269:7;13259:18;;;;;;;;;;;;;;;;13252:25;;13166:119;;;:::o;36663:1253::-;36771:7;36818:12;36804:11;:26;36796:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36887:19;36909:14;:23;36924:7;36909:23;;;;;;;;;;;;;;;;;;;;;;;;;36887:45;;36963:1;36947:12;:17;;;36943:58;;;36988:1;36981:8;;;;;36943:58;37113:11;37061;:20;37073:7;37061:20;;;;;;;;;;;;;;;:38;37097:1;37082:12;:16;37061:38;;;;;;;;;;;;;;;:48;;;;;;;;;;;;:63;;;37057:147;;37148:11;:20;37160:7;37148:20;;;;;;;;;;;;;;;:38;37184:1;37169:12;:16;37148:38;;;;;;;;;;;;;;;:44;;;37141:51;;;;;37057:147;37301:11;37265;:20;37277:7;37265:20;;;;;;;;;;;;;;;:23;37286:1;37265:23;;;;;;;;;;;;;:33;;;;;;;;;;;;:47;;;37261:88;;;37336:1;37329:8;;;;;37261:88;37361:12;37388;37418:1;37403:12;:16;37388:31;;37430:428;37445:5;37437:13;;:5;:13;;;37430:428;;;37467:13;37509:1;37500:5;37492;:13;37491:19;;;;;;;;37483:5;:27;37467:43;;37552:20;;:::i;:::-;37575:11;:20;37587:7;37575:20;;;;;;;;;;;;;;;:28;37596:6;37575:28;;;;;;;;;;;;;;;37552:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37638:11;37622:2;:12;;;:27;;;37618:229;;;37677:2;:8;;;37670:15;;;;;;;;;37618:229;37726:11;37711:2;:12;;;:26;;;37707:140;;;37766:6;37758:14;;37707:140;;;37830:1;37821:6;:10;37813:18;;37707:140;37430:428;;;;;37875:11;:20;37887:7;37875:20;;;;;;;;;;;;;;;:27;37896:5;37875:27;;;;;;;;;;;;;;;:33;;;37868:40;;;;;36663:1253;;;;;:::o;31975:39::-;;;;;;;;;;;;;;;;;:::o;29512:275::-;29574:19;29606;29628;29638:8;29628:9;:19::i;:::-;29606:41;;29658:18;29679:13;:11;:13::i;:::-;29658:34;;29717:62;29768:10;29717:46;29733:4;;;;;;;;;;;:14;;;29756:4;29733:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29717:11;:15;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;29703:76;;29512:275;;;;;:::o;27032:163::-;27118:5;;;;;;;;;;;27104:19;;:10;:19;;;27096:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27181:6;27163:15;:24;;;;27032:163;:::o;12130:87::-;12169:13;12202:7;12195:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12130:87;:::o;16128:269::-;16221:4;16238:129;16247:12;:10;:12::i;:::-;16261:7;16270:96;16309:15;16270:96;;;;;;;;;;;;;;;;;:11;:25;16282:12;:10;:12::i;:::-;16270:25;;;;;;;;;;;;;;;:34;16296:7;16270:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;16238:8;:129::i;:::-;16385:4;16378:11;;16128:269;;;;:::o;27238:939::-;27347:17;27367:4;;;;;;;;;;;:14;;;27390:4;27367:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27347:49;;27457:19;27479:13;:11;:13::i;:::-;27457:35;;27587:1;27572:11;:16;:34;;;;27605:1;27592:9;:14;27572:34;27568:405;;;27623:25;27628:10;27640:7;27623:4;:25::i;:::-;27568:405;;;27870:12;27885:39;27914:9;27885:24;27897:11;27885:7;:11;;:24;;;;:::i;:::-;:28;;:39;;;;:::i;:::-;27870:54;;27939:22;27944:10;27956:4;27939;:22::i;:::-;27568:405;;28025:4;;;;;;;;;;;:17;;;28043:10;28063:4;28070:7;28025:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28154:15;28128:11;:23;28140:10;28128:23;;;;;;;;;;;;;;;:41;;;;27238:939;;;:::o;33165:337::-;33257:4;33279:11;33293:33;33308:9;33319:6;33293:14;:33::i;:::-;33279:47;;33359:25;33374:9;33359:14;:25::i;:::-;33397:71;33412:10;:24;33423:12;:10;:12::i;:::-;33412:24;;;;;;;;;;;;;;;;;;;;;;;;;33438:10;:21;33449:9;33438:21;;;;;;;;;;;;;;;;;;;;;;;;;33461:6;33397:14;:71::i;:::-;33488:6;33481:13;;;33165:337;;;;:::o;26432:34::-;;;;:::o;35977:255::-;36069:7;36094:19;36116:14;:23;36131:7;36116:23;;;;;;;;;;;;;;;;;;;;;;;;;36094:45;;36172:1;36157:12;:16;;;:67;;36223:1;36157:67;;;36176:11;:20;36188:7;36176:20;;;;;;;;;;;;;;;:38;36212:1;36197:12;:16;36176:38;;;;;;;;;;;;;;;:44;;;36157:67;36150:74;;;35977:255;;;:::o;34660:1116::-;34779:23;31612:80;34908:6;:4;:6::i;:::-;34892:24;;;;;;34935:12;:10;:12::i;:::-;34974:4;34829:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34805:200;;;;;;34779:226;;35018:18;31832:71;35130:9;35158:5;35182:6;35063:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35039:175;;;;;;35018:196;;35227:14;35332:15;35366:10;35268:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35244:158;;;;;;35227:175;;35415:17;35435:26;35445:6;35453:1;35456;35459;35435:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35415:46;;35501:1;35480:23;;:9;:23;;;;35472:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35574:6;:17;35581:9;35574:17;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;35565:5;:28;35557:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:6;35651:15;:25;;35643:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35737:31;35747:9;35758;35737;:31::i;:::-;35730:38;;;;34660:1116;;;;;;:::o;26379:46::-;;;;;;;;;;;;;;;;;:::o;13736:151::-;13825:7;13852:11;:18;13864:5;13852:18;;;;;;;;;;;;;;;:27;13871:7;13852:27;;;;;;;;;;;;;;;;13845:34;;13736:151;;;;:::o;31786:117::-;31832:71;31786:117;:::o;31309:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26329:20::-;;;;;;;;;;;;;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;19275:346::-;19394:1;19377:19;;:5;:19;;;;19369:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19475:1;19456:21;;:7;:21;;;;19448:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19559:6;19529:11;:18;19541:5;19529:18;;;;;;;;;;;;;;;:27;19548:7;19529:27;;;;;;;;;;;;;;;:36;;;;19597:7;19581:32;;19590:5;19581:32;;;19606:6;19581:32;;;;;;;;;;;;;;;;;;19275:346;;;:::o;14677:321::-;14783:4;14800:36;14810:6;14818:9;14829:6;14800:9;:36::i;:::-;14847:121;14856:6;14864:12;:10;:12::i;:::-;14878:89;14916:6;14878:89;;;;;;;;;;;;;;;;;:11;:19;14890:6;14878:19;;;;;;;;;;;;;;;:33;14898:12;:10;:12::i;:::-;14878:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;14847:8;:121::i;:::-;14986:4;14979:11;;14677:321;;;;;:::o;33575:170::-;33674:1;33641:35;;:10;:21;33652:9;33641:21;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;33638:100;;;33717:9;33693:10;:21;33704:9;33693:21;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;33638:100;33575:170;:::o;38370:941::-;38476:6;38466:16;;:6;:16;;;;:30;;;;;38495:1;38486:6;:10;38466:30;38462:842;;;38535:1;38517:20;;:6;:20;;;38513:382;;38606:16;38625:14;:22;38640:6;38625:22;;;;;;;;;;;;;;;;;;;;;;;;;38606:41;;38666:17;38698:1;38686:9;:13;;;:60;;38745:1;38686:60;;;38702:11;:19;38714:6;38702:19;;;;;;;;;;;;;;;:34;38734:1;38722:9;:13;38702:34;;;;;;;;;;;;;;;:40;;;38686:60;38666:80;;38765:17;38797:6;38785:9;:18;38765:38;;38822:57;38839:6;38847:9;38858;38869;38822:16;:57::i;:::-;38513:382;;;;38933:1;38915:20;;:6;:20;;;38911:382;;39004:16;39023:14;:22;39038:6;39023:22;;;;;;;;;;;;;;;;;;;;;;;;;39004:41;;39064:17;39096:1;39084:9;:13;;;:60;;39143:1;39084:60;;;39100:11;:19;39112:6;39100:19;;;;;;;;;;;;;;;:34;39132:1;39120:9;:13;39100:34;;;;;;;;;;;;;;;:40;;;39084:60;39064:80;;39163:17;39195:6;39183:9;:18;39163:38;;39220:57;39237:6;39245:9;39256;39267;39220:16;:57::i;:::-;38911:382;;;;38462:842;38370:941;;;:::o;21585:181::-;21643:7;21663:9;21679:1;21675;:5;21663:17;;21704:1;21699;:6;;21691:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21757:1;21750:8;;;21585:181;;;;:::o;22939:471::-;22997:7;23247:1;23242;:6;23238:47;;;23272:1;23265:8;;;;23238:47;23297:9;23313:1;23309;:5;23297:17;;23342:1;23337;23333;:5;;;;;;:10;23325:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23401:1;23394:8;;;22939:471;;;;;:::o;23886:132::-;23944:7;23971:39;23975:1;23978;23971:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;23964:46;;23886:132;;;;:::o;37924:438::-;38015:23;38041:10;:21;38052:9;38041:21;;;;;;;;;;;;;;;;;;;;;;;;;38015:47;;38073:24;38100:20;38110:9;38100;:20::i;:::-;38073:47;;38200:9;38176:10;:21;38187:9;38176:21;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;38271:9;38227:54;;38254:15;38227:54;;38243:9;38227:54;;;;;;;;;;;;38294:60;38309:15;38326:9;38337:16;38294:14;:60::i;:::-;37924:438;;;;:::o;32408:159::-;32473:21;32479:5;32486:7;32473:5;:21::i;:::-;32505:54;32520:10;:17;32531:5;32520:17;;;;;;;;;;;;;;;;;;;;;;;;;32547:1;32551:7;32505:14;:54::i;:::-;32408:159;;:::o;22488:192::-;22574:7;22607:1;22602;:6;;22610:12;22594:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22634:9;22650:1;22646;:5;22634:17;;22671:1;22664:8;;;22488:192;;;;;:::o;32575:211::-;32644:25;32650:9;32661:7;32644:5;:25::i;:::-;32682;32697:9;32682:14;:25::i;:::-;32720:58;32743:1;32747:10;:21;32758:9;32747:21;;;;;;;;;;;;;;;;;;;;;;;;;32770:7;32720:14;:58::i;:::-;32575:211;;:::o;13498:175::-;13584:4;13601:42;13611:12;:10;:12::i;:::-;13625:9;13636:6;13601:9;:42::i;:::-;13661:4;13654:11;;13498:175;;;;:::o;40200:153::-;40245:4;40262:15;40310:9;40299:20;;40338:7;40331:14;;;40200:153;:::o;16887:539::-;17011:1;16993:20;;:6;:20;;;;16985:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17095:1;17074:23;;:9;:23;;;;17066:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17150:47;17171:6;17179:9;17190:6;17150:20;:47::i;:::-;17230:71;17252:6;17230:71;;;;;;;;;;;;;;;;;:9;:17;17240:6;17230:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;17210:9;:17;17220:6;17210:17;;;;;;;;;;;;;;;:91;;;;17335:32;17360:6;17335:9;:20;17345:9;17335:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;17312:9;:20;17322:9;17312:20;;;;;;;;;;;;;;;:55;;;;17400:9;17383:35;;17392:6;17383:35;;;17411:6;17383:35;;;;;;;;;;;;;;;;;;16887:539;;;:::o;39319:704::-;39498:18;39519:76;39526:12;39519:76;;;;;;;;;;;;;;;;;:6;:76::i;:::-;39498:97;;39627:1;39612:12;:16;;;:85;;;;;39686:11;39632:65;;:11;:22;39644:9;39632:22;;;;;;;;;;;;;;;:40;39670:1;39655:12;:16;39632:40;;;;;;;;;;;;;;;:50;;;;;;;;;;;;:65;;;39612:85;39608:339;;;39763:8;39714:11;:22;39726:9;39714:22;;;;;;;;;;;;;;;:40;39752:1;39737:12;:16;39714:40;;;;;;;;;;;;;;;:46;;:57;;;;39608:339;;;39843:33;;;;;;;;39854:11;39843:33;;;;;;39867:8;39843:33;;;39804:11;:22;39816:9;39804:22;;;;;;;;;;;;;;;:36;39827:12;39804:36;;;;;;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39934:1;39919:12;:16;39891:14;:25;39906:9;39891:25;;;;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;39608:339;39985:9;39964:51;;;39996:8;40006;39964:51;;;;;;;;;;;;;;;;;;;;;;;;39319:704;;;;;:::o;24514:278::-;24600:7;24632:1;24628;:5;24635:12;24620:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24659:9;24675:1;24671;:5;;;;;;24659:17;;24783:1;24776:8;;;24514:278;;;;;:::o;18417:418::-;18520:1;18501:21;;:7;:21;;;;18493:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18573:49;18594:7;18611:1;18615:6;18573:20;:49::i;:::-;18656:68;18679:6;18656:68;;;;;;;;;;;;;;;;;:9;:18;18666:7;18656:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;18635:9;:18;18645:7;18635:18;;;;;;;;;;;;;;;:89;;;;18750:24;18767:6;18750:12;;:16;;:24;;;;:::i;:::-;18735:12;:39;;;;18816:1;18790:37;;18799:7;18790:37;;;18820:6;18790:37;;;;;;;;;;;;;;;;;;18417:418;;:::o;17707:378::-;17810:1;17791:21;;:7;:21;;;;17783:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17861:49;17890:1;17894:7;17903:6;17861:20;:49::i;:::-;17938:24;17955:6;17938:12;;:16;;:24;;;;:::i;:::-;17923:12;:39;;;;17994:30;18017:6;17994:9;:18;18004:7;17994:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;17973:9;:18;17983:7;17973:18;;;;;;;;;;;;;;;:51;;;;18061:7;18040:37;;18057:1;18040:37;;;18070:6;18040:37;;;;;;;;;;;;;;;;;;17707:378;;:::o;20646:92::-;;;;:::o;40031:161::-;40106:6;40137:5;40133:1;:9;40144:12;40125:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40182:1;40168:16;;40031:161;;;;:::o;22049:136::-;22107:7;22134:43;22138:1;22141;22134:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;22127:50;;22049:136;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://8b1caf9d88e917eeb091a86b3dab51368291609a5caf047fe8322a916d496ed9
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.