More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 95 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 13095113 | 1219 days ago | IN | 0 ETH | 0.00342178 | ||||
Brrr Event | 11322537 | 1493 days ago | IN | 0 ETH | 0.0075843 | ||||
Brrr Event | 10836292 | 1568 days ago | IN | 0 ETH | 0.02372065 | ||||
Brrr Event | 10776046 | 1577 days ago | IN | 0 ETH | 0.05677015 | ||||
Print With Brrr | 10750629 | 1581 days ago | IN | 0 ETH | 0.01478852 | ||||
Brrr Event | 10747601 | 1582 days ago | IN | 0 ETH | 0.00219277 | ||||
Swap Old BRRR | 10744159 | 1582 days ago | IN | 0 ETH | 0.00599989 | ||||
Swapv2BRRR | 10736780 | 1583 days ago | IN | 0 ETH | 0.00706032 | ||||
Return Brrr For ... | 10732425 | 1584 days ago | IN | 0 ETH | 0.00504224 | ||||
Approve | 10730325 | 1584 days ago | IN | 0 ETH | 0.00497862 | ||||
Transfer | 10722677 | 1585 days ago | IN | 0 ETH | 0.00455217 | ||||
Swap Old BRRR | 10720645 | 1586 days ago | IN | 0 ETH | 0.0044206 | ||||
Approve | 10720416 | 1586 days ago | IN | 0 ETH | 0.00303162 | ||||
Print With Brrr | 10713385 | 1587 days ago | IN | 0 ETH | 0.01105404 | ||||
Swap Old BRRR | 10705849 | 1588 days ago | IN | 0 ETH | 0.00676312 | ||||
Return Brrr For ... | 10704368 | 1588 days ago | IN | 0 ETH | 0.0165088 | ||||
Print With Brrr | 10704336 | 1588 days ago | IN | 0 ETH | 0.02308768 | ||||
Approve | 10704329 | 1588 days ago | IN | 0 ETH | 0.00849033 | ||||
Print With Brrr | 10704310 | 1588 days ago | IN | 0 ETH | 0.03271137 | ||||
Approve | 10704023 | 1588 days ago | IN | 0 ETH | 0.00973498 | ||||
Transfer | 10703614 | 1588 days ago | IN | 0 ETH | 0.010232 | ||||
Transfer | 10703454 | 1588 days ago | IN | 0 ETH | 0.00701736 | ||||
Approve | 10702644 | 1588 days ago | IN | 0 ETH | 0.00773464 | ||||
Brrr Event | 10702613 | 1588 days ago | IN | 0 ETH | 0.0042347 | ||||
Brrr Event | 10702613 | 1588 days ago | IN | 0 ETH | 0.00415997 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xe7d10696...b58f1d55C The constructor portion of the code might be different and could alter the actual behaviour of the contract
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 private _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; address public old_v2_brrrx = 0xEfa8385d45bCeD3329fE3A7EC91436AF56e8702c; 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); } function leverage() public override view returns (uint256) { return _leverage; } /** * @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 swapv2BRRR() external isOnline returns (bool) { require(swapped[_msgSender()] == false, "You already swapped!"); IERC20 erc; erc = IERC20(old_v2_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; } function setSwapAddressv2(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_v2_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; uint256 private _leverage = 0; //usdt address address public tether = 0xdAC17F958D2ee523a2206206994597C13D831ec7; address public old_brrr = 0xdF3b985E15281EfecF203998200b26F024699F47; address public old_v2_brrr = 0xddcF41FD32eaBbF42A4e436A65673081Cba0570b; 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; } function leverage() public override view returns (uint256) { return _leverage; } /** * @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; } function swapv2BRRR() external isOnline returns (bool) { require(swapped[_msgSender()] == false, "You already swapped!"); IERC20 erc; erc = IERC20(old_v2_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()); uint256 lev = brr.leverage(); if (brrbalance > 0) { require( brr.transferFrom(_msgSender(), address(this), brrbalance), "Transfer failed" ); _mint(_msgSender(), brrbalance.div(lev)); } 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 setSwapAddressv1(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; } function setSwapAddressv2(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_v2_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); function leverage() 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":"leverage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"old_v2_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":[{"internalType":"address","name":"_brrr_old","type":"address"}],"name":"setSwapAddressv2","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":"swapv2BRRR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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"}]
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80638073cab41161014f578063a9059cbb116100c1578063c99503181161007a578063c9950318146108ea578063ca15c873146108ff578063d3ef897714610929578063d547741f1461093e578063dd62ed3e14610977578063ea09676c146109b25761027d565b8063a9059cbb14610815578063bb3cb7c21461084e578063c18bd8ee14610881578063c270b53c146108ab578063c2e1500b146108c0578063c3d46f70146108d55761027d565b806395d89b411161011357806395d89b411461075557806396a67d251461076a578063a217fddf1461077f578063a253c06e14610794578063a457c2d7146107a9578063a5e05129146107e25761027d565b80638073cab41461068f57806381c61090146106a45780638957235a146106d75780639010d07c146106ec57806391d148541461071c5761027d565b8063313ce567116101f35780635d562083116101ac5780635d562083146105b95780635efc071a146105ce5780636343e137146105ff57806370a08231146106145780637927d21c146106475780637dc4b9cc1461065c5761027d565b8063313ce567146104bf578063355274ea146104ea57806336568abe146104ff57806339509351146105385780635a6518e0146105715780635cca6084146105a45761027d565b806318160ddd1161024557806318160ddd146103aa5780631def1ede146103bf57806323b872dd14610402578063248a9ca3146104455780632c86d98e1461046f5780632f2ff15d146104845761027d565b806306fdde031461028257806309500c171461030c578063095ea7b314610333578063099e7f6c146103805780630cadb5e314610395575b600080fd5b34801561028e57600080fd5b506102976109e5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d15781810151838201526020016102b9565b50505050905090810190601f1680156102fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031857600080fd5b50610321610a7c565b60408051918252519081900360200190f35b34801561033f57600080fd5b5061036c6004803603604081101561035657600080fd5b506001600160a01b038135169060200135610f63565b604080519115158252519081900360200190f35b34801561038c57600080fd5b50610321610f81565b3480156103a157600080fd5b50610321610f87565b3480156103b657600080fd5b50610321610fab565b3480156103cb57600080fd5b506103e9600480360360208110156103e257600080fd5b5035610fc9565b6040805192835260208301919091528051918290030190f35b34801561040e57600080fd5b5061036c6004803603606081101561042557600080fd5b506001600160a01b03813581169160208101359091169060400135610ff4565b34801561045157600080fd5b506103216004803603602081101561046857600080fd5b503561108d565b34801561047b57600080fd5b506103216110a2565b34801561049057600080fd5b506104bd600480360360408110156104a757600080fd5b50803590602001356001600160a01b03166110a8565b005b3480156104cb57600080fd5b506104d4611114565b6040805160ff9092168252519081900360200190f35b3480156104f657600080fd5b5061032161111d565b34801561050b57600080fd5b506104bd6004803603604081101561052257600080fd5b50803590602001356001600160a01b0316611123565b34801561054457600080fd5b5061036c6004803603604081101561055b57600080fd5b506001600160a01b038135169060200135611184565b34801561057d57600080fd5b5061036c6004803603602081101561059457600080fd5b50356001600160a01b03166111d2565b3480156105b057600080fd5b5061036c61129a565b3480156105c557600080fd5b50610321611848565b3480156105da57600080fd5b506105e36118c3565b604080516001600160a01b039092168252519081900360200190f35b34801561060b57600080fd5b5061036c6118d7565b34801561062057600080fd5b506103216004803603602081101561063757600080fd5b50356001600160a01b0316611a17565b34801561065357600080fd5b5061036c611a32565b34801561066857600080fd5b5061036c6004803603602081101561067f57600080fd5b50356001600160a01b0316611a9e565b34801561069b57600080fd5b50610321611b66565b3480156106b057600080fd5b5061036c600480360360208110156106c757600080fd5b50356001600160a01b0316611bcc565b3480156106e357600080fd5b506105e3611be1565b3480156106f857600080fd5b506105e36004803603604081101561070f57600080fd5b5080359060200135611bf0565b34801561072857600080fd5b5061036c6004803603604081101561073f57600080fd5b50803590602001356001600160a01b0316611c0f565b34801561076157600080fd5b50610297611c27565b34801561077657600080fd5b506105e3611c88565b34801561078b57600080fd5b50610321611c97565b3480156107a057600080fd5b50610321611c9c565b3480156107b557600080fd5b5061036c600480360360408110156107cc57600080fd5b506001600160a01b038135169060200135611ca2565b3480156107ee57600080fd5b506103216004803603602081101561080557600080fd5b50356001600160a01b0316611d0a565b34801561082157600080fd5b5061036c6004803603604081101561083857600080fd5b506001600160a01b038135169060200135611d1c565b34801561085a57600080fd5b506103216004803603602081101561087157600080fd5b50356001600160a01b0316611d30565b34801561088d57600080fd5b5061036c600480360360208110156108a457600080fd5b5035611d42565b3480156108b757600080fd5b5061036c612294565b3480156108cc57600080fd5b5061036c6124be565b3480156108e157600080fd5b506103216124c7565b3480156108f657600080fd5b5061036c6124cd565b34801561090b57600080fd5b506103216004803603602081101561092257600080fd5b50356125a3565b34801561093557600080fd5b506105e36125ba565b34801561094a57600080fd5b506104bd6004803603604081101561096157600080fd5b50803590602001356001600160a01b03166125c9565b34801561098357600080fd5b506103216004803603604081101561099a57600080fd5b506001600160a01b0381358116916020013516612622565b3480156109be57600080fd5b50610321600480360360208110156109d557600080fd5b50356001600160a01b031661264d565b600e8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b505050505090505b90565b60015460009060ff16610ac4576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b60088054610ad3906001612674565b81548110610add57fe5b9060005260206000209060020201600001544211610b35576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920636865636b65642160801b604482015290519081900360640190fd5b6008805460009190610b48906001612674565b81548110610b5257fe5b600091825260208220600290910201546008805491935090610b75906001612674565b81548110610b7f57fe5b9060005260206000209060020201600101549050600060018054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610be157600080fd5b505afa158015610bf5573d6000803e3d6000fd5b505050506040513d6020811015610c0b57600080fd5b5051905081811415610c64576040805162461bcd60e51b815260206004820152601960248201527f54686520737570706c79206861736e2774206368616e67656400000000000000604482015290519081900360640190fd5b610c6c61358c565b5060408051808201825242815260208082018481526008805460018101825560009190915283517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee360029092029182015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4909101558251808401909352601383527203732bb903a32ba3432b91039bab838363c9d1606d1b9083015264e8d4a51000938402939092029190610d2490836126b6565b610d5960405180604001604052806013815260200172037b632103a32ba3432b91039bab838363c9d1606d1b815250846126b6565b6000610d8684610d80610d7786610d71846002612764565b90612674565b600a5490612764565b906127bd565b9050610dc76040518060400160405280601b81526020017f6e65772076616c75652066726f6d20666f726d756c612069733a200000000000815250826126b6565b83831015610e9957600a54610ddd908290612674565b90506000610ded826103e86127bd565b9050610e196040518060400160405280600881526020016703932bbb0b9321d160c51b815250826126b6565b610e238282612674565b9150610e646040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a20815250836126b6565b610e81610e7c6009548461276490919063ffffffff16565b6127ff565b50610e8b816128e6565b509550610a79945050505050565b83831115610f5b57600a54610eae9082612674565b90506000610ebe826103e86127bd565b9050610eea6040518060400160405280600881526020016703932bbb0b9321d160c51b815250826126b6565b610ef48282612674565b9150610f356040518060400160405280602081526020017f46696e616c20616d6f756e7420676f696e6720746f206265206275726e743a20815250836126b6565b610f52610f4d6009548461276490919063ffffffff16565b612977565b610e8b816128e6565b505050505090565b6000610f77610f70612a15565b8484612a19565b5060015b92915050565b600c5481565b7fa62163ab40878afb1de2f5106cef81da0cc87c1cf68e69267fa48a7274f788aa81565b6000610fc4600a54600d54612b0590919063ffffffff16565b905090565b60088181548110610fd657fe5b60009182526020909120600290910201805460019091015490915082565b6000611001848484612b5f565b6011546001600160a01b03163314611083576110838461101f612a15565b61107e8560405180606001604052806028815260200161379a602891396001600160a01b038a1660009081526003602052604081209061105d612a15565b6001600160a01b031681526020810191909152604001600020549190612c9f565b612a19565b5060019392505050565b60009081526020819052604090206002015490565b60095490565b6000828152602081905260409020600201546110cb906110c6612a15565b611c0f565b6111065760405162461bcd60e51b815260040180806020018281038252602f8152602001806135ec602f913960400191505060405180910390fd5b6111108282612d36565b5050565b60105460ff1690565b600c5490565b61112b612a15565b6001600160a01b0316816001600160a01b03161461117a5760405162461bcd60e51b815260040180806020018281038252602f81526020018061393b602f913960400191505060405180910390fd5b6111108282612d9f565b6000610f77611191612a15565b8461107e85600360006111a2612a15565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612b05565b60006111de8133611c0f565b611228576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b038216611276576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601380546001600160a01b0319166001600160a01b03939093169290921790915590565b60015460009060ff166112e2576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b6113206040518060400160405280601a81526020017f72657475726e696e67206465706f73697420666f722075736572000000000000815250612e08565b6011546001600160a01b0316611375576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b60046000611381612a15565b6001600160a01b031681526020810191909152604001600020546113e3576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b6000600260006113f1612a15565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611456576040805162461bcd60e51b815260206004820152600f60248201526e4e6f20627272722062616c616e636560881b604482015290519081900360640190fd5b6000611460611848565b90506114846040518060600160405280602a815260200161374f602a9139826126b6565b600060056000611492612a15565b6001600160a01b03166001600160a01b031681526020019081526020016000205490506114f46040518060400160405280601e81526020017f426f6e64696e6720637572766520707269636520666f7220425252523a200000815250826126b6565b600061152a83610d80846004600061150a612a15565b6001600160a01b0316815260208101919091526040016000205490612764565b905061154e60405180608001604052806051815260200161361b60519139826126b6565b6115b060405180604001604052806014815260200173031bab93932b73a103130b630b731b29034b99d160651b8152506002600061158a612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020546126b6565b80600260006115bd612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020541061164f576000600560006115f1612a15565b6001600160a01b0316815260208101919091526040016000205561164981611617612a15565b60046000611623612a15565b6001600160a01b03166001600160a01b0316815260200190815260200160002054612eae565b506117e9565b6116706040518060800160405280604281526020016136dd60429139612e08565b6116a16040518060400160405280600981526020016803130b630b731b29d160bd1b8152506002600061158a612a15565b60006116bf670de0b6b3a7640000610d80866002600061150a612a15565b90506117006040518060400160405280601e81526020017f6574682076616c756520696e2063757272656e7420425252523130783a200000815250826126b6565b600061171884610d8084670de0b6b3a7640000612764565b905061173c60405180606001604052806031815260200161384e60319139826126b6565b60046000611748612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020548111156117a75760405162461bcd60e51b815260040180806020018281038252602a815260200180613804602a913960400191505060405180910390fd5b6117e5600260006117b6612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020546117df612a15565b83612eae565b5050505b61181a6001600660006117fa612a15565b6001600160a01b0316815260208101919091526040016000205490612b05565b60066000611826612a15565b6001600160a01b03168152602081019190915260400160002055509192915050565b600080611853611b66565b9050600060066000611863612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050600181101561189757509050610a79565b606381106118a3575060635b6118bc6118b56064610d808585612764565b8390612674565b9250505090565b60105461010090046001600160a01b031681565b60015460009060ff1615611932576040805162461bcd60e51b815260206004820152601960248201527f436f6e74726163742069732072756e6e696e67207374696c6c00000000000000604482015290519081900360640190fd5b60015460ff161561198a576040805162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f74207475726e6564206f6666000000000000604482015290519081900360640190fd5b600060046000611998612a15565b6001600160a01b03166001600160a01b031681526020019081526020016000205411611a02576040805162461bcd60e51b8152602060048201526014602482015273596f752068617665206e6f206465706f7369747360601b604482015290519081900360640190fd5b611a0f6000611617612a15565b506001905090565b6001600160a01b031660009081526002602052604090205490565b6000611a3e8133611c0f565b611a88576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b506001805460ff19811660ff9091161517815590565b6000611aaa8133611c0f565b611af4576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b038216611b42576040805162461bcd60e51b815260206004820152601060248201526f496e76616c696420616464726573732160801b604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b03939093169290921790915590565b6000670de0b6b3a7640000600a5411611b9b57611b946064610d806032600d5461276490919063ffffffff16565b9050610a79565b610fc4600a54611bbc6064610d806032600d5461276490919063ffffffff16565b670de0b6b3a764000002906127bd565b60076020526000908152604090205460ff1681565b6013546001600160a01b031681565b6000828152602081905260408120611c08908361303b565b9392505050565b6000828152602081905260408120611c089083613047565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a715780601f10610a4657610100808354040283529160200191610a71565b6011546001600160a01b031681565b600081565b600d5481565b6000610f77611caf612a15565b8461107e856040518060600160405280602581526020016139166025913960036000611cd9612a15565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612c9f565b60066020526000908152604090205481565b6000610f77611d29612a15565b8484612b5f565b60046020526000908152604090205481565b60015460009060ff16611d8a576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b611dac60405180606001604052806029815260200161368e60299139836126b6565b6011546001600160a01b0316611e01576040805162461bcd60e51b8152602060048201526015602482015274109c9c9c8818dbdb9d1c9858dd081b9bdd081cd95d605a1b604482015290519081900360640190fd5b6011546001600160a01b03166000816370a08231611e1d612a15565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611e5a57600080fd5b505afa158015611e6e573d6000803e3d6000fd5b505050506040513d6020811015611e8457600080fd5b5051905083811015611edd576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e2062616c616e6365206e6f7420656e6f7567680000000000000000604482015290519081900360640190fd5b6000611ee7611b66565b9050611f0b6040518060600160405280602281526020016137c260229139826126b6565b6000836001600160a01b0316638073cab46040518163ffffffff1660e01b815260040160206040518083038186803b158015611f4657600080fd5b505afa158015611f5a573d6000803e3d6000fd5b505050506040513d6020811015611f7057600080fd5b505160408051606081019091526023808252919250611f97916138a46020830139826126b6565b60056000611fa3612a15565b6001600160a01b03168152602081019190915260400160002054611fed578060056000611fce612a15565b6001600160a01b031681526020810191909152604001600020556120bc565b600061203e611ffc8884612764565b6120386005600061200b612a15565b6001600160a01b03166001600160a01b03168152602001908152602001600020546004600061150a612a15565b90612b05565b905061205a61205388600460006117fa612a15565b82906127bd565b90506120936040518060400160405280601581526020017403732bb903bb2b4b3b43a32b21030bb339034b99d1605d1b815250826126b6565b80600560006120a0612a15565b6001600160a01b03168152602081019190915260400160002055505b60006120cc83610d808985612764565b905061210d6040518060400160405280601881526020017f616d6f756e74206f662042525252313078206d6164653a200000000000000000815250826126b6565b60008111612162576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682073656e7420666f7220312062727272000000000000604482015290519081900360640190fd5b846001600160a01b03166323b872dd612179612a15565b308a6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156121d157600080fd5b505af11580156121e5573d6000803e3d6000fd5b505050506040513d60208110156121fb57600080fd5b5051612240576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b61225087600460006117fa612a15565b6004600061225c612a15565b6001600160a01b03168152602081019190915260400160002055612287612281612a15565b8261305c565b5060019695505050505050565b60015460009060ff166122dc576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b600760006122e8612a15565b6001600160a01b0316815260208101919091526040016000205460ff161561234e576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6013546001600160a01b03166000816370a0823161236a612a15565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123a757600080fd5b505afa1580156123bb573d6000803e3d6000fd5b505050506040513d60208110156123d157600080fd5b505190506001600760006123e3612a15565b6001600160a01b0390811682526020820192909252604001600020805460ff19169215159290921790915582166323b872dd61241d612a15565b30846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561247557600080fd5b505af1158015612489573d6000803e3d6000fd5b505050506040513d602081101561249f57600080fd5b50516124aa57600080fd5b6124b5612281612a15565b60019250505090565b60015460ff1681565b600a5481565b60015460009060ff16612515576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b60076000612521612a15565b6001600160a01b0316815260208101919091526040016000205460ff1615612587576040805162461bcd60e51b8152602060048201526014602482015273596f7520616c726561647920737761707065642160601b604482015290519081900360640190fd5b6012546001600160a01b03166000816370a0823161236a612a15565b6000818152602081905260408120610f7b906131ec565b6012546001600160a01b031681565b6000828152602081905260409020600201546125e7906110c6612a15565b61117a5760405162461bcd60e51b815260040180806020018281038252603081526020018061371f6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60056020526000908152604090205481565b6000611c08836001600160a01b0384166131f7565b6000611c0883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c9f565b61111082826040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b838110156127015781810151838201526020016126e9565b50505050905090810190601f16801561272e5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052935061324192505050565b60008261277357506000610f7b565b8282028284828161278057fe5b0414611c085760405162461bcd60e51b81526004018080602001828103825260218152602001806137796021913960400191505060405180910390fd5b6000611c0883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613262565b600080821161284b576040805162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b604482015290519081900360640190fd5b61285361111d565b600a546128609084612b05565b106128a6576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74206578636565642063617607c1b604482015290519081900360640190fd5b600a546128b39083612b05565b600a819055600b55604080518381529051309160009160008051602061382e8339815191529181900360200190a3919050565b600d546000906128f69083612b05565b600d5561290982600260006117fa612a15565b60026000612915612a15565b6001600160a01b03168152602081019190915260400160002055612937612a15565b6001600160a01b0316306001600160a01b031660008051602061382e833981519152846040518082815260200191505060405180910390a3506001919050565b600a5481116129da576129a7816040518060600160405280602b81526020016138eb602b9139600a549190612c9f565b600a819055600b55604080518281529051600091309160008051602061382e8339815191529181900360200190a3612a12565b670de0b6b3a7640000600a819055600b55604080518281529051600091309160008051602061382e8339815191529181900360200190a35b50565b3390565b6001600160a01b038316612a5e5760405162461bcd60e51b81526004018080602001828103825260248152602001806138c76024913960400191505060405180910390fd5b6001600160a01b038216612aa35760405162461bcd60e51b815260040180806020018281038252602281526020018061366c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611c08576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316612ba45760405162461bcd60e51b815260040180806020018281038252602581526020018061387f6025913960400191505060405180910390fd5b6001600160a01b038216612be95760405162461bcd60e51b81526004018080602001828103825260238152602001806135c96023913960400191505060405180910390fd5b612c26816040518060600160405280602681526020016136b7602691396001600160a01b0386166000908152600260205260409020549190612c9f565b6001600160a01b038085166000908152600260205260408082209390935590841681522054612c559082612b05565b6001600160a01b03808416600081815260026020908152604091829020949094558051858152905191939287169260008051602061382e83398151915292918290030190a3505050565b60008184841115612d2e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cf3578181015183820152602001612cdb565b50505050905090810190601f168015612d205780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020612d4e908261265f565b1561111057612d5b612a15565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020612db790826132c7565b1561111057612dc4612a15565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b612a12816040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015612e4c578181015183820152602001612e34565b50505050905090810190601f168015612e795780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b1790529250613241915050565b6001600160a01b038216600090815260046020526040812054821115612f1b576040805162461bcd60e51b815260206004820152601860248201527f4d6f7265207468616e206465706f73697420616d6f756e740000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054612f3e9085612674565b6001600160a01b038416600090815260026020526040902055600a54612f649085612b05565b600a819055600b55600d54612f799085612674565b600d5560408051858152905130916001600160a01b0386169160008051602061382e8339815191529181900360200190a36001600160a01b038316600090815260046020526040902054612fcd9083612674565b6001600160a01b03808516600090815260046020526040902091909155601154612ffa91859116846132dc565b5060405182906001600160a01b038516907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a35060019392505050565b6000611c088383613446565b6000611c08836001600160a01b0384166134aa565b60015460ff166130a1576040805162461bcd60e51b815260206004820152601c60248201526000805160206137e4833981519152604482015290519081900360640190fd5b6001600160a01b0382166130fc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600a54811115613153576040805162461bcd60e51b815260206004820152601b60248201527f4d6f7265207468616e20746865207265736572766520686f6c64730000000000604482015290519081900360640190fd5b600d546131609082612b05565b600d55600b546131709082612674565b600b55600a546131809082612674565b600a556001600160a01b0382166000908152600260205260409020546131a69082612b05565b6001600160a01b038316600081815260026020908152604080832094909455835185815293519293919260008051602061382e8339815191529281900390910190a35050565b6000610f7b826134c2565b600061320383836134aa565b61323957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f7b565b506000610f7b565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b600081836132b15760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cf3578181015183820152602001612cdb565b5060008385816132bd57fe5b0495945050505050565b6000611c08836001600160a01b0384166134c6565b60008083905082816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561333057600080fd5b505afa158015613344573d6000803e3d6000fd5b505050506040513d602081101561335a57600080fd5b505110156133af576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f7567682066756e647320746f207472616e7366657200000000604482015290519081900360640190fd5b806001600160a01b031663a9059cbb86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561340657600080fd5b505af115801561341a573d6000803e3d6000fd5b505050506040513d602081101561343057600080fd5b505161343b57600080fd5b506001949350505050565b815460009082106134885760405162461bcd60e51b81526004018080602001828103825260228152602001806135a76022913960400191505060405180910390fd5b82600001828154811061349757fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b6000818152600183016020526040812054801561358257835460001980830191908101906000908790839081106134f957fe5b906000526020600020015490508087600001848154811061351657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061354657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f7b565b6000915050610f7b565b60405180604001604052806000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74425252522078204252525243757276652064697669646564206279205769746864726177616c2063757276652028616d6f756e74206f66206465706f73697420746f20676574206261636b292069733a2045524332303a20617070726f766520746f20746865207a65726f20616464726573735072696e74696e672042525252207769746820627272722c20616d6f756e742073656e742069733a2045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636562616c616e63657320617265206e6f7420656e6f7567682c2063757272656e7420616d6f756e74207468657920686176652069732061626c6520746f206765743a20416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6543757272656e74207769746864726177616c20626f6e64696e6720637572766520666f72203130783a20536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636563757272656e7420626f6e64696e6720707269636520666f72203130782069733a20436f6e747261637420686173206265656e207475726e6564206f6666000000004d6f7265207468616e20696e20796f75722062616c616e63652c206572726f722077697468206d617468ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef425252522064697669646564206279204554482076616c756520746f2067697665206261636b2074686520425252523a2045524332303a207472616e736665722066726f6d20746865207a65726f206164647265737363757272656e7420626f6e64696e6720707269636520666f7220425252522069733a2045524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e742065786365656473205472656173757279205265736572766545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212205042287c39ad3ecd50df96ddfb671d5b683bacfcc2442e15af81f5f46edf11c264736f6c634300060c0033
Deployed Bytecode Sourcemap
505:22619:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23105:8;;;3204:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20040:1871;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5530:210;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5530:210:9;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1460:46;;;;;;;;;;;;;:::i;881:70::-;;;;;;;;;;;;;:::i;4279:127::-;;;;;;;;;;;;;:::i;1310:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1310:39:9;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;6214:534;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6214:534:9;;;;;;;;;;;;;;;;;:::i;4506:114:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4506:114:0;;:::i;4414:94:9:-;;;;;;;;;;;;;:::i;4882:264:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4882:264:0;;;;;;-1:-1:-1;;;;;4882:264:0;;:::i;:::-;;4131:83:9;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14078:79;;;;;;;;;;;;;:::i;6165:246:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6165:246:0;;;;;;-1:-1:-1;;;;;6165:246:0;;:::i;7157:300:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7157:300:9;;;;;;;;:::i;22759:299::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22759:299:9;-1:-1:-1;;;;;22759:299:9;;:::i;18019:1819::-;;;;;;;;;;;;;:::i;15125:338::-;;;;;;;;;;;;;:::i;1643:66::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1643:66:9;;;;;;;;;;;;;;21919:296;;;;;;;;;;;;;:::i;4571:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4571:119:9;-1:-1:-1;;;;;4571:119:9;;:::i;22223:226::-;;;;;;;;;;;;;:::i;22457:294::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22457:294:9;-1:-1:-1;;;;;22457:294:9;;:::i;16217:300::-;;;;;;;;;;;;;:::i;1262:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1262:39:9;-1:-1:-1;;;;;1262:39:9;;:::i;1818:72::-;;;;;;;;;;;;;:::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;3406:87:9:-;;;;;;;;;;;;;:::i;1716:19::-;;;;;;;;;;;;;:::i;1751:49:0:-;;;;;;;;;;;;;:::i;1515:33:9:-;;;;;;;;;;;;;:::i;7960:400::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7960:400:9;;;;;;;;:::i;1202:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1202:53:9;-1:-1:-1;;;;;1202:53:9;;:::i;4903:216::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4903:216:9;;;;;;;;:::i;1090:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1090:49:9;-1:-1:-1;;;;;1090:49:9;;:::i;16525:1486::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16525:1486:9;;:::i;14644:473::-;;;;;;;;;;;;;:::i;561:25::-;;;;;;;;;;;;;:::i;1388:30::-;;;;;;;;;;;;;:::i;14165:471::-;;;;;;;;;;;;;:::i;3421:127:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3421:127:0;;:::i;1742:69:9:-;;;;;;;;;;;;;:::i;5391:267:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5391:267:0;;;;;;-1:-1:-1;;;;;5391:267:0;;:::i;5182:201:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5182:201:9;;;;;;;;;;:::i;1148:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1148:47:9;-1:-1:-1;;;;;1148:47:9;;:::i;3204:83::-;3274:5;3267:12;;;;;;;;-1:-1:-1;;3267:12:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3241:13;;3267:12;;3274:5;;3267:12;;3274:5;3267:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3204:83;;:::o;20040:1871::-;731:6;;20086:7;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;20163:18:::1;20182:25:::0;;:32:::1;::::0;20212:1:::1;20182:29;:32::i;:::-;20163:52;;;;;;;;;;;;;;;;;;:86;;;20128:15;:121;20106:187;;;::::0;;-1:-1:-1;;;20106:187:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;20106:187:9;;;;;;;;;;;;;::::1;;20316:18;20335:25:::0;;20304:9:::1;::::0;20316:18;20335:32:::1;::::0;20365:1:::1;20335:29;:32::i;:::-;20316:52;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;:78:::0;20417:18:::1;20436:25:::0;;20316:78;;-1:-1:-1;20417:18:9;20436:32:::1;::::0;20466:1:::1;20436:29;:32::i;:::-;20417:52;;;;;;;;;;;;;;;;;;:79;;;20405:91;;20507:9;20519:6;::::0;::::1;;;;;;-1:-1:-1::0;;;;;20519:6:9::1;-1:-1:-1::0;;;;;20519:18:9::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20519:20:9;;-1:-1:-1;20558:6:9;;::::1;;20550:44;;;::::0;;-1:-1:-1;;;20550:44:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20605:21;;:::i;:::-;-1:-1:-1::0;20629:31:9::1;::::0;;;;::::1;::::0;;20641:15:::1;20629:31:::0;;::::1;::::0;;::::1;::::0;;;20671:18:::1;:27:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;20671:27:9;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;20759:37;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;20759:37:9;;::::1;::::0;20717:6:::1;20738:10:::0;;::::1;::::0;20713;;::::1;::::0;20629:31;20759:37:::1;::::0;20713:10;20759:11:::1;:37::i;:::-;20807;;;;;;;;;;;;;;-1:-1:-1::0;;;20807:37:9::1;;::::0;20842:1:::1;20807:11;:37::i;:::-;20855:19;20877:47;20922:1:::0;20878:38:::1;20898:17;20913:1:::0;20899:8:::1;20922:1:::0;20905::::1;20899:5;:8::i;:::-;20898:14:::0;::::1;:17::i;:::-;20878:15;::::0;;:19:::1;:38::i;:::-;20877:44:::0;::::1;:47::i;:::-;20855:69;;20935:55;;;;;;;;;;;;;;;;;::::0;20978:11:::1;20935;:55::i;:::-;21011:1;21007;:5;21003:431;;;21059:15;::::0;21043:32:::1;::::0;:11;;:15:::1;:32::i;:::-;21029:46:::0;-1:-1:-1;21090:14:9::1;21107:21;21029:46:::0;21123:4:::1;21107:15;:21::i;:::-;21090:38;;21143:31;;;;;;;;;;;;;;-1:-1:-1::0;;;21143:31:9::1;;::::0;21167:6:::1;21143:11;:31::i;:::-;21203:23;:11:::0;21219:6;21203:15:::1;:23::i;:::-;21189:37;;21241:60;;;;;;;;;;;;;;;;;::::0;21289:11:::1;21241;:60::i;:::-;21316:44;21333:26;21349:9;;21333:11;:15;;:26;;;;:::i;:::-;21316:16;:44::i;:::-;;21375:19;21387:6;21375:11;:19::i;:::-;-1:-1:-1::0;21416:6:9;-1:-1:-1;21409:13:9::1;::::0;-1:-1:-1;;;;;21409:13:9::1;21003:431;21452:1;21448;:5;21444:460;;;21524:15;::::0;:32:::1;::::0;21544:11;21524:19:::1;:32::i;:::-;21510:46:::0;-1:-1:-1;21571:14:9::1;21588:21;21510:46:::0;21604:4:::1;21588:15;:21::i;:::-;21571:38;;21624:31;;;;;;;;;;;;;;-1:-1:-1::0;;;21624:31:9::1;;::::0;21648:6:::1;21624:11;:31::i;:::-;21684:23;:11:::0;21700:6;21684:15:::1;:23::i;:::-;21670:37;;21722:60;;;;;;;;;;;;;;;;;::::0;21770:11:::1;21722;:60::i;:::-;21797:33;21803:26;21819:9;;21803:11;:15;;:26;;;;:::i;:::-;21797:5;:33::i;:::-;21845:19;21857:6;21845:11;:19::i;21444:460::-;781:1;;;;;20040:1871:::0;:::o;5530:210::-;5649:4;5671:39;5680:12;:10;:12::i;:::-;5694:7;5703:6;5671:8;:39::i;:::-;-1:-1:-1;5728:4:9;5530:210;;;;;:::o;1460:46::-;;;;:::o;881:70::-;923:28;881:70;:::o;4279:127::-;4332:7;4359:39;4382:15;;4359:18;;:22;;:39;;;;:::i;:::-;4352:46;;4279:127;:::o;1310:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1310:39:9;:::o;6214:534::-;6354:4;6371:36;6381:6;6389:9;6400:6;6371:9;:36::i;:::-;6438:4;;-1:-1:-1;;;;;6438:4:9;6424:10;:18;6420:299;;6459:248;6486:6;6511:12;:10;:12::i;:::-;6542:150;6602:6;6542:150;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6542:19:9;;;;;;:11;:19;;;;;;6562:12;:10;:12::i;:::-;-1:-1:-1;;;;;6542:33:9;;;;;;;;;;;;-1:-1:-1;6542:33:9;;;:150;:37;:150::i;:::-;6459:8;:248::i;:::-;-1:-1:-1;6736:4:9;6214:534;;;;;:::o;4506:114:0:-;4563:7;4590:12;;;;;;;;;;:22;;;;4506:114::o;4414:94:9:-;4491:9;;4414:94;:::o;4882:264:0:-;4988:6;:12;;;;;;;;;;:22;;;4980:45;;5012:12;:10;:12::i;:::-;4980:7;:45::i;:::-;4958:142;;;;-1:-1:-1;;;4958:142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5113:25;5124:4;5130:7;5113:10;:25::i;:::-;4882:264;;:::o;4131:83:9:-;4197:9;;;;4131:83;:::o;14078:79::-;14141:8;;14078: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;7157:300:9:-;7272:4;7294:133;7317:12;:10;:12::i;:::-;7344:7;7366:50;7405:10;7366:11;:25;7378:12;:10;:12::i;:::-;-1:-1:-1;;;;;7366:25:9;;;;;;;;;;;;;;;;;-1:-1:-1;7366:25:9;;;:34;;;;;;;;;;;:38;:50::i;22759:299::-;22820:4;22859:39;22820:4;22887:10;22859:7;:39::i;:::-;22837:111;;;;;-1:-1:-1;;;22837:111:9;;;;;;;;;;;;-1:-1:-1;;;22837:111:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;22969:25:9;;22961:54;;;;;-1:-1:-1;;;22961:54:9;;;;;;;;;;;;-1:-1:-1;;;22961:54:9;;;;;;;;;;;;;;;23026:12;:24;;-1:-1:-1;;;;;;23026:24:9;-1:-1:-1;;;;;23026:24:9;;;;;;;;;;;;22759:299::o;18019:1819::-;731:6;;18073:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;18090:41:::1;;;;;;;;;;;;;;;;;::::0;:11:::1;:41::i;:::-;18150:4;::::0;-1:-1:-1;;;;;18150:4:9::1;18142:54;;;::::0;;-1:-1:-1;;;18142:54:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18142:54:9;;;;;;;;;;;;;::::1;;18215:14;:28;18230:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18215:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18215:28:9;;18207:66:::1;;;::::0;;-1:-1:-1;;;18207:66:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18207:66:9;;;;;;;;;;;;;::::1;;18318:1;18292:9;:23;18302:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18292:23:9::1;-1:-1:-1::0;;;;;18292:23:9::1;;;;;;;;;;;;;:27;18284:55;;;::::0;;-1:-1:-1;;;18284:55:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;18284:55:9;;;;;;;;;;;;;::::1;;18350:9;18362:26;:24;:26::i;:::-;18350:38;;18399:60;;;;;;;;;;;;;;;;;;18457:1;18399:11;:60::i;:::-;18470:9;18482:12;:26;18495:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18482:26:9::1;-1:-1:-1::0;;;;;18482:26:9::1;;;;;;;;;;;;;18470:38;;18519:48;;;;;;;;;;;;;;;;;::::0;18565:1:::1;18519:11;:48::i;:::-;18578:10;18591:42;18631:1;18591:35;18624:1;18591:14;:28;18606:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18591:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18591:28:9;;;:32:::1;:35::i;:42::-;18578:55;;18644:137;;;;;;;;;;;;;;;;;;18768:2;18644:11;:137::i;:::-;18792:60;;;;;;;;;;;;;;-1:-1:-1::0;;;18792:60:9::1;;::::0;18828:9:::1;:23;18838:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18828:23:9::1;-1:-1:-1::0;;;;;18828:23:9::1;;;;;;;;;;;;;18792:11;:60::i;:::-;18894:2;18867:9;:23;18877:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18867:23:9::1;-1:-1:-1::0;;;;;18867:23:9::1;;;;;;;;;;;;;:29;18863:859;;18942:1;18913:12;:26;18926:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18913:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18913:26:9;:30;18958:60:::1;18971:2:::0;18975:12:::1;:10;:12::i;:::-;18989:14;:28;19004:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18989:28:9::1;-1:-1:-1::0;;;;;18989:28:9::1;;;;;;;;;;;;;18958:12;:60::i;:::-;;18863:859;;;19051:113;;;;;;;;;;;;;;;;;;:11;:113::i;:::-;19179:49;;;;;;;;;;;;;;-1:-1:-1::0;;;19179:49:9::1;;::::0;19204:9:::1;:23;19214:12;:10;:12::i;19179:49::-;19243:9;19255:42;19290:6;19255:30;19283:1;19255:9;:23;19265:12;:10;:12::i;19255:42::-;19243:54;;19312:48;;;;;;;;;;;;;;;;;::::0;19358:1:::1;19312:11;:48::i;:::-;19375:9;19387:20;19405:1:::0;19387:13:::1;:1:::0;19393:6:::1;19387:5;:13::i;:20::-;19375:32;;19422:67;;;;;;;;;;;;;;;;;;19487:1;19422:11;:67::i;:::-;19535:14;:28;19550:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19535:28:9::1;-1:-1:-1::0;;;;;19535:28:9::1;;;;;;;;;;;;;19530:1;:33;;19504:137;;;;-1:-1:-1::0;;;19504:137:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19656:54;19669:9;:23;19679:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19669:23:9::1;-1:-1:-1::0;;;;;19669:23:9::1;;;;;;;;;;;;;19694:12;:10;:12::i;:::-;19708:1;19656:12;:54::i;:::-;;18863:859;;;19767:63;19818:1;19767:18;:32;19786:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19767:32:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19767:32:9;;;:36:::1;:63::i;:::-;19732:18;:32;19751:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;19732:32:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19732:32:9;:98;-1:-1:-1;18019:1819:9;;;-1:-1:-1;;18019:1819:9:o;15125:338::-;15182:7;15202:9;15214:16;:14;:16::i;:::-;15202:28;;15241:9;15253:18;:32;15272:12;:10;:12::i;:::-;-1:-1:-1;;;;;15253:32:9;-1:-1:-1;;;;;15253:32:9;;;;;;;;;;;;;15241:44;;15304:1;15300;:5;15296:46;;;-1:-1:-1;15329:1:9;-1:-1:-1;15322:8:9;;15296:46;15361:2;15356:1;:7;15352:46;;-1:-1:-1;15384:2:9;15352:46;15412:24;15418:17;15431:3;15418:8;:1;15424;15418:5;:8::i;:17::-;15412:1;;:5;:24::i;:::-;15408:28;-1:-1:-1;;;15125:338:9;:::o;1643:66::-;;;;;;-1:-1:-1;;;;;1643:66:9;;:::o;21919:296::-;632:6;;21976:4;;632:6;;631:7;623:45;;;;;-1:-1:-1;;;623:45:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;22002:6:::1;::::0;::::1;;22001:7;21993:46;;;::::0;;-1:-1:-1;;;21993:46:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;22089:1;22058:14;:28;22073:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;22058:28:9::1;-1:-1:-1::0;;;;;22058:28:9::1;;;;;;;;;;;;;:32;22050:65;;;::::0;;-1:-1:-1;;;22050:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;22050:65:9;;;;;;;;;;;;;::::1;;22126:59;22139:1;22142:12;:10;:12::i;22126:59::-;;22203:4;22196:11;;21919:296:::0;:::o;4571:119::-;-1:-1:-1;;;;;4664:18:9;4637:7;4664:18;;;:9;:18;;;;;;;4571:119::o;22223:226::-;22264:4;22303:39;22264:4;22331:10;22303:7;:39::i;:::-;22281:111;;;;;-1:-1:-1;;;22281:111:9;;;;;;;;;;;;-1:-1:-1;;;22281:111:9;;;;;;;;;;;;;;;-1:-1:-1;22413:6:9;;;-1:-1:-1;;22403:16:9;;22413:6;;;;22412:7;22403:16;;;22223:226;:::o;22457:294::-;22516:4;22555:39;22516:4;22583:10;22555:7;:39::i;:::-;22533:111;;;;;-1:-1:-1;;;22533:111:9;;;;;;;;;;;;-1:-1:-1;;;22533:111:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;22665:25:9;;22657:54;;;;;-1:-1:-1;;;22657:54:9;;;;;;;;;;;;-1:-1:-1;;;22657:54:9;;;;;;;;;;;;;;;22722:9;:21;;-1:-1:-1;;;;;;22722:21:9;-1:-1:-1;;;;;22722:21:9;;;;;;;;;;;;22457:294::o;16217:300::-;16273:7;16316:10;16297:15;;:29;16293:106;;16351:35;16382:3;16351:26;16374:2;16351:18;;:22;;:26;;;;:::i;:35::-;16343:44;;;;16293:106;16431:67;16482:15;;16432:35;16463:3;16432:26;16455:2;16432:18;;:22;;:26;;;;:::i;:35::-;16470:6;16432:44;;16431:50;:67::i;1262:39::-;;;;;;;;;;;;;;;:::o;1818:72::-;;;-1:-1:-1;;;;;1818:72:9;;:::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;3406:87:9:-;3478:7;3471:14;;;;;;;;-1:-1:-1;;3471:14:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3445:13;;3471:14;;3478:7;;3471:14;;3478:7;3471:14;;;;;;;;;;;;;;;;;;;;;;;;1716:19;;;-1:-1:-1;;;;;1716:19:9;;:::o;1751:49:0:-;1796:4;1751:49;:::o;1515:33:9:-;;;;:::o;7960:400::-;8080:4;8102:228;8125:12;:10;:12::i;:::-;8152:7;8174:145;8231:15;8174:145;;;;;;;;;;;;;;;;;:11;:25;8186:12;:10;:12::i;:::-;-1:-1:-1;;;;;8174:25:9;;;;;;;;;;;;;;;;;-1:-1:-1;8174:25:9;;;:34;;;;;;;;;;;:145;:38;:145::i;1202:53::-;;;;;;;;;;;;;:::o;4903:216::-;5025:4;5047:42;5057:12;:10;:12::i;:::-;5071:9;5082:6;5047:9;:42::i;1090:49::-;;;;;;;;;;;;;:::o;16525:1486::-;731:6;;16590:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;16607:65:::1;;;;;;;;;;;;;;;;;;16664:7;16607:11;:65::i;:::-;16691:4;::::0;-1:-1:-1;;;;;16691:4:9::1;16683:54;;;::::0;;-1:-1:-1;;;16683:54:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;16683:54:9;;;;;;;;;;;;;::::1;;16782:4;::::0;-1:-1:-1;;;;;16782:4:9::1;16748:10;16782:4:::0;16811:13:::1;16825:12;:10;:12::i;:::-;16811:27;;;;;;;;;;;;;-1:-1:-1::0;;;;;16811:27:9::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;16811:27:9;;-1:-1:-1;16857:13:9;;::::1;;16849:50;;;::::0;;-1:-1:-1;;;16849:50:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;16910:9;16922:16;:14;:16::i;:::-;16910:28;;16949:52;;;;;;;;;;;;;;;;;;16999:1;16949:11;:52::i;:::-;17012:10;17025:3;-1:-1:-1::0;;;;;17025:18:9::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;17025:20:9;17056:54:::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;17025:20;;-1:-1:-1;17056:54:9::1;::::0;::::1;17025:20;17056:54:::0;::::1;;17107:2;17056:11;:54::i;:::-;17125:12;:26;17138:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17125:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17125:26:9;;17121:438:::1;;17202:2;17173:12;:26;17186:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17173:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17173:26:9;:31;17121:438:::1;;;17237:12;17252:117;17353:15;:7:::0;17365:2;17353:11:::1;:15::i;:::-;17252:78;17303:12;:26;17316:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17303:26:9::1;-1:-1:-1::0;;;;;17303:26:9::1;;;;;;;;;;;;;17252:14;:28;17267:12;:10;:12::i;17252:78::-;:100:::0;::::1;:117::i;:::-;17237:132;;17391:51;17400:41;17433:7;17400:14;:28;17415:12;:10;:12::i;17400:41::-;17391:4:::0;;:8:::1;:51::i;:::-;17384:58;;17457:42;;;;;;;;;;;;;;-1:-1:-1::0;;;17457:42:9::1;;::::0;17494:4:::1;17457:11;:42::i;:::-;17543:4;17514:12;:26;17527:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17514:26:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17514:26:9;:33;-1:-1:-1;17121:438:9::1;17569:9;17581:22;17601:1:::0;17581:15:::1;:7:::0;17593:2;17581:11:::1;:15::i;:22::-;17569:34;;17614:42;;;;;;;;;;;;;;;;;::::0;17654:1:::1;17614:11;:42::i;:::-;17679:1;17675;:5;17667:44;;;::::0;;-1:-1:-1;;;17667:44:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;17744:3;-1:-1:-1::0;;;;;17744:16:9::1;;17761:12;:10;:12::i;:::-;17783:4;17790:7;17744:54;;;;;;;;;;;;;-1:-1:-1::0;;;;;17744:54:9::1;;;;;;-1:-1:-1::0;;;;;17744:54:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;17744:54:9;17722:119:::1;;;::::0;;-1:-1:-1;;;17722:119:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17722:119:9;;;;;;;;;;;;;::::1;;17883:65;17930:7;17883:14;:28;17898:12;:10;:12::i;17883:65::-;17852:14;:28;17867:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;17852:28:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;17852:28:9;:96;17959:22:::1;17965:12;:10;:12::i;:::-;17979:1;17959:5;:22::i;:::-;-1:-1:-1::0;17999:4:9::1;::::0;16525:1486;-1:-1:-1;;;;;;16525:1486:9:o;14644:473::-;731:6;;14693:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;14718:7:::1;:21;14726:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;14718:21:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;14718:21:9;;::::1;;:30;14710:63;;;::::0;;-1:-1:-1;;;14710:63:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14710:63:9;;;;;;;;;;;;;::::1;;14818:12;::::0;-1:-1:-1;;;;;14818:12:9::1;14784:10;14818:12:::0;14856:13:::1;14870:12;:10;:12::i;:::-;14856:27;;;;;;;;;;;;;-1:-1:-1::0;;;;;14856:27:9::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;14856:27:9;;-1:-1:-1;14978:4:9::1;14954:7;:21;14962:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;14954:21:9;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;14954:21:9;:28;;-1:-1:-1;;14954:28:9::1;::::0;::::1;;::::0;;;::::1;::::0;;;15001:16;::::1;;15018:12;:10;:12::i;:::-;15040:4;15047:3;15001:50;;;;;;;;;;;;;-1:-1:-1::0;;;;;15001:50:9::1;;;;;;-1:-1:-1::0;;;;;15001:50:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;15001:50:9;14993:59:::1;;;::::0;::::1;;15063:24;15069:12;:10;:12::i;15063:24::-;15105:4;15098:11;;;;14644:473:::0;:::o;561:25::-;;;;;;:::o;1388:30::-;;;;:::o;14165:471::-;731:6;;14215:4;;731:6;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;14240:7:::1;:21;14248:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;14240:21:9::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;14240:21:9;;::::1;;:30;14232:63;;;::::0;;-1:-1:-1;;;14232:63:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14232:63:9;;;;;;;;;;;;;::::1;;14340:9;::::0;-1:-1:-1;;;;;14340:9:9::1;14306:10;14340:9:::0;14375:13:::1;14389:12;:10;:12::i;3421:127:0:-:0;3484:7;3511:12;;;;;;;;;;:29;;:27;:29::i;1742:69:9:-;;;-1:-1:-1;;;;;1742: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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5182:201:9;-1:-1:-1;;;;;5348:18:9;;;5316:7;5348:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;5182: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;9568:359:9:-;9628:4;9662:1;9653:6;:10;9645:42;;;;;-1:-1:-1;;;9645:42:9;;;;;;;;;;;;-1:-1:-1;;;9645:42:9;;;;;;;;;;;;;;;9736:5;:3;:5::i;:::-;9706:15;;:27;;9726:6;9706:19;:27::i;:::-;:35;9698:65;;;;;-1:-1:-1;;;9698:65:9;;;;;;;;;;;;-1:-1:-1;;;9698:65:9;;;;;;;;;;;;;;;9792:15;;:27;;9812:6;9792:19;:27::i;:::-;9774:15;:45;;;9830:12;:30;9876:43;;;;;;;;9905:4;;-1:-1:-1;;;;;;;;;;;;;9876:43:9;;;;;;;;9568:359;;;:::o;12457:295::-;12550:18;;12512:4;;12550:30;;12573:6;12550:22;:30::i;:::-;12529:18;:51;12617:35;12645:6;12617:9;:23;12627:12;:10;:12::i;12617:35::-;12591:9;:23;12601:12;:10;:12::i;:::-;-1:-1:-1;;;;;12591:23:9;;;;;;;;;;;;-1:-1:-1;12591:23:9;:61;12700:12;:10;:12::i;:::-;-1:-1:-1;;;;;12668:54:9;12685:4;-1:-1:-1;;;;;12668:54:9;-1:-1:-1;;;;;;;;;;;12715:6:9;12668:54;;;;;;;;;;;;;;;;;;-1:-1:-1;12740:4:9;12457:295;;;:::o;11028:542::-;11101:15;;11091:6;:25;11087:476;;11151:123;11189:6;11151:123;;;;;;;;;;;;;;;;;:15;;;:123;:19;:123::i;:::-;11133:15;:141;;;11289:12;:30;11339:43;;;;;;;;-1:-1:-1;;11356:4:9;;-1:-1:-1;;;;;;;;;;;11339:43:9;;;;;;;;11087:476;;;11433:10;11415:15;:28;;;11458:12;:30;11508:43;;;;;;;;-1:-1:-1;;11525:4:9;;-1:-1:-1;;;;;;;;;;;11508:43:9;;;;;;;;11087:476;11028:542;:::o;605:106:4:-;693:10;605:106;:::o;13192:380:9:-;-1:-1:-1;;;;;13328:19:9;;13320:68;;;;-1:-1:-1;;;13320:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13407:21:9;;13399:68;;;;-1:-1:-1;;;13399:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13480:18:9;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13532:32;;;;;;;;;;;;;;;;;13192:380;;;:::o;902:181:8:-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:8;;;;;;;;;;;;;;;;;;;;;;;;;;;8850:550:9;-1:-1:-1;;;;;8990:20:9;;8982:70;;;;-1:-1:-1;;;8982:70:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9071:23:9;;9063:71;;;;-1:-1:-1;;;9063:71:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9167:108;9203:6;9167:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9167:17:9;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;9147:17:9;;;;;;;:9;:17;;;;;;:128;;;;9309:20;;;;;;;:32;;9334:6;9309:24;:32::i;:::-;-1:-1:-1;;;;;9286:20:9;;;;;;;:9;:20;;;;;;;;;:55;;;;9357:35;;;;;;;9286:20;;9357:35;;;;-1:-1:-1;;;;;;;;;;;9357:35:9;;;;;;;;8850: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;11578:791:9:-;-1:-1:-1;;;;;11759:22:9;;11720:4;11759:22;;;:14;:22;;;;;;:39;-1:-1:-1;11759:39:9;11737:113;;;;;-1:-1:-1;;;11737:113:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11881:17:9;;;;;;:9;:17;;;;;;:34;;11903:11;11881:21;:34::i;:::-;-1:-1:-1;;;;;11861:17:9;;;;;;:9;:17;;;;;:54;11944:15;;:32;;11964:11;11944:19;:32::i;:::-;11926:15;:50;;;11987:12;:30;12049:18;;:35;;12072:11;12049:22;:35::i;:::-;12028:18;:56;12100:53;;;;;;;;12134:4;;-1:-1:-1;;;;;12100:53:9;;;-1:-1:-1;;;;;;;;;;;12100:53:9;;;;;;;;-1:-1:-1;;;;;12189:22:9;;;;;;:14;:22;;;;;;:41;;12216:13;12189:26;:41::i;:::-;-1:-1:-1;;;;;12164:22:9;;;;;;;:14;:22;;;;;:66;;;;12263:4;;12241:42;;12179:6;;12263:4;12269:13;12241;:42::i;:::-;-1:-1:-1;12299:40:9;;12325:13;;-1:-1:-1;;;;;12299:40:9;;;;;;;;-1:-1:-1;12357:4:9;11578: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;10208:519:9:-;731:6;;;;723:47;;;;;-1:-1:-1;;;723:47:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;723:47:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;10301:21:9;::::1;10293:65;;;::::0;;-1:-1:-1;;;10293:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;10387:15;;10377:6;:25;;10369:65;;;::::0;;-1:-1:-1;;;10369:65:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;10468:18;::::0;:30:::1;::::0;10491:6;10468:22:::1;:30::i;:::-;10447:18;:51:::0;10524:12:::1;::::0;:24:::1;::::0;10541:6;10524:16:::1;:24::i;:::-;10509:12;:39:::0;10577:15:::1;::::0;:27:::1;::::0;10597:6;10577:19:::1;:27::i;:::-;10559:15;:45:::0;-1:-1:-1;;;;;10636:18:9;::::1;;::::0;;;:9:::1;:18;::::0;;;;;:30:::1;::::0;10659:6;10636:22:::1;:30::i;:::-;-1:-1:-1::0;;;;;10615:18:9;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:51;;;;10682:37;;;;;;;10615:18;;;;-1:-1:-1;;;;;;;;;;;10682:37:9;;;;;;;;::::1;10208: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;15662:413:9:-;15795:4;15812:10;15846:9;15833:23;;15921:13;15889:3;-1:-1:-1;;;;;15889:13:9;;15911:4;15889:28;;;;;;;;;;;;;-1:-1:-1;;;;;15889:28:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15889:28:9;:45;;15867:123;;;;;-1:-1:-1;;;15867:123:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;16009:3;-1:-1:-1;;;;;16009:12:9;;16022:6;16030:13;16009:35;;;;;;;;;;;;;-1:-1:-1;;;;;16009:35:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16009:35:9;16001:44;;;;;;-1:-1:-1;16063:4:9;;15662:413;-1:-1:-1;;;;15662: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://5042287c39ad3ecd50df96ddfb671d5b683bacfcc2442e15af81f5f46edf11c2
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.