More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 32 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 10718477 | 1616 days ago | IN | 0 ETH | 0.00256777 | ||||
Approve | 10705759 | 1618 days ago | IN | 0 ETH | 0.00425011 | ||||
Approve | 10701439 | 1619 days ago | IN | 0 ETH | 0.0055115 | ||||
Approve | 10697576 | 1620 days ago | IN | 0 ETH | 0.00518122 | ||||
Approve | 10697345 | 1620 days ago | IN | 0 ETH | 0.0046662 | ||||
Approve | 10697263 | 1620 days ago | IN | 0 ETH | 0.00478267 | ||||
Toggle Offline | 10694778 | 1620 days ago | IN | 0 ETH | 0.00302515 | ||||
Print With Brrr | 10694306 | 1620 days ago | IN | 0 ETH | 0.01488187 | ||||
Print With Brrr | 10692782 | 1620 days ago | IN | 0 ETH | 0.01758907 | ||||
Approve | 10692703 | 1620 days ago | IN | 0 ETH | 0.00340516 | ||||
Approve | 10692680 | 1620 days ago | IN | 0 ETH | 0.00342482 | ||||
Approve | 10692666 | 1620 days ago | IN | 0 ETH | 0.00516016 | ||||
Print With Brrr | 10692447 | 1620 days ago | IN | 0 ETH | 0.01488674 | ||||
Approve | 10692116 | 1620 days ago | IN | 0 ETH | 0.0068456 | ||||
Approve | 10691655 | 1620 days ago | IN | 0 ETH | 0.00653444 | ||||
Transfer | 10691296 | 1620 days ago | IN | 0 ETH | 0.00736876 | ||||
Print With Brrr | 10691253 | 1621 days ago | IN | 0 ETH | 0.02314508 | ||||
Approve | 10691168 | 1621 days ago | IN | 0 ETH | 0.00622328 | ||||
Approve | 10691158 | 1621 days ago | IN | 0 ETH | 0.00622328 | ||||
Swap Old BRRR | 10691153 | 1621 days ago | IN | 0 ETH | 0.014098 | ||||
Swap Old BRRR | 10691150 | 1621 days ago | IN | 0 ETH | 0.014098 | ||||
Approve | 10691140 | 1621 days ago | IN | 0 ETH | 0.00631218 | ||||
Approve | 10691131 | 1621 days ago | IN | 0 ETH | 0.00622328 | ||||
Approve | 10691108 | 1621 days ago | IN | 0 ETH | 0.0106907 | ||||
Approve | 10691100 | 1621 days ago | IN | 0 ETH | 0.00592899 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BRRRx
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 "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.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 "./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.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"},{"internalType":"uint256","name":"leverage","type":"uint256"},{"internalType":"address","name":"_brrr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EmergencyWithdrawal","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":"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"}],"name":"_deposits_brrr","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":"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":"brrr","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"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_brrrx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"printWithBrrr","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":[],"name":"returnBrrrForBrrr","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":"_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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"weighted_avg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001805460ff1916811790556c01027e72f1f128130880000000600c556010805474dac17f958d2ee523a2206206994597c13d831ec700610100600160a81b0319909116179055601280546001600160a01b03191673b70e8a16e58b4ea4e714f1639fd06bb79ad83a801790553480156200007e57600080fd5b5060405162003d2f38038062003d2f83398181016040526080811015620000a457600080fd5b8101908080516040519392919084640100000000821115620000c557600080fd5b908301906020820185811115620000db57600080fd5b8251640100000000811182820188101715620000f657600080fd5b82525081516020918201929091019080838360005b83811015620001255781810151838201526020016200010b565b50505050905090810190601f168015620001535780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200017757600080fd5b9083019060208201858111156200018d57600080fd5b8251640100000000811182820188101715620001a857600080fd5b82525081516020918201929091019080838360005b83811015620001d7578181015183820152602001620001bd565b50505050905090810190601f168015620002055780820380516001836020036101000a031916815260200191505b5060409081526020828101519290910151865192945092506200022e91600e918701906200051b565b5082516200024490600f9060208601906200051b565b506010805460ff191660121790556009829055601180546001600160a01b0383166001600160a01b03199091161790556200028160003362000407565b620002ad7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa3362000407565b60105460018054610100600160a81b031916610100928390046001600160a01b0390811684029190911782553360009081526002602090815260408083206a52b7d2dcc80cd2e400000090819055600d55935484516318160ddd60e01b8152945192959004909216926318160ddd926004808301939192829003018186803b1580156200033957600080fd5b505afa1580156200034e573d6000803e3d6000fd5b505050506040513d60208110156200036557600080fd5b50516509184e72a0008102600a819055600b55905062000384620005a0565b5060408051808201909152428152602081019182526008805460018101825560009190915290517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee360029092029182015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee49091015550620005d192505050565b62000413828262000417565b5050565b6000828152602081815260409091206200043c9183906200240e62000490821b17901c565b1562000413576200044c620004b0565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620004a7836001600160a01b038416620004b4565b90505b92915050565b3390565b6000620004c2838362000503565b620004fa57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620004aa565b506000620004aa565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200055e57805160ff19168380011785556200058e565b828001600101855582156200058e579182015b828111156200058e57825182559160200191906001019062000571565b506200059c929150620005ba565b5090565b604051806040016040528060008152602001600081525090565b5b808211156200059c5760008155600101620005bb565b61374e80620005e16000396000f3fe6080604052600436106102515760003560e01c80638073cab411610139578063a9059cbb116100b6578063c99503181161007a578063c99503181461084c578063ca15c87314610861578063d3ef89771461088b578063d547741f146108a0578063dd62ed3e146108d9578063ea09676c1461091457610251565b8063a9059cbb1461078c578063bb3cb7c2146107c5578063c18bd8ee146107f8578063c2e1500b14610822578063c3d46f701461083757610251565b806396a67d25116100fd57806396a67d25146106e1578063a217fddf146106f6578063a253c06e1461070b578063a457c2d714610720578063a5e051291461075957610251565b80638073cab41461061b57806381c61090146106305780639010d07c1461066357806391d148541461069357806395d89b41146106cc57610251565b8063313ce567116101d25780635d562083116101965780635d562083146105455780635efc071a1461055a5780636343e1371461058b57806370a08231146105a05780637927d21c146105d35780637dc4b9cc146105e857610251565b8063313ce5671461047e578063355274ea146104a957806336568abe146104be57806339509351146104f75780635cca60841461053057610251565b806318160ddd1161021957806318160ddd1461037e5780631def1ede1461039357806323b872dd146103d6578063248a9ca3146104195780632f2ff15d1461044357610251565b806306fdde031461025657806309500c17146102e0578063095ea7b314610307578063099e7f6c146103545780630cadb5e314610369575b600080fd5b34801561026257600080fd5b5061026b610947565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ec57600080fd5b506102f56109de565b60408051918252519081900360200190f35b34801561031357600080fd5b506103406004803603604081101561032a57600080fd5b506001600160a01b038135169060200135610ec5565b604080519115158252519081900360200190f35b34801561036057600080fd5b506102f5610ee3565b34801561037557600080fd5b506102f5610ee9565b34801561038a57600080fd5b506102f5610f0d565b34801561039f57600080fd5b506103bd600480360360208110156103b657600080fd5b5035610f2b565b6040805192835260208301919091528051918290030190f35b3480156103e257600080fd5b50610340600480360360608110156103f957600080fd5b506001600160a01b03813581169160208101359091169060400135610f56565b34801561042557600080fd5b506102f56004803603602081101561043c57600080fd5b5035610fef565b34801561044f57600080fd5b5061047c6004803603604081101561046657600080fd5b50803590602001356001600160a01b0316611004565b005b34801561048a57600080fd5b50610493611070565b6040805160ff9092168252519081900360200190f35b3480156104b557600080fd5b506102f5611079565b3480156104ca57600080fd5b5061047c600480360360408110156104e157600080fd5b50803590602001356001600160a01b031661107f565b34801561050357600080fd5b506103406004803603604081101561051a57600080fd5b506001600160a01b0381351690602001356110e0565b34801561053c57600080fd5b5061034061112e565b34801561055157600080fd5b506102f56116dc565b34801561056657600080fd5b5061056f611757565b604080516001600160a01b039092168252519081900360200190f35b34801561059757600080fd5b5061034061176b565b3480156105ac57600080fd5b506102f5600480360360208110156105c357600080fd5b50356001600160a01b03166118ab565b3480156105df57600080fd5b506103406118c6565b3480156105f457600080fd5b506103406004803603602081101561060b57600080fd5b50356001600160a01b0316611932565b34801561062757600080fd5b506102f56119fa565b34801561063c57600080fd5b506103406004803603602081101561065357600080fd5b50356001600160a01b0316611a60565b34801561066f57600080fd5b5061056f6004803603604081101561068657600080fd5b5080359060200135611a75565b34801561069f57600080fd5b50610340600480360360408110156106b657600080fd5b50803590602001356001600160a01b0316611a94565b3480156106d857600080fd5b5061026b611aac565b3480156106ed57600080fd5b5061056f611b0d565b34801561070257600080fd5b506102f5611b1c565b34801561071757600080fd5b506102f5611b21565b34801561072c57600080fd5b506103406004803603604081101561074357600080fd5b506001600160a01b038135169060200135611b27565b34801561076557600080fd5b506102f56004803603602081101561077c57600080fd5b50356001600160a01b0316611b8f565b34801561079857600080fd5b50610340600480360360408110156107af57600080fd5b506001600160a01b038135169060200135611ba1565b3480156107d157600080fd5b506102f5600480360360208110156107e857600080fd5b50356001600160a01b0316611bb5565b34801561080457600080fd5b506103406004803603602081101561081b57600080fd5b5035611bc7565b34801561082e57600080fd5b50610340612119565b34801561084357600080fd5b506102f5612122565b34801561085857600080fd5b50610340612128565b34801561086d57600080fd5b506102f56004803603602081101561088457600080fd5b5035612352565b34801561089757600080fd5b5061056f612369565b3480156108ac57600080fd5b5061047c600480360360408110156108c357600080fd5b50803590602001356001600160a01b0316612378565b3480156108e557600080fd5b506102f5600480360360408110156108fc57600080fd5b506001600160a01b03813581169160200135166123d1565b34801561092057600080fd5b506102f56004803603602081101561093757600080fd5b50356001600160a01b03166123fc565b600e8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109d35780601f106109a8576101008083540402835291602001916109d3565b820191906000526020600020905b8154815290600101906020018083116109b657829003601f168201915b505050505090505b90565b60015460009060ff16610a26576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b60088054610a35906001612423565b81548110610a3f57fe5b9060005260206000209060020201600001544211610a97576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636865636b65642160801b604482015290519081900360640190fd5b6008805460009190610aaa906001612423565b81548110610ab457fe5b600091825260208220600290910201546008805491935090610ad7906001612423565b81548110610ae157fe5b9060005260206000209060020201600101549050600060018054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d6020811015610b6d57600080fd5b5051905081811415610bc6576040805162461bcd60e51b815260206004820152601960248201527f54686520737570706c79206861736e2774206368616e67656400000000000000604482015290519081900360640190fd5b610bce61333b565b5060408051808201825242815260208082018481526008805460018101825560009190915283517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee360029092029182015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4909101558251808401909352601383527203732bb903a32ba3432b91039bab838363c9d1606d1b9083015264e8d4a51000938402939092029190610c869083612465565b610cbb60405180604001604052806013815260200172037b632103a32ba3432b91039bab838363c9d1606d1b81525084612465565b6000610ce884610ce2610cd986610cd3846002612513565b90612423565b600a5490612513565b9061256c565b9050610d296040518060400160405280601b81526020017f6e65772076616c75652066726f6d20666f726d756c612069733a20000000000081525082612465565b83831015610dfb57600a54610d3f908290612423565b90506000610d4f826103e861256c565b9050610d7b6040518060400160405280600881526020016703932bbb0b9321d160c51b81525082612465565b610d858282612423565b9150610dc66040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a2081525083612465565b610de3610dde6009548461251390919063ffffffff16565b6125ae565b50610ded81612695565b5095506109db945050505050565b83831115610ebd57600a54610e109082612423565b90506000610e20826103e861256c565b9050610e4c6040518060400160405280600881526020016703932bbb0b9321d160c51b81525082612465565b610e568282612423565b9150610e976040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a2081525083612465565b610eb4610eaf6009548461251390919063ffffffff16565b612726565b610ded81612695565b505050505090565b6000610ed9610ed26127c4565b84846127c8565b5060015b92915050565b600c5481565b7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa81565b6000610f26600a54600d546128b490919063ffffffff16565b905090565b60088181548110610f3857fe5b60009182526020909120600290910201805460019091015490915082565b6000610f6384848461290e565b6011546001600160a01b03163314610fe557610fe584610f816127c4565b610fe085604051806060016040528060288152602001613549602891396001600160a01b038a16600090815260036020526040812090610fbf6127c4565b6001600160a01b031681526020810191909152604001600020549190612a4e565b6127c8565b5060019392505050565b60009081526020819052604090206002015490565b600082815260208190526040902060020154611027906110226127c4565b611a94565b6110625760405162461bcd60e51b815260040180806020018281038252602f81526020018061339b602f913960400191505060405180910390fd5b61106c8282612ae5565b5050565b60105460ff1690565b600c5490565b6110876127c4565b6001600160a01b0316816001600160a01b0316146110d65760405162461bcd60e51b815260040180806020018281038252602f8152602001806136ea602f913960400191505060405180910390fd5b61106c8282612b4e565b6000610ed96110ed6127c4565b84610fe085600360006110fe6127c4565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906128b4565b60015460009060ff16611176576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6111b46040518060400160405280601a81526020017f72657475726e696e67206465706f73697420666f722075736572000000000000815250612bb7565b6011546001600160a01b0316611209576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b600460006112156127c4565b6001600160a01b03168152602081019190915260400160002054611277576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6000600260006112856127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116112ea576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b60006112f46116dc565b90506113186040518060600160405280602a81526020016134fe602a913982612465565b6000600560006113266127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205490506113886040518060400160405280601e81526020017f426f6e64696e6720637572766520707269636520666f7220425252523a20000081525082612465565b60006113be83610ce2846004600061139e6127c4565b6001600160a01b0316815260208101919091526040016000205490612513565b90506113e26040518060800160405280605181526020016133ca6051913982612465565b61144460405180604001604052806014815260200173031bab93932b73a103130b630b731b29034b99d160651b8152506002600061141e6127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054612465565b80600260006114516127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054106114e3576000600560006114856127c4565b6001600160a01b031681526020810191909152604001600020556114dd816114ab6127c4565b600460006114b76127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054612c5d565b5061167d565b61150460405180608001604052806042815260200161348c60429139612bb7565b6115356040518060400160405280600981526020016803130b630b731b29d160bd1b8152506002600061141e6127c4565b6000611553670de0b6b3a7640000610ce2866002600061139e6127c4565b90506115946040518060400160405280601e81526020017f6574682076616c756520696e2063757272656e7420425252523130783a20000081525082612465565b60006115ac84610ce284670de0b6b3a7640000612513565b90506115d06040518060600160405280603181526020016135fd6031913982612465565b600460006115dc6127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205481111561163b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806135b3602a913960400191505060405180910390fd5b6116796002600061164a6127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020546116736127c4565b83612c5d565b5050505b6116ae60016006600061168e6127c4565b6001600160a01b03168152602081019190915260400160002054906128b4565b600660006116ba6127c4565b6001600160a01b03168152602081019190915260400160002055509192915050565b6000806116e76119fa565b90506000600660006116f76127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050600181101561172b575090506109db565b60638110611737575060635b6117506117496064610ce28585612513565b8390612423565b9250505090565b60105461010090046001600160a01b031681565b60015460009060ff16156117c6576040805162461bcd60e51b815260206004820152601960248201527f436f6e74726163742069732072756e6e696e67207374696c6c00000000000000604482015290519081900360640190fd5b60015460ff161561181e576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b60006004600061182c6127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611896576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6118a360006114ab6127c4565b506001905090565b6001600160a01b031660009081526002602052604090205490565b60006118d28133611a94565b61191c576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b506001805460ff19811660ff9091161517815590565b600061193e8133611a94565b611988576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0382166119d6576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b03939093169290921790915590565b6000670de0b6b3a7640000600a5411611a2f57611a286064610ce26032600d5461251390919063ffffffff16565b90506109db565b610f26600a54611a506064610ce26032600d5461251390919063ffffffff16565b670de0b6b3a7640000029061256c565b60076020526000908152604090205460ff1681565b6000828152602081905260408120611a8d9083612dea565b9392505050565b6000828152602081905260408120611a8d9083612df6565b600f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109d35780601f106109a8576101008083540402835291602001916109d3565b6011546001600160a01b031681565b600081565b600d5481565b6000610ed9611b346127c4565b84610fe0856040518060600160405280602581526020016136c56025913960036000611b5e6127c4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612a4e565b60066020526000908152604090205481565b6000610ed9611bae6127c4565b848461290e565b60046020526000908152604090205481565b60015460009060ff16611c0f576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b611c3160405180606001604052806029815260200161343d6029913983612465565b6011546001600160a01b0316611c86576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b6011546001600160a01b03166000816370a08231611ca26127c4565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611cdf57600080fd5b505afa158015611cf3573d6000803e3d6000fd5b505050506040513d6020811015611d0957600080fd5b5051905083811015611d62576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e2062616c616e6365206e6f7420656e6f7567680000000000000000604482015290519081900360640190fd5b6000611d6c6119fa565b9050611d906040518060600160405280602281526020016135716022913982612465565b6000836001600160a01b0316638073cab46040518163ffffffff1660e01b815260040160206040518083038186803b158015611dcb57600080fd5b505afa158015611ddf573d6000803e3d6000fd5b505050506040513d6020811015611df557600080fd5b505160408051606081019091526023808252919250611e1c91613653602083013982612465565b60056000611e286127c4565b6001600160a01b03168152602081019190915260400160002054611e72578060056000611e536127c4565b6001600160a01b03168152602081019190915260400160002055611f41565b6000611ec3611e818884612513565b611ebd60056000611e906127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020546004600061139e6127c4565b906128b4565b9050611edf611ed8886004600061168e6127c4565b829061256c565b9050611f186040518060400160405280601581526020017403732bb903bb2b4b3b43a32b21030bb339034b99d1605d1b81525082612465565b8060056000611f256127c4565b6001600160a01b03168152602081019190915260400160002055505b6000611f5183610ce28985612513565b9050611f926040518060400160405280601881526020017f616d6f756e74206f662042525252313078206d6164653a20000000000000000081525082612465565b60008111611fe7576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b846001600160a01b03166323b872dd611ffe6127c4565b308a6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561205657600080fd5b505af115801561206a573d6000803e3d6000fd5b505050506040513d602081101561208057600080fd5b50516120c5576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6120d5876004600061168e6127c4565b600460006120e16127c4565b6001600160a01b0316815260208101919091526040016000205561210c6121066127c4565b82612e0b565b5060019695505050505050565b60015460ff1681565b600a5481565b60015460009060ff16612170576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6007600061217c6127c4565b6001600160a01b0316815260208101919091526040016000205460ff16156121e2576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6012546001600160a01b03166000816370a082316121fe6127c4565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561223b57600080fd5b505afa15801561224f573d6000803e3d6000fd5b505050506040513d602081101561226557600080fd5b505190506001600760006122776127c4565b6001600160a01b0390811682526020820192909252604001600020805460ff19169215159290921790915582166323b872dd6122b16127c4565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561230957600080fd5b505af115801561231d573d6000803e3d6000fd5b505050506040513d602081101561233357600080fd5b505161233e57600080fd5b6123496121066127c4565b60019250505090565b6000818152602081905260408120610edd90612f9b565b6012546001600160a01b031681565b600082815260208190526040902060020154612396906110226127c4565b6110d65760405162461bcd60e51b81526004018080602001828103825260308152602001806134ce6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60056020526000908152604090205481565b6000611a8d836001600160a01b038416612fa6565b6000611a8d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a4e565b61106c82826040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b838110156124b0578181015183820152602001612498565b50505050905090810190601f1680156124dd5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b1790529350612ff092505050565b60008261252257506000610edd565b8282028284828161252f57fe5b0414611a8d5760405162461bcd60e51b81526004018080602001828103825260218152602001806135286021913960400191505060405180910390fd5b6000611a8d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613011565b60008082116125fa576040805162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b604482015290519081900360640190fd5b612602611079565b600a5461260f90846128b4565b10612655576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74206578636565642063617607c1b604482015290519081900360640190fd5b600a5461266290836128b4565b600a819055600b5560408051838152905130916000916000805160206135dd8339815191529181900360200190a3919050565b600d546000906126a590836128b4565b600d556126b8826002600061168e6127c4565b600260006126c46127c4565b6001600160a01b031681526020810191909152604001600020556126e66127c4565b6001600160a01b0316306001600160a01b03166000805160206135dd833981519152846040518082815260200191505060405180910390a3506001919050565b600a54811161278957612756816040518060600160405280602b815260200161369a602b9139600a549190612a4e565b600a819055600b5560408051828152905160009130916000805160206135dd8339815191529181900360200190a36127c1565b670de0b6b3a7640000600a819055600b5560408051828152905160009130916000805160206135dd8339815191529181900360200190a35b50565b3390565b6001600160a01b03831661280d5760405162461bcd60e51b81526004018080602001828103825260248152602001806136766024913960400191505060405180910390fd5b6001600160a01b0382166128525760405162461bcd60e51b815260040180806020018281038252602281526020018061341b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611a8d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166129535760405162461bcd60e51b815260040180806020018281038252602581526020018061362e6025913960400191505060405180910390fd5b6001600160a01b0382166129985760405162461bcd60e51b81526004018080602001828103825260238152602001806133786023913960400191505060405180910390fd5b6129d581604051806060016040528060268152602001613466602691396001600160a01b0386166000908152600260205260409020549190612a4e565b6001600160a01b038085166000908152600260205260408082209390935590841681522054612a0490826128b4565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716926000805160206135dd83398151915292918290030190a3505050565b60008184841115612add5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612aa2578181015183820152602001612a8a565b50505050905090810190601f168015612acf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020612afd908261240e565b1561106c57612b0a6127c4565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020612b669082613076565b1561106c57612b736127c4565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6127c1816040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015612bfb578181015183820152602001612be3565b50505050905090810190601f168015612c285780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b1790529250612ff0915050565b6001600160a01b038216600090815260046020526040812054821115612cca576040805162461bcd60e51b815260206004820152601860248201527f4d6f7265207468616e206465706f73697420616d6f756e740000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054612ced9085612423565b6001600160a01b038416600090815260026020526040902055600a54612d1390856128b4565b600a819055600b55600d54612d289085612423565b600d5560408051858152905130916001600160a01b038616916000805160206135dd8339815191529181900360200190a36001600160a01b038316600090815260046020526040902054612d7c9083612423565b6001600160a01b03808516600090815260046020526040902091909155601154612da9918591168461308b565b5060405182906001600160a01b038516907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a35060019392505050565b6000611a8d83836131f5565b6000611a8d836001600160a01b038416613259565b60015460ff16612e50576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6001600160a01b038216612eab576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600a54811115612f02576040805162461bcd60e51b815260206004820152601b60248201527f4d6f7265207468616e20746865207265736572766520686f6c64730000000000604482015290519081900360640190fd5b600d54612f0f90826128b4565b600d55600b54612f1f9082612423565b600b55600a54612f2f9082612423565b600a556001600160a01b038216600090815260026020526040902054612f5590826128b4565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391926000805160206135dd8339815191529281900390910190a35050565b6000610edd82613271565b6000612fb28383613259565b612fe857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610edd565b506000610edd565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b600081836130605760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612aa2578181015183820152602001612a8a565b50600083858161306c57fe5b0495945050505050565b6000611a8d836001600160a01b038416613275565b60008083905082816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156130df57600080fd5b505afa1580156130f3573d6000803e3d6000fd5b505050506040513d602081101561310957600080fd5b5051101561315e576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f7567682066756e647320746f207472616e7366657200000000604482015290519081900360640190fd5b806001600160a01b031663a9059cbb86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156131b557600080fd5b505af11580156131c9573d6000803e3d6000fd5b505050506040513d60208110156131df57600080fd5b50516131ea57600080fd5b506001949350505050565b815460009082106132375760405162461bcd60e51b81526004018080602001828103825260228152602001806133566022913960400191505060405180910390fd5b82600001828154811061324657fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b6000818152600183016020526040812054801561333157835460001980830191908101906000908790839081106132a857fe5b90600052602060002001549050808760000184815481106132c557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806132f557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610edd565b6000915050610edd565b60405180604001604052806000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74425252522078204252525243757276652064697669646564206279205769746864726177616c2063757276652028616d6f756e74206f66206465706f73697420746f20676574206261636b292069733a2045524332303a20617070726f766520746f20746865207a65726f20616464726573735072696e74696e672042525252207769746820627272722c20616d6f756e742073656e742069733a2045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636562616c616e63657320617265206e6f7420656e6f7567682c2063757272656e7420616d6f756e74207468657920686176652069732061626c6520746f206765743a20416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6543757272656e74207769746864726177616c20626f6e64696e6720637572766520666f72203130783a20536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636563757272656e7420626f6e64696e6720707269636520666f72203130782069733a20436f6e747261637420686173206265656e207475726e6564206f6666000000004d6f7265207468616e20696e20796f75722062616c616e63652c206572726f722077697468206d617468ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef425252522064697669646564206279204554482076616c756520746f2067697665206261636b2074686520425252523a2045524332303a207472616e736665722066726f6d20746865207a65726f206164647265737363757272656e7420626f6e64696e6720707269636520666f7220425252522069733a2045524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e742065786365656473205472656173757279205265736572766545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122062a4abd9740565117077ab5134d3f79da3160cafdc4ecc3c27e5d02d04acde8964736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ddcf41fd32eabbf42a4e436a65673081cba0570b000000000000000000000000000000000000000000000000000000000000000d425252522e66692033782076320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044252337800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c80638073cab411610139578063a9059cbb116100b6578063c99503181161007a578063c99503181461084c578063ca15c87314610861578063d3ef89771461088b578063d547741f146108a0578063dd62ed3e146108d9578063ea09676c1461091457610251565b8063a9059cbb1461078c578063bb3cb7c2146107c5578063c18bd8ee146107f8578063c2e1500b14610822578063c3d46f701461083757610251565b806396a67d25116100fd57806396a67d25146106e1578063a217fddf146106f6578063a253c06e1461070b578063a457c2d714610720578063a5e051291461075957610251565b80638073cab41461061b57806381c61090146106305780639010d07c1461066357806391d148541461069357806395d89b41146106cc57610251565b8063313ce567116101d25780635d562083116101965780635d562083146105455780635efc071a1461055a5780636343e1371461058b57806370a08231146105a05780637927d21c146105d35780637dc4b9cc146105e857610251565b8063313ce5671461047e578063355274ea146104a957806336568abe146104be57806339509351146104f75780635cca60841461053057610251565b806318160ddd1161021957806318160ddd1461037e5780631def1ede1461039357806323b872dd146103d6578063248a9ca3146104195780632f2ff15d1461044357610251565b806306fdde031461025657806309500c17146102e0578063095ea7b314610307578063099e7f6c146103545780630cadb5e314610369575b600080fd5b34801561026257600080fd5b5061026b610947565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ec57600080fd5b506102f56109de565b60408051918252519081900360200190f35b34801561031357600080fd5b506103406004803603604081101561032a57600080fd5b506001600160a01b038135169060200135610ec5565b604080519115158252519081900360200190f35b34801561036057600080fd5b506102f5610ee3565b34801561037557600080fd5b506102f5610ee9565b34801561038a57600080fd5b506102f5610f0d565b34801561039f57600080fd5b506103bd600480360360208110156103b657600080fd5b5035610f2b565b6040805192835260208301919091528051918290030190f35b3480156103e257600080fd5b50610340600480360360608110156103f957600080fd5b506001600160a01b03813581169160208101359091169060400135610f56565b34801561042557600080fd5b506102f56004803603602081101561043c57600080fd5b5035610fef565b34801561044f57600080fd5b5061047c6004803603604081101561046657600080fd5b50803590602001356001600160a01b0316611004565b005b34801561048a57600080fd5b50610493611070565b6040805160ff9092168252519081900360200190f35b3480156104b557600080fd5b506102f5611079565b3480156104ca57600080fd5b5061047c600480360360408110156104e157600080fd5b50803590602001356001600160a01b031661107f565b34801561050357600080fd5b506103406004803603604081101561051a57600080fd5b506001600160a01b0381351690602001356110e0565b34801561053c57600080fd5b5061034061112e565b34801561055157600080fd5b506102f56116dc565b34801561056657600080fd5b5061056f611757565b604080516001600160a01b039092168252519081900360200190f35b34801561059757600080fd5b5061034061176b565b3480156105ac57600080fd5b506102f5600480360360208110156105c357600080fd5b50356001600160a01b03166118ab565b3480156105df57600080fd5b506103406118c6565b3480156105f457600080fd5b506103406004803603602081101561060b57600080fd5b50356001600160a01b0316611932565b34801561062757600080fd5b506102f56119fa565b34801561063c57600080fd5b506103406004803603602081101561065357600080fd5b50356001600160a01b0316611a60565b34801561066f57600080fd5b5061056f6004803603604081101561068657600080fd5b5080359060200135611a75565b34801561069f57600080fd5b50610340600480360360408110156106b657600080fd5b50803590602001356001600160a01b0316611a94565b3480156106d857600080fd5b5061026b611aac565b3480156106ed57600080fd5b5061056f611b0d565b34801561070257600080fd5b506102f5611b1c565b34801561071757600080fd5b506102f5611b21565b34801561072c57600080fd5b506103406004803603604081101561074357600080fd5b506001600160a01b038135169060200135611b27565b34801561076557600080fd5b506102f56004803603602081101561077c57600080fd5b50356001600160a01b0316611b8f565b34801561079857600080fd5b50610340600480360360408110156107af57600080fd5b506001600160a01b038135169060200135611ba1565b3480156107d157600080fd5b506102f5600480360360208110156107e857600080fd5b50356001600160a01b0316611bb5565b34801561080457600080fd5b506103406004803603602081101561081b57600080fd5b5035611bc7565b34801561082e57600080fd5b50610340612119565b34801561084357600080fd5b506102f5612122565b34801561085857600080fd5b50610340612128565b34801561086d57600080fd5b506102f56004803603602081101561088457600080fd5b5035612352565b34801561089757600080fd5b5061056f612369565b3480156108ac57600080fd5b5061047c600480360360408110156108c357600080fd5b50803590602001356001600160a01b0316612378565b3480156108e557600080fd5b506102f5600480360360408110156108fc57600080fd5b506001600160a01b03813581169160200135166123d1565b34801561092057600080fd5b506102f56004803603602081101561093757600080fd5b50356001600160a01b03166123fc565b600e8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109d35780601f106109a8576101008083540402835291602001916109d3565b820191906000526020600020905b8154815290600101906020018083116109b657829003601f168201915b505050505090505b90565b60015460009060ff16610a26576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b60088054610a35906001612423565b81548110610a3f57fe5b9060005260206000209060020201600001544211610a97576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636865636b65642160801b604482015290519081900360640190fd5b6008805460009190610aaa906001612423565b81548110610ab457fe5b600091825260208220600290910201546008805491935090610ad7906001612423565b81548110610ae157fe5b9060005260206000209060020201600101549050600060018054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d6020811015610b6d57600080fd5b5051905081811415610bc6576040805162461bcd60e51b815260206004820152601960248201527f54686520737570706c79206861736e2774206368616e67656400000000000000604482015290519081900360640190fd5b610bce61333b565b5060408051808201825242815260208082018481526008805460018101825560009190915283517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee360029092029182015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4909101558251808401909352601383527203732bb903a32ba3432b91039bab838363c9d1606d1b9083015264e8d4a51000938402939092029190610c869083612465565b610cbb60405180604001604052806013815260200172037b632103a32ba3432b91039bab838363c9d1606d1b81525084612465565b6000610ce884610ce2610cd986610cd3846002612513565b90612423565b600a5490612513565b9061256c565b9050610d296040518060400160405280601b81526020017f6e65772076616c75652066726f6d20666f726d756c612069733a20000000000081525082612465565b83831015610dfb57600a54610d3f908290612423565b90506000610d4f826103e861256c565b9050610d7b6040518060400160405280600881526020016703932bbb0b9321d160c51b81525082612465565b610d858282612423565b9150610dc66040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a2081525083612465565b610de3610dde6009548461251390919063ffffffff16565b6125ae565b50610ded81612695565b5095506109db945050505050565b83831115610ebd57600a54610e109082612423565b90506000610e20826103e861256c565b9050610e4c6040518060400160405280600881526020016703932bbb0b9321d160c51b81525082612465565b610e568282612423565b9150610e976040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a2081525083612465565b610eb4610eaf6009548461251390919063ffffffff16565b612726565b610ded81612695565b505050505090565b6000610ed9610ed26127c4565b84846127c8565b5060015b92915050565b600c5481565b7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa81565b6000610f26600a54600d546128b490919063ffffffff16565b905090565b60088181548110610f3857fe5b60009182526020909120600290910201805460019091015490915082565b6000610f6384848461290e565b6011546001600160a01b03163314610fe557610fe584610f816127c4565b610fe085604051806060016040528060288152602001613549602891396001600160a01b038a16600090815260036020526040812090610fbf6127c4565b6001600160a01b031681526020810191909152604001600020549190612a4e565b6127c8565b5060019392505050565b60009081526020819052604090206002015490565b600082815260208190526040902060020154611027906110226127c4565b611a94565b6110625760405162461bcd60e51b815260040180806020018281038252602f81526020018061339b602f913960400191505060405180910390fd5b61106c8282612ae5565b5050565b60105460ff1690565b600c5490565b6110876127c4565b6001600160a01b0316816001600160a01b0316146110d65760405162461bcd60e51b815260040180806020018281038252602f8152602001806136ea602f913960400191505060405180910390fd5b61106c8282612b4e565b6000610ed96110ed6127c4565b84610fe085600360006110fe6127c4565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906128b4565b60015460009060ff16611176576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6111b46040518060400160405280601a81526020017f72657475726e696e67206465706f73697420666f722075736572000000000000815250612bb7565b6011546001600160a01b0316611209576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b600460006112156127c4565b6001600160a01b03168152602081019190915260400160002054611277576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6000600260006112856127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116112ea576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b60006112f46116dc565b90506113186040518060600160405280602a81526020016134fe602a913982612465565b6000600560006113266127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205490506113886040518060400160405280601e81526020017f426f6e64696e6720637572766520707269636520666f7220425252523a20000081525082612465565b60006113be83610ce2846004600061139e6127c4565b6001600160a01b0316815260208101919091526040016000205490612513565b90506113e26040518060800160405280605181526020016133ca6051913982612465565b61144460405180604001604052806014815260200173031bab93932b73a103130b630b731b29034b99d160651b8152506002600061141e6127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054612465565b80600260006114516127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054106114e3576000600560006114856127c4565b6001600160a01b031681526020810191909152604001600020556114dd816114ab6127c4565b600460006114b76127c4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054612c5d565b5061167d565b61150460405180608001604052806042815260200161348c60429139612bb7565b6115356040518060400160405280600981526020016803130b630b731b29d160bd1b8152506002600061141e6127c4565b6000611553670de0b6b3a7640000610ce2866002600061139e6127c4565b90506115946040518060400160405280601e81526020017f6574682076616c756520696e2063757272656e7420425252523130783a20000081525082612465565b60006115ac84610ce284670de0b6b3a7640000612513565b90506115d06040518060600160405280603181526020016135fd6031913982612465565b600460006115dc6127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205481111561163b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806135b3602a913960400191505060405180910390fd5b6116796002600061164a6127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020546116736127c4565b83612c5d565b5050505b6116ae60016006600061168e6127c4565b6001600160a01b03168152602081019190915260400160002054906128b4565b600660006116ba6127c4565b6001600160a01b03168152602081019190915260400160002055509192915050565b6000806116e76119fa565b90506000600660006116f76127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050600181101561172b575090506109db565b60638110611737575060635b6117506117496064610ce28585612513565b8390612423565b9250505090565b60105461010090046001600160a01b031681565b60015460009060ff16156117c6576040805162461bcd60e51b815260206004820152601960248201527f436f6e74726163742069732072756e6e696e67207374696c6c00000000000000604482015290519081900360640190fd5b60015460ff161561181e576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b60006004600061182c6127c4565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611896576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6118a360006114ab6127c4565b506001905090565b6001600160a01b031660009081526002602052604090205490565b60006118d28133611a94565b61191c576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b506001805460ff19811660ff9091161517815590565b600061193e8133611a94565b611988576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0382166119d6576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b03939093169290921790915590565b6000670de0b6b3a7640000600a5411611a2f57611a286064610ce26032600d5461251390919063ffffffff16565b90506109db565b610f26600a54611a506064610ce26032600d5461251390919063ffffffff16565b670de0b6b3a7640000029061256c565b60076020526000908152604090205460ff1681565b6000828152602081905260408120611a8d9083612dea565b9392505050565b6000828152602081905260408120611a8d9083612df6565b600f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109d35780601f106109a8576101008083540402835291602001916109d3565b6011546001600160a01b031681565b600081565b600d5481565b6000610ed9611b346127c4565b84610fe0856040518060600160405280602581526020016136c56025913960036000611b5e6127c4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612a4e565b60066020526000908152604090205481565b6000610ed9611bae6127c4565b848461290e565b60046020526000908152604090205481565b60015460009060ff16611c0f576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b611c3160405180606001604052806029815260200161343d6029913983612465565b6011546001600160a01b0316611c86576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b6011546001600160a01b03166000816370a08231611ca26127c4565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611cdf57600080fd5b505afa158015611cf3573d6000803e3d6000fd5b505050506040513d6020811015611d0957600080fd5b5051905083811015611d62576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e2062616c616e6365206e6f7420656e6f7567680000000000000000604482015290519081900360640190fd5b6000611d6c6119fa565b9050611d906040518060600160405280602281526020016135716022913982612465565b6000836001600160a01b0316638073cab46040518163ffffffff1660e01b815260040160206040518083038186803b158015611dcb57600080fd5b505afa158015611ddf573d6000803e3d6000fd5b505050506040513d6020811015611df557600080fd5b505160408051606081019091526023808252919250611e1c91613653602083013982612465565b60056000611e286127c4565b6001600160a01b03168152602081019190915260400160002054611e72578060056000611e536127c4565b6001600160a01b03168152602081019190915260400160002055611f41565b6000611ec3611e818884612513565b611ebd60056000611e906127c4565b6001600160a01b03166001600160a01b03168152602001908152602001600020546004600061139e6127c4565b906128b4565b9050611edf611ed8886004600061168e6127c4565b829061256c565b9050611f186040518060400160405280601581526020017403732bb903bb2b4b3b43a32b21030bb339034b99d1605d1b81525082612465565b8060056000611f256127c4565b6001600160a01b03168152602081019190915260400160002055505b6000611f5183610ce28985612513565b9050611f926040518060400160405280601881526020017f616d6f756e74206f662042525252313078206d6164653a20000000000000000081525082612465565b60008111611fe7576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b846001600160a01b03166323b872dd611ffe6127c4565b308a6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561205657600080fd5b505af115801561206a573d6000803e3d6000fd5b505050506040513d602081101561208057600080fd5b50516120c5576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6120d5876004600061168e6127c4565b600460006120e16127c4565b6001600160a01b0316815260208101919091526040016000205561210c6121066127c4565b82612e0b565b5060019695505050505050565b60015460ff1681565b600a5481565b60015460009060ff16612170576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6007600061217c6127c4565b6001600160a01b0316815260208101919091526040016000205460ff16156121e2576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6012546001600160a01b03166000816370a082316121fe6127c4565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561223b57600080fd5b505afa15801561224f573d6000803e3d6000fd5b505050506040513d602081101561226557600080fd5b505190506001600760006122776127c4565b6001600160a01b0390811682526020820192909252604001600020805460ff19169215159290921790915582166323b872dd6122b16127c4565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561230957600080fd5b505af115801561231d573d6000803e3d6000fd5b505050506040513d602081101561233357600080fd5b505161233e57600080fd5b6123496121066127c4565b60019250505090565b6000818152602081905260408120610edd90612f9b565b6012546001600160a01b031681565b600082815260208190526040902060020154612396906110226127c4565b6110d65760405162461bcd60e51b81526004018080602001828103825260308152602001806134ce6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60056020526000908152604090205481565b6000611a8d836001600160a01b038416612fa6565b6000611a8d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a4e565b61106c82826040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b838110156124b0578181015183820152602001612498565b50505050905090810190601f1680156124dd5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b1790529350612ff092505050565b60008261252257506000610edd565b8282028284828161252f57fe5b0414611a8d5760405162461bcd60e51b81526004018080602001828103825260218152602001806135286021913960400191505060405180910390fd5b6000611a8d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613011565b60008082116125fa576040805162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b604482015290519081900360640190fd5b612602611079565b600a5461260f90846128b4565b10612655576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74206578636565642063617607c1b604482015290519081900360640190fd5b600a5461266290836128b4565b600a819055600b5560408051838152905130916000916000805160206135dd8339815191529181900360200190a3919050565b600d546000906126a590836128b4565b600d556126b8826002600061168e6127c4565b600260006126c46127c4565b6001600160a01b031681526020810191909152604001600020556126e66127c4565b6001600160a01b0316306001600160a01b03166000805160206135dd833981519152846040518082815260200191505060405180910390a3506001919050565b600a54811161278957612756816040518060600160405280602b815260200161369a602b9139600a549190612a4e565b600a819055600b5560408051828152905160009130916000805160206135dd8339815191529181900360200190a36127c1565b670de0b6b3a7640000600a819055600b5560408051828152905160009130916000805160206135dd8339815191529181900360200190a35b50565b3390565b6001600160a01b03831661280d5760405162461bcd60e51b81526004018080602001828103825260248152602001806136766024913960400191505060405180910390fd5b6001600160a01b0382166128525760405162461bcd60e51b815260040180806020018281038252602281526020018061341b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611a8d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166129535760405162461bcd60e51b815260040180806020018281038252602581526020018061362e6025913960400191505060405180910390fd5b6001600160a01b0382166129985760405162461bcd60e51b81526004018080602001828103825260238152602001806133786023913960400191505060405180910390fd5b6129d581604051806060016040528060268152602001613466602691396001600160a01b0386166000908152600260205260409020549190612a4e565b6001600160a01b038085166000908152600260205260408082209390935590841681522054612a0490826128b4565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716926000805160206135dd83398151915292918290030190a3505050565b60008184841115612add5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612aa2578181015183820152602001612a8a565b50505050905090810190601f168015612acf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020612afd908261240e565b1561106c57612b0a6127c4565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020612b669082613076565b1561106c57612b736127c4565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6127c1816040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015612bfb578181015183820152602001612be3565b50505050905090810190601f168015612c285780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b1790529250612ff0915050565b6001600160a01b038216600090815260046020526040812054821115612cca576040805162461bcd60e51b815260206004820152601860248201527f4d6f7265207468616e206465706f73697420616d6f756e740000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054612ced9085612423565b6001600160a01b038416600090815260026020526040902055600a54612d1390856128b4565b600a819055600b55600d54612d289085612423565b600d5560408051858152905130916001600160a01b038616916000805160206135dd8339815191529181900360200190a36001600160a01b038316600090815260046020526040902054612d7c9083612423565b6001600160a01b03808516600090815260046020526040902091909155601154612da9918591168461308b565b5060405182906001600160a01b038516907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a35060019392505050565b6000611a8d83836131f5565b6000611a8d836001600160a01b038416613259565b60015460ff16612e50576040805162461bcd60e51b815260206004820152601c6024820152600080516020613593833981519152604482015290519081900360640190fd5b6001600160a01b038216612eab576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600a54811115612f02576040805162461bcd60e51b815260206004820152601b60248201527f4d6f7265207468616e20746865207265736572766520686f6c64730000000000604482015290519081900360640190fd5b600d54612f0f90826128b4565b600d55600b54612f1f9082612423565b600b55600a54612f2f9082612423565b600a556001600160a01b038216600090815260026020526040902054612f5590826128b4565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391926000805160206135dd8339815191529281900390910190a35050565b6000610edd82613271565b6000612fb28383613259565b612fe857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610edd565b506000610edd565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b600081836130605760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612aa2578181015183820152602001612a8a565b50600083858161306c57fe5b0495945050505050565b6000611a8d836001600160a01b038416613275565b60008083905082816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156130df57600080fd5b505afa1580156130f3573d6000803e3d6000fd5b505050506040513d602081101561310957600080fd5b5051101561315e576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f7567682066756e647320746f207472616e7366657200000000604482015290519081900360640190fd5b806001600160a01b031663a9059cbb86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156131b557600080fd5b505af11580156131c9573d6000803e3d6000fd5b505050506040513d60208110156131df57600080fd5b50516131ea57600080fd5b506001949350505050565b815460009082106132375760405162461bcd60e51b81526004018080602001828103825260228152602001806133566022913960400191505060405180910390fd5b82600001828154811061324657fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b6000818152600183016020526040812054801561333157835460001980830191908101906000908790839081106132a857fe5b90600052602060002001549050808760000184815481106132c557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806132f557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610edd565b6000915050610edd565b60405180604001604052806000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74425252522078204252525243757276652064697669646564206279205769746864726177616c2063757276652028616d6f756e74206f66206465706f73697420746f20676574206261636b292069733a2045524332303a20617070726f766520746f20746865207a65726f20616464726573735072696e74696e672042525252207769746820627272722c20616d6f756e742073656e742069733a2045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636562616c616e63657320617265206e6f7420656e6f7567682c2063757272656e7420616d6f756e74207468657920686176652069732061626c6520746f206765743a20416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6543757272656e74207769746864726177616c20626f6e64696e6720637572766520666f72203130783a20536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636563757272656e7420626f6e64696e6720707269636520666f72203130782069733a20436f6e747261637420686173206265656e207475726e6564206f6666000000004d6f7265207468616e20696e20796f75722062616c616e63652c206572726f722077697468206d617468ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef425252522064697669646564206279204554482076616c756520746f2067697665206261636b2074686520425252523a2045524332303a207472616e736665722066726f6d20746865207a65726f206164647265737363757272656e7420626f6e64696e6720707269636520666f7220425252522069733a2045524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e742065786365656473205472656173757279205265736572766545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122062a4abd9740565117077ab5134d3f79da3160cafdc4ecc3c27e5d02d04acde8964736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ddcf41fd32eabbf42a4e436a65673081cba0570b000000000000000000000000000000000000000000000000000000000000000d425252522e66692033782076320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044252337800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): BRRR.fi 3x v2
Arg [1] : symbol (string): BR3x
Arg [2] : leverage (uint256): 3
Arg [3] : _brrr (address): 0xddcF41FD32eaBbF42A4e436A65673081Cba0570b
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 000000000000000000000000ddcf41fd32eabbf42a4e436a65673081cba0570b
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 425252522e666920337820763200000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4252337800000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
505:21644:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22130:8;;;3119:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19372:1871;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5343:210;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5343:210:9;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1452:46;;;;;;;;;;;;;:::i;881:70::-;;;;;;;;;;;;;:::i;4194:127::-;;;;;;;;;;;;;:::i;1310:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1310:39:9;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;6027:534;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6027:534:9;;;;;;;;;;;;;;;;;:::i;4506:114:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4506:114:0;;:::i;4882:264::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4882:264:0;;;;;;-1:-1:-1;;;;;4882:264:0;;:::i;:::-;;4046:83:9;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13891:79;;;;;;;;;;;;;:::i;6165:246:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6165:246:0;;;;;;-1:-1:-1;;;;;6165:246:0;;:::i;6970:300:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6970:300:9;;;;;;;;:::i;17351:1819::-;;;;;;;;;;;;;:::i;14457:338::-;;;;;;;;;;;;;:::i;1635:66::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1635:66:9;;;;;;;;;;;;;;21251:296;;;;;;;;;;;;;:::i;4384:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4384:119:9;-1:-1:-1;;;;;4384:119:9;;:::i;21555:226::-;;;;;;;;;;;;;:::i;21789:294::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21789:294:9;-1:-1:-1;;;;;21789:294:9;;:::i;15549:300::-;;;;;;;;;;;;;:::i;1262:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1262:39:9;-1:-1:-1;;;;;1262:39:9;;:::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;3321:87:9:-;;;;;;;;;;;;;:::i;1708:19::-;;;;;;;;;;;;;:::i;1751:49:0:-;;;;;;;;;;;;;:::i;1507:33:9:-;;;;;;;;;;;;;:::i;7773:400::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7773:400:9;;;;;;;;:::i;1202:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1202:53:9;-1:-1:-1;;;;;1202:53:9;;:::i;4716:216::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4716:216:9;;;;;;;;:::i;1090:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1090:49:9;-1:-1:-1;;;;;1090:49:9;;:::i;15857:1486::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15857:1486:9;;:::i;561:25::-;;;;;;;;;;;;;:::i;1380:30::-;;;;;;;;;;;;;:::i;13978:471::-;;;;;;;;;;;;;:::i;3421:127:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3421:127:0;;:::i;1734:69:9:-;;;;;;;;;;;;;:::i;5391:267:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5391:267:0;;;;;;-1:-1:-1;;;;;5391:267:0;;:::i;4995:201:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4995:201:9;;;;;;;;;;:::i;1148:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1148:47:9;-1:-1:-1;;;;;1148:47:9;;:::i;3119:83::-;3189:5;3182:12;;;;;;;;-1:-1:-1;;3182:12:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3156:13;;3182:12;;3189:5;;3182:12;;3189:5;3182:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3119:83;;:::o;19372:1871::-;731:6;;19418:7;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;19495:18:::1;19514:25:::0;;:32:::1;::::0;19544:1:::1;19514:29;:32::i;:::-;19495:52;;;;;;;;;;;;;;;;;;:86;;;19460:15;:121;19438:187;;;::::0;;-1:-1:-1;;;19438:187:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;19438:187:9;;;;;;;;;;;;;::::1;;19648:18;19667:25:::0;;19636:9:::1;::::0;19648:18;19667:32:::1;::::0;19697:1:::1;19667:29;:32::i;:::-;19648:52;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;:78:::0;19749:18:::1;19768:25:::0;;19648:78;;-1:-1:-1;19749:18:9;19768:32:::1;::::0;19798:1:::1;19768:29;:32::i;:::-;19749:52;;;;;;;;;;;;;;;;;;:79;;;19737:91;;19839:9;19851:6;::::0;::::1;;;;;;-1:-1:-1::0;;;;;19851:6:9::1;-1:-1:-1::0;;;;;19851:18:9::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19851:20:9;;-1:-1:-1;19890:6:9;;::::1;;19882:44;;;::::0;;-1:-1:-1;;;19882:44:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;19937:21;;:::i;:::-;-1:-1:-1::0;19961:31:9::1;::::0;;;;::::1;::::0;;19973:15:::1;19961:31:::0;;::::1;::::0;;::::1;::::0;;;20003:18:::1;:27:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;20003:27:9;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;20091:37;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;20091:37:9;;::::1;::::0;20049:6:::1;20070:10:::0;;::::1;::::0;20045;;::::1;::::0;19961:31;20091:37:::1;::::0;20045:10;20091:11:::1;:37::i;:::-;20139;;;;;;;;;;;;;;-1:-1:-1::0;;;20139:37:9::1;;::::0;20174:1:::1;20139:11;:37::i;:::-;20187:19;20209:47;20254:1:::0;20210:38:::1;20230:17;20245:1:::0;20231:8:::1;20254:1:::0;20237::::1;20231:5;:8::i;:::-;20230:14:::0;::::1;:17::i;:::-;20210:15;::::0;;:19:::1;:38::i;:::-;20209:44:::0;::::1;:47::i;:::-;20187:69;;20267:55;;;;;;;;;;;;;;;;;::::0;20310:11:::1;20267;:55::i;:::-;20343:1;20339;:5;20335:431;;;20391:15;::::0;20375:32:::1;::::0;:11;;:15:::1;:32::i;:::-;20361:46:::0;-1:-1:-1;20422:14:9::1;20439:21;20361:46:::0;20455:4:::1;20439:15;:21::i;:::-;20422:38;;20475:31;;;;;;;;;;;;;;-1:-1:-1::0;;;20475:31:9::1;;::::0;20499:6:::1;20475:11;:31::i;:::-;20535:23;:11:::0;20551:6;20535:15:::1;:23::i;:::-;20521:37;;20573:60;;;;;;;;;;;;;;;;;::::0;20621:11:::1;20573;:60::i;:::-;20648:44;20665:26;20681:9;;20665:11;:15;;:26;;;;:::i;:::-;20648:16;:44::i;:::-;;20707:19;20719:6;20707:11;:19::i;:::-;-1:-1:-1::0;20748:6:9;-1:-1:-1;20741:13:9::1;::::0;-1:-1:-1;;;;;20741:13:9::1;20335:431;20784:1;20780;:5;20776:460;;;20856:15;::::0;:32:::1;::::0;20876:11;20856:19:::1;:32::i;:::-;20842:46:::0;-1:-1:-1;20903:14:9::1;20920:21;20842:46:::0;20936:4:::1;20920:15;:21::i;:::-;20903:38;;20956:31;;;;;;;;;;;;;;-1:-1:-1::0;;;20956:31:9::1;;::::0;20980:6:::1;20956:11;:31::i;:::-;21016:23;:11:::0;21032:6;21016:15:::1;:23::i;:::-;21002:37;;21054:60;;;;;;;;;;;;;;;;;::::0;21102:11:::1;21054;:60::i;:::-;21129:33;21135:26;21151:9;;21135:11;:15;;:26;;;;:::i;:::-;21129:5;:33::i;:::-;21177:19;21189:6;21177:11;:19::i;20776:460::-;781:1;;;;;19372:1871:::0;:::o;5343:210::-;5462:4;5484:39;5493:12;:10;:12::i;:::-;5507:7;5516:6;5484:8;:39::i;:::-;-1:-1:-1;5541:4:9;5343:210;;;;;:::o;1452:46::-;;;;:::o;881:70::-;923:28;881:70;:::o;4194:127::-;4247:7;4274:39;4297:15;;4274:18;;:22;;:39;;;;:::i;:::-;4267:46;;4194:127;:::o;1310:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1310:39:9;:::o;6027:534::-;6167:4;6184:36;6194:6;6202:9;6213:6;6184:9;:36::i;:::-;6251:4;;-1:-1:-1;;;;;6251:4:9;6237:10;:18;6233:299;;6272:248;6299:6;6324:12;:10;:12::i;:::-;6355:150;6415:6;6355:150;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6355:19:9;;;;;;:11;:19;;;;;;6375:12;:10;:12::i;:::-;-1:-1:-1;;;;;6355:33:9;;;;;;;;;;;;-1:-1:-1;6355:33:9;;;:150;:37;:150::i;:::-;6272:8;:248::i;:::-;-1:-1:-1;6549:4:9;6027:534;;;;;:::o;4506:114:0:-;4563:7;4590:12;;;;;;;;;;:22;;;;4506:114::o;4882:264::-;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;4046:83:9:-;4112:9;;;;4046:83;:::o;13891:79::-;13954:8;;13891: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;6970:300:9:-;7085:4;7107:133;7130:12;:10;:12::i;:::-;7157:7;7179:50;7218:10;7179:11;:25;7191:12;:10;:12::i;:::-;-1:-1:-1;;;;;7179:25:9;;;;;;;;;;;;;;;;;-1:-1:-1;7179:25:9;;;:34;;;;;;;;;;;:38;:50::i;17351:1819::-;731:6;;17405:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;17422:41:::1;;;;;;;;;;;;;;;;;::::0;:11:::1;:41::i;:::-;17482:4;::::0;-1:-1:-1;;;;;17482:4:9::1;17474:54;;;::::0;;-1:-1:-1;;;17474:54:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17474:54:9;;;;;;;;;;;;;::::1;;17547:14;:28;17562:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17547:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17547:28:9;;17539:66:::1;;;::::0;;-1:-1:-1;;;17539:66:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17539:66:9;;;;;;;;;;;;;::::1;;17650:1;17624:9;:23;17634:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17624:23:9::1;-1:-1:-1::0;;;;;17624:23:9::1;;;;;;;;;;;;;:27;17616:55;;;::::0;;-1:-1:-1;;;17616:55:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17616:55:9;;;;;;;;;;;;;::::1;;17682:9;17694:26;:24;:26::i;:::-;17682:38;;17731:60;;;;;;;;;;;;;;;;;;17789:1;17731:11;:60::i;:::-;17802:9;17814:12;:26;17827:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17814:26:9::1;-1:-1:-1::0;;;;;17814:26:9::1;;;;;;;;;;;;;17802:38;;17851:48;;;;;;;;;;;;;;;;;::::0;17897:1:::1;17851:11;:48::i;:::-;17910:10;17923:42;17963:1;17923:35;17956:1;17923:14;:28;17938:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17923:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17923:28:9;;;:32:::1;:35::i;:42::-;17910:55;;17976:137;;;;;;;;;;;;;;;;;;18100:2;17976:11;:137::i;:::-;18124:60;;;;;;;;;;;;;;-1:-1:-1::0;;;18124:60:9::1;;::::0;18160:9:::1;:23;18170:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18160:23:9::1;-1:-1:-1::0;;;;;18160:23:9::1;;;;;;;;;;;;;18124:11;:60::i;:::-;18226:2;18199:9;:23;18209:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18199:23:9::1;-1:-1:-1::0;;;;;18199:23:9::1;;;;;;;;;;;;;:29;18195:859;;18274:1;18245:12;:26;18258:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18245:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18245:26:9;:30;18290:60:::1;18303:2:::0;18307:12:::1;:10;:12::i;:::-;18321:14;:28;18336:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18321:28:9::1;-1:-1:-1::0;;;;;18321:28:9::1;;;;;;;;;;;;;18290:12;:60::i;:::-;;18195:859;;;18383:113;;;;;;;;;;;;;;;;;;:11;:113::i;:::-;18511:49;;;;;;;;;;;;;;-1:-1:-1::0;;;18511:49:9::1;;::::0;18536:9:::1;:23;18546:12;:10;:12::i;18511:49::-;18575:9;18587:42;18622:6;18587:30;18615:1;18587:9;:23;18597:12;:10;:12::i;18587:42::-;18575:54;;18644:48;;;;;;;;;;;;;;;;;::::0;18690:1:::1;18644:11;:48::i;:::-;18707:9;18719:20;18737:1:::0;18719:13:::1;:1:::0;18725:6:::1;18719:5;:13::i;:20::-;18707:32;;18754:67;;;;;;;;;;;;;;;;;;18819:1;18754:11;:67::i;:::-;18867:14;:28;18882:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18867:28:9::1;-1:-1:-1::0;;;;;18867:28:9::1;;;;;;;;;;;;;18862:1;:33;;18836:137;;;;-1:-1:-1::0;;;18836:137:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18988:54;19001:9;:23;19011:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19001:23:9::1;-1:-1:-1::0;;;;;19001:23:9::1;;;;;;;;;;;;;19026:12;:10;:12::i;:::-;19040:1;18988:12;:54::i;:::-;;18195:859;;;19099:63;19150:1;19099:18;:32;19118:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19099:32:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19099:32:9;;;:36:::1;:63::i;:::-;19064:18;:32;19083:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19064:32:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19064:32:9;:98;-1:-1:-1;17351:1819:9;;;-1:-1:-1;;17351:1819:9:o;14457:338::-;14514:7;14534:9;14546:16;:14;:16::i;:::-;14534:28;;14573:9;14585:18;:32;14604:12;:10;:12::i;:::-;-1:-1:-1;;;;;14585:32:9;-1:-1:-1;;;;;14585:32:9;;;;;;;;;;;;;14573:44;;14636:1;14632;:5;14628:46;;;-1:-1:-1;14661:1:9;-1:-1:-1;14654:8:9;;14628:46;14693:2;14688:1;:7;14684:46;;-1:-1:-1;14716:2:9;14684:46;14744:24;14750:17;14763:3;14750:8;:1;14756;14750:5;:8::i;:17::-;14744:1;;:5;:24::i;:::-;14740:28;-1:-1:-1;;;14457:338:9;:::o;1635:66::-;;;;;;-1:-1:-1;;;;;1635:66:9;;:::o;21251:296::-;632:6;;21308:4;;632:6;;631:7;623:45;;;;;-1:-1:-1;;;623:45:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;21334:6:::1;::::0;::::1;;21333:7;21325:46;;;::::0;;-1:-1:-1;;;21325:46:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;21421:1;21390:14;:28;21405:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;21390:28:9::1;-1:-1:-1::0;;;;;21390:28:9::1;;;;;;;;;;;;;:32;21382:65;;;::::0;;-1:-1:-1;;;21382:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;21382:65:9;;;;;;;;;;;;;::::1;;21458:59;21471:1;21474:12;:10;:12::i;21458:59::-;;21535:4;21528:11;;21251:296:::0;:::o;4384:119::-;-1:-1:-1;;;;;4477:18:9;4450:7;4477:18;;;:9;:18;;;;;;;4384:119::o;21555:226::-;21596:4;21635:39;21596:4;21663:10;21635:7;:39::i;:::-;21613:111;;;;;-1:-1:-1;;;21613:111:9;;;;;;;;;;;;-1:-1:-1;;;21613:111:9;;;;;;;;;;;;;;;-1:-1:-1;21745:6:9;;;-1:-1:-1;;21735:16:9;;21745:6;;;;21744:7;21735:16;;;21555:226;:::o;21789:294::-;21848:4;21887:39;21848:4;21915:10;21887:7;:39::i;:::-;21865:111;;;;;-1:-1:-1;;;21865:111:9;;;;;;;;;;;;-1:-1:-1;;;21865:111:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;21997:25:9;;21989:54;;;;;-1:-1:-1;;;21989:54:9;;;;;;;;;;;;-1:-1:-1;;;21989:54:9;;;;;;;;;;;;;;;22054:9;:21;;-1:-1:-1;;;;;;22054:21:9;-1:-1:-1;;;;;22054:21:9;;;;;;;;;;;;21789:294::o;15549:300::-;15605:7;15648:10;15629:15;;:29;15625:106;;15683:35;15714:3;15683:26;15706:2;15683:18;;:22;;:26;;;;:::i;:35::-;15675:44;;;;15625:106;15763:67;15814:15;;15764:35;15795:3;15764:26;15787:2;15764:18;;:22;;:26;;;;:::i;:35::-;15802:6;15764:44;;15763:50;:67::i;1262:39::-;;;;;;;;;;;;;;;:::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;3321:87:9:-;3393:7;3386:14;;;;;;;;-1:-1:-1;;3386:14:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3360:13;;3386:14;;3393:7;;3386:14;;3393:7;3386:14;;;;;;;;;;;;;;;;;;;;;;;;1708:19;;;-1:-1:-1;;;;;1708:19:9;;:::o;1751:49:0:-;1796:4;1751:49;:::o;1507:33:9:-;;;;:::o;7773:400::-;7893:4;7915:228;7938:12;:10;:12::i;:::-;7965:7;7987:145;8044:15;7987:145;;;;;;;;;;;;;;;;;:11;:25;7999:12;:10;:12::i;:::-;-1:-1:-1;;;;;7987:25:9;;;;;;;;;;;;;;;;;-1:-1:-1;7987:25:9;;;:34;;;;;;;;;;;:145;:38;:145::i;1202:53::-;;;;;;;;;;;;;:::o;4716:216::-;4838:4;4860:42;4870:12;:10;:12::i;:::-;4884:9;4895:6;4860:9;:42::i;1090:49::-;;;;;;;;;;;;;:::o;15857:1486::-;731:6;;15922:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;15939:65:::1;;;;;;;;;;;;;;;;;;15996:7;15939:11;:65::i;:::-;16023:4;::::0;-1:-1:-1;;;;;16023:4:9::1;16015:54;;;::::0;;-1:-1:-1;;;16015:54:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;16015:54:9;;;;;;;;;;;;;::::1;;16114:4;::::0;-1:-1:-1;;;;;16114:4:9::1;16080:10;16114:4:::0;16143:13:::1;16157:12;:10;:12::i;:::-;16143:27;;;;;;;;;;;;;-1:-1:-1::0;;;;;16143:27:9::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;16143:27:9;;-1:-1:-1;16189:13:9;;::::1;;16181:50;;;::::0;;-1:-1:-1;;;16181:50:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;16242:9;16254:16;:14;:16::i;:::-;16242:28;;16281:52;;;;;;;;;;;;;;;;;;16331:1;16281:11;:52::i;:::-;16344:10;16357:3;-1:-1:-1::0;;;;;16357:18:9::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;16357:20:9;16388:54:::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;16357:20;;-1:-1:-1;16388:54:9::1;::::0;::::1;16357:20;16388:54:::0;::::1;;16439:2;16388:11;:54::i;:::-;16457:12;:26;16470:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;16457:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;16457:26:9;;16453:438:::1;;16534:2;16505:12;:26;16518:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;16505:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;16505:26:9;:31;16453:438:::1;;;16569:12;16584:117;16685:15;:7:::0;16697:2;16685:11:::1;:15::i;:::-;16584:78;16635:12;:26;16648:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;16635:26:9::1;-1:-1:-1::0;;;;;16635:26:9::1;;;;;;;;;;;;;16584:14;:28;16599:12;:10;:12::i;16584:78::-;:100:::0;::::1;:117::i;:::-;16569:132;;16723:51;16732:41;16765:7;16732:14;:28;16747:12;:10;:12::i;16732:41::-;16723:4:::0;;:8:::1;:51::i;:::-;16716:58;;16789:42;;;;;;;;;;;;;;-1:-1:-1::0;;;16789:42:9::1;;::::0;16826:4:::1;16789:11;:42::i;:::-;16875:4;16846:12;:26;16859:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;16846:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;16846:26:9;:33;-1:-1:-1;16453:438:9::1;16901:9;16913:22;16933:1:::0;16913:15:::1;:7:::0;16925:2;16913:11:::1;:15::i;:22::-;16901:34;;16946:42;;;;;;;;;;;;;;;;;::::0;16986:1:::1;16946:11;:42::i;:::-;17011:1;17007;:5;16999:44;;;::::0;;-1:-1:-1;;;16999:44:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;17076:3;-1:-1:-1::0;;;;;17076:16:9::1;;17093:12;:10;:12::i;:::-;17115:4;17122:7;17076:54;;;;;;;;;;;;;-1:-1:-1::0;;;;;17076:54:9::1;;;;;;-1:-1:-1::0;;;;;17076:54:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;17076:54:9;17054:119:::1;;;::::0;;-1:-1:-1;;;17054:119:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17054:119:9;;;;;;;;;;;;;::::1;;17215:65;17262:7;17215:14;:28;17230:12;:10;:12::i;17215:65::-;17184:14;:28;17199:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17184:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17184:28:9;:96;17291:22:::1;17297:12;:10;:12::i;:::-;17311:1;17291:5;:22::i;:::-;-1:-1:-1::0;17331:4:9::1;::::0;15857:1486;-1:-1:-1;;;;;;15857:1486:9:o;561:25::-;;;;;;:::o;1380:30::-;;;;:::o;13978:471::-;731:6;;14028:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;14053:7:::1;:21;14061:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;14053:21:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;14053:21:9;;::::1;;:30;14045:63;;;::::0;;-1:-1:-1;;;14045:63:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14045:63:9;;;;;;;;;;;;;::::1;;14153:9;::::0;-1:-1:-1;;;;;14153:9:9::1;14119:10;14153:9:::0;14188:13:::1;14202:12;:10;:12::i;:::-;14188:27;;;;;;;;;;;;;-1:-1:-1::0;;;;;14188:27:9::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;14188:27:9;;-1:-1:-1;14310:4:9::1;14286:7;:21;14294:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;14286:21:9;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;14286:21:9;:28;;-1:-1:-1;;14286:28:9::1;::::0;::::1;;::::0;;;::::1;::::0;;;14333:16;::::1;;14350:12;:10;:12::i;:::-;14372:4;14379:3;14333:50;;;;;;;;;;;;;-1:-1:-1::0;;;;;14333:50:9::1;;;;;;-1:-1:-1::0;;;;;14333:50:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;14333:50:9;14325:59:::1;;;::::0;::::1;;14395:24;14401:12;:10;:12::i;14395:24::-;14437:4;14430:11;;;;13978:471:::0;:::o;3421:127:0:-;3484:7;3511:12;;;;;;;;;;:29;;:27;:29::i;1734:69:9:-;;;-1:-1:-1;;;;;1734:69:9;;:::o;5391:267:0:-;5498:6;:12;;;;;;;;;;:22;;;5490:45;;5522:12;:10;:12::i;5490:45::-;5468:143;;;;-1:-1:-1;;;5468:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4995:201:9;-1:-1:-1;;;;;5161:18:9;;;5129:7;5161:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4995:201::o;1148:47::-;;;;;;;;;;;;;:::o;5131:166:5:-;5219:4;5248:41;5253:3;-1:-1:-1;;;;;5273:14:5;;5248:4;:41::i;1366:136:8:-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;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;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;9381:359:9:-;9441:4;9475:1;9466:6;:10;9458:42;;;;;-1:-1:-1;;;9458:42:9;;;;;;;;;;;;-1:-1:-1;;;9458:42:9;;;;;;;;;;;;;;;9549:5;:3;:5::i;:::-;9519:15;;:27;;9539:6;9519:19;:27::i;:::-;:35;9511:65;;;;;-1:-1:-1;;;9511:65:9;;;;;;;;;;;;-1:-1:-1;;;9511:65:9;;;;;;;;;;;;;;;9605:15;;:27;;9625:6;9605:19;:27::i;:::-;9587:15;:45;;;9643:12;:30;9689:43;;;;;;;;9718:4;;-1:-1:-1;;;;;;;;;;;;;9689:43:9;;;;;;;;9381:359;;;:::o;12270:295::-;12363:18;;12325:4;;12363:30;;12386:6;12363:22;:30::i;:::-;12342:18;:51;12430:35;12458:6;12430:9;:23;12440:12;:10;:12::i;12430:35::-;12404:9;:23;12414:12;:10;:12::i;:::-;-1:-1:-1;;;;;12404:23:9;;;;;;;;;;;;-1:-1:-1;12404:23:9;:61;12513:12;:10;:12::i;:::-;-1:-1:-1;;;;;12481:54:9;12498:4;-1:-1:-1;;;;;12481:54:9;-1:-1:-1;;;;;;;;;;;12528:6:9;12481:54;;;;;;;;;;;;;;;;;;-1:-1:-1;12553:4:9;12270:295;;;:::o;10841:542::-;10914:15;;10904:6;:25;10900:476;;10964:123;11002:6;10964:123;;;;;;;;;;;;;;;;;:15;;;:123;:19;:123::i;:::-;10946:15;:141;;;11102:12;:30;11152:43;;;;;;;;-1:-1:-1;;11169:4:9;;-1:-1:-1;;;;;;;;;;;11152:43:9;;;;;;;;10900:476;;;11246:10;11228:15;:28;;;11271:12;:30;11321:43;;;;;;;;-1:-1:-1;;11338:4:9;;-1:-1:-1;;;;;;;;;;;11321:43:9;;;;;;;;10900:476;10841:542;:::o;605:106:4:-;693:10;605:106;:::o;13005:380:9:-;-1:-1:-1;;;;;13141:19:9;;13133:68;;;;-1:-1:-1;;;13133:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13220:21:9;;13212:68;;;;-1:-1:-1;;;13212:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13293:18:9;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13345:32;;;;;;;;;;;;;;;;;13005:380;;;:::o;902:181:8:-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:8;;;;;;;;;;;;;;;;;;;;;;;;;;;8663:550:9;-1:-1:-1;;;;;8803:20:9;;8795:70;;;;-1:-1:-1;;;8795:70:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8884:23:9;;8876:71;;;;-1:-1:-1;;;8876:71:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8980:108;9016:6;8980:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8980:17:9;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;8960:17:9;;;;;;;:9;:17;;;;;;:128;;;;9122:20;;;;;;;:32;;9147:6;9122:24;:32::i;:::-;-1:-1:-1;;;;;9099:20:9;;;;;;;:9;:20;;;;;;;;;:55;;;;9170:35;;;;;;;9099:20;;9170:35;;;;-1:-1:-1;;;;;;;;;;;9170:35:9;;;;;;;;8663:550;;;:::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;6030:123:10:-;6086:59;6141:2;6102:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6102:42:10;;;-1:-1:-1;;6102:42:10;;;;;;;;;;;;;;-1:-1:-1;;;;;6102:42:10;-1:-1:-1;;;6102:42:10;;;;-1:-1:-1;6086:15:10;;-1:-1:-1;;6086:59:10:i;11391:791:9:-;-1:-1:-1;;;;;11572:22:9;;11533:4;11572:22;;;:14;:22;;;;;;:39;-1:-1:-1;11572:39:9;11550:113;;;;;-1:-1:-1;;;11550:113:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11694:17:9;;;;;;:9;:17;;;;;;:34;;11716:11;11694:21;:34::i;:::-;-1:-1:-1;;;;;11674:17:9;;;;;;:9;:17;;;;;:54;11757:15;;:32;;11777:11;11757:19;:32::i;:::-;11739:15;:50;;;11800:12;:30;11862:18;;:35;;11885:11;11862:22;:35::i;:::-;11841:18;:56;11913:53;;;;;;;;11947:4;;-1:-1:-1;;;;;11913:53:9;;;-1:-1:-1;;;;;;;;;;;11913:53:9;;;;;;;;-1:-1:-1;;;;;12002:22:9;;;;;;:14;:22;;;;;;:41;;12029:13;12002:26;:41::i;:::-;-1:-1:-1;;;;;11977:22:9;;;;;;;:14;:22;;;;;:66;;;;12076:4;;12054:42;;11992:6;;12076:4;12082:13;12054;:42::i;:::-;-1:-1:-1;12112:40:9;;12138:13;;-1:-1:-1;;;;;12112:40:9;;;;;;;;-1:-1:-1;12170:4:9;11391:791;;;;;:::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;10021:519:9:-;731:6;;;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;10114:21:9;::::1;10106:65;;;::::0;;-1:-1:-1;;;10106:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;10200:15;;10190:6;:25;;10182:65;;;::::0;;-1:-1:-1;;;10182:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;10281:18;::::0;:30:::1;::::0;10304:6;10281:22:::1;:30::i;:::-;10260:18;:51:::0;10337:12:::1;::::0;:24:::1;::::0;10354:6;10337:16:::1;:24::i;:::-;10322:12;:39:::0;10390:15:::1;::::0;:27:::1;::::0;10410:6;10390:19:::1;:27::i;:::-;10372:15;:45:::0;-1:-1:-1;;;;;10449:18:9;::::1;;::::0;;;:9:::1;:18;::::0;;;;;:30:::1;::::0;10472:6;10449:22:::1;:30::i;:::-;-1:-1:-1::0;;;;;10428:18:9;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:51;;;;10495:37;;;;;;;10428:18;;;;-1:-1:-1;;;;;;;;;;;10495:37:9;;;;;;;;::::1;10021:519:::0;;:::o;6007:117:5:-;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;;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;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;5473:172:5:-;5564:4;5593:44;5601:3;-1:-1:-1;;;;;5621:14:5;;5593:7;:44::i;14994:413:9:-;15127:4;15144:10;15178:9;15165:23;;15253:13;15221:3;-1:-1:-1;;;;;15221:13:9;;15243:4;15221:28;;;;;;;;;;;;;-1:-1:-1;;;;;15221:28:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15221:28:9;:45;;15199:123;;;;;-1:-1:-1;;;15199:123:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;15341:3;-1:-1:-1;;;;;15341:12:9;;15354:6;15362:13;15341:35;;;;;;;;;;;;;-1:-1:-1;;;;;15341:35:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15341:35:9;15333:44;;;;;;-1:-1:-1;15395:4:9;;14994:413;-1:-1:-1;;;;14994:413:9:o;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://62a4abd9740565117077ab5134d3f79da3160cafdc4ecc3c27e5d02d04acde89
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.