ERC-20
Overview
Max Total Supply
74,973,288,617.04455 BRRR
Holders
30
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
19,362.69548293102515666 BRRRValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Brrr
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./AccessControl.sol"; import "./PriceFeed.sol"; import "console.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * */ contract Brrr is Context, IERC20, AccessControl, PriceFeed { bool public Online = true; modifier isOffline { require(!Online, "Contract is running still"); _; } modifier isOnline { require(Online, "Contract has been turned off"); _; } using SafeMath for uint256; using Address for address; IERC20 Tether; bytes32 public constant FOUNDING_FATHER = keccak256("FOUNDING_FATHER"); mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; //list of accepted coins for transferring mapping(address => bool) public _acceptedStableCoins; mapping(address => bool) public BRRRxContracts; //address of the oracle price feed for accept coins mapping(address => address) private _contract_address_to_oracle; //deposits for each user in eth mapping(address => uint256) public _deposits_eth; //total withdrawals per user mapping(address => uint256) public _total_withdrawals; //deposits for each user in their coins mapping(address => mapping(address => uint256)) public _coin_deposits; //claimed stimulus per user per stimulus mapping(address => mapping(uint128 => bool)) public _claimed_stimulus; //all stimulus ids mapping(uint128 => bool) public _all_Claim_ids; mapping(address => bool) public swapped; //stimulus id to stimulus info mapping(uint128 => Claims) public _all_Claims; //tether total supply checks/history supplyCheck[] public _all_supply_checks; //total coins related to tether in reserves uint256 public TreasuryReserve; uint256 private _totalSupply; //max limit uint256 public TOTALCAP = 80000000000 * 10**18; //total coins in circulation uint256 public _circulatingSupply; string private _name; string private _symbol; uint8 private _decimals; //usdt address address public tether = 0xdAC17F958D2ee523a2206206994597C13D831ec7; address public old_brrr = 0xdF3b985E15281EfecF203998200b26F024699F47; struct Claims { uint256 _amount; uint256 _ending; uint256 _amount_to_give; } struct supplyCheck { uint256 _last_check; uint256 _totalSupply; } event Withdraw(address indexed _reciever, uint256 indexed _amount); /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * Sets the total supply from tether * * Gives founding father liquidity share for uniswap * * Sets first supply check * */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(FOUNDING_FATHER, msg.sender); Tether = IERC20(tether); uint256 d = Tether.totalSupply(); TreasuryReserve = d * 10**13; _balances[msg.sender] = 210000000 * 10**18; _circulatingSupply = 210000000 * 10**18; _totalSupply = TreasuryReserve.sub(_circulatingSupply); TreasuryReserve = TreasuryReserve.sub(_circulatingSupply); supplyCheck memory sa = supplyCheck(block.timestamp, d); _all_supply_checks.push(sa); } /** * @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; } function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _circulatingSupply.add(TreasuryReserve); } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public override view 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 virtual override view 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}; * * If address is approved brrr3x or brrr10x address don't check allowance and allow 1 transaction transfer (no approval needed) */ 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. * */ 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. * */ 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 */ 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"); _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 from tether burning tokens * * Cannot go past cap. * * Emits a {Transfer} event with `from` set to the zero address. */ function _printerGoesBrrr(uint256 amount) internal returns (bool) { require(amount > 0, "Can't mint 0 tokens"); require(TreasuryReserve.add(amount) < cap(), "Cannot exceed cap"); TreasuryReserve = TreasuryReserve.add(amount); _totalSupply = TreasuryReserve; emit Transfer(address(0), address(this), 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 isOnline { require(account != address(0), "ERC20: mint to the zero address"); require(amount <= TreasuryReserve, "More than the reserve holds"); _circulatingSupply = _circulatingSupply.add(amount); TreasuryReserve = TreasuryReserve.sub(amount); _totalSupply = TreasuryReserve; _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `TreasuryReserve`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `Treasury Reserve` must have at least `amount` tokens. */ function _burn(uint256 amount) internal virtual { if (amount <= TreasuryReserve) { TreasuryReserve = TreasuryReserve.sub( amount, "ERC20: burn amount exceeds Treasury Reserve" ); _totalSupply = TreasuryReserve; emit Transfer(address(this), address(0), amount); } else { TreasuryReserve = 1 * 10**18; _totalSupply = TreasuryReserve; emit Transfer(address(this), address(0), amount); } } /** * @dev Returns the users deposit in ETH and changes the circulating supply and treasury reserves based off the brrr sent back * * * Emits withdraw event. * * */ function _payBackBrrrETH( uint256 _brrrAmount, address payable _owner, uint256 _returnAmount ) internal returns (bool) { require( _deposits_eth[_owner] >= _returnAmount, "More than deposit amount" ); _balances[_owner] = _balances[_owner].sub(_brrrAmount); TreasuryReserve = TreasuryReserve.add(_brrrAmount); _totalSupply = TreasuryReserve; _circulatingSupply = _circulatingSupply.sub(_brrrAmount); emit Transfer(address(_owner), address(this), _brrrAmount); _deposits_eth[_owner] = _deposits_eth[_owner].sub(_returnAmount); _transferEth(_owner, _returnAmount); emit Withdraw(address(_owner), _returnAmount); return true; } /** * @dev Returns the users deposit in alt coins and changes the circulating supply and treasury reserves based off the brrr sent back * * * Emits withdraw event. * * */ function _payBackBrrrCoins( uint256 _brrrAmount, address payable _owner, address _contract, uint256 _returnAmount ) internal returns (bool) { require( _coin_deposits[_owner][_contract] >= _returnAmount, "More than deposit amount" ); _balances[_owner] = _balances[_owner].sub(_brrrAmount); TreasuryReserve = TreasuryReserve.add(_brrrAmount); _totalSupply = TreasuryReserve; _circulatingSupply = _circulatingSupply.sub(_brrrAmount); emit Transfer(address(_owner), address(this), _brrrAmount); _coin_deposits[_owner][_contract] = _coin_deposits[_owner][_contract] .sub(_returnAmount); _transferCoin(_owner, _contract, _returnAmount); emit Withdraw(address(_owner), _returnAmount); return true; } function swapOldBRRR() external isOnline returns (bool) { require(swapped[_msgSender()] == false, "You already swapped!"); IERC20 erc; erc = IERC20(old_brrr); uint256 bal = erc.balanceOf(_msgSender()); require(bal >= 0, "Not enough funds to transfer"); swapped[_msgSender()] = true; require(erc.transferFrom(_msgSender(), address(this), bal)); _mint(_msgSender(), bal); return true; } /** * @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 Gives user reward for updating the total supply. */ function _giveReward(uint256 reward) internal returns (bool) { _circulatingSupply = _circulatingSupply.add(reward); _balances[_msgSender()] = _balances[_msgSender()].add(reward); emit Transfer(address(this), address(_msgSender()), reward); return true; } /** * @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 Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return TOTALCAP; } /** * @dev Returns the price of the bonding curve divided by number of withdrawals in percentage the user has already made. * * Prevents spamming deposit -> withdrawal -> deposit... to drain all brrr. */ function calculateWithdrawalPrice() public view returns (uint256) { uint256 p = calculateCurve(); uint256 w = _total_withdrawals[_msgSender()]; if (w < 1) { return p; } if (w >= 99) { w = 99; } p = p.sub(p.mul(w).div(100)); return p; } /** * @dev Internal transfer eth function * */ function _transferEth(address payable _recipient, uint256 _amount) internal returns (bool) { _recipient.transfer(_amount); return true; } /** * @dev Internal transfer altcoin function * */ function _transferCoin( address _owner, address _contract, uint256 _returnAmount ) internal returns (bool) { IERC20 erc; erc = IERC20(_contract); require( erc.balanceOf(address(this)) >= _returnAmount, "Not enough funds to transfer" ); require(erc.transfer(_owner, _returnAmount)); return true; } /**@dev Adds another token to the accepted coins for printing * * * Calling conditions: * * - Address of the contract to be added * - Only can be added by founding fathers * */ function addAcceptedStableCoin(address _contract, address _oracleAddress) public isOnline returns (bool) { require( hasRole(FOUNDING_FATHER, msg.sender), "Caller is not a Founding Father" ); _acceptedStableCoins[_contract] = true; _contract_address_to_oracle[_contract] = _oracleAddress; return _acceptedStableCoins[_contract]; } /**@dev Adds stimulus package to be claimed by users * * * Calling conditions: * - Only can be added by founding fathers * */ function addStimulus( uint128 _id, uint256 _total_amount, uint256 _ending_in_days, uint256 _amount_to_get ) public isOnline returns (bool) { require( hasRole(FOUNDING_FATHER, msg.sender), "Caller is not a Founding Father" ); require(_all_Claim_ids[_id] == false, "ID already used"); require(_total_amount <= TreasuryReserve); _all_Claim_ids[_id] = true; _all_Claims[_id]._amount = _total_amount * 10**18; _all_Claims[_id]._amount_to_give = _amount_to_get; _all_Claims[_id]._ending = block.timestamp + (_ending_in_days * 1 days); return true; } /**@dev Claim a stimulus package. * * requires _id of stimulus package. * Calling conditions: * - can only claim once * - must not be ended * - must not be out of funds. * */ function claimStimulus(uint128 _id) public isOnline returns (bool) { require(_all_Claim_ids[_id], "Claim not valid"); require( _claimed_stimulus[_msgSender()][_id] == false, "Already claimed!" ); require( block.timestamp <= _all_Claims[_id]._ending, "Stimulus package has ended" ); require( _all_Claims[_id]._amount >= _all_Claims[_id]._amount_to_give, "Out of money :(" ); _claimed_stimulus[_msgSender()][_id] = true; _all_Claims[_id]._amount = _all_Claims[_id]._amount.sub( _all_Claims[_id]._amount_to_give * 10**18 ); _mint(_msgSender(), _all_Claims[_id]._amount_to_give * 10**18); return true; } /** Bonding curve * circulating * reserve ratio / total supply * circulating * .10 / totalSupply * * */ function calculateCurve() public override view returns (uint256) { if (TreasuryReserve <= 1 * 10**18) { return (_circulatingSupply.mul(10).div(100)); } uint256 p = ( (_circulatingSupply.mul(10).div(100) * 10**18).div(TreasuryReserve) ); if (p <= 0) { p = 1; } return p; } /**@dev Deposit eth and get the value of brrr based off bonding curve * * * */ function printWithETH() public payable isOnline returns (bool) { require( msg.value > 0, "Please send money to make the printer go brrrrrrrr" ); uint256 p = calculateCurve(); uint256 amount = (msg.value.mul(10**18).div(p)); require(amount > 0, "Not enough sent for 1 brrr"); _deposits_eth[_msgSender()] = _deposits_eth[_msgSender()].add( msg.value ); _mint(_msgSender(), amount); return true; } /**@dev Deposit alt coins and get the value of brrr based off bonding curve * * * */ function printWithStablecoin(address _contract, uint256 _amount) public isOnline returns (bool) { require( _acceptedStableCoins[_contract], "Not accepted as a form of payment" ); IERC20 erc; erc = IERC20(_contract); uint256 al = erc.allowance(_msgSender(), address(this)); require(al >= _amount, "Token allowance not enough"); uint256 p = calculateCurve(); uint256 tp = getLatestPrice(_contract_address_to_oracle[_contract]); uint256 a = _amount.mul(tp).div(p); require(a > 0, "Not enough sent for 1 brrr"); require( erc.transferFrom(_msgSender(), address(this), _amount), "Transfer failed" ); _coin_deposits[_msgSender()][_contract] = _coin_deposits[_msgSender()][_contract] .add(_amount); _mint(_msgSender(), a); return true; } /**@dev Internal transfer from brrr3x or brrr10x in order to transfer and update balances * * * */ function _transferBrr(address _contract) internal returns (bool) { IERC20 brr; brr = IERC20(_contract); uint256 brrbalance = brr.balanceOf(_msgSender()); if (brrbalance > 0) { require( brr.transferFrom(_msgSender(), address(this), brrbalance), "Transfer failed" ); _mint(_msgSender(), brrbalance.div(10)); } return true; } /**@dev Transfers entire brrrX balance into brrr at 1 to 1 * Deposits on brrrX will not be cleared. * * */ function convertBrrrXintoBrrr(address _contract) public isOnline returns (bool) { require(BRRRxContracts[_contract] == true, "Not a BRRRx contract"); _transferBrr(address(_contract)); return true; } /**@dev Deposit brrr and get the value of eth for that amount of brrr based off bonding curve * * * */ function returnBrrrForETH() public isOnline returns (bool) { require(_deposits_eth[_msgSender()] > 0, "You have no deposits"); require(_balances[_msgSender()] > 0, "No brrr balance"); uint256 p = calculateWithdrawalPrice(); uint256 r = _deposits_eth[_msgSender()].div(p).mul(10**18); if (_balances[_msgSender()] >= r) { _payBackBrrrETH(r, _msgSender(), _deposits_eth[_msgSender()]); } else { uint256 t = _balances[_msgSender()].mul(p).div(10**18); require( t <= _balances[_msgSender()], "More than in your balance, error with math" ); _payBackBrrrETH(_balances[_msgSender()], _msgSender(), t); } _total_withdrawals[_msgSender()] = _total_withdrawals[_msgSender()].add( 1 ); } /**@dev Deposit brrr and get the value of alt coins for that amount of brrr based off bonding curve * * * */ function returnBrrrForCoins(address _contract) public isOnline returns (bool) { require( _acceptedStableCoins[_contract], "Not accepted as a form of payment" ); require( _coin_deposits[_msgSender()][_contract] != 0, "You have no deposits" ); require(_balances[_msgSender()] > 0, "No brrr balance"); uint256 o = calculateWithdrawalPrice(); uint256 rg = getLatestPrice(_contract_address_to_oracle[_contract]); uint256 y = _coin_deposits[_msgSender()][_contract].mul(rg).div(o); if (_balances[_msgSender()] >= y) { _payBackBrrrCoins( y, _msgSender(), _contract, _coin_deposits[_msgSender()][_contract] ); } else { uint256 t = _balances[_msgSender()].mul(o).div(rg).div(10**18); require( t <= _balances[_msgSender()], "More than in your balance, error with math" ); _payBackBrrrCoins( _balances[_msgSender()], _msgSender(), _contract, t ); } _total_withdrawals[_msgSender()] = _total_withdrawals[_msgSender()].add( 1 ); } /**@dev Update the total supply from tether - if tether has changed total supply. * * Makes the money printer go brrrrrrrr * Reward is given to whoever updates * */ function brrrEvent() public isOnline returns (uint256) { require( block.timestamp > _all_supply_checks[_all_supply_checks.length.sub(1)] ._last_check, "Already checked!" ); uint256 l = _all_supply_checks[_all_supply_checks.length.sub(1)] ._last_check; uint256 s = _all_supply_checks[_all_supply_checks.length.sub(1)] ._totalSupply; uint256 d = Tether.totalSupply(); require(d != s, "The supply hasn't changed"); supplyCheck memory sa = supplyCheck(block.timestamp, d); _all_supply_checks.push(sa); d = d * 10**12; s = s * 10**12; console.log("new tether supply: ", d); console.log("old tether supply: ", s); uint256 newTreasury = (TreasuryReserve.mul((s.mul(2)).sub(d))).div(s); console.log("new value from formula is: ", newTreasury); if (d < s) { newTreasury = newTreasury.sub(TreasuryReserve); uint256 reward = newTreasury.div(1000); console.log("reward: ", reward); newTreasury = newTreasury.sub(reward); console.log("Final amount going to be burnt: ", newTreasury); _printerGoesBrrr(newTreasury); _giveReward(reward); return reward; } if (d > s) { //d = (d.sub(s)) * 10**12; newTreasury = TreasuryReserve.sub(newTreasury); uint256 reward = newTreasury.div(1000); console.log("reward: ", reward); newTreasury = newTreasury.sub(reward); console.log("Final amount going to be burnt: ", newTreasury); _burn(newTreasury); _giveReward(reward); return reward; } } /**@dev In case of emgergency - withdrawal all eth. * * Contract must be offline * * */ function EmergencyWithdrawalETH() public isOffline returns (bool) { require(!Online, "Contract is not turned off"); require(_deposits_eth[_msgSender()] > 0, "You have no deposits"); _payBackBrrrETH(0, _msgSender(), _deposits_eth[_msgSender()]); return true; } /**@dev In case of emgergency - withdrawal all coins. * * Contract must be offline * * */ function EmergencyWithdrawalCoins(address _contract) public isOffline returns (bool) { require(!Online, "Contract is not turned off"); require( _acceptedStableCoins[_contract], "Not accepted as a form of payment" ); require( _coin_deposits[_msgSender()][_contract] != 0, "You have no deposits" ); _payBackBrrrCoins( 0, _msgSender(), _contract, _coin_deposits[_msgSender()][_contract] ); return true; } /**@dev In case of emgergency - turn offline. * * Must be admin * * */ function toggleOffline() public returns (bool) { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not an admin" ); Online = !Online; return true; } /**@dev Set brrrX addresses. One time, cannot be changed. * * Must be admin * * */ function setBrrrXAddress(address _brrrxcontract, bool _active) public returns (bool) { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not an admin" ); if (_brrrxcontract != address(0x0)) { BRRRxContracts[_brrrxcontract] = _active; } return true; } function setSwapAddress(address _brrr_old) public returns (bool) { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not an admin" ); require(_brrr_old != address(0x0), "Invalid address!"); old_brrr = _brrr_old; } fallback() external payable { printWithETH(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./EnumerableSet.sol"; import "./Address.sol"; import "./Context.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged( bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole ); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted( bytes32 indexed role, address indexed account, address indexed sender ); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked( bytes32 indexed role, address indexed account, address indexed sender ); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require( hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant" ); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require( hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke" ); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require( account == _msgSender(), "AccessControl: can only renounce roles for self" ); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @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); } } } }
pragma solidity >=0.6.0; interface AggregatorInterface { function latestAnswer() external view returns (int256); function latestTimestamp() external view returns (uint256); function latestRound() external view returns (uint256); function getAnswer(uint256 roundId) external view returns (int256); function getTimestamp(uint256 roundId) external view returns (uint256); event AnswerUpdated( int256 indexed current, uint256 indexed roundId, uint256 timestamp ); event NewRound( uint256 indexed roundId, address indexed startedBy, uint256 startedAt ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./AccessControl.sol"; import "console.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * */ contract BRRRx is Context, IERC20, AccessControl { bool public Online = true; modifier isOffline { require(!Online, "Contract is running still"); _; } modifier isOnline { require(Online, "Contract has been turned off"); _; } using SafeMath for uint256; using Address for address; IERC20 Tether; bytes32 public constant FOUNDING_FATHER = keccak256("FOUNDING_FATHER"); mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => uint256) public _deposits_brrr; mapping(address => uint256) public weighted_avg; mapping(address => uint256) public _total_withdrawals; mapping(address => bool) public swapped; supplyCheck[] public _all_supply_checks; uint256 _leverage; uint256 public TreasuryReserve; uint256 private _totalSupply; uint256 public TOTALCAP = 80000000000 * 10**18; uint256 public _circulatingSupply; string private _name; string private _symbol; uint8 private _decimals; address public tether = 0xdAC17F958D2ee523a2206206994597C13D831ec7; address public brrr; address public old_brrrx = 0xb70E8a16E58B4Ea4E714F1639Fd06bB79aD83A80; struct supplyCheck { uint256 _last_check; uint256 _totalSupply; } event Withdraw(address indexed _reciever, uint256 indexed _amount); /** * @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, uint256 leverage, address _brrr ) public { _name = name; _symbol = symbol; _decimals = 18; _leverage = leverage; brrr = _brrr; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(FOUNDING_FATHER, msg.sender); Tether = IERC20(tether); _balances[msg.sender] = 100000000 * 10**18; _circulatingSupply = 100000000 * 10**18; uint256 d = Tether.totalSupply(); TreasuryReserve = d * 10**13; _totalSupply = TreasuryReserve; supplyCheck memory sa = supplyCheck(block.timestamp, d); _all_supply_checks.push(sa); } /** * @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 override view returns (uint256) { return _circulatingSupply.add(TreasuryReserve); } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public override view 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 virtual override view 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); if (msg.sender != brrr) { _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"); _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 from tether burning tokens * * * Emits a {Transfer} event with `from` set to the zero address. */ function _printerGoesBrrr(uint256 amount) internal returns (bool) { require(amount > 0, "Can't mint 0 tokens"); require(TreasuryReserve.add(amount) < cap(), "Cannot exceed cap"); TreasuryReserve = TreasuryReserve.add(amount); _totalSupply = TreasuryReserve; emit Transfer(address(0), address(this), 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 isOnline { require(account != address(0), "ERC20: mint to the zero address"); require(amount <= TreasuryReserve, "More than the reserve holds"); _circulatingSupply = _circulatingSupply.add(amount); _totalSupply = _totalSupply.sub(amount); TreasuryReserve = TreasuryReserve.sub(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `TreasuryReserve`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `Treasury Reserve` must have at least `amount` tokens. */ function _burn(uint256 amount) internal virtual { if (amount <= TreasuryReserve) { TreasuryReserve = TreasuryReserve.sub( amount, "ERC20: burn amount exceeds Treasury Reserve" ); _totalSupply = TreasuryReserve; emit Transfer(address(this), address(0), amount); } else { TreasuryReserve = 1 * 10**18; _totalSupply = TreasuryReserve; emit Transfer(address(this), address(0), amount); } } function _payBackBrrr( uint256 _brrrAmount, address payable _owner, uint256 _returnAmount ) internal returns (bool) { require( _deposits_brrr[_owner] >= _returnAmount, "More than deposit amount" ); _balances[_owner] = _balances[_owner].sub(_brrrAmount); TreasuryReserve = TreasuryReserve.add(_brrrAmount); _totalSupply = TreasuryReserve; _circulatingSupply = _circulatingSupply.sub(_brrrAmount); emit Transfer(address(_owner), address(this), _brrrAmount); _deposits_brrr[_owner] = _deposits_brrr[_owner].sub(_returnAmount); _transferCoin(_owner, brrr, _returnAmount); emit Withdraw(address(_owner), _returnAmount); return true; } /** * @dev Gives user reward for updating the total supply. */ function _giveReward(uint256 reward) internal returns (bool) { _circulatingSupply = _circulatingSupply.add(reward); _balances[_msgSender()] = _balances[_msgSender()].add(reward); emit Transfer(address(this), address(_msgSender()), reward); return true; } /** * @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 Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return TOTALCAP; } function swapOldBRRR() external isOnline returns (bool) { require(swapped[_msgSender()] == false, "You already swapped!"); IERC20 erc; erc = IERC20(old_brrrx); uint256 bal = erc.balanceOf(_msgSender()); require(bal >= 0, "Not enough funds to transfer"); swapped[_msgSender()] = true; require(erc.transferFrom(_msgSender(), address(this), bal)); _mint(_msgSender(), bal); return true; } function calculateWithdrawalPrice() public view returns (uint256) { uint256 p = calculateCurve(); uint256 w = _total_withdrawals[_msgSender()]; if (w < 1) { return p; } if (w >= 99) { w = 99; } p = p.sub(p.mul(w).div(100)); return p; } function _transferEth(address payable _recipient, uint256 _amount) internal returns (bool) { _recipient.transfer(_amount); return true; } function _transferCoin( address _owner, address _contract, uint256 _returnAmount ) internal returns (bool) { IERC20 erc; erc = IERC20(_contract); require( erc.balanceOf(address(this)) >= _returnAmount, "Not enough funds to transfer" ); require(erc.transfer(_owner, _returnAmount)); return true; } /** Bonding curve * circulating * reserve ratio / total supply * circulating * .50 / totalSupply * * */ function calculateCurve() public override view returns (uint256) { if (TreasuryReserve <= 1 * 10**18) { return (_circulatingSupply.mul(50).div(100)); } return ( (_circulatingSupply.mul(50).div(100) * 10**18).div(TreasuryReserve) ); } function printWithBrrr(uint256 _amount) public isOnline returns (bool) { console.log("Printing BRRR with brrr, amount sent is: ", _amount); require(brrr != address(0x0), "Brrr contract not set"); IERC20 brr; brr = IERC20(brrr); uint256 al = brr.balanceOf(_msgSender()); require(al >= _amount, "Token balance not enough"); uint256 p = calculateCurve(); console.log("current bonding price for 10x is: ", p); uint256 tp = brr.calculateCurve(); console.log("current bonding price for BRRR is: ", tp); if (weighted_avg[_msgSender()] == 0) { weighted_avg[_msgSender()] = tp; } else { uint256 temp = _deposits_brrr[_msgSender()] .mul(weighted_avg[_msgSender()]) .add(_amount.mul(tp)); temp = temp.div(_deposits_brrr[_msgSender()].add(_amount)); console.log("new weighted avg is: ", temp); weighted_avg[_msgSender()] = temp; } uint256 a = _amount.mul(tp).div(p); console.log("amount of BRRR10x made: ", a); require(a > 0, "Not enough sent for 1 brrr"); require( brr.transferFrom(_msgSender(), address(this), _amount), "Transfer failed" ); _deposits_brrr[_msgSender()] = _deposits_brrr[_msgSender()].add( _amount ); _mint(_msgSender(), a); return true; } function returnBrrrForBrrr() public isOnline returns (bool) { console.log("returning deposit for user"); require(brrr != address(0x0), "Brrr contract not set"); require(_deposits_brrr[_msgSender()] != 0, "You have no deposits"); require(_balances[_msgSender()] > 0, "No brrr balance"); uint256 o = calculateWithdrawalPrice(); console.log("Current withdrawal bonding curve for 10x: ", o); uint256 y = weighted_avg[_msgSender()]; console.log("Bonding curve price for BRRR: ", y); uint256 rg = _deposits_brrr[_msgSender()].mul(y).div(o); console.log( "BRRR x BRRRCurve divided by Withdrawal curve (amount of deposit to get back) is: ", rg ); console.log("current balance is: ", _balances[_msgSender()]); if (_balances[_msgSender()] >= rg) { weighted_avg[_msgSender()] = 0; _payBackBrrr(rg, _msgSender(), _deposits_brrr[_msgSender()]); } else { console.log( "balances are not enough, current amount they have is able to get: " ); console.log("balance: ", _balances[_msgSender()]); uint256 a = _balances[_msgSender()].mul(o).div(10**18); console.log("eth value in current BRRR10x: ", a); uint256 t = a.mul(10**18).div(y); console.log("BRRR divided by ETH value to give back the BRRR: ", t); require( t <= _deposits_brrr[_msgSender()], "More than in your balance, error with math" ); _payBackBrrr(_balances[_msgSender()], _msgSender(), t); } _total_withdrawals[_msgSender()] = _total_withdrawals[_msgSender()].add( 1 ); } /**@dev Update the total supply from tether - if tether has changed total supply. * * Makes the money printer go brrrrrrrr * Reward is given to whoever updates * */ function brrrEvent() public isOnline returns (uint256) { require( block.timestamp > _all_supply_checks[_all_supply_checks.length.sub(1)] ._last_check, "Already checked!" ); uint256 l = _all_supply_checks[_all_supply_checks.length.sub(1)] ._last_check; uint256 s = _all_supply_checks[_all_supply_checks.length.sub(1)] ._totalSupply; uint256 d = Tether.totalSupply(); require(d != s, "The supply hasn't changed"); supplyCheck memory sa = supplyCheck(block.timestamp, d); _all_supply_checks.push(sa); d = d * 10**12; s = s * 10**12; console.log("new tether supply: ", d); console.log("old tether supply: ", s); uint256 newTreasury = (TreasuryReserve.mul((s.mul(2)).sub(d))).div(s); console.log("new value from formula is: ", newTreasury); if (d < s) { newTreasury = newTreasury.sub(TreasuryReserve); uint256 reward = newTreasury.div(1000); console.log("reward: ", reward); newTreasury = newTreasury.sub(reward); console.log("Final amount going to be burnt: ", newTreasury); _printerGoesBrrr(newTreasury.mul(_leverage)); _giveReward(reward); return reward; } if (d > s) { //d = (d.sub(s)) * 10**12; newTreasury = TreasuryReserve.sub(newTreasury); uint256 reward = newTreasury.div(1000); console.log("reward: ", reward); newTreasury = newTreasury.sub(reward); console.log("Final amount going to be burnt: ", newTreasury); _burn(newTreasury.mul(_leverage)); _giveReward(reward); return reward; } } function EmergencyWithdrawal() public isOffline returns (bool) { require(!Online, "Contract is not turned off"); require(_deposits_brrr[_msgSender()] > 0, "You have no deposits"); _payBackBrrr(0, _msgSender(), _deposits_brrr[_msgSender()]); return true; } function toggleOffline() public returns (bool) { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not an admin" ); Online = !Online; return true; } function setSwapAddress(address _brrr_old) public returns (bool) { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not an admin" ); require(_brrr_old != address(0x0), "Invalid address!"); old_brrrx = _brrr_old; } fallback() external payable { revert(); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.7.0; library console { address constant CONSOLE_ADDRESS = address( 0x000000000000000000636F6e736F6c652e6c6f67 ); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall( gas(), consoleAddress, payloadStart, payloadLength, 0, 0 ) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logByte(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(byte)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,address)", p0, p1) ); } function log( uint256 p0, uint256 p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2) ); } function log( uint256 p0, uint256 p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2) ); } function log( uint256 p0, uint256 p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2) ); } function log( uint256 p0, uint256 p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2) ); } function log( uint256 p0, string memory p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2) ); } function log( uint256 p0, string memory p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2) ); } function log( uint256 p0, string memory p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2) ); } function log( uint256 p0, string memory p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2) ); } function log( uint256 p0, bool p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2) ); } function log( uint256 p0, bool p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2) ); } function log( uint256 p0, bool p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2) ); } function log( uint256 p0, bool p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2) ); } function log( uint256 p0, address p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2) ); } function log( uint256 p0, address p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2) ); } function log( uint256 p0, address p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2) ); } function log( uint256 p0, address p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2) ); } function log( string memory p0, uint256 p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2) ); } function log( string memory p0, uint256 p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2) ); } function log( string memory p0, uint256 p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2) ); } function log( string memory p0, uint256 p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2) ); } function log( string memory p0, string memory p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2) ); } function log( string memory p0, string memory p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,string,string)", p0, p1, p2) ); } function log( string memory p0, string memory p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2) ); } function log( string memory p0, string memory p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,string,address)", p0, p1, p2) ); } function log( string memory p0, bool p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2) ); } function log( string memory p0, bool p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2) ); } function log( string memory p0, bool p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2) ); } function log( string memory p0, bool p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2) ); } function log( string memory p0, address p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2) ); } function log( string memory p0, address p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,address,string)", p0, p1, p2) ); } function log( string memory p0, address p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2) ); } function log( string memory p0, address p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(string,address,address)", p0, p1, p2) ); } function log( bool p0, uint256 p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2) ); } function log( bool p0, uint256 p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2) ); } function log( bool p0, uint256 p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2) ); } function log( bool p0, uint256 p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2) ); } function log( bool p0, string memory p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2) ); } function log( bool p0, string memory p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2) ); } function log( bool p0, string memory p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2) ); } function log( bool p0, string memory p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2) ); } function log( bool p0, bool p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2) ); } function log( bool p0, bool p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2) ); } function log( bool p0, bool p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2) ); } function log( bool p0, bool p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2) ); } function log( bool p0, address p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2) ); } function log( bool p0, address p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2) ); } function log( bool p0, address p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2) ); } function log( bool p0, address p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2) ); } function log( address p0, uint256 p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2) ); } function log( address p0, uint256 p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2) ); } function log( address p0, uint256 p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2) ); } function log( address p0, uint256 p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2) ); } function log( address p0, string memory p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2) ); } function log( address p0, string memory p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,string,string)", p0, p1, p2) ); } function log( address p0, string memory p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2) ); } function log( address p0, string memory p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,string,address)", p0, p1, p2) ); } function log( address p0, bool p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2) ); } function log( address p0, bool p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2) ); } function log( address p0, bool p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2) ); } function log( address p0, bool p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2) ); } function log( address p0, address p1, uint256 p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2) ); } function log( address p0, address p1, string memory p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,address,string)", p0, p1, p2) ); } function log( address p0, address p1, bool p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2) ); } function log( address p0, address p1, address p2 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(address,address,address)", p0, p1, p2) ); } function log( uint256 p0, uint256 p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3) ); } function log( uint256 p0, uint256 p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,uint,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3) ); } function log( uint256 p0, uint256 p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,uint,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,string,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,string,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,string,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,string,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3) ); } function log( uint256 p0, uint256 p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,bool,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3) ); } function log( uint256 p0, uint256 p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,bool,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,address,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,address,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,address,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, uint256 p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,uint,address,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,uint,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,uint,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,uint,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,uint,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,string,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,string,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,string,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,string,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,bool,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,bool,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,bool,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,bool,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,address,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,address,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,address,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, string memory p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,string,address,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3) ); } function log( uint256 p0, bool p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,uint,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3) ); } function log( uint256 p0, bool p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,uint,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,string,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,string,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,string,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,string,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3) ); } function log( uint256 p0, bool p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,bool,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3) ); } function log( uint256 p0, bool p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,bool,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,address,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,address,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,address,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, bool p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,bool,address,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,uint,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,uint,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,uint,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,uint,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,string,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,string,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,string,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,string,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,bool,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,bool,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,bool,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,bool,address)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,address,uint)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,address,string)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,address,bool)", p0, p1, p2, p3 ) ); } function log( uint256 p0, address p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(uint,address,address,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,uint,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,uint,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,uint,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,uint,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,string,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,string,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,string,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,string,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,bool,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,bool,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,bool,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,bool,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,address,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,address,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,address,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, uint256 p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,uint,address,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,uint,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,uint,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,uint,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,uint,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,string,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,string,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,string,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,string,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,bool,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,bool,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,bool,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,bool,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,address,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,address,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,address,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, string memory p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,string,address,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,uint,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,uint,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,uint,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,uint,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,string,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,string,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,string,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,string,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,bool,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,bool,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,bool,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,bool,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,address,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,address,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,address,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, bool p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,bool,address,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,uint,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,uint,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,uint,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,uint,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,string,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,string,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,string,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,string,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,bool,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,bool,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,bool,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,bool,address)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,address,uint)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,address,string)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,address,bool)", p0, p1, p2, p3 ) ); } function log( string memory p0, address p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(string,address,address,address)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3) ); } function log( bool p0, uint256 p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,uint,string)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3) ); } function log( bool p0, uint256 p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,uint,address)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,string,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,string,string)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,string,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,string,address)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3) ); } function log( bool p0, uint256 p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,bool,string)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3) ); } function log( bool p0, uint256 p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,bool,address)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,address,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,address,string)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,address,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, uint256 p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,uint,address,address)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,uint,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,uint,string)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,uint,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,uint,address)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,string,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,string,string)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,string,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,string,address)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,bool,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,bool,string)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,bool,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,bool,address)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,address,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,address,string)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,address,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, string memory p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,string,address,address)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3) ); } function log( bool p0, bool p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,uint,string)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3) ); } function log( bool p0, bool p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,uint,address)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,string,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,string,string)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,string,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,string,address)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3) ); } function log( bool p0, bool p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,bool,string)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3) ); } function log( bool p0, bool p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,bool,address)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,address,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,address,string)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,address,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, bool p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,bool,address,address)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,uint,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,uint,string)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,uint,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,uint,address)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,string,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,string,string)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,string,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,string,address)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,bool,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,bool,string)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,bool,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,bool,address)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,address,uint)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,address,string)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,address,bool)", p0, p1, p2, p3 ) ); } function log( bool p0, address p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(bool,address,address,address)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,uint,uint)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,uint,string)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,uint,bool)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,uint,address)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,string,uint)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,string,string)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,string,bool)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,string,address)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,bool,uint)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,bool,string)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,bool,bool)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,bool,address)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,address,uint)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,address,string)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,address,bool)", p0, p1, p2, p3 ) ); } function log( address p0, uint256 p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,uint,address,address)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,uint,uint)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,uint,string)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,uint,bool)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,uint,address)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,string,uint)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,string,string)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,string,bool)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,string,address)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,bool,uint)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,bool,string)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,bool,bool)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,bool,address)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,address,uint)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,address,string)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,address,bool)", p0, p1, p2, p3 ) ); } function log( address p0, string memory p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,string,address,address)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,uint,uint)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,uint,string)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,uint,bool)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,uint,address)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,string,uint)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,string,string)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,string,bool)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,string,address)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,bool,uint)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,bool,string)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,bool,bool)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,bool,address)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,address,uint)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,address,string)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,address,bool)", p0, p1, p2, p3 ) ); } function log( address p0, bool p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,bool,address,address)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, uint256 p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,uint,uint)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, uint256 p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,uint,string)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, uint256 p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,uint,bool)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, uint256 p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,uint,address)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, string memory p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,string,uint)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, string memory p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,string,string)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, string memory p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,string,bool)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, string memory p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,string,address)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, bool p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,bool,uint)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, bool p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,bool,string)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, bool p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,bool,bool)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, bool p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,bool,address)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, address p2, uint256 p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,address,uint)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, address p2, string memory p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,address,string)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, address p2, bool p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,address,bool)", p0, p1, p2, p3 ) ); } function log( address p0, address p1, address p2, address p3 ) internal view { _sendLogPayload( abi.encodeWithSignature( "log(address,address,address,address)", p0, p1, p2, p3 ) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal virtual view returns (address payable) { return msg.sender; } function _msgData() internal virtual view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require( set._values.length > index, "EnumerableSet: index out of bounds" ); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); function calculateCurve() 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 ); }
pragma solidity ^0.6.7; import "./AggregatorInterface.sol"; contract PriceFeed { /** * Network: Rinkeby * Aggregator: ETH/USD * Address: 0x0bF4e7bf3e1f6D6Dc29AA516A33134985cC3A5aA */ /** * Returns the latest price */ function getLatestPrice(address _address) internal view returns (uint256) { AggregatorInterface priceFeed = AggregatorInterface(_address); int256 p = priceFeed.latestAnswer(); require(p > 0, "Invalid price feed!"); return uint256(p); } /** * Returns the timestamp of the latest price update */ function getLatestPriceTimestamp(address _address) internal view returns (uint256) { AggregatorInterface priceFeed = AggregatorInterface(_address); return priceFeed.latestTimestamp(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reciever","type":"address"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BRRRxContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"EmergencyWithdrawalCoins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"EmergencyWithdrawalETH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FOUNDING_FATHER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Online","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTALCAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TreasuryReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_acceptedStableCoins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"","type":"uint128"}],"name":"_all_Claim_ids","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"","type":"uint128"}],"name":"_all_Claims","outputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_ending","type":"uint256"},{"internalType":"uint256","name":"_amount_to_give","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_all_supply_checks","outputs":[{"internalType":"uint256","name":"_last_check","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint128","name":"","type":"uint128"}],"name":"_claimed_stimulus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_coin_deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_deposits_eth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_total_withdrawals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"address","name":"_oracleAddress","type":"address"}],"name":"addAcceptedStableCoin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_id","type":"uint128"},{"internalType":"uint256","name":"_total_amount","type":"uint256"},{"internalType":"uint256","name":"_ending_in_days","type":"uint256"},{"internalType":"uint256","name":"_amount_to_get","type":"uint256"}],"name":"addStimulus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[],"name":"brrrEvent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"calculateCurve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateWithdrawalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"_id","type":"uint128"}],"name":"claimStimulus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"convertBrrrXintoBrrr","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"old_brrr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"printWithETH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"printWithStablecoin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"returnBrrrForCoins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"returnBrrrForETH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_brrrxcontract","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setBrrrXAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_brrr_old","type":"address"}],"name":"setSwapAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapOldBRRR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"swapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tether","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleOffline","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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"}]
Contract Creation Code
60806040526001805460ff1916811790556c01027e72f1f1281308800000006011556015805474dac17f958d2ee523a2206206994597c13d831ec700610100600160a81b0319909116179055601680546001600160a01b03191673df3b985e15281efecf203998200b26f024699f471790553480156200007e57600080fd5b5060405162004db838038062004db883398181016040526040811015620000a457600080fd5b8101908080516040519392919084640100000000821115620000c557600080fd5b908301906020820185811115620000db57600080fd5b8251640100000000811182820188101715620000f657600080fd5b82525081516020918201929091019080838360005b83811015620001255781810151838201526020016200010b565b50505050905090810190601f168015620001535780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200017757600080fd5b9083019060208201858111156200018d57600080fd5b8251640100000000811182820188101715620001a857600080fd5b82525081516020918201929091019080838360005b83811015620001d7578181015183820152602001620001bd565b50505050905090810190601f168015620002055780820380516001836020036101000a031916815260200191505b5060405250508251620002219150601390602085019062000616565b5080516200023790601490602084019062000616565b506015805460ff19166012179055620002526000336200041d565b6200027e7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa336200041d565b60155460018054610100600160a81b031916610100928390046001600160a01b0390811684029190911791829055604080516318160ddd60e01b81529051600094909304909116916318160ddd91600480820192602092909190829003018186803b158015620002ed57600080fd5b505afa15801562000302573d6000803e3d6000fd5b505050506040513d60208110156200031957600080fd5b50516509184e72a0008102600f9081553360009081526002602090815260409091206aadb53acfa41aee1200000090819055601281905591549293506200036b929190620031456200042d821b17901c565b6010819055506200038f601254600f546200042d60201b620031451790919060201c565b600f556200039c6200069b565b506040805180820190915242815260208101918252600e805460018101825560009190915290517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60029092029182015590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe9091015550620006cc9050565b62000429828262000480565b5050565b60006200047783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250620004f960201b60201c565b90505b92915050565b600082815260208181526040909120620004a59183906200318762000594821b17901c565b156200042957620004b5620005ab565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081848411156200058c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200055057818101518382015260200162000536565b50505050905090810190601f1680156200057e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600062000477836001600160a01b038416620005af565b3390565b6000620005bd8383620005fe565b620005f5575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200047a565b5060006200047a565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200065957805160ff191683800117855562000689565b8280016001018555821562000689579182015b82811115620006895782518255916020019190600101906200066c565b5062000697929150620006b5565b5090565b604051806040016040528060008152602001600081525090565b5b80821115620006975760008155600101620006b6565b6146dc80620006dc6000396000f3fe6080604052600436106103355760003560e01c80637dc4b9cc116101ab578063a6c5ed08116100f7578063c995031811610095578063dd62ed3e1161006f578063dd62ed3e14610c30578063def4bc4714610c6b578063fc241e1114610c9e578063fd481aed14610cd957610335565b8063c995031814610bb8578063ca15c87314610bcd578063d547741f14610bf757610335565b8063c2e1500b116100d1578063c2e1500b14610b28578063c36178c114610b3d578063c3d46f7014610b70578063c84d3b1e14610b8557610335565b8063a6c5ed0814610aa1578063a9059cbb14610ada578063abdaccc114610b1357610335565b80639551654111610164578063a253c06e1161013e578063a253c06e146109e5578063a3d71fee146109fa578063a457c2d714610a35578063a5e0512914610a6e57610335565b806395516541146109b357806395d89b41146109bb578063a217fddf146109d057610335565b80637dc4b9cc1461089c5780638073cab4146108cf57806381c61090146108e45780638f719ded146109175780639010d07c1461094a57806391d148541461097a57610335565b8063313ce5671161028557806357a4ab2f116102235780635d562083116101fd5780635d5620831461080e5780635efc071a1461082357806370a08231146108545780637927d21c1461088757610335565b806357a4ab2f14610793578063582386e6146107a85780635acc2bf7146107db57610335565b806336568abe1161025f57806336568abe146106ac57806339509351146106e55780633a46d4f11461071e5780634683e9641461076057610335565b8063313ce5671461062757806334061d8614610652578063355274ea1461069757610335565b80631db4d75f116102f2578063248a9ca3116102cc578063248a9ca3146105365780632ce705fd146105605780632f2ff15d1461059b5780632fe5d312146105d657610335565b80631db4d75f1461047d5780631def1ede146104b057806323b872dd146104f357610335565b806306fdde031461034057806309500c17146103ca578063095ea7b3146103f1578063099e7f6c1461043e5780630cadb5e31461045357806318160ddd14610468575b61033d610cee565b50005b34801561034c57600080fd5b50610355610e67565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561038f578181015183820152602001610377565b50505050905090810190601f1680156103bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103d657600080fd5b506103df610efd565b60408051918252519081900360200190f35b3480156103fd57600080fd5b5061042a6004803603604081101561041457600080fd5b506001600160a01b0381351690602001356113b6565b604080519115158252519081900360200190f35b34801561044a57600080fd5b506103df6113d4565b34801561045f57600080fd5b506103df6113da565b34801561047457600080fd5b506103df6113fe565b34801561048957600080fd5b5061042a600480360360208110156104a057600080fd5b50356001600160a01b031661141c565b3480156104bc57600080fd5b506104da600480360360208110156104d357600080fd5b50356117da565b6040805192835260208301919091528051918290030190f35b3480156104ff57600080fd5b5061042a6004803603606081101561051657600080fd5b506001600160a01b03813581169160208101359091169060400135611805565b34801561054257600080fd5b506103df6004803603602081101561055957600080fd5b503561188c565b34801561056c57600080fd5b506103df6004803603604081101561058357600080fd5b506001600160a01b03813581169160200135166118a1565b3480156105a757600080fd5b506105d4600480360360408110156105be57600080fd5b50803590602001356001600160a01b03166118be565b005b3480156105e257600080fd5b50610609600480360360208110156105f957600080fd5b50356001600160801b031661192a565b60408051938452602084019290925282820152519081900360600190f35b34801561063357600080fd5b5061063c61194b565b6040805160ff9092168252519081900360200190f35b34801561065e57600080fd5b5061042a6004803603608081101561067557600080fd5b506001600160801b038135169060208101359060408101359060600135611954565b3480156106a357600080fd5b506103df611ae0565b3480156106b857600080fd5b506105d4600480360360408110156106cf57600080fd5b50803590602001356001600160a01b0316611ae6565b3480156106f157600080fd5b5061042a6004803603604081101561070857600080fd5b506001600160a01b038135169060200135611b47565b34801561072a57600080fd5b5061042a6004803603604081101561074157600080fd5b5080356001600160a01b031690602001356001600160801b0316611b95565b34801561076c57600080fd5b5061042a6004803603602081101561078357600080fd5b50356001600160a01b0316611bb5565b34801561079f57600080fd5b5061042a611c6f565b3480156107b457600080fd5b5061042a600480360360208110156107cb57600080fd5b50356001600160801b0316611f75565b3480156107e757600080fd5b5061042a600480360360208110156107fe57600080fd5b50356001600160a01b0316612239565b34801561081a57600080fd5b506103df612406565b34801561082f57600080fd5b50610838612481565b604080516001600160a01b039092168252519081900360200190f35b34801561086057600080fd5b506103df6004803603602081101561087757600080fd5b50356001600160a01b0316612495565b34801561089357600080fd5b5061042a6124b0565b3480156108a857600080fd5b5061042a600480360360208110156108bf57600080fd5b50356001600160a01b031661251c565b3480156108db57600080fd5b506103df6125e4565b3480156108f057600080fd5b5061042a6004803603602081101561090757600080fd5b50356001600160a01b031661265e565b34801561092357600080fd5b5061042a6004803603602081101561093a57600080fd5b50356001600160801b0316612673565b34801561095657600080fd5b506108386004803603604081101561096d57600080fd5b5080359060200135612688565b34801561098657600080fd5b5061042a6004803603604081101561099d57600080fd5b50803590602001356001600160a01b03166126a7565b61042a610cee565b3480156109c757600080fd5b506103556126bf565b3480156109dc57600080fd5b506103df612720565b3480156109f157600080fd5b506103df612725565b348015610a0657600080fd5b5061042a60048036036040811015610a1d57600080fd5b506001600160a01b038135811691602001351661272b565b348015610a4157600080fd5b5061042a60048036036040811015610a5857600080fd5b506001600160a01b03813516906020013561283f565b348015610a7a57600080fd5b506103df60048036036020811015610a9157600080fd5b50356001600160a01b03166128a7565b348015610aad57600080fd5b5061042a60048036036040811015610ac457600080fd5b506001600160a01b0381351690602001356128b9565b348015610ae657600080fd5b5061042a60048036036040811015610afd57600080fd5b506001600160a01b038135169060200135612c4b565b348015610b1f57600080fd5b50610838612c5f565b348015610b3457600080fd5b5061042a612c6e565b348015610b4957600080fd5b5061042a60048036036020811015610b6057600080fd5b50356001600160a01b0316612c77565b348015610b7c57600080fd5b506103df612c8c565b348015610b9157600080fd5b506103df60048036036020811015610ba857600080fd5b50356001600160a01b0316612c92565b348015610bc457600080fd5b5061042a612ca4565b348015610bd957600080fd5b506103df60048036036020811015610bf057600080fd5b5035612ec5565b348015610c0357600080fd5b506105d460048036036040811015610c1a57600080fd5b50803590602001356001600160a01b0316612edc565b348015610c3c57600080fd5b506103df60048036036040811015610c5357600080fd5b506001600160a01b0381358116916020013516612f35565b348015610c7757600080fd5b5061042a60048036036020811015610c8e57600080fd5b50356001600160a01b0316612f60565b348015610caa57600080fd5b5061042a60048036036040811015610cc157600080fd5b506001600160a01b0381351690602001351515612f75565b348015610ce557600080fd5b5061042a613009565b60015460009060ff16610d36576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b60003411610d755760405162461bcd60e51b81526004018080602001828103825260328152602001806145ad6032913960400191505060405180910390fd5b6000610d7f6125e4565b90506000610d9f82610d9934670de0b6b3a764000061319c565b906131f5565b905060008111610df6576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b610e263460076000610e06613237565b6001600160a01b031681526020810191909152604001600020549061323b565b60076000610e32613237565b6001600160a01b03168152602081019190915260400160002055610e5d610e57613237565b82613295565b6001925050505b90565b60138054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ef35780601f10610ec857610100808354040283529160200191610ef3565b820191906000526020600020905b815481529060010190602001808311610ed657829003601f168201915b5050505050905090565b60015460009060ff16610f45576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600e8054610f54906001613145565b81548110610f5e57fe5b9060005260206000209060020201600001544211610fb6576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636865636b65642160801b604482015290519081900360640190fd5b600e805460009190610fc9906001613145565b81548110610fd357fe5b60009182526020822060029091020154600e805491935090610ff6906001613145565b8154811061100057fe5b9060005260206000209060020201600101549050600060018054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561106257600080fd5b505afa158015611076573d6000803e3d6000fd5b505050506040513d602081101561108c57600080fd5b50519050818114156110e5576040805162461bcd60e51b815260206004820152601960248201527f54686520737570706c79206861736e2774206368616e67656400000000000000604482015290519081900360640190fd5b6110ed6143d2565b506040805180820182524281526020808201848152600e805460018101825560009190915283517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60029092029182015590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe909101558251808401909352601383527203732bb903a32ba3432b91039bab838363c9d1606d1b9083015264e8d4a510009384029390920291906111a5908361341a565b6111da60405180604001604052806013815260200172037b632103a32ba3432b91039bab838363c9d1606d1b8152508461341a565b600061120184610d996111f8866111f284600261319c565b90613145565b600f549061319c565b90506112426040518060400160405280601b81526020017f6e65772076616c75652066726f6d20666f726d756c612069733a2000000000008152508261341a565b8383101561130057600f54611258908290613145565b90506000611268826103e86131f5565b90506112946040518060400160405280600881526020016703932bbb0b9321d160c51b8152508261341a565b61129e8282613145565b91506112df6040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a208152508361341a565b6112e8826134c8565b506112f2816135af565b509550610e64945050505050565b838311156113ae57600f546113159082613145565b90506000611325826103e86131f5565b90506113516040518060400160405280600881526020016703932bbb0b9321d160c51b8152508261341a565b61135b8282613145565b915061139c6040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a208152508361341a565b6113a582613640565b6112f2816135af565b505050505090565b60006113ca6113c3613237565b84846136de565b5060015b92915050565b60115481565b7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa81565b6000611417600f5460125461323b90919063ffffffff16565b905090565b60015460009060ff16611464576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526004602052604090205460ff166114bb5760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b600960006114c7613237565b6001600160a01b0390811682526020808301939093526040918201600090812091861681529252902054611539576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b600060026000611547613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116115ac576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b60006115b6612406565b6001600160a01b03808516600090815260066020526040812054929350916115de91166137ca565b9050600061162683610d9984600960006115f6613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549061319c565b90508060026000611635613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054106116a9576116a381611667613237565b8760096000611674613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054613884565b5061179a565b60006116eb670de0b6b3a7640000610d9985610d9988600260006116cb613237565b6001600160a01b031681526020810191909152604001600020549061319c565b9050600260006116f9613237565b6001600160a01b03166001600160a01b03168152602001908152602001600020548111156117585760405162461bcd60e51b815260040180806020018281038252602a815260200180614563602a913960400191505060405180910390fd5b61179760026000611767613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611790613237565b8884613884565b50505b6117ab600160086000610e06613237565b600860006117b7613237565b6001600160a01b0316815260208101919091526040016000205550919392505050565b600e81815481106117e757fe5b60009182526020909120600290910201805460019091015490915082565b6000611812848484613a2d565b6118828461181e613237565b61187d8560405180606001604052806028815260200161451b602891396001600160a01b038a1660009081526003602052604081209061185c613237565b6001600160a01b031681526020810191909152604001600020549190613b6d565b6136de565b5060019392505050565b60009081526020819052604090206002015490565b600960209081526000928352604080842090915290825290205481565b6000828152602081905260409020600201546118e1906118dc613237565b6126a7565b61191c5760405162461bcd60e51b815260040180806020018281038252602f815260200180614432602f913960400191505060405180910390fd5b6119268282613c04565b5050565b600d6020526000908152604090208054600182015460029092015490919083565b60155460ff1690565b60015460009060ff1661199c576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6119c67fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa336126a7565b611a17576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206973206e6f74206120466f756e64696e672046617468657200604482015290519081900360640190fd5b6001600160801b0385166000908152600b602052604090205460ff1615611a77576040805162461bcd60e51b815260206004820152600f60248201526e125108185b1c9958591e481d5cd959608a1b604482015290519081900360640190fd5b600f54841115611a8657600080fd5b506001600160801b0384166000908152600b60209081526040808320805460ff19166001908117909155600d909252909120670de0b6b3a76400008502815560028101839055426201518085020190820155949350505050565b60115490565b611aee613237565b6001600160a01b0316816001600160a01b031614611b3d5760405162461bcd60e51b815260040180806020018281038252602f815260200180614678602f913960400191505060405180910390fd5b6119268282613c6d565b60006113ca611b54613237565b8461187d8560036000611b65613237565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061323b565b600a60209081526000928352604080842090915290825290205460ff1681565b60015460009060ff16611bfd576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526005602052604090205460ff161515600114611c66576040805162461bcd60e51b8152602060048201526014602482015273139bdd081848109494949e0818dbdb9d1c9858dd60621b604482015290519081900360640190fd5b6113ca82613cd6565b60015460009060ff16611cb7576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600060076000611cc5613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611d2f576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b600060026000611d3d613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611da2576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b6000611dac612406565b90506000611df2670de0b6b3a7640000611dec8460076000611dcc613237565b6001600160a01b03168152602081019190915260400160002054906131f5565b9061319c565b90508060026000611e01613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205410611e6b57611e6581611e33613237565b60076000611e3f613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054613e5b565b50611f37565b6000611e89670de0b6b3a7640000610d9985600260006116cb613237565b905060026000611e97613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054811115611ef65760405162461bcd60e51b815260040180806020018281038252602a815260200180614563602a913960400191505060405180910390fd5b611f3460026000611f05613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611f2e613237565b83613e5b565b50505b611f48600160086000610e06613237565b60086000611f54613237565b6001600160a01b031681526020810191909152604001600020555090919050565b60015460009060ff16611fbd576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160801b0382166000908152600b602052604090205460ff1661201c576040805162461bcd60e51b815260206004820152600f60248201526e10db185a5b481b9bdd081d985b1a59608a1b604482015290519081900360640190fd5b600a6000612028613237565b6001600160a01b03168152602080820192909252604090810160009081206001600160801b038616825290925290205460ff16156120a0576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636c61696d65642160801b604482015290519081900360640190fd5b6001600160801b0382166000908152600d6020526040902060010154421115612110576040805162461bcd60e51b815260206004820152601a60248201527f5374696d756c7573207061636b6167652068617320656e646564000000000000604482015290519081900360640190fd5b6001600160801b0382166000908152600d60205260409020600281015490541015612174576040805162461bcd60e51b815260206004820152600f60248201526e09eeae840decc40dadedccaf240745608b1b604482015290519081900360640190fd5b6001600a6000612182613237565b6001600160a01b03168152602080820192909252604090810160009081206001600160801b03871682528352818120805460ff191694151594909417909355600d9091529020600281015490546121e291670de0b6b3a764000002613145565b6001600160801b0383166000908152600d6020526040902055612231612206613237565b6001600160801b0384166000908152600d6020526040902060020154670de0b6b3a764000002613295565b506001919050565b60015460009060ff1615612290576040805162461bcd60e51b815260206004820152601960248201527810dbdb9d1c9858dd081a5cc81c9d5b9b9a5b99c81cdd1a5b1b603a1b604482015290519081900360640190fd5b60015460ff16156122e8576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b6001600160a01b03821660009081526004602052604090205460ff1661233f5760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b6009600061234b613237565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020546123bd576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6113ca60006123ca613237565b84600960006123d7613237565b6001600160a01b03908116825260208083019390935260409182016000908120918a1681529252902054613884565b6000806124116125e4565b9050600060086000612421613237565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050600181101561245557509050610e64565b60638110612461575060635b61247a6124736064610d99858561319c565b8390613145565b9250505090565b60155461010090046001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b60006124bc81336126a7565b612506576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b506001805460ff19811660ff9091161517815590565b600061252881336126a7565b612572576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0382166125c0576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601680546001600160a01b0319166001600160a01b03939093169290921790915590565b6000670de0b6b3a7640000600f5411612619576126126064610d99600a60125461319c90919063ffffffff16565b9050610e64565b600061264c600f5461263c6064610d99600a60125461319c90919063ffffffff16565b670de0b6b3a764000002906131f5565b90506000811161141757506001905090565b600c6020526000908152604090205460ff1681565b600b6020526000908152604090205460ff1681565b60008281526020819052604081206126a09083613fd9565b9392505050565b60008281526020819052604081206126a09083613fe5565b60148054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ef35780601f10610ec857610100808354040283529160200191610ef3565b600081565b60125481565b60015460009060ff16612773576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b61279d7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa336126a7565b6127ee576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206973206e6f74206120466f756e64696e672046617468657200604482015290519081900360640190fd5b506001600160a01b0391821660009081526004602081815260408084208054600160ff1990911617815560068352932080546001600160a01b03191694909516939093179093559190525460ff1690565b60006113ca61284c613237565b8461187d856040518060600160405280602581526020016146536025913960036000612876613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190613b6d565b60086020526000908152604090205481565b60015460009060ff16612901576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03831660009081526004602052604090205460ff166129585760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b8260006001600160a01b03821663dd62ed3e612972613237565b306040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b1580156129c057600080fd5b505afa1580156129d4573d6000803e3d6000fd5b505050506040513d60208110156129ea57600080fd5b5051905083811015612a43576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20616c6c6f77616e6365206e6f7420656e6f756768000000000000604482015290519081900360640190fd5b6000612a4d6125e4565b6001600160a01b0380881660009081526006602052604081205492935091612a7591166137ca565b90506000612a8783610d99898561319c565b905060008111612ade576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b846001600160a01b03166323b872dd612af5613237565b308a6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612b4d57600080fd5b505af1158015612b61573d6000803e3d6000fd5b505050506040513d6020811015612b7757600080fd5b5051612bbc576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b612bfc8760096000612bcc613237565b6001600160a01b03908116825260208083019390935260409182016000908120918e16815292529020549061323b565b60096000612c08613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902055612c3d610e57613237565b506001979650505050505050565b60006113ca612c58613237565b8484613a2d565b6016546001600160a01b031681565b60015460ff1681565b60046020526000908152604090205460ff1681565b600f5481565b60076020526000908152604090205481565b60015460009060ff16612cec576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600c6000612cf8613237565b6001600160a01b0316815260208101919091526040016000205460ff1615612d5e576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6016546001600160a01b03166000816370a08231612d7a613237565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612db757600080fd5b505afa158015612dcb573d6000803e3d6000fd5b505050506040513d6020811015612de157600080fd5b505190506001600c6000612df3613237565b6001600160a01b0390811682526020820192909252604001600020805460ff19169215159290921790915582166323b872dd612e2d613237565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612e8557600080fd5b505af1158015612e99573d6000803e3d6000fd5b505050506040513d6020811015612eaf57600080fd5b5051612eba57600080fd5b610e5d610e57613237565b60008181526020819052604081206113ce90613ffa565b600082815260208190526040902060020154612efa906118dc613237565b611b3d5760405162461bcd60e51b81526004018080602001828103825260308152602001806144a96030913960400191505060405180910390fd5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60056020526000908152604090205460ff1681565b6000612f8181336126a7565b612fcb576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b038316156113ca576001600160a01b0383166000908152600560205260409020805483151560ff1990911617905550600192915050565b60015460009060ff1615613060576040805162461bcd60e51b815260206004820152601960248201527810dbdb9d1c9858dd081a5cc81c9d5b9b9a5b99c81cdd1a5b1b603a1b604482015290519081900360640190fd5b60015460ff16156130b8576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b6000600760006130c6613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411613130576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b61313d6000611e33613237565b506001905090565b60006126a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b6d565b60006126a0836001600160a01b038416614005565b6000826131ab575060006113ce565b828202828482816131b857fe5b04146126a05760405162461bcd60e51b81526004018080602001828103825260218152602001806144fa6021913960400191505060405180910390fd5b60006126a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061404f565b3390565b6000828201838110156126a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60015460ff166132da576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b038216613335576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600f5481111561338c576040805162461bcd60e51b815260206004820152601b60248201527f4d6f7265207468616e20746865207265736572766520686f6c64730000000000604482015290519081900360640190fd5b601254613399908261323b565b601255600f546133a99082613145565b600f8190556010556001600160a01b0382166000908152600260205260409020546133d4908261323b565b6001600160a01b038316600081815260026020908152604080832094909455835185815293519293919260008051602061458d8339815191529281900390910190a35050565b61192682826040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561346557818101518382015260200161344d565b50505050905090810190601f1680156134925780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b17905293506140b492505050565b6000808211613514576040805162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b604482015290519081900360640190fd5b61351c611ae0565b600f54613529908461323b565b1061356f576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74206578636565642063617607c1b604482015290519081900360640190fd5b600f5461357c908361323b565b600f819055601055604080518381529051309160009160008051602061458d8339815191529181900360200190a3919050565b6012546000906135bf908361323b565b6012556135d28260026000610e06613237565b600260006135de613237565b6001600160a01b03168152602081019190915260400160002055613600613237565b6001600160a01b0316306001600160a01b031660008051602061458d833981519152846040518082815260200191505060405180910390a3506001919050565b600f5481116136a357613670816040518060600160405280602b8152602001614628602b9139600f549190613b6d565b600f819055601055604080518281529051600091309160008051602061458d8339815191529181900360200190a36136db565b670de0b6b3a7640000600f819055601055604080518281529051600091309160008051602061458d8339815191529181900360200190a35b50565b6001600160a01b0383166137235760405162461bcd60e51b81526004018080602001828103825260248152602001806146046024913960400191505060405180910390fd5b6001600160a01b0382166137685760405162461bcd60e51b81526004018080602001828103825260228152602001806144616022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808290506000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561380b57600080fd5b505afa15801561381f573d6000803e3d6000fd5b505050506040513d602081101561383557600080fd5b50519050600081136126a0576040805162461bcd60e51b8152602060048201526013602482015272496e76616c696420707269636520666565642160681b604482015290519081900360640190fd5b6001600160a01b0380841660009081526009602090815260408083209386168352929052908120548211156138fb576040805162461bcd60e51b8152602060048201526018602482015277135bdc99481d1a185b8819195c1bdcda5d08185b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03841660009081526002602052604090205461391e9086613145565b6001600160a01b038516600090815260026020526040902055600f54613944908661323b565b600f8190556010556012546139599086613145565b60125560408051868152905130916001600160a01b0387169160008051602061458d8339815191529181900360200190a36001600160a01b038085166000908152600960209081526040808320938716835292905220546139ba9083613145565b6001600160a01b038086166000908152600960209081526040808320938816835292905220556139eb8484846140d5565b5060405182906001600160a01b038616907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a3506001949350505050565b6001600160a01b038316613a725760405162461bcd60e51b81526004018080602001828103825260258152602001806145df6025913960400191505060405180910390fd5b6001600160a01b038216613ab75760405162461bcd60e51b815260040180806020018281038252602381526020018061440f6023913960400191505060405180910390fd5b613af481604051806060016040528060268152602001614483602691396001600160a01b0386166000908152600260205260409020549190613b6d565b6001600160a01b038085166000908152600260205260408082209390935590841681522054613b23908261323b565b6001600160a01b03808416600081815260026020908152604091829020949094558051858152905191939287169260008051602061458d83398151915292918290030190a3505050565b60008184841115613bfc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613bc1578181015183820152602001613ba9565b50505050905090810190601f168015613bee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020613c1c9082613187565b1561192657613c29613237565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020613c85908261423f565b1561192657613c92613237565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600081816001600160a01b0382166370a08231613cf1613237565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613d2e57600080fd5b505afa158015613d42573d6000803e3d6000fd5b505050506040513d6020811015613d5857600080fd5b50519050801561188257816001600160a01b03166323b872dd613d79613237565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015613dd157600080fd5b505af1158015613de5573d6000803e3d6000fd5b505050506040513d6020811015613dfb57600080fd5b5051613e40576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b611882613e4b613237565b613e5683600a6131f5565b613295565b6001600160a01b038216600090815260076020526040812054821115613ec3576040805162461bcd60e51b8152602060048201526018602482015277135bdc99481d1a185b8819195c1bdcda5d08185b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054613ee69085613145565b6001600160a01b038416600090815260026020526040902055600f54613f0c908561323b565b600f819055601055601254613f219085613145565b60125560408051858152905130916001600160a01b0386169160008051602061458d8339815191529181900360200190a36001600160a01b038316600090815260076020526040902054613f759083613145565b6001600160a01b038416600090815260076020526040902055613f988383614254565b5060405182906001600160a01b038516907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a35060019392505050565b60006126a0838361428c565b60006126a0836001600160a01b0384166142f0565b60006113ce82614308565b600061401183836142f0565b614047575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113ce565b5060006113ce565b6000818361409e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613bc1578181015183820152602001613ba9565b5060008385816140aa57fe5b0495945050505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b60008083905082816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561412957600080fd5b505afa15801561413d573d6000803e3d6000fd5b505050506040513d602081101561415357600080fd5b505110156141a8576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f7567682066756e647320746f207472616e7366657200000000604482015290519081900360640190fd5b806001600160a01b031663a9059cbb86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156141ff57600080fd5b505af1158015614213573d6000803e3d6000fd5b505050506040513d602081101561422957600080fd5b505161423457600080fd5b506001949350505050565b60006126a0836001600160a01b03841661430c565b6040516000906001600160a01b0384169083156108fc0290849084818181858888f19350505050158015611882573d6000803e3d6000fd5b815460009082106142ce5760405162461bcd60e51b81526004018080602001828103825260228152602001806143ed6022913960400191505060405180910390fd5b8260000182815481106142dd57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081815260018301602052604081205480156143c8578354600019808301919081019060009087908390811061433f57fe5b906000526020600020015490508087600001848154811061435c57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061438c57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506113ce565b60009150506113ce565b60405180604001604052806000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e6f74206163636570746564206173206120666f726d206f66207061796d656e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420686173206265656e207475726e6564206f6666000000004d6f7265207468616e20696e20796f75722062616c616e63652c206572726f722077697468206d617468ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef506c656173652073656e64206d6f6e657920746f206d616b6520746865207072696e74657220676f2062727272727272727245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e742065786365656473205472656173757279205265736572766545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220685347471b54668b8f94d314fb76b5a620f4c3679830ea5608e6a545d21cba1564736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a425252522e66692076320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044252525200000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103355760003560e01c80637dc4b9cc116101ab578063a6c5ed08116100f7578063c995031811610095578063dd62ed3e1161006f578063dd62ed3e14610c30578063def4bc4714610c6b578063fc241e1114610c9e578063fd481aed14610cd957610335565b8063c995031814610bb8578063ca15c87314610bcd578063d547741f14610bf757610335565b8063c2e1500b116100d1578063c2e1500b14610b28578063c36178c114610b3d578063c3d46f7014610b70578063c84d3b1e14610b8557610335565b8063a6c5ed0814610aa1578063a9059cbb14610ada578063abdaccc114610b1357610335565b80639551654111610164578063a253c06e1161013e578063a253c06e146109e5578063a3d71fee146109fa578063a457c2d714610a35578063a5e0512914610a6e57610335565b806395516541146109b357806395d89b41146109bb578063a217fddf146109d057610335565b80637dc4b9cc1461089c5780638073cab4146108cf57806381c61090146108e45780638f719ded146109175780639010d07c1461094a57806391d148541461097a57610335565b8063313ce5671161028557806357a4ab2f116102235780635d562083116101fd5780635d5620831461080e5780635efc071a1461082357806370a08231146108545780637927d21c1461088757610335565b806357a4ab2f14610793578063582386e6146107a85780635acc2bf7146107db57610335565b806336568abe1161025f57806336568abe146106ac57806339509351146106e55780633a46d4f11461071e5780634683e9641461076057610335565b8063313ce5671461062757806334061d8614610652578063355274ea1461069757610335565b80631db4d75f116102f2578063248a9ca3116102cc578063248a9ca3146105365780632ce705fd146105605780632f2ff15d1461059b5780632fe5d312146105d657610335565b80631db4d75f1461047d5780631def1ede146104b057806323b872dd146104f357610335565b806306fdde031461034057806309500c17146103ca578063095ea7b3146103f1578063099e7f6c1461043e5780630cadb5e31461045357806318160ddd14610468575b61033d610cee565b50005b34801561034c57600080fd5b50610355610e67565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561038f578181015183820152602001610377565b50505050905090810190601f1680156103bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103d657600080fd5b506103df610efd565b60408051918252519081900360200190f35b3480156103fd57600080fd5b5061042a6004803603604081101561041457600080fd5b506001600160a01b0381351690602001356113b6565b604080519115158252519081900360200190f35b34801561044a57600080fd5b506103df6113d4565b34801561045f57600080fd5b506103df6113da565b34801561047457600080fd5b506103df6113fe565b34801561048957600080fd5b5061042a600480360360208110156104a057600080fd5b50356001600160a01b031661141c565b3480156104bc57600080fd5b506104da600480360360208110156104d357600080fd5b50356117da565b6040805192835260208301919091528051918290030190f35b3480156104ff57600080fd5b5061042a6004803603606081101561051657600080fd5b506001600160a01b03813581169160208101359091169060400135611805565b34801561054257600080fd5b506103df6004803603602081101561055957600080fd5b503561188c565b34801561056c57600080fd5b506103df6004803603604081101561058357600080fd5b506001600160a01b03813581169160200135166118a1565b3480156105a757600080fd5b506105d4600480360360408110156105be57600080fd5b50803590602001356001600160a01b03166118be565b005b3480156105e257600080fd5b50610609600480360360208110156105f957600080fd5b50356001600160801b031661192a565b60408051938452602084019290925282820152519081900360600190f35b34801561063357600080fd5b5061063c61194b565b6040805160ff9092168252519081900360200190f35b34801561065e57600080fd5b5061042a6004803603608081101561067557600080fd5b506001600160801b038135169060208101359060408101359060600135611954565b3480156106a357600080fd5b506103df611ae0565b3480156106b857600080fd5b506105d4600480360360408110156106cf57600080fd5b50803590602001356001600160a01b0316611ae6565b3480156106f157600080fd5b5061042a6004803603604081101561070857600080fd5b506001600160a01b038135169060200135611b47565b34801561072a57600080fd5b5061042a6004803603604081101561074157600080fd5b5080356001600160a01b031690602001356001600160801b0316611b95565b34801561076c57600080fd5b5061042a6004803603602081101561078357600080fd5b50356001600160a01b0316611bb5565b34801561079f57600080fd5b5061042a611c6f565b3480156107b457600080fd5b5061042a600480360360208110156107cb57600080fd5b50356001600160801b0316611f75565b3480156107e757600080fd5b5061042a600480360360208110156107fe57600080fd5b50356001600160a01b0316612239565b34801561081a57600080fd5b506103df612406565b34801561082f57600080fd5b50610838612481565b604080516001600160a01b039092168252519081900360200190f35b34801561086057600080fd5b506103df6004803603602081101561087757600080fd5b50356001600160a01b0316612495565b34801561089357600080fd5b5061042a6124b0565b3480156108a857600080fd5b5061042a600480360360208110156108bf57600080fd5b50356001600160a01b031661251c565b3480156108db57600080fd5b506103df6125e4565b3480156108f057600080fd5b5061042a6004803603602081101561090757600080fd5b50356001600160a01b031661265e565b34801561092357600080fd5b5061042a6004803603602081101561093a57600080fd5b50356001600160801b0316612673565b34801561095657600080fd5b506108386004803603604081101561096d57600080fd5b5080359060200135612688565b34801561098657600080fd5b5061042a6004803603604081101561099d57600080fd5b50803590602001356001600160a01b03166126a7565b61042a610cee565b3480156109c757600080fd5b506103556126bf565b3480156109dc57600080fd5b506103df612720565b3480156109f157600080fd5b506103df612725565b348015610a0657600080fd5b5061042a60048036036040811015610a1d57600080fd5b506001600160a01b038135811691602001351661272b565b348015610a4157600080fd5b5061042a60048036036040811015610a5857600080fd5b506001600160a01b03813516906020013561283f565b348015610a7a57600080fd5b506103df60048036036020811015610a9157600080fd5b50356001600160a01b03166128a7565b348015610aad57600080fd5b5061042a60048036036040811015610ac457600080fd5b506001600160a01b0381351690602001356128b9565b348015610ae657600080fd5b5061042a60048036036040811015610afd57600080fd5b506001600160a01b038135169060200135612c4b565b348015610b1f57600080fd5b50610838612c5f565b348015610b3457600080fd5b5061042a612c6e565b348015610b4957600080fd5b5061042a60048036036020811015610b6057600080fd5b50356001600160a01b0316612c77565b348015610b7c57600080fd5b506103df612c8c565b348015610b9157600080fd5b506103df60048036036020811015610ba857600080fd5b50356001600160a01b0316612c92565b348015610bc457600080fd5b5061042a612ca4565b348015610bd957600080fd5b506103df60048036036020811015610bf057600080fd5b5035612ec5565b348015610c0357600080fd5b506105d460048036036040811015610c1a57600080fd5b50803590602001356001600160a01b0316612edc565b348015610c3c57600080fd5b506103df60048036036040811015610c5357600080fd5b506001600160a01b0381358116916020013516612f35565b348015610c7757600080fd5b5061042a60048036036020811015610c8e57600080fd5b50356001600160a01b0316612f60565b348015610caa57600080fd5b5061042a60048036036040811015610cc157600080fd5b506001600160a01b0381351690602001351515612f75565b348015610ce557600080fd5b5061042a613009565b60015460009060ff16610d36576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b60003411610d755760405162461bcd60e51b81526004018080602001828103825260328152602001806145ad6032913960400191505060405180910390fd5b6000610d7f6125e4565b90506000610d9f82610d9934670de0b6b3a764000061319c565b906131f5565b905060008111610df6576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b610e263460076000610e06613237565b6001600160a01b031681526020810191909152604001600020549061323b565b60076000610e32613237565b6001600160a01b03168152602081019190915260400160002055610e5d610e57613237565b82613295565b6001925050505b90565b60138054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ef35780601f10610ec857610100808354040283529160200191610ef3565b820191906000526020600020905b815481529060010190602001808311610ed657829003601f168201915b5050505050905090565b60015460009060ff16610f45576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600e8054610f54906001613145565b81548110610f5e57fe5b9060005260206000209060020201600001544211610fb6576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636865636b65642160801b604482015290519081900360640190fd5b600e805460009190610fc9906001613145565b81548110610fd357fe5b60009182526020822060029091020154600e805491935090610ff6906001613145565b8154811061100057fe5b9060005260206000209060020201600101549050600060018054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561106257600080fd5b505afa158015611076573d6000803e3d6000fd5b505050506040513d602081101561108c57600080fd5b50519050818114156110e5576040805162461bcd60e51b815260206004820152601960248201527f54686520737570706c79206861736e2774206368616e67656400000000000000604482015290519081900360640190fd5b6110ed6143d2565b506040805180820182524281526020808201848152600e805460018101825560009190915283517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60029092029182015590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe909101558251808401909352601383527203732bb903a32ba3432b91039bab838363c9d1606d1b9083015264e8d4a510009384029390920291906111a5908361341a565b6111da60405180604001604052806013815260200172037b632103a32ba3432b91039bab838363c9d1606d1b8152508461341a565b600061120184610d996111f8866111f284600261319c565b90613145565b600f549061319c565b90506112426040518060400160405280601b81526020017f6e65772076616c75652066726f6d20666f726d756c612069733a2000000000008152508261341a565b8383101561130057600f54611258908290613145565b90506000611268826103e86131f5565b90506112946040518060400160405280600881526020016703932bbb0b9321d160c51b8152508261341a565b61129e8282613145565b91506112df6040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a208152508361341a565b6112e8826134c8565b506112f2816135af565b509550610e64945050505050565b838311156113ae57600f546113159082613145565b90506000611325826103e86131f5565b90506113516040518060400160405280600881526020016703932bbb0b9321d160c51b8152508261341a565b61135b8282613145565b915061139c6040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a208152508361341a565b6113a582613640565b6112f2816135af565b505050505090565b60006113ca6113c3613237565b84846136de565b5060015b92915050565b60115481565b7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa81565b6000611417600f5460125461323b90919063ffffffff16565b905090565b60015460009060ff16611464576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526004602052604090205460ff166114bb5760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b600960006114c7613237565b6001600160a01b0390811682526020808301939093526040918201600090812091861681529252902054611539576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b600060026000611547613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116115ac576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b60006115b6612406565b6001600160a01b03808516600090815260066020526040812054929350916115de91166137ca565b9050600061162683610d9984600960006115f6613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549061319c565b90508060026000611635613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054106116a9576116a381611667613237565b8760096000611674613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054613884565b5061179a565b60006116eb670de0b6b3a7640000610d9985610d9988600260006116cb613237565b6001600160a01b031681526020810191909152604001600020549061319c565b9050600260006116f9613237565b6001600160a01b03166001600160a01b03168152602001908152602001600020548111156117585760405162461bcd60e51b815260040180806020018281038252602a815260200180614563602a913960400191505060405180910390fd5b61179760026000611767613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611790613237565b8884613884565b50505b6117ab600160086000610e06613237565b600860006117b7613237565b6001600160a01b0316815260208101919091526040016000205550919392505050565b600e81815481106117e757fe5b60009182526020909120600290910201805460019091015490915082565b6000611812848484613a2d565b6118828461181e613237565b61187d8560405180606001604052806028815260200161451b602891396001600160a01b038a1660009081526003602052604081209061185c613237565b6001600160a01b031681526020810191909152604001600020549190613b6d565b6136de565b5060019392505050565b60009081526020819052604090206002015490565b600960209081526000928352604080842090915290825290205481565b6000828152602081905260409020600201546118e1906118dc613237565b6126a7565b61191c5760405162461bcd60e51b815260040180806020018281038252602f815260200180614432602f913960400191505060405180910390fd5b6119268282613c04565b5050565b600d6020526000908152604090208054600182015460029092015490919083565b60155460ff1690565b60015460009060ff1661199c576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6119c67fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa336126a7565b611a17576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206973206e6f74206120466f756e64696e672046617468657200604482015290519081900360640190fd5b6001600160801b0385166000908152600b602052604090205460ff1615611a77576040805162461bcd60e51b815260206004820152600f60248201526e125108185b1c9958591e481d5cd959608a1b604482015290519081900360640190fd5b600f54841115611a8657600080fd5b506001600160801b0384166000908152600b60209081526040808320805460ff19166001908117909155600d909252909120670de0b6b3a76400008502815560028101839055426201518085020190820155949350505050565b60115490565b611aee613237565b6001600160a01b0316816001600160a01b031614611b3d5760405162461bcd60e51b815260040180806020018281038252602f815260200180614678602f913960400191505060405180910390fd5b6119268282613c6d565b60006113ca611b54613237565b8461187d8560036000611b65613237565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061323b565b600a60209081526000928352604080842090915290825290205460ff1681565b60015460009060ff16611bfd576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526005602052604090205460ff161515600114611c66576040805162461bcd60e51b8152602060048201526014602482015273139bdd081848109494949e0818dbdb9d1c9858dd60621b604482015290519081900360640190fd5b6113ca82613cd6565b60015460009060ff16611cb7576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600060076000611cc5613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611d2f576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b600060026000611d3d613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611da2576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b6000611dac612406565b90506000611df2670de0b6b3a7640000611dec8460076000611dcc613237565b6001600160a01b03168152602081019190915260400160002054906131f5565b9061319c565b90508060026000611e01613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205410611e6b57611e6581611e33613237565b60076000611e3f613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054613e5b565b50611f37565b6000611e89670de0b6b3a7640000610d9985600260006116cb613237565b905060026000611e97613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054811115611ef65760405162461bcd60e51b815260040180806020018281038252602a815260200180614563602a913960400191505060405180910390fd5b611f3460026000611f05613237565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611f2e613237565b83613e5b565b50505b611f48600160086000610e06613237565b60086000611f54613237565b6001600160a01b031681526020810191909152604001600020555090919050565b60015460009060ff16611fbd576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160801b0382166000908152600b602052604090205460ff1661201c576040805162461bcd60e51b815260206004820152600f60248201526e10db185a5b481b9bdd081d985b1a59608a1b604482015290519081900360640190fd5b600a6000612028613237565b6001600160a01b03168152602080820192909252604090810160009081206001600160801b038616825290925290205460ff16156120a0576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636c61696d65642160801b604482015290519081900360640190fd5b6001600160801b0382166000908152600d6020526040902060010154421115612110576040805162461bcd60e51b815260206004820152601a60248201527f5374696d756c7573207061636b6167652068617320656e646564000000000000604482015290519081900360640190fd5b6001600160801b0382166000908152600d60205260409020600281015490541015612174576040805162461bcd60e51b815260206004820152600f60248201526e09eeae840decc40dadedccaf240745608b1b604482015290519081900360640190fd5b6001600a6000612182613237565b6001600160a01b03168152602080820192909252604090810160009081206001600160801b03871682528352818120805460ff191694151594909417909355600d9091529020600281015490546121e291670de0b6b3a764000002613145565b6001600160801b0383166000908152600d6020526040902055612231612206613237565b6001600160801b0384166000908152600d6020526040902060020154670de0b6b3a764000002613295565b506001919050565b60015460009060ff1615612290576040805162461bcd60e51b815260206004820152601960248201527810dbdb9d1c9858dd081a5cc81c9d5b9b9a5b99c81cdd1a5b1b603a1b604482015290519081900360640190fd5b60015460ff16156122e8576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b6001600160a01b03821660009081526004602052604090205460ff1661233f5760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b6009600061234b613237565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020546123bd576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6113ca60006123ca613237565b84600960006123d7613237565b6001600160a01b03908116825260208083019390935260409182016000908120918a1681529252902054613884565b6000806124116125e4565b9050600060086000612421613237565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050600181101561245557509050610e64565b60638110612461575060635b61247a6124736064610d99858561319c565b8390613145565b9250505090565b60155461010090046001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b60006124bc81336126a7565b612506576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b506001805460ff19811660ff9091161517815590565b600061252881336126a7565b612572576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0382166125c0576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601680546001600160a01b0319166001600160a01b03939093169290921790915590565b6000670de0b6b3a7640000600f5411612619576126126064610d99600a60125461319c90919063ffffffff16565b9050610e64565b600061264c600f5461263c6064610d99600a60125461319c90919063ffffffff16565b670de0b6b3a764000002906131f5565b90506000811161141757506001905090565b600c6020526000908152604090205460ff1681565b600b6020526000908152604090205460ff1681565b60008281526020819052604081206126a09083613fd9565b9392505050565b60008281526020819052604081206126a09083613fe5565b60148054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ef35780601f10610ec857610100808354040283529160200191610ef3565b600081565b60125481565b60015460009060ff16612773576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b61279d7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa336126a7565b6127ee576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206973206e6f74206120466f756e64696e672046617468657200604482015290519081900360640190fd5b506001600160a01b0391821660009081526004602081815260408084208054600160ff1990911617815560068352932080546001600160a01b03191694909516939093179093559190525460ff1690565b60006113ca61284c613237565b8461187d856040518060600160405280602581526020016146536025913960036000612876613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190613b6d565b60086020526000908152604090205481565b60015460009060ff16612901576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b03831660009081526004602052604090205460ff166129585760405162461bcd60e51b81526004018080602001828103825260218152602001806144d96021913960400191505060405180910390fd5b8260006001600160a01b03821663dd62ed3e612972613237565b306040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b1580156129c057600080fd5b505afa1580156129d4573d6000803e3d6000fd5b505050506040513d60208110156129ea57600080fd5b5051905083811015612a43576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20616c6c6f77616e6365206e6f7420656e6f756768000000000000604482015290519081900360640190fd5b6000612a4d6125e4565b6001600160a01b0380881660009081526006602052604081205492935091612a7591166137ca565b90506000612a8783610d99898561319c565b905060008111612ade576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b846001600160a01b03166323b872dd612af5613237565b308a6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612b4d57600080fd5b505af1158015612b61573d6000803e3d6000fd5b505050506040513d6020811015612b7757600080fd5b5051612bbc576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b612bfc8760096000612bcc613237565b6001600160a01b03908116825260208083019390935260409182016000908120918e16815292529020549061323b565b60096000612c08613237565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902055612c3d610e57613237565b506001979650505050505050565b60006113ca612c58613237565b8484613a2d565b6016546001600160a01b031681565b60015460ff1681565b60046020526000908152604090205460ff1681565b600f5481565b60076020526000908152604090205481565b60015460009060ff16612cec576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b600c6000612cf8613237565b6001600160a01b0316815260208101919091526040016000205460ff1615612d5e576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6016546001600160a01b03166000816370a08231612d7a613237565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612db757600080fd5b505afa158015612dcb573d6000803e3d6000fd5b505050506040513d6020811015612de157600080fd5b505190506001600c6000612df3613237565b6001600160a01b0390811682526020820192909252604001600020805460ff19169215159290921790915582166323b872dd612e2d613237565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612e8557600080fd5b505af1158015612e99573d6000803e3d6000fd5b505050506040513d6020811015612eaf57600080fd5b5051612eba57600080fd5b610e5d610e57613237565b60008181526020819052604081206113ce90613ffa565b600082815260208190526040902060020154612efa906118dc613237565b611b3d5760405162461bcd60e51b81526004018080602001828103825260308152602001806144a96030913960400191505060405180910390fd5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60056020526000908152604090205460ff1681565b6000612f8181336126a7565b612fcb576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b038316156113ca576001600160a01b0383166000908152600560205260409020805483151560ff1990911617905550600192915050565b60015460009060ff1615613060576040805162461bcd60e51b815260206004820152601960248201527810dbdb9d1c9858dd081a5cc81c9d5b9b9a5b99c81cdd1a5b1b603a1b604482015290519081900360640190fd5b60015460ff16156130b8576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b6000600760006130c6613237565b6001600160a01b03166001600160a01b031681526020019081526020016000205411613130576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b61313d6000611e33613237565b506001905090565b60006126a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b6d565b60006126a0836001600160a01b038416614005565b6000826131ab575060006113ce565b828202828482816131b857fe5b04146126a05760405162461bcd60e51b81526004018080602001828103825260218152602001806144fa6021913960400191505060405180910390fd5b60006126a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061404f565b3390565b6000828201838110156126a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60015460ff166132da576040805162461bcd60e51b815260206004820152601c6024820152600080516020614543833981519152604482015290519081900360640190fd5b6001600160a01b038216613335576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600f5481111561338c576040805162461bcd60e51b815260206004820152601b60248201527f4d6f7265207468616e20746865207265736572766520686f6c64730000000000604482015290519081900360640190fd5b601254613399908261323b565b601255600f546133a99082613145565b600f8190556010556001600160a01b0382166000908152600260205260409020546133d4908261323b565b6001600160a01b038316600081815260026020908152604080832094909455835185815293519293919260008051602061458d8339815191529281900390910190a35050565b61192682826040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561346557818101518382015260200161344d565b50505050905090810190601f1680156134925780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b17905293506140b492505050565b6000808211613514576040805162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b604482015290519081900360640190fd5b61351c611ae0565b600f54613529908461323b565b1061356f576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74206578636565642063617607c1b604482015290519081900360640190fd5b600f5461357c908361323b565b600f819055601055604080518381529051309160009160008051602061458d8339815191529181900360200190a3919050565b6012546000906135bf908361323b565b6012556135d28260026000610e06613237565b600260006135de613237565b6001600160a01b03168152602081019190915260400160002055613600613237565b6001600160a01b0316306001600160a01b031660008051602061458d833981519152846040518082815260200191505060405180910390a3506001919050565b600f5481116136a357613670816040518060600160405280602b8152602001614628602b9139600f549190613b6d565b600f819055601055604080518281529051600091309160008051602061458d8339815191529181900360200190a36136db565b670de0b6b3a7640000600f819055601055604080518281529051600091309160008051602061458d8339815191529181900360200190a35b50565b6001600160a01b0383166137235760405162461bcd60e51b81526004018080602001828103825260248152602001806146046024913960400191505060405180910390fd5b6001600160a01b0382166137685760405162461bcd60e51b81526004018080602001828103825260228152602001806144616022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808290506000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561380b57600080fd5b505afa15801561381f573d6000803e3d6000fd5b505050506040513d602081101561383557600080fd5b50519050600081136126a0576040805162461bcd60e51b8152602060048201526013602482015272496e76616c696420707269636520666565642160681b604482015290519081900360640190fd5b6001600160a01b0380841660009081526009602090815260408083209386168352929052908120548211156138fb576040805162461bcd60e51b8152602060048201526018602482015277135bdc99481d1a185b8819195c1bdcda5d08185b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03841660009081526002602052604090205461391e9086613145565b6001600160a01b038516600090815260026020526040902055600f54613944908661323b565b600f8190556010556012546139599086613145565b60125560408051868152905130916001600160a01b0387169160008051602061458d8339815191529181900360200190a36001600160a01b038085166000908152600960209081526040808320938716835292905220546139ba9083613145565b6001600160a01b038086166000908152600960209081526040808320938816835292905220556139eb8484846140d5565b5060405182906001600160a01b038616907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a3506001949350505050565b6001600160a01b038316613a725760405162461bcd60e51b81526004018080602001828103825260258152602001806145df6025913960400191505060405180910390fd5b6001600160a01b038216613ab75760405162461bcd60e51b815260040180806020018281038252602381526020018061440f6023913960400191505060405180910390fd5b613af481604051806060016040528060268152602001614483602691396001600160a01b0386166000908152600260205260409020549190613b6d565b6001600160a01b038085166000908152600260205260408082209390935590841681522054613b23908261323b565b6001600160a01b03808416600081815260026020908152604091829020949094558051858152905191939287169260008051602061458d83398151915292918290030190a3505050565b60008184841115613bfc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613bc1578181015183820152602001613ba9565b50505050905090810190601f168015613bee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020613c1c9082613187565b1561192657613c29613237565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020613c85908261423f565b1561192657613c92613237565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600081816001600160a01b0382166370a08231613cf1613237565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613d2e57600080fd5b505afa158015613d42573d6000803e3d6000fd5b505050506040513d6020811015613d5857600080fd5b50519050801561188257816001600160a01b03166323b872dd613d79613237565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015613dd157600080fd5b505af1158015613de5573d6000803e3d6000fd5b505050506040513d6020811015613dfb57600080fd5b5051613e40576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b611882613e4b613237565b613e5683600a6131f5565b613295565b6001600160a01b038216600090815260076020526040812054821115613ec3576040805162461bcd60e51b8152602060048201526018602482015277135bdc99481d1a185b8819195c1bdcda5d08185b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054613ee69085613145565b6001600160a01b038416600090815260026020526040902055600f54613f0c908561323b565b600f819055601055601254613f219085613145565b60125560408051858152905130916001600160a01b0386169160008051602061458d8339815191529181900360200190a36001600160a01b038316600090815260076020526040902054613f759083613145565b6001600160a01b038416600090815260076020526040902055613f988383614254565b5060405182906001600160a01b038516907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a35060019392505050565b60006126a0838361428c565b60006126a0836001600160a01b0384166142f0565b60006113ce82614308565b600061401183836142f0565b614047575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113ce565b5060006113ce565b6000818361409e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613bc1578181015183820152602001613ba9565b5060008385816140aa57fe5b0495945050505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b60008083905082816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561412957600080fd5b505afa15801561413d573d6000803e3d6000fd5b505050506040513d602081101561415357600080fd5b505110156141a8576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f7567682066756e647320746f207472616e7366657200000000604482015290519081900360640190fd5b806001600160a01b031663a9059cbb86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156141ff57600080fd5b505af1158015614213573d6000803e3d6000fd5b505050506040513d602081101561422957600080fd5b505161423457600080fd5b506001949350505050565b60006126a0836001600160a01b03841661430c565b6040516000906001600160a01b0384169083156108fc0290849084818181858888f19350505050158015611882573d6000803e3d6000fd5b815460009082106142ce5760405162461bcd60e51b81526004018080602001828103825260228152602001806143ed6022913960400191505060405180910390fd5b8260000182815481106142dd57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081815260018301602052604081205480156143c8578354600019808301919081019060009087908390811061433f57fe5b906000526020600020015490508087600001848154811061435c57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061438c57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506113ce565b60009150506113ce565b60405180604001604052806000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e6f74206163636570746564206173206120666f726d206f66207061796d656e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420686173206265656e207475726e6564206f6666000000004d6f7265207468616e20696e20796f75722062616c616e63652c206572726f722077697468206d617468ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef506c656173652073656e64206d6f6e657920746f206d616b6520746865207072696e74657220676f2062727272727272727245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e742065786365656473205472656173757279205265736572766545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220685347471b54668b8f94d314fb76b5a620f4c3679830ea5608e6a545d21cba1564736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a425252522e66692076320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044252525200000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): BRRR.fi v2
Arg [1] : symbol (string): BRRR
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 425252522e666920763200000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4252525200000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
532:28415:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28922:14;:12;:14::i;:::-;;532:28415;4017:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24736:1843;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5611:210;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5611:210:3;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2279:46;;;;;;;;;;;;;:::i;918:70::-;;;;;;;;;;;;;:::i;4462:127::-;;;;;;;;;;;;;:::i;23137:1397::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23137:1397:3;-1:-1:-1;;;;;23137:1397:3;;:::i;2095:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2095:39:3;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;6188:458;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6188:458:3;;;;;;;;;;;;;;;;;:::i;4506:114:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4506:114:0;;:::i;1644:69:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1644:69:3;;;;;;;;;;:::i;4882:264:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4882:264:0;;;;;;-1:-1:-1;;;;;4882:264:0;;:::i;:::-;;2001:45:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2001:45:3;-1:-1:-1;;;;;2001:45:3;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;4314:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17045:696;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17045:696:3;;;;;;;;;;;;;;;;;;:::i;14793:79::-;;;;;;;;;;;;;:::i;6165:246:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6165:246:0;;;;;;-1:-1:-1;;;;;6165:246:0;;:::i;6764:300:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6764:300:3;;;;;;;;:::i;1766:69::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1766:69:3;;-1:-1:-1;;;;;1766:69:3;;;;;-1:-1:-1;;;;;1766:69:3;;:::i;21728:262::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21728:262:3;-1:-1:-1;;;;;21728:262:3;;:::i;22124:873::-;;;;;;;;;;;;;:::i;17971:803::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17971:803:3;-1:-1:-1;;;;;17971:803:3;;:::i;27131:614::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27131:614:3;-1:-1:-1;;;;;27131:614:3;;:::i;15113:338::-;;;;;;;;;;;;;:::i;2512:66::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2512:66:3;;;;;;;;;;;;;;4652:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4652:119:3;-1:-1:-1;;;;;4652:119:3;;:::i;27853:226::-;;;;;;;;;;;;;:::i;28582:293::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28582:293:3;-1:-1:-1;;;;;28582:293:3;;:::i;18916:378::-;;;;;;;;;;;;;:::i;1919:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1919:39:3;-1:-1:-1;;;;;1919:39:3;;:::i;1866:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1866:46:3;-1:-1:-1;;;;;1866:46:3;;:::i;4147:170:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4147:170:0;;;;;;;:::i;3108:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3108:139:0;;;;;;-1:-1:-1;;;;;3108:139:0;;:::i;19404:519:3:-;;;:::i;4219:87::-;;;;;;;;;;;;;:::i;1751:49:0:-;;;;;;;;;;;;;:::i;2366:33:3:-;;;;;;;;;;;;;:::i;16439:437::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16439:437:3;;;;;;;;;;:::i;7182:400::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7182:400:3;;;;;;;;:::i;1539:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1539:53:3;-1:-1:-1;;;;;1539:53:3;;:::i;20039:966::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20039:966:3;;;;;;;;:::i;4984:216::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4984:216:3;;;;;;;;:::i;2585:68::-;;;;;;;;;;;;;:::i;598:25::-;;;;;;;;;;;;;:::i;1174:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1174:52:3;-1:-1:-1;;;;;1174:52:3;;:::i;2190:30::-;;;;;;;;;;;;;:::i;1450:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1450:48:3;-1:-1:-1;;;;;1450:48:3;;:::i;12614:470::-;;;;;;;;;;;;;:::i;3421:127:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3421:127:0;;:::i;5391:267::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5391:267:0;;;;;;-1:-1:-1;;;;;5391:267:0;;:::i;5263:201:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5263:201:3;;;;;;;;;;:::i;1233:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1233:46:3;-1:-1:-1;;;;;1233:46:3;;:::i;28199:375::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28199:375:3;;;;;;;;;;:::i;26704:300::-;;;;;;;;;;;;;:::i;19404:519::-;768:6;;19461:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;19512:1:::1;19500:9;:13;19478:113;;;;-1:-1:-1::0;;;19478:113:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19602:9;19614:16;:14;:16::i;:::-;19602:28:::0;-1:-1:-1;19641:14:3::1;19659:28;19602::::0;19659:21:::1;:9;19673:6;19659:13;:21::i;:::-;:25:::0;::::1;:28::i;:::-;19641:47;;19716:1;19707:6;:10;19699:49;;;::::0;;-1:-1:-1;;;19699:49:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;19789:66;19835:9;19789:13;:27;19803:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19789:27:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19789:27:3;;;:31:::1;:66::i;:::-;19759:13;:27;19773:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19759:27:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19759:27:3;:96;19866:27:::1;19872:12;:10;:12::i;:::-;19886:6;19866:5;:27::i;:::-;19911:4;19904:11;;;;818:1;19404:519:::0;:::o;4017:83::-;4087:5;4080:12;;;;;;;;-1:-1:-1;;4080:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4054:13;;4080:12;;4087:5;;4080:12;;4087:5;4080:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4017:83;:::o;24736:1843::-;768:6;;24782:7;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;24859:18:::1;24878:25:::0;;:32:::1;::::0;24908:1:::1;24878:29;:32::i;:::-;24859:52;;;;;;;;;;;;;;;;;;:86;;;24824:15;:121;24802:187;;;::::0;;-1:-1:-1;;;24802:187:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24802:187:3;;;;;;;;;;;;;::::1;;25012:18;25031:25:::0;;25000:9:::1;::::0;25012:18;25031:32:::1;::::0;25061:1:::1;25031:29;:32::i;:::-;25012:52;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;:78:::0;25113:18:::1;25132:25:::0;;25012:78;;-1:-1:-1;25113:18:3;25132:32:::1;::::0;25162:1:::1;25132:29;:32::i;:::-;25113:52;;;;;;;;;;;;;;;;;;:79;;;25101:91;;25203:9;25215:6;::::0;::::1;;;;;;-1:-1:-1::0;;;;;25215:6:3::1;-1:-1:-1::0;;;;;25215:18:3::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25215:20:3;;-1:-1:-1;25254:6:3;;::::1;;25246:44;;;::::0;;-1:-1:-1;;;25246:44:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;25301:21;;:::i;:::-;-1:-1:-1::0;25325:31:3::1;::::0;;;;::::1;::::0;;25337:15:::1;25325:31:::0;;::::1;::::0;;::::1;::::0;;;25367:18:::1;:27:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;25367:27:3;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;25455:37;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;25455:37:3;;::::1;::::0;25413:6:::1;25434:10:::0;;::::1;::::0;25409;;::::1;::::0;25325:31;25455:37:::1;::::0;25409:10;25455:11:::1;:37::i;:::-;25503;;;;;;;;;;;;;;-1:-1:-1::0;;;25503:37:3::1;;::::0;25538:1:::1;25503:11;:37::i;:::-;25551:19;25573:47;25618:1:::0;25574:38:::1;25594:17;25609:1:::0;25595:8:::1;25618:1:::0;25601::::1;25595:5;:8::i;:::-;25594:14:::0;::::1;:17::i;:::-;25574:15;::::0;;:19:::1;:38::i;25573:47::-;25551:69;;25631:55;;;;;;;;;;;;;;;;;::::0;25674:11:::1;25631;:55::i;:::-;25707:1;25703;:5;25699:416;;;25755:15;::::0;25739:32:::1;::::0;:11;;:15:::1;:32::i;:::-;25725:46:::0;-1:-1:-1;25786:14:3::1;25803:21;25725:46:::0;25819:4:::1;25803:15;:21::i;:::-;25786:38;;25839:31;;;;;;;;;;;;;;-1:-1:-1::0;;;25839:31:3::1;;::::0;25863:6:::1;25839:11;:31::i;:::-;25899:23;:11:::0;25915:6;25899:15:::1;:23::i;:::-;25885:37;;25937:60;;;;;;;;;;;;;;;;;::::0;25985:11:::1;25937;:60::i;:::-;26012:29;26029:11;26012:16;:29::i;:::-;;26056:19;26068:6;26056:11;:19::i;:::-;-1:-1:-1::0;26097:6:3;-1:-1:-1;26090:13:3::1;::::0;-1:-1:-1;;;;;26090:13:3::1;25699:416;26133:1;26129;:5;26125:447;;;26207:15;::::0;:32:::1;::::0;26227:11;26207:19:::1;:32::i;:::-;26193:46:::0;-1:-1:-1;26254:14:3::1;26271:21;26193:46:::0;26287:4:::1;26271:15;:21::i;:::-;26254:38;;26307:31;;;;;;;;;;;;;;-1:-1:-1::0;;;26307:31:3::1;;::::0;26331:6:::1;26307:11;:31::i;:::-;26367:23;:11:::0;26383:6;26367:15:::1;:23::i;:::-;26353:37;;26405:60;;;;;;;;;;;;;;;;;::::0;26453:11:::1;26405;:60::i;:::-;26480:18;26486:11;26480:5;:18::i;:::-;26513:19;26525:6;26513:11;:19::i;26125:447::-;818:1;;;;;24736:1843:::0;:::o;5611:210::-;5730:4;5752:39;5761:12;:10;:12::i;:::-;5775:7;5784:6;5752:8;:39::i;:::-;-1:-1:-1;5809:4:3;5611:210;;;;;:::o;2279:46::-;;;;:::o;918:70::-;960:28;918:70;:::o;4462:127::-;4515:7;4542:39;4565:15;;4542:18;;:22;;:39;;;;:::i;:::-;4535:46;;4462:127;:::o;23137:1397::-;768:6;;23236:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;23280:31:3;::::1;;::::0;;;:20:::1;:31;::::0;;;;;::::1;;23258:114;;;;-1:-1:-1::0;;;23258:114:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23405:14;:28;23420:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;23405:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;23405:28:3;;;:39;;::::1;::::0;;;;;;;23383:114:::1;;;::::0;;-1:-1:-1;;;23383:114:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23383:114:3;;;;;;;;;;;;;::::1;;23542:1;23516:9;:23;23526:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;23516:23:3::1;-1:-1:-1::0;;;;;23516:23:3::1;;;;;;;;;;;;;:27;23508:55;;;::::0;;-1:-1:-1;;;23508:55:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23508:55:3;;;;;;;;;;;;;::::1;;23574:9;23586:26;:24;:26::i;:::-;-1:-1:-1::0;;;;;23651:38:3;;::::1;23623:10;23651:38:::0;;;:27:::1;:38;::::0;;;;;23574;;-1:-1:-1;23623:10:3;23636:54:::1;::::0;23651:38:::1;23636:14;:54::i;:::-;23623:67;;23701:9;23713:54;23765:1;23713:47;23757:2;23713:14;:28;23728:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;23713:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;23713:28:3;;;:39;;::::1;::::0;;;;;;;;:43:::1;:47::i;:54::-;23701:66;;23809:1;23782:9;:23;23792:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;23782:23:3::1;-1:-1:-1::0;;;;;23782:23:3::1;;;;;;;;;;;;;:28;23778:640;;23827:169;23863:1;23883:12;:10;:12::i;:::-;23914:9;23942:14;:28;23957:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;23942:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;23942:28:3;;;:39;;::::1;::::0;;;;;;;23827:17:::1;:169::i;:::-;;23778:640;;;24029:9;24041:50;24084:6;24041:38;24076:2;24041:30;24069:1;24041:9;:23;24051:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;24041:23:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;24041:23:3;;;:27:::1;:30::i;:50::-;24029:62;;24137:9;:23;24147:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;24137:23:3::1;-1:-1:-1::0;;;;;24137:23:3::1;;;;;;;;;;;;;24132:1;:28;;24106:132;;;;-1:-1:-1::0;;;24106:132:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24253:153;24289:9;:23;24299:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;24289:23:3::1;-1:-1:-1::0;;;;;24289:23:3::1;;;;;;;;;;;;;24331:12;:10;:12::i;:::-;24362:9;24390:1;24253:17;:153::i;:::-;;23778:640;;24463:63;24514:1;24463:18;:32;24482:12;:10;:12::i;24463:63::-;24428:18;:32;24447:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;24428:32:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;24428:32:3;:98;-1:-1:-1;23137:1397:3;;;-1:-1:-1;;;23137:1397:3:o;2095:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2095:39:3;:::o;6188:458::-;6328:4;6345:36;6355:6;6363:9;6374:6;6345:9;:36::i;:::-;6394:220;6417:6;6438:12;:10;:12::i;:::-;6465:138;6521:6;6465:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6465:19:3;;;;;;:11;:19;;;;;;6485:12;:10;:12::i;:::-;-1:-1:-1;;;;;6465:33:3;;;;;;;;;;;;-1:-1:-1;6465:33:3;;;:138;:37;:138::i;:::-;6394:8;:220::i;:::-;-1:-1:-1;6634:4:3;6188:458;;;;;:::o;4506:114:0:-;4563:7;4590:12;;;;;;;;;;:22;;;;4506:114::o;1644:69:3:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;4882:264:0:-;4988:6;:12;;;;;;;;;;:22;;;4980:45;;5012:12;:10;:12::i;:::-;4980:7;:45::i;:::-;4958:142;;;;-1:-1:-1;;;4958:142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5113:25;5124:4;5130:7;5113:10;:25::i;:::-;4882:264;;:::o;2001:45:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4314:83::-;4380:9;;;;4314:83;:::o;17045:696::-;768:6;;17219:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;17258:36:::1;960:28;17283:10;17258:7;:36::i;:::-;17236:117;;;::::0;;-1:-1:-1;;;17236:117:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;17372:19:3;::::1;;::::0;;;:14:::1;:19;::::0;;;;;::::1;;:28;17364:56;;;::::0;;-1:-1:-1;;;17364:56:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17364:56:3;;;;;;;;;;;;;::::1;;17456:15;;17439:13;:32;;17431:41;;;::::0;::::1;;-1:-1:-1::0;;;;;;17483:19:3;::::1;;::::0;;;:14:::1;:19;::::0;;;;;;;:26;;-1:-1:-1;;17483:26:3::1;17505:4;17483:26:::0;;::::1;::::0;;;17520:11:::1;:16:::0;;;;;;17563:6:::1;17547:22:::0;::::1;17520:49:::0;;17580:32:::1;::::0;::::1;:49:::0;;;17667:15:::1;17704:6;17686:24:::0;::::1;17667:44;17640:24:::0;;::::1;:71:::0;17045:696;;;;;;:::o;14793:79::-;14856:8;;14793:79;:::o;6165:246:0:-;6277:12;:10;:12::i;:::-;-1:-1:-1;;;;;6266:23:0;:7;-1:-1:-1;;;;;6266:23:0;;6244:120;;;;-1:-1:-1;;;6244:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6377:26;6389:4;6395:7;6377:11;:26::i;6764:300:3:-;6879:4;6901:133;6924:12;:10;:12::i;:::-;6951:7;6973:50;7012:10;6973:11;:25;6985:12;:10;:12::i;:::-;-1:-1:-1;;;;;6973:25:3;;;;;;;;;;;;;;;;;-1:-1:-1;6973:25:3;;;:34;;;;;;;;;;;:38;:50::i;1766:69::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21728:262::-;768:6;;21829:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;21859:25:3;::::1;;::::0;;;:14:::1;:25;::::0;;;;;::::1;;:33;;:25:::0;:33:::1;21851:66;;;::::0;;-1:-1:-1;;;21851:66:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;21851:66:3;;;;;;;;;;;;;::::1;;21928:32;21949:9;21928:12;:32::i;22124:873::-:0;768:6;;22177:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;22232:1:::1;22202:13;:27;22216:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22202:27:3::1;-1:-1:-1::0;;;;;22202:27:3::1;;;;;;;;;;;;;:31;22194:64;;;::::0;;-1:-1:-1;;;22194:64:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;22194:64:3;;;;;;;;;;;;;::::1;;22303:1;22277:9;:23;22287:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22277:23:3::1;-1:-1:-1::0;;;;;22277:23:3::1;;;;;;;;;;;;;:27;22269:55;;;::::0;;-1:-1:-1;;;22269:55:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;22269:55:3;;;;;;;;;;;;;::::1;;22335:9;22347:26;:24;:26::i;:::-;22335:38;;22384:9;22396:46;22435:6;22396:34;22428:1;22396:13;:27;22410:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22396:27:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;22396:27:3;;;:31:::1;:34::i;:::-;:38:::0;::::1;:46::i;:::-;22384:58;;22484:1;22457:9;:23;22467:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22457:23:3::1;-1:-1:-1::0;;;;;22457:23:3::1;;;;;;;;;;;;;:28;22453:428;;22502:61;22518:1;22521:12;:10;:12::i;:::-;22535:13;:27;22549:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22535:27:3::1;-1:-1:-1::0;;;;;22535:27:3::1;;;;;;;;;;;;;22502:15;:61::i;:::-;;22453:428;;;22596:9;22608:42;22643:6;22608:30;22636:1;22608:9;:23;22618:12;:10;:12::i;22608:42::-;22596:54;;22696:9;:23;22706:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22696:23:3::1;-1:-1:-1::0;;;;;22696:23:3::1;;;;;;;;;;;;;22691:1;:28;;22665:132;;;;-1:-1:-1::0;;;22665:132:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22812:57;22828:9;:23;22838:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22828:23:3::1;-1:-1:-1::0;;;;;22828:23:3::1;;;;;;;;;;;;;22853:12;:10;:12::i;:::-;22867:1;22812:15;:57::i;:::-;;22453:428;;22926:63;22977:1;22926:18;:32;22945:12;:10;:12::i;22926:63::-;22891:18;:32;22910:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22891:32:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;22891:32:3;:98;-1:-1:-1;22124:873:3;;;-1:-1:-1;22124:873:3:o;17971:803::-;768:6;;18032:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;18057:19:3;::::1;;::::0;;;:14:::1;:19;::::0;;;;;::::1;;18049:47;;;::::0;;-1:-1:-1;;;18049:47:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18049:47:3;;;;;;;;;;;;;::::1;;18129:17;:31;18147:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18129:31:3::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;18129:31:3;;;-1:-1:-1;;;;;18129:36:3;::::1;::::0;;;;;;;;::::1;;:45;18107:111;;;::::0;;-1:-1:-1;;;18107:111:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18107:111:3;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;18270:16:3;::::1;;::::0;;;:11:::1;:16;::::0;;;;:24:::1;;::::0;18251:15:::1;:43;;18229:119;;;::::0;;-1:-1:-1;;;18229:119:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;18409:16:3;::::1;;::::0;;;:11:::1;:16;::::0;;;;:32:::1;::::0;::::1;::::0;18381:24;;:60:::1;;18359:125;;;::::0;;-1:-1:-1;;;18359:125:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18359:125:3;;;;;;;;;;;;;::::1;;18534:4;18495:17;:31;18513:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18495:31:3::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;18495:31:3;;;-1:-1:-1;;;;;18495:36:3;::::1;::::0;;;;;;;:43;;-1:-1:-1;;18495:43:3::1;::::0;::::1;;::::0;;;::::1;::::0;;;18619:11:::1;:16:::0;;;;;:32:::1;::::0;::::1;::::0;18576:24;;:95:::1;::::0;18654:6:::1;18619:41;18576:28;:95::i;:::-;-1:-1:-1::0;;;;;18549:16:3;::::1;;::::0;;;:11:::1;:16;::::0;;;;:122;18682:62:::1;18688:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18702:16:3;::::1;;::::0;;;:11:::1;:16;::::0;;;;:32:::1;;::::0;18737:6:::1;18702:41;18682:5;:62::i;:::-;-1:-1:-1::0;18762:4:3::1;17971:803:::0;;;:::o;27131:614::-;669:6;;27237:4;;669:6;;668:7;660:45;;;;;-1:-1:-1;;;660:45:3;;;;;;;;;;;;-1:-1:-1;;;660:45:3;;;;;;;;;;;;;;;27268:6:::1;::::0;::::1;;27267:7;27259:46;;;::::0;;-1:-1:-1;;;27259:46:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;27338:31:3;::::1;;::::0;;;:20:::1;:31;::::0;;;;;::::1;;27316:114;;;;-1:-1:-1::0;;;27316:114:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27463:14;:28;27478:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;27463:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;27463:28:3;;;:39;;::::1;::::0;;;;;;;27441:114:::1;;;::::0;;-1:-1:-1;;;27441:114:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27441:114:3;;;;;;;;;;;;;::::1;;27566:149;27598:1;27614:12;:10;:12::i;:::-;27641:9;27665:14;:28;27680:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;27665:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;27665:28:3;;;:39;;::::1;::::0;;;;;;;27566:17:::1;:149::i;15113:338::-:0;15170:7;15190:9;15202:16;:14;:16::i;:::-;15190:28;;15229:9;15241:18;:32;15260:12;:10;:12::i;:::-;-1:-1:-1;;;;;15241:32:3;-1:-1:-1;;;;;15241:32:3;;;;;;;;;;;;;15229:44;;15292:1;15288;:5;15284:46;;;-1:-1:-1;15317:1:3;-1:-1:-1;15310:8:3;;15284:46;15349:2;15344:1;:7;15340:46;;-1:-1:-1;15372:2:3;15340:46;15400:24;15406:17;15419:3;15406:8;:1;15412;15406:5;:8::i;:17::-;15400:1;;:5;:24::i;:::-;15396:28;-1:-1:-1;;;15113:338:3;:::o;2512:66::-;;;;;;-1:-1:-1;;;;;2512:66:3;;:::o;4652:119::-;-1:-1:-1;;;;;4745:18:3;4718:7;4745:18;;;:9;:18;;;;;;;4652:119::o;27853:226::-;27894:4;27933:39;27894:4;27961:10;27933:7;:39::i;:::-;27911:111;;;;;-1:-1:-1;;;27911:111:3;;;;;;;;;;;;-1:-1:-1;;;27911:111:3;;;;;;;;;;;;;;;-1:-1:-1;28043:6:3;;;-1:-1:-1;;28033:16:3;;28043:6;;;;28042:7;28033:16;;;27853:226;:::o;28582:293::-;28641:4;28680:39;28641:4;28708:10;28680:7;:39::i;:::-;28658:111;;;;;-1:-1:-1;;;28658:111:3;;;;;;;;;;;;-1:-1:-1;;;28658:111:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;28790:25:3;;28782:54;;;;;-1:-1:-1;;;28782:54:3;;;;;;;;;;;;-1:-1:-1;;;28782:54:3;;;;;;;;;;;;;;;28847:8;:20;;-1:-1:-1;;;;;;28847:20:3;-1:-1:-1;;;;;28847:20:3;;;;;;;;;;;;28582:293::o;18916:378::-;18972:7;19015:10;18996:15;;:29;18992:106;;19050:35;19081:3;19050:26;19073:2;19050:18;;:22;;:26;;;;:::i;:35::-;19042:44;;;;18992:106;19108:9;19135:67;19186:15;;19136:35;19167:3;19136:26;19159:2;19136:18;;:22;;:26;;;;:::i;:35::-;19174:6;19136:44;;19135:50;:67::i;:::-;19108:105;;19233:1;19228;:6;19224:44;;-1:-1:-1;19255:1:3;19285;-1:-1:-1;18916:378:3;:::o;1919:39::-;;;;;;;;;;;;;;;:::o;1866:46::-;;;;;;;;;;;;;;;:::o;4147:170:0:-;4247:7;4279:12;;;;;;;;;;:30;;4303:5;4279:23;:30::i;:::-;4272:37;4147:170;-1:-1:-1;;;4147:170:0:o;3108:139::-;3177:4;3201:12;;;;;;;;;;:38;;3231:7;3201:29;:38::i;4219:87:3:-;4291:7;4284:14;;;;;;;;-1:-1:-1;;4284:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4258:13;;4284:14;;4291:7;;4284:14;;4291:7;4284:14;;;;;;;;;;;;;;;;;;;;;;;;1751:49:0;1796:4;1751:49;:::o;2366:33:3:-;;;;:::o;16439:437::-;768:6;;16565:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;16609:36:::1;960:28;16634:10;16609:7;:36::i;:::-;16587:117;;;::::0;;-1:-1:-1;;;16587:117:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;;16715:31:3;;::::1;;::::0;;;:20:::1;:31;::::0;;;;;;;:38;;16749:4:::1;-1:-1:-1::0;;16715:38:3;;::::1;;::::0;;16764:27:::1;:38:::0;;;;:55;;-1:-1:-1;;;;;;16764:55:3::1;::::0;;;::::1;::::0;;;::::1;::::0;;;16837:31;;;;16715:38:::1;16837:31;::::0;16439:437::o;7182:400::-;7302:4;7324:228;7347:12;:10;:12::i;:::-;7374:7;7396:145;7453:15;7396:145;;;;;;;;;;;;;;;;;:11;:25;7408:12;:10;:12::i;:::-;-1:-1:-1;;;;;7396:25:3;;;;;;;;;;;;;;;;;-1:-1:-1;7396:25:3;;;:34;;;;;;;;;;;:145;:38;:145::i;1539:53::-;;;;;;;;;;;;;:::o;20039:966::-;768:6;;20156:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;20200:31:3;::::1;;::::0;;;:20:::1;:31;::::0;;;;;::::1;;20178:114;;;;-1:-1:-1::0;;;20178:114:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20337:9:::0;20303:10:::1;-1:-1:-1::0;;;;;20371:13:3;::::1;;20385:12;:10;:12::i;:::-;20407:4;20371:42;;;;;;;;;;;;;-1:-1:-1::0;;;;;20371:42:3::1;;;;;;-1:-1:-1::0;;;;;20371:42:3::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20371:42:3;;-1:-1:-1;20432:13:3;;::::1;;20424:52;;;::::0;;-1:-1:-1;;;20424:52:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20487:9;20499:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;20554:38:3;;::::1;20526:10;20554:38:::0;;;:27:::1;:38;::::0;;;;;20487:28;;-1:-1:-1;20526:10:3;20539:54:::1;::::0;20554:38:::1;20539:14;:54::i;:::-;20526:67:::0;-1:-1:-1;20604:9:3::1;20616:22;20636:1:::0;20616:15:::1;:7:::0;20526:67;20616:11:::1;:15::i;:22::-;20604:34;;20661:1;20657;:5;20649:44;;;::::0;;-1:-1:-1;;;20649:44:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20726:3;-1:-1:-1::0;;;;;20726:16:3::1;;20743:12;:10;:12::i;:::-;20765:4;20772:7;20726:54;;;;;;;;;;;;;-1:-1:-1::0;;;;;20726:54:3::1;;;;;;-1:-1:-1::0;;;;;20726:54:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20726:54:3;20704:119:::1;;;::::0;;-1:-1:-1;;;20704:119:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;20704:119:3;;;;;;;;;;;;;::::1;;20876:66;20934:7;20876:14;:28;20891:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;20876:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;20876:28:3;;;:39;;::::1;::::0;;;;;;;;:57:::1;:66::i;:::-;20834:14;:28;20849:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;20834:28:3;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;20834:28:3;;;:39;;::::1;::::0;;;;;;:108;20953:22:::1;20959:12;:10;:12::i;20953:22::-;-1:-1:-1::0;20993:4:3::1;::::0;20039:966;-1:-1:-1;;;;;;;20039:966:3:o;4984:216::-;5106:4;5128:42;5138:12;:10;:12::i;:::-;5152:9;5163:6;5128:9;:42::i;2585:68::-;;;-1:-1:-1;;;;;2585:68:3;;:::o;598:25::-;;;;;;:::o;1174:52::-;;;;;;;;;;;;;;;:::o;2190:30::-;;;;:::o;1450:48::-;;;;;;;;;;;;;:::o;12614:470::-;768:6;;12664:4;;768:6;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;12689:7:::1;:21;12697:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;12689:21:3::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;12689:21:3;;::::1;;:30;12681:63;;;::::0;;-1:-1:-1;;;12681:63:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;12681:63:3;;;;;;;;;;;;;::::1;;12789:8;::::0;-1:-1:-1;;;;;12789:8:3::1;12755:10;12789:8:::0;12823:13:::1;12837:12;:10;:12::i;:::-;12823:27;;;;;;;;;;;;;-1:-1:-1::0;;;;;12823:27:3::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;12823:27:3;;-1:-1:-1;12945:4:3::1;12921:7;:21;12929:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;12921:21:3;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;12921:21:3;:28;;-1:-1:-1;;12921:28:3::1;::::0;::::1;;::::0;;;::::1;::::0;;;12968:16;::::1;;12985:12;:10;:12::i;:::-;13007:4;13014:3;12968:50;;;;;;;;;;;;;-1:-1:-1::0;;;;;12968:50:3::1;;;;;;-1:-1:-1::0;;;;;12968:50:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;12968:50:3;12960:59:::1;;;::::0;::::1;;13030:24;13036:12;:10;:12::i;3421:127:0:-:0;3484:7;3511:12;;;;;;;;;;:29;;:27;:29::i;5391:267::-;5498:6;:12;;;;;;;;;;:22;;;5490:45;;5522:12;:10;:12::i;5490:45::-;5468:143;;;;-1:-1:-1;;;5468:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5263:201:3;-1:-1:-1;;;;;5429:18:3;;;5397:7;5429:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;5263:201::o;1233:46::-;;;;;;;;;;;;;;;:::o;28199:375::-;28296:4;28340:39;28296:4;28368:10;28340:7;:39::i;:::-;28318:111;;;;;-1:-1:-1;;;28318:111:3;;;;;;;;;;;;-1:-1:-1;;;28318:111:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;28446:30:3;;;28442:103;;-1:-1:-1;;;;;28493:30:3;;;;;;:14;:30;;;;;:40;;;;;-1:-1:-1;;28493:40:3;;;;;;-1:-1:-1;28562:4:3;28199:375;;;;:::o;26704:300::-;669:6;;26764:4;;669:6;;668:7;660:45;;;;;-1:-1:-1;;;660:45:3;;;;;;;;;;;;-1:-1:-1;;;660:45:3;;;;;;;;;;;;;;;26790:6:::1;::::0;::::1;;26789:7;26781:46;;;::::0;;-1:-1:-1;;;26781:46:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;26876:1;26846:13;:27;26860:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;26846:27:3::1;-1:-1:-1::0;;;;;26846:27:3::1;;;;;;;;;;;;;:31;26838:64;;;::::0;;-1:-1:-1;;;26838:64:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;26838:64:3;;;;;;;;;;;;;::::1;;26913:61;26929:1;26932:12;:10;:12::i;26913:61::-;;26992:4;26985:11;;26704:300:::0;:::o;1366:136:8:-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;5131:166:5:-;5219:4;5248:41;5253:3;-1:-1:-1;;;;;5273:14:5;;5248:4;:41::i;2290:471:8:-;2348:7;2593:6;2589:47;;-1:-1:-1;2623:1:8;2616:8;;2589:47;2660:5;;;2664:1;2660;:5;:1;2684:5;;;;;:10;2676:56;;;;-1:-1:-1;;;2676:56:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3237:132;3295:7;3322:39;3326:1;3329;3322:39;;;;;;;;;;;;;;;;;:3;:39::i;605:106:4:-;693:10;605:106;:::o;902:181:8:-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:8;;;;;;;;;;;;;;;;;;;;;;;;;;;9147:510:3;768:6;;;;760:47;;;;;-1:-1:-1;;;760:47:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;760:47:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;9240:21:3;::::1;9232:65;;;::::0;;-1:-1:-1;;;9232:65:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9326:15;;9316:6;:25;;9308:65;;;::::0;;-1:-1:-1;;;9308:65:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9407:18;::::0;:30:::1;::::0;9430:6;9407:22:::1;:30::i;:::-;9386:18;:51:::0;9466:15:::1;::::0;:27:::1;::::0;9486:6;9466:19:::1;:27::i;:::-;9448:15;:45:::0;;;9504:12:::1;:30:::0;-1:-1:-1;;;;;9566:18:3;::::1;-1:-1:-1::0;9566:18:3;;;:9:::1;:18;::::0;;;;;:30:::1;::::0;9589:6;9566:22:::1;:30::i;:::-;-1:-1:-1::0;;;;;9545:18:3;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:51;;;;9612:37;;;;;;;9545:18;;;;-1:-1:-1;;;;;;;;;;;9612:37:3;;;;;;;;::::1;9147:510:::0;;:::o;6991:144:10:-;7059:68;7119:2;7123;7075:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7075:51:10;;;-1:-1:-1;;7075:51:10;;;;;;;;;;;;;;-1:-1:-1;;;;;7075:51:10;-1:-1:-1;;;7075:51:10;;;;-1:-1:-1;7059:15:10;;-1:-1:-1;;;7059:68:10:i;8507:359:3:-;8567:4;8601:1;8592:6;:10;8584:42;;;;;-1:-1:-1;;;8584:42:3;;;;;;;;;;;;-1:-1:-1;;;8584:42:3;;;;;;;;;;;;;;;8675:5;:3;:5::i;:::-;8645:15;;:27;;8665:6;8645:19;:27::i;:::-;:35;8637:65;;;;;-1:-1:-1;;;8637:65:3;;;;;;;;;;;;-1:-1:-1;;;8637:65:3;;;;;;;;;;;;;;;8731:15;;:27;;8751:6;8731:19;:27::i;:::-;8713:15;:45;;;8769:12;:30;8815:43;;;;;;;;8844:4;;-1:-1:-1;;;;;;;;;;;;;8815:43:3;;;;;;;;8507:359;;;:::o;13992:295::-;14085:18;;14047:4;;14085:30;;14108:6;14085:22;:30::i;:::-;14064:18;:51;14152:35;14180:6;14152:9;:23;14162:12;:10;:12::i;14152:35::-;14126:9;:23;14136:12;:10;:12::i;:::-;-1:-1:-1;;;;;14126:23:3;;;;;;;;;;;;-1:-1:-1;14126:23:3;:61;14235:12;:10;:12::i;:::-;-1:-1:-1;;;;;14203:54:3;14220:4;-1:-1:-1;;;;;14203:54:3;-1:-1:-1;;;;;;;;;;;14250:6:3;14203:54;;;;;;;;;;;;;;;;;;-1:-1:-1;14275:4:3;13992:295;;;:::o;9958:542::-;10031:15;;10021:6;:25;10017:476;;10081:123;10119:6;10081:123;;;;;;;;;;;;;;;;;:15;;;:123;:19;:123::i;:::-;10063:15;:141;;;10219:12;:30;10269:43;;;;;;;;-1:-1:-1;;10286:4:3;;-1:-1:-1;;;;;;;;;;;10269:43:3;;;;;;;;10017:476;;;10363:10;10345:15;:28;;;10388:12;:30;10438:43;;;;;;;;-1:-1:-1;;10455:4:3;;-1:-1:-1;;;;;;;;;;;10438:43:3;;;;;;;;10017:476;9958:542;:::o;13524:380::-;-1:-1:-1;;;;;13660:19:3;;13652:68;;;;-1:-1:-1;;;13652:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13739:21:3;;13731:68;;;;-1:-1:-1;;;13731:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13812:18:3;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13864:32;;;;;;;;;;;;;;;;;13524:380;;;:::o;274:276:7:-;339:7;359:29;411:8;359:61;;431:8;442:9;-1:-1:-1;;;;;442:22:7;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;442:24:7;;-1:-1:-1;489:1:7;485:5;;477:37;;;;;-1:-1:-1;;;477:37:7;;;;;;;;;;;;-1:-1:-1;;;477:37:7;;;;;;;;;;;;;;11730:876:3;-1:-1:-1;;;;;11944:22:3;;;11905:4;11944:22;;;:14;:22;;;;;;;;:33;;;;;;;;;;;;:50;-1:-1:-1;11944:50:3;11922:124;;;;;-1:-1:-1;;;11922:124:3;;;;;;;;;;;;-1:-1:-1;;;11922:124:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;12077:17:3;;;;;;:9;:17;;;;;;:34;;12099:11;12077:21;:34::i;:::-;-1:-1:-1;;;;;12057:17:3;;;;;;:9;:17;;;;;:54;12140:15;;:32;;12160:11;12140:19;:32::i;:::-;12122:15;:50;;;12183:12;:30;12245:18;;:35;;12268:11;12245:22;:35::i;:::-;12224:18;:56;12296:53;;;;;;;;12330:4;;-1:-1:-1;;;;;12296:53:3;;;-1:-1:-1;;;;;;;;;;;12296:53:3;;;;;;;;-1:-1:-1;;;;;12396:22:3;;;;;;;:14;:22;;;;;;;;:33;;;;;;;;;;:66;;12448:13;12396:51;:66::i;:::-;-1:-1:-1;;;;;12360:22:3;;;;;;;:14;:22;;;;;;;;:33;;;;;;;;;:102;12473:47;12375:6;12383:9;12506:13;12473;:47::i;:::-;-1:-1:-1;12536:40:3;;12562:13;;-1:-1:-1;;;;;12536:40:3;;;;;;;;-1:-1:-1;12594:4:3;11730:876;;;;;;:::o;7763:548::-;-1:-1:-1;;;;;7903:20:3;;7895:70;;;;-1:-1:-1;;;7895:70:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7984:23:3;;7976:71;;;;-1:-1:-1;;;7976:71:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8078:108;8114:6;8078:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8078:17:3;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;8058:17:3;;;;;;;:9;:17;;;;;;:128;;;;8220:20;;;;;;;:32;;8245:6;8220:24;:32::i;:::-;-1:-1:-1;;;;;8197:20:3;;;;;;;:9;:20;;;;;;;;;:55;;;;8268:35;;;;;;;8197:20;;8268:35;;;;-1:-1:-1;;;;;;;;;;;8268:35:3;;;;;;;;7763:548;;;:::o;1805:226:8:-;1925:7;1961:12;1953:6;;;;1945:29;;;;-1:-1:-1;;;1945:29:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1997:5:8;;;1805:226::o;7445:188:0:-;7519:6;:12;;;;;;;;;;:33;;7544:7;7519:24;:33::i;:::-;7515:111;;;7601:12;:10;:12::i;:::-;-1:-1:-1;;;;;7574:40:0;7592:7;-1:-1:-1;;;;;7574:40:0;7586:4;7574:40;;;;;;;;;;7445:188;;:::o;7641:192::-;7716:6;:12;;;;;;;;;;:36;;7744:7;7716:27;:36::i;:::-;7712:114;;;7801:12;:10;:12::i;:::-;-1:-1:-1;;;;;7774:40:0;7792:7;-1:-1:-1;;;;;7774:40:0;7786:4;7774:40;;;;;;;;;;7641:192;;:::o;21135:454:3:-;21194:4;21245:9;21194:4;-1:-1:-1;;;;;21287:13:3;;;21301:12;:10;:12::i;:::-;21287:27;;;;;;;;;;;;;-1:-1:-1;;;;;21287:27:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21287:27:3;;-1:-1:-1;21329:14:3;;21325:235;;21386:3;-1:-1:-1;;;;;21386:16:3;;21403:12;:10;:12::i;:::-;21425:4;21432:10;21386:57;;;;;;;;;;;;;-1:-1:-1;;;;;21386:57:3;;;;;;-1:-1:-1;;;;;21386:57:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21386:57:3;21360:134;;;;;-1:-1:-1;;;21360:134:3;;;;;;;;;;;;-1:-1:-1;;;21360:134:3;;;;;;;;;;;;;;;21509:39;21515:12;:10;:12::i;:::-;21529:18;:10;21544:2;21529:14;:18::i;:::-;21509:5;:39::i;10720:784::-;-1:-1:-1;;;;;10904:21:3;;10865:4;10904:21;;;:13;:21;;;;;;:38;-1:-1:-1;10904:38:3;10882:112;;;;;-1:-1:-1;;;10882:112:3;;;;;;;;;;;;-1:-1:-1;;;10882:112:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;11025:17:3;;;;;;:9;:17;;;;;;:34;;11047:11;11025:21;:34::i;:::-;-1:-1:-1;;;;;11005:17:3;;;;;;:9;:17;;;;;:54;11088:15;;:32;;11108:11;11088:19;:32::i;:::-;11070:15;:50;;;11131:12;:30;11193:18;;:35;;11216:11;11193:22;:35::i;:::-;11172:18;:56;11244:53;;;;;;;;11278:4;;-1:-1:-1;;;;;11244:53:3;;;-1:-1:-1;;;;;;;;;;;11244:53:3;;;;;;;;-1:-1:-1;;;;;11332:21:3;;;;;;:13;:21;;;;;;:40;;11358:13;11332:25;:40::i;:::-;-1:-1:-1;;;;;11308:21:3;;;;;;:13;:21;;;;;:64;11383:35;11322:6;11404:13;11383:12;:35::i;:::-;-1:-1:-1;11434:40:3;;11460:13;;-1:-1:-1;;;;;11434:40:3;;;;;;;;-1:-1:-1;11492:4:3;10720:784;;;;;:::o;6478:181:5:-;6579:7;6627:22;6631:3;6643:5;6627:3;:22::i;5731:190::-;5838:4;5867:46;5877:3;-1:-1:-1;;;;;5897:14:5;;5867:9;:46::i;6007:117::-;6070:7;6097:19;6105:3;6097:7;:19::i;1661:414::-;1724:4;1746:21;1756:3;1761:5;1746:9;:21::i;:::-;1741:327;;-1:-1:-1;1784:23:5;;;;;;;;:11;:23;;;;;;;;;;;;;1967:18;;1945:19;;;:12;;;:19;;;;;;:40;;;;2000:11;;1741:327;-1:-1:-1;2051:5:5;2044:12;;3865:312:8;3985:7;4020:12;4013:5;4005:28;;;;-1:-1:-1;;;4005:28:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4044:9;4060:1;4056;:5;;;;;;;3865:312;-1:-1:-1;;;;;3865:312:8:o;203:457:10:-;298:14;;145:42;431:2;418:16;;274:21;;298:14;418:16;145:42;486:5;457:185;448:194;;383:270;;;:::o;15794:413:3:-;15927:4;15944:10;15978:9;15965:23;;16053:13;16021:3;-1:-1:-1;;;;;16021:13:3;;16043:4;16021:28;;;;;;;;;;;;;-1:-1:-1;;;;;16021:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16021:28:3;:45;;15999:123;;;;;-1:-1:-1;;;15999:123:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;16141:3;-1:-1:-1;;;;;16141:12:3;;16154:6;16162:13;16141:35;;;;;;;;;;;;;-1:-1:-1;;;;;16141:35:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16141:35:3;16133:44;;;;;;-1:-1:-1;16195:4:3;;15794:413;-1:-1:-1;;;;15794:413:3:o;5473:172:5:-;5564:4;5593:44;5601:3;-1:-1:-1;;;;;5621:14:5;;5593:7;:44::i;15529:183:3:-;15654:28;;15632:4;;-1:-1:-1;;;;;15654:19:3;;;:28;;;;;15674:7;;15632:4;15654:28;15632:4;15654:28;15674:7;15654:19;:28;;;;;;;;;;;;;;;;;;;4604:273:5;4745:18;;4698:7;;4745:26;-1:-1:-1;4723:110:5;;;;-1:-1:-1;;;4723:110:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4851:3;:11;;4863:5;4851:18;;;;;;;;;;;;;;;;4844:25;;4604:273;;;;:::o;3894:161::-;3994:4;4023:19;;;:12;;;;;:19;;;;;;:24;;;3894:161::o;4141:109::-;4224:18;;4141:109::o;2251:1557::-;2317:4;2456:19;;;:12;;;:19;;;;;;2492:15;;2488:1313;;2940:18;;-1:-1:-1;;2891:14:5;;;;2940:22;;;;2867:21;;2940:3;;:22;;3227;;;;;;;;;;;;;;3207:42;;3373:9;3344:3;:11;;3356:13;3344:26;;;;;;;;;;;;;;;;;;;:38;;;;3450:23;;;3492:1;3450:12;;;:23;;;;;;3476:17;;;3450:43;;3602:17;;3450:3;;3602:17;;;;;;;;;;;;;;;;;;;;;;3697:3;:12;;:19;3710:5;3697:19;;;;;;;;;;;3690:26;;;3740:4;3733:11;;;;;;;;2488:1313;3784:5;3777:12;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://685347471b54668b8f94d314fb76b5a620f4c3679830ea5608e6a545d21cba15
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.