More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,480 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 44441404 | 15 days ago | IN | 0 BNB | 0.00002676 | ||||
Withdraw | 42794808 | 72 days ago | IN | 0 BNB | 0.00015879 | ||||
Transfer | 42794529 | 72 days ago | IN | 0 BNB | 0.00006822 | ||||
Withdraw | 42794318 | 72 days ago | IN | 0 BNB | 0.00015879 | ||||
Transfer | 42794291 | 72 days ago | IN | 0 BNB | 0.0003411 | ||||
Withdraw | 42794281 | 72 days ago | IN | 0 BNB | 0.00015879 | ||||
Transfer | 42794216 | 72 days ago | IN | 0 BNB | 0.00006824 | ||||
Transfer | 42794215 | 72 days ago | IN | 0 BNB | 0.00010244 | ||||
Approve | 42176476 | 93 days ago | IN | 0 BNB | 0.00007299 | ||||
Approve | 40565247 | 150 days ago | IN | 0 BNB | 0.00002433 | ||||
Approve | 37487239 | 257 days ago | IN | 0 BNB | 0.00002433 | ||||
Approve | 35623328 | 322 days ago | IN | 0 BNB | 0.00007299 | ||||
Approve | 35623289 | 322 days ago | IN | 0 BNB | 0.00007899 | ||||
Approve | 34214722 | 371 days ago | IN | 0 BNB | 0.00007299 | ||||
Approve | 31900296 | 451 days ago | IN | 0 BNB | 0.00007299 | ||||
Approve | 31190339 | 476 days ago | IN | 0 BNB | 0.00004369 | ||||
Approve | 29918355 | 520 days ago | IN | 0 BNB | 0.00004369 | ||||
Withdraw | 28838832 | 558 days ago | IN | 0 BNB | 0.0032052 | ||||
Approve | 27608022 | 601 days ago | IN | 0 BNB | 0.00004369 | ||||
Approve | 27568276 | 602 days ago | IN | 0 BNB | 0.00004369 | ||||
Approve | 27463485 | 606 days ago | IN | 0 BNB | 0.00004369 | ||||
Approve | 27399537 | 608 days ago | IN | 0 BNB | 0.00004369 | ||||
Approve | 26927756 | 624 days ago | IN | 0 BNB | 0.00007282 | ||||
Approve | 26718506 | 632 days ago | IN | 0 BNB | 0.00007282 | ||||
Approve | 25200519 | 685 days ago | IN | 0 BNB | 0.00007282 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
42794808 | 72 days ago | 0.01083038 BNB | ||||
42794318 | 72 days ago | 0.00468522 BNB | ||||
42794281 | 72 days ago | 0.01088954 BNB | ||||
28838832 | 558 days ago | 0.14 BNB | ||||
23600458 | 742 days ago | 0.04 BNB | ||||
22829809 | 769 days ago | 0.02 BNB | ||||
22817129 | 769 days ago | 0.02 BNB | ||||
22675812 | 774 days ago | 0.76 BNB | ||||
22483284 | 781 days ago | 0.29 BNB | ||||
22468912 | 781 days ago | 0.2 BNB | ||||
22467987 | 781 days ago | 0.07 BNB | ||||
22418257 | 783 days ago | 0.13 BNB | ||||
22411267 | 783 days ago | 0.15 BNB | ||||
22347519 | 786 days ago | 2.09 BNB | ||||
22304350 | 787 days ago | 1.25 BNB | ||||
22266266 | 789 days ago | 0.01 BNB | ||||
22256194 | 789 days ago | 0.29 BNB | ||||
22172263 | 792 days ago | 0.29 BNB | ||||
22167676 | 792 days ago | 0.29 BNB | ||||
22139133 | 793 days ago | 1.49 BNB | ||||
22001710 | 798 days ago | 0.03 BNB | ||||
21999890 | 798 days ago | 0.14 BNB | ||||
21987999 | 798 days ago | 0.1 BNB | ||||
21899132 | 802 days ago | 0.03 BNB | ||||
21737872 | 808 days ago | 0.9 BNB |
Loading...
Loading
Contract Name:
BufferBNBPool
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at BscScan.com on 2021-10-04 */ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; // Part: ILiquidityPool /** * Buffer * Copyright (C) 2020 Buffer Protocol * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ interface ILiquidityPool { struct LockedLiquidity { uint256 amount; uint256 premium; bool locked; } event Profit(uint256 indexed id, uint256 amount); event Loss(uint256 indexed id, uint256 amount); event Provide(address indexed account, uint256 amount, uint256 writeAmount); event Withdraw( address indexed account, uint256 amount, uint256 writeAmount ); function unlock(uint256 id) external; function send( uint256 id, address payable account, uint256 amount ) external; function totalBalance() external view returns (uint256 amount); // function unlockPremium(uint256 amount) external; } // Part: OpenZeppelin/[email protected]/Context /** * @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 meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // Part: OpenZeppelin/[email protected]/IAccessControl /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @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 {AccessControl-_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) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @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) external; /** * @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) external; /** * @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) external; } // Part: OpenZeppelin/[email protected]/IERC165 /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // Part: OpenZeppelin/[email protected]/IERC20 /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // Part: OpenZeppelin/[email protected]/Strings /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // Part: IBNBLiquidityPool interface IBNBLiquidityPool is ILiquidityPool { event UpdateRevertTransfersInLockUpPeriod(address indexed account, bool value); function lock(uint256 id, uint256 amount) external payable; } // Part: OpenZeppelin/[email protected]/ERC165 /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // Part: OpenZeppelin/[email protected]/IERC20Metadata /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // Part: OpenZeppelin/[email protected]/AccessControl /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * 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, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @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 override 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 override onlyRole(getRoleAdmin(role)) { _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 override onlyRole(getRoleAdmin(role)) { _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 override { 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 { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // Part: OpenZeppelin/[email protected]/ERC20 /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: BufferBNBPool.sol /** * @author Heisenberg * @title Buffer BNB Liquidity Pool * @notice Accumulates liquidity in BNB from LPs and distributes P&L in BNB */ contract BufferBNBPool is AccessControl, ERC20("Buffer BNB LP Token", "rBFR-BNB"), IBNBLiquidityPool { uint256 public constant ACCURACY = 1e3; uint256 public constant INITIAL_RATE = 1e3; uint256 public lockupPeriod = 2 weeks; uint256 public lockedAmount; uint256 public lockedPremium; uint256 public referralRewardPercentage = 0; // 0.5% mapping(address => uint256) public lastProvideTimestamp; mapping(address => bool) public _revertTransfersInLockUpPeriod; // LockedLiquidity[] public lockedLiquidity; mapping(address => LockedLiquidity[]) public lockedLiquidity; bytes32 public constant OPTION_ISSUER_ROLE = keccak256("OPTION_ISSUER_ROLE"); constructor() { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); } /** * @notice Used for ... */ function revertTransfersInLockUpPeriod(bool value) external { _revertTransfersInLockUpPeriod[msg.sender] = value; emit UpdateRevertTransfersInLockUpPeriod(msg.sender, value); } /* * @nonce A provider supplies BNB to the pool and receives rBFR-BNB tokens * @param referrer Address of referred by. * @param minMint Minimum amount of tokens that should be received by a provider. Calling the provide function will require the minimum amount of tokens to be minted. The actual amount that will be minted could vary but can only be higher (not lower) than the minimum value. * @return mint Amount of tokens to be received */ function provide(uint256 minMint , address referrer) external payable returns (uint256 mint) { lastProvideTimestamp[msg.sender] = block.timestamp; uint256 supply = totalSupply(); uint256 balance = totalBalance(); uint256 amount = msg.value; if(referrer != address(0) && referrer != msg.sender && referrer != address(this)){ uint256 referralReward = ((msg.value * referralRewardPercentage)/ACCURACY)/100; amount = msg.value - referralReward; if (referralReward > 0){ payable(referrer).transfer(referralReward); } } if (supply > 0 && balance > 0) mint = (amount * supply) / (balance - amount); else mint = amount * INITIAL_RATE; require(mint >= minMint, "Pool: Mint limit is too large"); require(mint > 0, "Pool: Amount is too small"); _mint(msg.sender, mint); emit Provide(msg.sender, amount, mint); } /* * @nonce Provider burns rBFR-BNB and receives BNB from the pool * @param amount Amount of BNB to receive * @return burn Amount of tokens to be burnt */ function withdraw(uint256 amount, uint256 maxBurn) external returns (uint256 burn) { require( lastProvideTimestamp[msg.sender] + lockupPeriod <= block.timestamp, "Pool: Withdrawal is locked up" ); require( amount <= availableBalance(), "Pool Error: Not enough funds on the pool contract. Please lower the amount." ); burn = divCeil((amount * totalSupply()), totalBalance()); require(burn <= maxBurn, "Pool: Burn limit is too small"); require(burn <= balanceOf(msg.sender), "Pool: Amount is too large"); require(burn > 0, "Pool: Amount is too small"); _burn(msg.sender, burn); emit Withdraw(msg.sender, amount, burn); payable(msg.sender).transfer(amount); } /* * @nonce calls by BufferCallOptions to lock the funds * @param amount Amount of funds that should be locked in an option */ function lock(uint256 id, uint256 amount) external payable override { require( hasRole(OPTION_ISSUER_ROLE, msg.sender), "msg.sender is not allowed to excute the option contract" ); require(id == lockedLiquidity[msg.sender].length, "Wrong id"); require(totalBalance() >= msg.value, "Insufficient balance"); require( (lockedAmount + amount) <= ((totalBalance() - msg.value) * 8) / 10, "Pool Error: Amount is too large." ); lockedLiquidity[msg.sender].push(LockedLiquidity(amount, msg.value, true)); lockedPremium = lockedPremium + msg.value; lockedAmount = lockedAmount + amount; } /* * @nonce calls by BufferOptions to unlock the funds * @param id Id of LockedLiquidity that should be unlocked */ function unlock(uint256 id) external override { require( hasRole(OPTION_ISSUER_ROLE, msg.sender), "msg.sender is not allowed to excute the option contract" ); LockedLiquidity storage ll = lockedLiquidity[msg.sender][id]; require(ll.locked, "LockedLiquidity with such id has already unlocked"); ll.locked = false; lockedPremium = lockedPremium - ll.premium; lockedAmount = lockedAmount - ll.amount; emit Profit(id, ll.premium); } /* * @nonce calls by BufferCallOptions to send funds to liquidity providers after an option's expiration * @param to Provider * @param amount Funds that should be sent */ function send( uint256 id, address payable to, uint256 amount ) external override { require( hasRole(OPTION_ISSUER_ROLE, msg.sender), "msg.sender is not allowed to excute the option contract" ); LockedLiquidity storage ll = lockedLiquidity[msg.sender][id]; require(ll.locked, "LockedLiquidity with such id has already unlocked"); require(to != address(0)); ll.locked = false; lockedPremium = lockedPremium - ll.premium; lockedAmount = lockedAmount - ll.amount; uint256 transferAmount = amount > ll.amount ? ll.amount : amount; to.transfer(transferAmount); if (transferAmount <= ll.premium) emit Profit(id, ll.premium - transferAmount); else emit Loss(id, transferAmount - ll.premium); } /* * @nonce Returns provider's share in BNB * @param account Provider's address * @return Provider's share in BNB */ function shareOf(address account) external view returns (uint256 share) { if (totalSupply() > 0) share = (totalBalance() * balanceOf(account)) / totalSupply(); else share = 0; } /* * @nonce Returns the amount of BNB available for withdrawals * @return balance Unlocked amount */ function availableBalance() public view returns (uint256 balance) { return totalBalance() - lockedAmount; } /* * @nonce Returns the total balance of BNB provided to the pool * @return balance Pool balance */ function totalBalance() public view override returns (uint256 balance) { return address(this).balance - lockedPremium; } function _beforeTokenTransfer( address from, address to, uint256 ) internal override { if ( lastProvideTimestamp[from] + lockupPeriod > block.timestamp && lastProvideTimestamp[from] > lastProvideTimestamp[to] ) { require( !_revertTransfersInLockUpPeriod[to], "the recipient does not accept blocked funds" ); lastProvideTimestamp[to] = lastProvideTimestamp[from]; } } function divCeil(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); uint256 c = a / b; if (a % b != 0) c = c + 1; return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Loss","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Profit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"writeAmount","type":"uint256"}],"name":"Provide","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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"UpdateRevertTransfersInLockUpPeriod","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"writeAmount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ACCURACY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPTION_ISSUER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_revertTransfersInLockUpPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"availableBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastProvideTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockedLiquidity","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"premium","type":"uint256"},{"internalType":"bool","name":"locked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedPremium","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockupPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"minMint","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"name":"provide","outputs":[{"internalType":"uint256","name":"mint","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"referralRewardPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"revertTransfersInLockUpPeriod","outputs":[],"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":"uint256","name":"id","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"send","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shareOf","outputs":[{"internalType":"uint256","name":"share","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxBurn","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"burn","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526212750060065560006009553480156200001d57600080fd5b50604080518082018252601381527f42756666657220424e42204c5020546f6b656e000000000000000000000000006020808301918252835180850190945260088452673921232916a1272160c11b908401528151919291620000839160049162000161565b5080516200009990600590602084019062000161565b50620000ab91506000905033620000b1565b62000244565b620000bd8282620000c1565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200011d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200016f9062000207565b90600052602060002090601f016020900481019282620001935760008555620001de565b82601f10620001ae57805160ff1916838001178555620001de565b82800160010185558215620001de579182015b82811115620001de578251825591602001919060010190620001c1565b50620001ec929150620001f0565b5090565b5b80821115620001ec5760008155600101620001f1565b600181811c908216806200021c57607f821691505b602082108114156200023e57634e487b7160e01b600052602260045260246000fd5b50919050565b6122d180620002546000396000f3fe60806040526004361061021a5760003560e01c80636ab28bc811610123578063a457c2d7116100ab578063d547741f1161006f578063d547741f14610625578063dd62ed3e14610645578063ec277a661461068b578063ee947a7c146106ad578063fbcd9b051461043957600080fd5b8063a457c2d71461057e578063a9059cbb1461059e578063ab2f0e51146105be578063ad7a672f146105d3578063b9cfe348146105e857600080fd5b806381b34f15116100f257806381b34f15146104fe57806391d148541461051e578063920a253e1461053e57806395d89b4114610554578063a217fddf1461056957600080fd5b80636ab28bc81461046f57806370a0823114610485578063797be55e146104bb5780637d4b1130146104d157600080fd5b80632ba59175116101a6578063395093511161017557806339509351146103c95780633f40406c146103e9578063441a3e70146104195780634dbac733146104395780636198e3391461044f57600080fd5b80632ba591751461034d5780632f2ff15d1461036d578063313ce5671461038d57806336568abe146103a957600080fd5b806318160ddd116101ed57806318160ddd146102ab57806321e5e2c4146102ca57806323b872dd146102ea578063248a9ca31461030a578063252745701461033a57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063095ea7b3146102765780631338736f14610296575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611f7e565b6106c3565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106fa565b60405161024b9190612062565b34801561028257600080fd5b5061023f610291366004611ef7565b61078c565b6102a96102a4366004611fcc565b6107a2565b005b3480156102b757600080fd5b506003545b60405190815260200161024b565b3480156102d657600080fd5b506102bc6102e5366004611e63565b610987565b3480156102f657600080fd5b5061023f610305366004611eb7565b6109d9565b34801561031657600080fd5b506102bc610325366004611f42565b60009081526020819052604090206001015490565b6102bc610348366004611f5a565b610a83565b34801561035957600080fd5b506102a9610368366004611f22565b610c93565b34801561037957600080fd5b506102a9610388366004611f5a565b610ce8565b34801561039957600080fd5b506040516012815260200161024b565b3480156103b557600080fd5b506102a96103c4366004611f5a565b610d13565b3480156103d557600080fd5b5061023f6103e4366004611ef7565b610d91565b3480156103f557600080fd5b5061023f610404366004611e63565b600b6020526000908152604090205460ff1681565b34801561042557600080fd5b506102bc610434366004611fcc565b610dcd565b34801561044557600080fd5b506102bc6103e881565b34801561045b57600080fd5b506102a961046a366004611f42565b611066565b34801561047b57600080fd5b506102bc60075481565b34801561049157600080fd5b506102bc6104a0366004611e63565b6001600160a01b031660009081526001602052604090205490565b3480156104c757600080fd5b506102bc60085481565b3480156104dd57600080fd5b506102bc6104ec366004611e63565b600a6020526000908152604090205481565b34801561050a57600080fd5b506102a9610519366004611fa6565b611171565b34801561052a57600080fd5b5061023f610539366004611f5a565b61133d565b34801561054a57600080fd5b506102bc60095481565b34801561056057600080fd5b50610269611366565b34801561057557600080fd5b506102bc600081565b34801561058a57600080fd5b5061023f610599366004611ef7565b611375565b3480156105aa57600080fd5b5061023f6105b9366004611ef7565b61140e565b3480156105ca57600080fd5b506102bc61141b565b3480156105df57600080fd5b506102bc611437565b3480156105f457600080fd5b50610608610603366004611ef7565b611447565b60408051938452602084019290925215159082015260600161024b565b34801561063157600080fd5b506102a9610640366004611f5a565b61148c565b34801561065157600080fd5b506102bc610660366004611e7f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561069757600080fd5b506102bc60008051602061227c83398151915281565b3480156106b957600080fd5b506102bc60065481565b60006001600160e01b03198216637965db0b60e01b14806106f457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060048054610709906121e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610735906121e8565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b60006107993384846114b2565b50600192915050565b6107ba60008051602061227c8339815191523361133d565b6107df5760405162461bcd60e51b81526004016107d6906120e6565b60405180910390fd5b336000908152600c602052604090205482146108285760405162461bcd60e51b815260206004820152600860248201526715dc9bdb99c81a5960c21b60448201526064016107d6565b34610831611437565b10156108765760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016107d6565b600a34610881611437565b61088b919061218e565b61089690600861216f565b6108a0919061215b565b816007546108ae9190612143565b11156108fc5760405162461bcd60e51b815260206004820181905260248201527f506f6f6c204572726f723a20416d6f756e7420697320746f6f206c617267652e60448201526064016107d6565b336000908152600c60209081526040808320815160608101835285815234818501818152600194830185815284548087018655948852959096209151600390930290910191825593519181019190915590516002909101805460ff191691151591909117905560085461096f9190612143565b600855600754610980908290612143565b6007555050565b60008061099360035490565b11156109d1576003546001600160a01b0383166000908152600160205260409020546109bd611437565b6109c7919061216f565b6106f4919061215b565b506000919050565b60006109e68484846115d6565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610a6b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016107d6565b610a7885338584036114b2565b506001949350505050565b336000908152600a6020526040812042905580610a9f60035490565b90506000610aab611437565b9050346001600160a01b03851615801590610acf57506001600160a01b0385163314155b8015610ae457506001600160a01b0385163014155b15610b6057600060646103e860095434610afe919061216f565b610b08919061215b565b610b12919061215b565b9050610b1e813461218e565b91508015610b5e576040516001600160a01b0387169082156108fc029083906000818181858888f19350505050158015610b5c573d6000803e3d6000fd5b505b505b600083118015610b705750600082115b15610b9a57610b7f818361218e565b610b89848361216f565b610b93919061215b565b9350610ba9565b610ba66103e88261216f565b93505b85841015610bf95760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204d696e74206c696d697420697320746f6f206c6172676500000060448201526064016107d6565b60008411610c455760405162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b60448201526064016107d6565b610c4f33856117b1565b604080518281526020810186905233917f4089141ea5e4c16575f5ebf65f1786497ea07c175846fc7745ef8d8986a4ff65910160405180910390a250505092915050565b336000818152600b6020908152604091829020805460ff191685151590811790915591519182527f593fe8a553afce2380090e91ae47c2fec1b30ea9e49bcd0359724b5c32f2b6b3910160405180910390a250565b600082815260208190526040902060010154610d04813361189c565b610d0e8383611900565b505050565b6001600160a01b0381163314610d835760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107d6565b610d8d8282611984565b5050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610799918590610dc8908690612143565b6114b2565b600654336000908152600a602052604081205490914291610dee9190612143565b1115610e3c5760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a205769746864726177616c206973206c6f636b656420757000000060448201526064016107d6565b610e4461141b565b831115610ecd5760405162461bcd60e51b815260206004820152604b60248201527f506f6f6c204572726f723a204e6f7420656e6f7567682066756e6473206f6e2060448201527f74686520706f6f6c20636f6e74726163742e20506c65617365206c6f7765722060648201526a3a34329030b6b7bab73a1760a91b608482015260a4016107d6565b610ef0610ed960035490565b610ee3908561216f565b610eeb611437565b6119e9565b905081811115610f425760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204275726e206c696d697420697320746f6f20736d616c6c00000060448201526064016107d6565b33600090815260016020526040902054811115610fa15760405162461bcd60e51b815260206004820152601960248201527f506f6f6c3a20416d6f756e7420697320746f6f206c617267650000000000000060448201526064016107d6565b60008111610fed5760405162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b60448201526064016107d6565b610ff73382611a29565b604080518481526020810183905233917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568910160405180910390a2604051339084156108fc029085906000818181858888f1935050505015801561105f573d6000803e3d6000fd5b5092915050565b61107e60008051602061227c8339815191523361133d565b61109a5760405162461bcd60e51b81526004016107d6906120e6565b336000908152600c602052604081208054839081106110c957634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600281015490915060ff166111005760405162461bcd60e51b81526004016107d690612095565b60028101805460ff19169055600181015460085461111e919061218e565b6008558054600754611130919061218e565b600755600181015460405190815282907f9f78baa7a8e3640efadcbedc2d00f5930ade7a7bb66038dbf88684d49972957a9060200160405180910390a25050565b61118960008051602061227c8339815191523361133d565b6111a55760405162461bcd60e51b81526004016107d6906120e6565b336000908152600c602052604081208054859081106111d457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600281015490915060ff1661120b5760405162461bcd60e51b81526004016107d690612095565b6001600160a01b03831661121e57600080fd5b60028101805460ff19169055600181015460085461123c919061218e565b600855805460075461124e919061218e565b600755805460009083116112625782611265565b81545b6040519091506001600160a01b0385169082156108fc029083906000818181858888f1935050505015801561129e573d6000803e3d6000fd5b50816001015481116112f257847f9f78baa7a8e3640efadcbedc2d00f5930ade7a7bb66038dbf88684d49972957a8284600101546112dc919061218e565b60405190815260200160405180910390a2611336565b847f86f83f021a5ecb92d6dcaec11be9da0e65b5401ce748ac3c1f0ddbae029f55ce836001015483611324919061218e565b60405190815260200160405180910390a25b5050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060058054610709906121e8565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156113f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d6565b61140433858584036114b2565b5060019392505050565b60006107993384846115d6565b6000600754611428611437565b611432919061218e565b905090565b600060085447611432919061218e565b600c602052816000526040600020818154811061146357600080fd5b600091825260209091206003909102018054600182015460029092015490935090915060ff1683565b6000828152602081905260409020600101546114a8813361189c565b610d0e8383611984565b6001600160a01b0383166115145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d6565b6001600160a01b0382166115755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661163a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107d6565b6001600160a01b03821661169c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107d6565b6116a7838383611b83565b6001600160a01b0383166000908152600160205260409020548181101561171f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611756908490612143565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117a291815260200190565b60405180910390a35b50505050565b6001600160a01b0382166118075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107d6565b61181360008383611b83565b80600360008282546118259190612143565b90915550506001600160a01b03821660009081526001602052604081208054839290611852908490612143565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6118a6828261133d565b610d8d576118be816001600160a01b03166014611c81565b6118c9836020611c81565b6040516020016118da929190611fed565b60408051601f198184030181529082905262461bcd60e51b82526107d691600401612062565b61190a828261133d565b610d8d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119403390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61198e828261133d565b15610d8d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008082116119f757600080fd5b6000611a03838561215b565b9050611a0f8385612223565b15611a2257611a1f816001612143565b90505b9392505050565b6001600160a01b038216611a895760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d6565b611a9582600083611b83565b6001600160a01b03821660009081526001602052604090205481811015611b095760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d6565b6001600160a01b0383166000908152600160205260408120838303905560038054849290611b3890849061218e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6006546001600160a01b0384166000908152600a60205260409020544291611baa91612143565b118015611bd757506001600160a01b038083166000908152600a6020526040808220549286168252902054115b15610d0e576001600160a01b0382166000908152600b602052604090205460ff1615611c595760405162461bcd60e51b815260206004820152602b60248201527f74686520726563697069656e7420646f6573206e6f742061636365707420626c60448201526a6f636b65642066756e647360a81b60648201526084016107d6565b6001600160a01b038084166000908152600a6020526040808220549285168252902055505050565b60606000611c9083600261216f565b611c9b906002612143565b67ffffffffffffffff811115611cc157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ceb576020820181803683370190505b509050600360fc1b81600081518110611d1457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d5157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611d7584600261216f565b611d80906001612143565b90505b6001811115611e14576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611dc257634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611de657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e0d816121d1565b9050611d83565b508315611a225760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107d6565b600060208284031215611e74578081fd5b8135611a2281612263565b60008060408385031215611e91578081fd5b8235611e9c81612263565b91506020830135611eac81612263565b809150509250929050565b600080600060608486031215611ecb578081fd5b8335611ed681612263565b92506020840135611ee681612263565b929592945050506040919091013590565b60008060408385031215611f09578182fd5b8235611f1481612263565b946020939093013593505050565b600060208284031215611f33578081fd5b81358015158114611a22578182fd5b600060208284031215611f53578081fd5b5035919050565b60008060408385031215611f6c578182fd5b823591506020830135611eac81612263565b600060208284031215611f8f578081fd5b81356001600160e01b031981168114611a22578182fd5b600080600060608486031215611fba578283fd5b833592506020840135611ee681612263565b60008060408385031215611fde578182fd5b50508035926020909101359150565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120258160178501602088016121a5565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516120568160288401602088016121a5565b01602801949350505050565b60208152600082518060208401526120818160408501602087016121a5565b601f01601f19169190910160400192915050565b60208082526031908201527f4c6f636b65644c6971756964697479207769746820737563682069642068617360408201527008185b1c9958591e481d5b9b1bd8dad959607a1b606082015260800190565b60208082526037908201527f6d73672e73656e646572206973206e6f7420616c6c6f77656420746f2065786360408201527f75746520746865206f7074696f6e20636f6e7472616374000000000000000000606082015260800190565b6000821982111561215657612156612237565b500190565b60008261216a5761216a61224d565b500490565b600081600019048311821515161561218957612189612237565b500290565b6000828210156121a0576121a0612237565b500390565b60005b838110156121c05781810151838201526020016121a8565b838111156117ab5750506000910152565b6000816121e0576121e0612237565b506000190190565b600181811c908216806121fc57607f821691505b6020821081141561221d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000826122325761223261224d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b038116811461227857600080fd5b5056fe02b0c433c31e2b44fbbb341ca2a1a7c86f98b5158b42b073f63efe02d35ea89fa26469706673582212200cc61aeee773cea25388aa289c38fc7a9a41565deaf48a4f4090233079c9d74764736f6c63430008040033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636ab28bc811610123578063a457c2d7116100ab578063d547741f1161006f578063d547741f14610625578063dd62ed3e14610645578063ec277a661461068b578063ee947a7c146106ad578063fbcd9b051461043957600080fd5b8063a457c2d71461057e578063a9059cbb1461059e578063ab2f0e51146105be578063ad7a672f146105d3578063b9cfe348146105e857600080fd5b806381b34f15116100f257806381b34f15146104fe57806391d148541461051e578063920a253e1461053e57806395d89b4114610554578063a217fddf1461056957600080fd5b80636ab28bc81461046f57806370a0823114610485578063797be55e146104bb5780637d4b1130146104d157600080fd5b80632ba59175116101a6578063395093511161017557806339509351146103c95780633f40406c146103e9578063441a3e70146104195780634dbac733146104395780636198e3391461044f57600080fd5b80632ba591751461034d5780632f2ff15d1461036d578063313ce5671461038d57806336568abe146103a957600080fd5b806318160ddd116101ed57806318160ddd146102ab57806321e5e2c4146102ca57806323b872dd146102ea578063248a9ca31461030a578063252745701461033a57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063095ea7b3146102765780631338736f14610296575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611f7e565b6106c3565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106fa565b60405161024b9190612062565b34801561028257600080fd5b5061023f610291366004611ef7565b61078c565b6102a96102a4366004611fcc565b6107a2565b005b3480156102b757600080fd5b506003545b60405190815260200161024b565b3480156102d657600080fd5b506102bc6102e5366004611e63565b610987565b3480156102f657600080fd5b5061023f610305366004611eb7565b6109d9565b34801561031657600080fd5b506102bc610325366004611f42565b60009081526020819052604090206001015490565b6102bc610348366004611f5a565b610a83565b34801561035957600080fd5b506102a9610368366004611f22565b610c93565b34801561037957600080fd5b506102a9610388366004611f5a565b610ce8565b34801561039957600080fd5b506040516012815260200161024b565b3480156103b557600080fd5b506102a96103c4366004611f5a565b610d13565b3480156103d557600080fd5b5061023f6103e4366004611ef7565b610d91565b3480156103f557600080fd5b5061023f610404366004611e63565b600b6020526000908152604090205460ff1681565b34801561042557600080fd5b506102bc610434366004611fcc565b610dcd565b34801561044557600080fd5b506102bc6103e881565b34801561045b57600080fd5b506102a961046a366004611f42565b611066565b34801561047b57600080fd5b506102bc60075481565b34801561049157600080fd5b506102bc6104a0366004611e63565b6001600160a01b031660009081526001602052604090205490565b3480156104c757600080fd5b506102bc60085481565b3480156104dd57600080fd5b506102bc6104ec366004611e63565b600a6020526000908152604090205481565b34801561050a57600080fd5b506102a9610519366004611fa6565b611171565b34801561052a57600080fd5b5061023f610539366004611f5a565b61133d565b34801561054a57600080fd5b506102bc60095481565b34801561056057600080fd5b50610269611366565b34801561057557600080fd5b506102bc600081565b34801561058a57600080fd5b5061023f610599366004611ef7565b611375565b3480156105aa57600080fd5b5061023f6105b9366004611ef7565b61140e565b3480156105ca57600080fd5b506102bc61141b565b3480156105df57600080fd5b506102bc611437565b3480156105f457600080fd5b50610608610603366004611ef7565b611447565b60408051938452602084019290925215159082015260600161024b565b34801561063157600080fd5b506102a9610640366004611f5a565b61148c565b34801561065157600080fd5b506102bc610660366004611e7f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561069757600080fd5b506102bc60008051602061227c83398151915281565b3480156106b957600080fd5b506102bc60065481565b60006001600160e01b03198216637965db0b60e01b14806106f457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060048054610709906121e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610735906121e8565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b60006107993384846114b2565b50600192915050565b6107ba60008051602061227c8339815191523361133d565b6107df5760405162461bcd60e51b81526004016107d6906120e6565b60405180910390fd5b336000908152600c602052604090205482146108285760405162461bcd60e51b815260206004820152600860248201526715dc9bdb99c81a5960c21b60448201526064016107d6565b34610831611437565b10156108765760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016107d6565b600a34610881611437565b61088b919061218e565b61089690600861216f565b6108a0919061215b565b816007546108ae9190612143565b11156108fc5760405162461bcd60e51b815260206004820181905260248201527f506f6f6c204572726f723a20416d6f756e7420697320746f6f206c617267652e60448201526064016107d6565b336000908152600c60209081526040808320815160608101835285815234818501818152600194830185815284548087018655948852959096209151600390930290910191825593519181019190915590516002909101805460ff191691151591909117905560085461096f9190612143565b600855600754610980908290612143565b6007555050565b60008061099360035490565b11156109d1576003546001600160a01b0383166000908152600160205260409020546109bd611437565b6109c7919061216f565b6106f4919061215b565b506000919050565b60006109e68484846115d6565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610a6b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016107d6565b610a7885338584036114b2565b506001949350505050565b336000908152600a6020526040812042905580610a9f60035490565b90506000610aab611437565b9050346001600160a01b03851615801590610acf57506001600160a01b0385163314155b8015610ae457506001600160a01b0385163014155b15610b6057600060646103e860095434610afe919061216f565b610b08919061215b565b610b12919061215b565b9050610b1e813461218e565b91508015610b5e576040516001600160a01b0387169082156108fc029083906000818181858888f19350505050158015610b5c573d6000803e3d6000fd5b505b505b600083118015610b705750600082115b15610b9a57610b7f818361218e565b610b89848361216f565b610b93919061215b565b9350610ba9565b610ba66103e88261216f565b93505b85841015610bf95760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204d696e74206c696d697420697320746f6f206c6172676500000060448201526064016107d6565b60008411610c455760405162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b60448201526064016107d6565b610c4f33856117b1565b604080518281526020810186905233917f4089141ea5e4c16575f5ebf65f1786497ea07c175846fc7745ef8d8986a4ff65910160405180910390a250505092915050565b336000818152600b6020908152604091829020805460ff191685151590811790915591519182527f593fe8a553afce2380090e91ae47c2fec1b30ea9e49bcd0359724b5c32f2b6b3910160405180910390a250565b600082815260208190526040902060010154610d04813361189c565b610d0e8383611900565b505050565b6001600160a01b0381163314610d835760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107d6565b610d8d8282611984565b5050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610799918590610dc8908690612143565b6114b2565b600654336000908152600a602052604081205490914291610dee9190612143565b1115610e3c5760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a205769746864726177616c206973206c6f636b656420757000000060448201526064016107d6565b610e4461141b565b831115610ecd5760405162461bcd60e51b815260206004820152604b60248201527f506f6f6c204572726f723a204e6f7420656e6f7567682066756e6473206f6e2060448201527f74686520706f6f6c20636f6e74726163742e20506c65617365206c6f7765722060648201526a3a34329030b6b7bab73a1760a91b608482015260a4016107d6565b610ef0610ed960035490565b610ee3908561216f565b610eeb611437565b6119e9565b905081811115610f425760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204275726e206c696d697420697320746f6f20736d616c6c00000060448201526064016107d6565b33600090815260016020526040902054811115610fa15760405162461bcd60e51b815260206004820152601960248201527f506f6f6c3a20416d6f756e7420697320746f6f206c617267650000000000000060448201526064016107d6565b60008111610fed5760405162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b60448201526064016107d6565b610ff73382611a29565b604080518481526020810183905233917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568910160405180910390a2604051339084156108fc029085906000818181858888f1935050505015801561105f573d6000803e3d6000fd5b5092915050565b61107e60008051602061227c8339815191523361133d565b61109a5760405162461bcd60e51b81526004016107d6906120e6565b336000908152600c602052604081208054839081106110c957634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600281015490915060ff166111005760405162461bcd60e51b81526004016107d690612095565b60028101805460ff19169055600181015460085461111e919061218e565b6008558054600754611130919061218e565b600755600181015460405190815282907f9f78baa7a8e3640efadcbedc2d00f5930ade7a7bb66038dbf88684d49972957a9060200160405180910390a25050565b61118960008051602061227c8339815191523361133d565b6111a55760405162461bcd60e51b81526004016107d6906120e6565b336000908152600c602052604081208054859081106111d457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600281015490915060ff1661120b5760405162461bcd60e51b81526004016107d690612095565b6001600160a01b03831661121e57600080fd5b60028101805460ff19169055600181015460085461123c919061218e565b600855805460075461124e919061218e565b600755805460009083116112625782611265565b81545b6040519091506001600160a01b0385169082156108fc029083906000818181858888f1935050505015801561129e573d6000803e3d6000fd5b50816001015481116112f257847f9f78baa7a8e3640efadcbedc2d00f5930ade7a7bb66038dbf88684d49972957a8284600101546112dc919061218e565b60405190815260200160405180910390a2611336565b847f86f83f021a5ecb92d6dcaec11be9da0e65b5401ce748ac3c1f0ddbae029f55ce836001015483611324919061218e565b60405190815260200160405180910390a25b5050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060058054610709906121e8565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156113f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d6565b61140433858584036114b2565b5060019392505050565b60006107993384846115d6565b6000600754611428611437565b611432919061218e565b905090565b600060085447611432919061218e565b600c602052816000526040600020818154811061146357600080fd5b600091825260209091206003909102018054600182015460029092015490935090915060ff1683565b6000828152602081905260409020600101546114a8813361189c565b610d0e8383611984565b6001600160a01b0383166115145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d6565b6001600160a01b0382166115755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661163a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107d6565b6001600160a01b03821661169c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107d6565b6116a7838383611b83565b6001600160a01b0383166000908152600160205260409020548181101561171f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611756908490612143565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117a291815260200190565b60405180910390a35b50505050565b6001600160a01b0382166118075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107d6565b61181360008383611b83565b80600360008282546118259190612143565b90915550506001600160a01b03821660009081526001602052604081208054839290611852908490612143565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6118a6828261133d565b610d8d576118be816001600160a01b03166014611c81565b6118c9836020611c81565b6040516020016118da929190611fed565b60408051601f198184030181529082905262461bcd60e51b82526107d691600401612062565b61190a828261133d565b610d8d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119403390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61198e828261133d565b15610d8d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008082116119f757600080fd5b6000611a03838561215b565b9050611a0f8385612223565b15611a2257611a1f816001612143565b90505b9392505050565b6001600160a01b038216611a895760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d6565b611a9582600083611b83565b6001600160a01b03821660009081526001602052604090205481811015611b095760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d6565b6001600160a01b0383166000908152600160205260408120838303905560038054849290611b3890849061218e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6006546001600160a01b0384166000908152600a60205260409020544291611baa91612143565b118015611bd757506001600160a01b038083166000908152600a6020526040808220549286168252902054115b15610d0e576001600160a01b0382166000908152600b602052604090205460ff1615611c595760405162461bcd60e51b815260206004820152602b60248201527f74686520726563697069656e7420646f6573206e6f742061636365707420626c60448201526a6f636b65642066756e647360a81b60648201526084016107d6565b6001600160a01b038084166000908152600a6020526040808220549285168252902055505050565b60606000611c9083600261216f565b611c9b906002612143565b67ffffffffffffffff811115611cc157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ceb576020820181803683370190505b509050600360fc1b81600081518110611d1457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d5157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611d7584600261216f565b611d80906001612143565b90505b6001811115611e14576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611dc257634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611de657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e0d816121d1565b9050611d83565b508315611a225760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107d6565b600060208284031215611e74578081fd5b8135611a2281612263565b60008060408385031215611e91578081fd5b8235611e9c81612263565b91506020830135611eac81612263565b809150509250929050565b600080600060608486031215611ecb578081fd5b8335611ed681612263565b92506020840135611ee681612263565b929592945050506040919091013590565b60008060408385031215611f09578182fd5b8235611f1481612263565b946020939093013593505050565b600060208284031215611f33578081fd5b81358015158114611a22578182fd5b600060208284031215611f53578081fd5b5035919050565b60008060408385031215611f6c578182fd5b823591506020830135611eac81612263565b600060208284031215611f8f578081fd5b81356001600160e01b031981168114611a22578182fd5b600080600060608486031215611fba578283fd5b833592506020840135611ee681612263565b60008060408385031215611fde578182fd5b50508035926020909101359150565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120258160178501602088016121a5565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516120568160288401602088016121a5565b01602801949350505050565b60208152600082518060208401526120818160408501602087016121a5565b601f01601f19169190910160400192915050565b60208082526031908201527f4c6f636b65644c6971756964697479207769746820737563682069642068617360408201527008185b1c9958591e481d5b9b1bd8dad959607a1b606082015260800190565b60208082526037908201527f6d73672e73656e646572206973206e6f7420616c6c6f77656420746f2065786360408201527f75746520746865206f7074696f6e20636f6e7472616374000000000000000000606082015260800190565b6000821982111561215657612156612237565b500190565b60008261216a5761216a61224d565b500490565b600081600019048311821515161561218957612189612237565b500290565b6000828210156121a0576121a0612237565b500390565b60005b838110156121c05781810151838201526020016121a8565b838111156117ab5750506000910152565b6000816121e0576121e0612237565b506000190190565b600181811c908216806121fc57607f821691505b6020821081141561221d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000826122325761223261224d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b038116811461227857600080fd5b5056fe02b0c433c31e2b44fbbb341ca2a1a7c86f98b5158b42b073f63efe02d35ea89fa26469706673582212200cc61aeee773cea25388aa289c38fc7a9a41565deaf48a4f4090233079c9d74764736f6c63430008040033
Deployed Bytecode Sourcemap
32067:7929:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15269:204;;;;;;;;;;-1:-1:-1;15269:204:0;;;;;:::i;:::-;;:::i;:::-;;;4764:14:1;;4757:22;4739:41;;4727:2;4712:18;15269:204:0;;;;;;;;21929:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24096:169::-;;;;;;;;;;-1:-1:-1;24096:169:0;;;;;:::i;:::-;;:::i;35889:719::-;;;;;;:::i;:::-;;:::i;:::-;;23049:108;;;;;;;;;;-1:-1:-1;23137:12:0;;23049:108;;;4937:25:1;;;4925:2;4910:18;23049:108:0;4892:76:1;38528:213:0;;;;;;;;;;-1:-1:-1;38528:213:0;;;;;:::i;:::-;;:::i;24747:492::-;;;;;;;;;;-1:-1:-1;24747:492:0;;;;;:::i;:::-;;:::i;16680:123::-;;;;;;;;;;-1:-1:-1;16680:123:0;;;;;:::i;:::-;16746:7;16773:12;;;;;;;;;;:22;;;;16680:123;33663:1033;;;;;;:::i;:::-;;:::i;32932:199::-;;;;;;;;;;-1:-1:-1;32932:199:0;;;;;:::i;:::-;;:::i;17065:147::-;;;;;;;;;;-1:-1:-1;17065:147:0;;;;;:::i;:::-;;:::i;22891:93::-;;;;;;;;;;-1:-1:-1;22891:93:0;;22974:2;15620:36:1;;15608:2;15593:18;22891:93:0;15575:87:1;18113:218:0;;;;;;;;;;-1:-1:-1;18113:218:0;;;;;:::i;:::-;;:::i;25648:215::-;;;;;;;;;;-1:-1:-1;25648:215:0;;;;;:::i;:::-;;:::i;32520:62::-;;;;;;;;;;-1:-1:-1;32520:62:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;34888:843;;;;;;;;;;-1:-1:-1;34888:843:0;;;;;:::i;:::-;;:::i;32236:42::-;;;;;;;;;;;;32275:3;32236:42;;36755:535;;;;;;;;;;-1:-1:-1;36755:535:0;;;;;:::i;:::-;;:::i;32329:27::-;;;;;;;;;;;;;;;;23220:127;;;;;;;;;;-1:-1:-1;23220:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;23321:18:0;23294:7;23321:18;;;:9;:18;;;;;;;23220:127;32363:28;;;;;;;;;;;;;;;;32458:55;;;;;;;;;;-1:-1:-1;32458:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;37498:876;;;;;;;;;;-1:-1:-1;37498:876:0;;;;;:::i;:::-;;:::i;15565:139::-;;;;;;;;;;-1:-1:-1;15565:139:0;;;;;:::i;:::-;;:::i;32398:43::-;;;;;;;;;;;;;;;;22148:104;;;;;;;;;;;;;:::i;14656:49::-;;;;;;;;;;-1:-1:-1;14656:49:0;14701:4;14656:49;;26366:413;;;;;;;;;;-1:-1:-1;26366:413:0;;;;;:::i;:::-;;:::i;23560:175::-;;;;;;;;;;-1:-1:-1;23560:175:0;;;;;:::i;:::-;;:::i;38873:121::-;;;;;;;;;;;;;:::i;39125:134::-;;;;;;;;;;;;;:::i;32639:60::-;;;;;;;;;;-1:-1:-1;32639:60:0;;;;;:::i;:::-;;:::i;:::-;;;;15340:25:1;;;15396:2;15381:18;;15374:34;;;;15451:14;15444:22;15424:18;;;15417:50;15328:2;15313:18;32639:60:0;15295:178:1;17457:149:0;;;;;;;;;;-1:-1:-1;17457:149:0;;;;;:::i;:::-;;:::i;23798:151::-;;;;;;;;;;-1:-1:-1;23798:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;23914:18:0;;;23887:7;23914:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23798:151;32708:85;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32708:85:0;;32285:37;;;;;;;;;;;;;;;;15269:204;15354:4;-1:-1:-1;;;;;;15378:47:0;;-1:-1:-1;;;15378:47:0;;:87;;-1:-1:-1;;;;;;;;;;12116:40:0;;;15429:36;15371:94;15269:204;-1:-1:-1;;15269:204:0:o;21929:100::-;21983:13;22016:5;22009:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21929:100;:::o;24096:169::-;24179:4;24196:39;2254:10;24219:7;24228:6;24196:8;:39::i;:::-;-1:-1:-1;24253:4:0;24096:169;;;;:::o;35889:719::-;35990:39;-1:-1:-1;;;;;;;;;;;36018:10:0;35990:7;:39::i;:::-;35968:144;;;;-1:-1:-1;;;35968:144:0;;;;;;;:::i;:::-;;;;;;;;;36153:10;36137:27;;;;:15;:27;;;;;:34;36131:40;;36123:61;;;;-1:-1:-1;;;36123:61:0;;8394:2:1;36123:61:0;;;8376:21:1;8433:1;8413:18;;;8406:29;-1:-1:-1;;;8451:18:1;;;8444:38;8499:18;;36123:61:0;8366:157:1;36123:61:0;36221:9;36203:14;:12;:14::i;:::-;:27;;36195:60;;;;-1:-1:-1;;;36195:60:0;;9137:2:1;36195:60:0;;;9119:21:1;9176:2;9156:18;;;9149:30;-1:-1:-1;;;9195:18:1;;;9188:50;9255:18;;36195:60:0;9109:170:1;36195:60:0;36352:2;36334:9;36317:14;:12;:14::i;:::-;:26;;;;:::i;:::-;36316:32;;36347:1;36316:32;:::i;:::-;36315:39;;;;:::i;:::-;36304:6;36289:12;;:21;;;;:::i;:::-;36288:66;;36266:148;;;;-1:-1:-1;;;36266:148:0;;12660:2:1;36266:148:0;;;12642:21:1;;;12679:18;;;12672:30;12738:34;12718:18;;;12711:62;12790:18;;36266:148:0;12632:182:1;36266:148:0;36443:10;36427:27;;;;:15;:27;;;;;;;;36460:40;;;;;;;;;;36484:9;36460:40;;;;;;36495:4;36460:40;;;;;;36427:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36427:74:0;;;;;;;;;;36528:13;;:25;;36484:9;36528:25;:::i;:::-;36512:13;:41;36579:12;;:21;;36594:6;;36579:21;:::i;:::-;36564:12;:36;-1:-1:-1;;35889:719:0:o;38528:213::-;38585:13;38631:1;38615:13;23137:12;;;23049:108;38615:13;:17;38611:122;;;23137:12;;-1:-1:-1;;;;;23321:18:0;;23294:7;23321:18;;;:9;:18;;;;;;38656:14;:12;:14::i;:::-;:35;;;;:::i;:::-;38655:53;;;;:::i;38611:122::-;-1:-1:-1;38732:1:0;38528:213;;;:::o;24747:492::-;24887:4;24904:36;24914:6;24922:9;24933:6;24904:9;:36::i;:::-;-1:-1:-1;;;;;24980:19:0;;24953:24;24980:19;;;:11;:19;;;;;;;;2254:10;24980:33;;;;;;;;25032:26;;;;25024:79;;;;-1:-1:-1;;;25024:79:0;;10268:2:1;25024:79:0;;;10250:21:1;10307:2;10287:18;;;10280:30;10346:34;10326:18;;;10319:62;-1:-1:-1;;;10397:18:1;;;10390:38;10445:19;;25024:79:0;10240:230:1;25024:79:0;25139:57;25148:6;2254:10;25189:6;25170:16;:25;25139:8;:57::i;:::-;-1:-1:-1;25227:4:0;;24747:492;-1:-1:-1;;;;24747:492:0:o;33663:1033::-;33788:10;33742:12;33767:32;;;:20;:32;;;;;33802:15;33767:50;;33742:12;33845:13;23137:12;;;23049:108;33845:13;33828:30;;33869:15;33887:14;:12;:14::i;:::-;33869:32;-1:-1:-1;33931:9:0;-1:-1:-1;;;;;33956:22:0;;;;;;:48;;-1:-1:-1;;;;;;33982:22:0;;33994:10;33982:22;;33956:48;:77;;;;-1:-1:-1;;;;;;34008:25:0;;34028:4;34008:25;;33956:77;33953:376;;;34049:22;34124:3;32226;34088:24;;34076:9;:36;;;;:::i;:::-;34075:47;;;;:::i;:::-;34074:53;;;;:::i;:::-;34049:78;-1:-1:-1;34151:26:0;34049:78;34151:9;:26;:::i;:::-;34142:35;-1:-1:-1;34204:18:0;;34200:100;;34242:42;;-1:-1:-1;;;;;34242:26:0;;;:42;;;;;34269:14;;34242:42;;;;34269:14;34242:26;:42;;;;;;;;;;;;;;;;;;;;;34200:100;33953:376;;34354:1;34345:6;:10;:25;;;;;34369:1;34359:7;:11;34345:25;34341:133;;;34413:16;34423:6;34413:7;:16;:::i;:::-;34393:15;34402:6;34393;:15;:::i;:::-;34392:38;;;;:::i;:::-;34385:45;;34341:133;;;34453:21;32275:3;34453:6;:21;:::i;:::-;34446:28;;34341:133;34503:7;34495:4;:15;;34487:57;;;;-1:-1:-1;;;34487:57:0;;9910:2:1;34487:57:0;;;9892:21:1;9949:2;9929:18;;;9922:30;9988:31;9968:18;;;9961:59;10037:18;;34487:57:0;9882:179:1;34487:57:0;34570:1;34563:4;:8;34555:46;;;;-1:-1:-1;;;34555:46:0;;13021:2:1;34555:46:0;;;13003:21:1;13060:2;13040:18;;;13033:30;-1:-1:-1;;;13079:18:1;;;13072:55;13144:18;;34555:46:0;12993:175:1;34555:46:0;34614:23;34620:10;34632:4;34614:5;:23::i;:::-;34655:33;;;15065:25:1;;;15121:2;15106:18;;15099:34;;;34663:10:0;;34655:33;;15038:18:1;34655:33:0;;;;;;;33663:1033;;;;;;;:::o;32932:199::-;33034:10;33003:42;;;;:30;:42;;;;;;;;;:50;;-1:-1:-1;;33003:50:0;;;;;;;;;;33069:54;;4739:41:1;;;33069:54:0;;4712:18:1;33069:54:0;;;;;;;32932:199;:::o;17065:147::-;16746:7;16773:12;;;;;;;;;;:22;;;15147:30;15158:4;2254:10;15147;:30::i;:::-;17179:25:::1;17190:4;17196:7;17179:10;:25::i;:::-;17065:147:::0;;;:::o;18113:218::-;-1:-1:-1;;;;;18209:23:0;;2254:10;18209:23;18201:83;;;;-1:-1:-1;;;18201:83:0;;14135:2:1;18201:83:0;;;14117:21:1;14174:2;14154:18;;;14147:30;14213:34;14193:18;;;14186:62;-1:-1:-1;;;14264:18:1;;;14257:45;14319:19;;18201:83:0;14107:237:1;18201:83:0;18297:26;18309:4;18315:7;18297:11;:26::i;:::-;18113:218;;:::o;25648:215::-;2254:10;25736:4;25785:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;25785:34:0;;;;;;;;;;25736:4;;25753:80;;25776:7;;25785:47;;25822:10;;25785:47;:::i;:::-;25753:8;:80::i;34888:843::-;35062:12;;35048:10;34975:12;35027:32;;;:20;:32;;;;;;34975:12;;35078:15;;35027:47;;35062:12;35027:47;:::i;:::-;:66;;35005:145;;;;-1:-1:-1;;;35005:145:0;;5563:2:1;35005:145:0;;;5545:21:1;5602:2;5582:18;;;5575:30;5641:31;5621:18;;;5614:59;5690:18;;35005:145:0;5535:179:1;35005:145:0;35193:18;:16;:18::i;:::-;35183:6;:28;;35161:153;;;;-1:-1:-1;;;35161:153:0;;6686:2:1;35161:153:0;;;6668:21:1;6725:2;6705:18;;;6698:30;6764:34;6744:18;;;6737:62;6835:34;6815:18;;;6808:62;-1:-1:-1;;;6886:19:1;;;6879:42;6938:19;;35161:153:0;6658:305:1;35161:153:0;35334:49;35352:13;23137:12;;;23049:108;35352:13;35343:22;;:6;:22;:::i;:::-;35368:14;:12;:14::i;:::-;35334:7;:49::i;:::-;35327:56;;35412:7;35404:4;:15;;35396:57;;;;-1:-1:-1;;;35396:57:0;;11897:2:1;35396:57:0;;;11879:21:1;11936:2;11916:18;;;11909:30;11975:31;11955:18;;;11948:59;12024:18;;35396:57:0;11869:179:1;35396:57:0;35490:10;23294:7;23321:18;;;:9;:18;;;;;;35472:4;:29;;35464:67;;;;-1:-1:-1;;;35464:67:0;;13375:2:1;35464:67:0;;;13357:21:1;13414:2;13394:18;;;13387:30;13453:27;13433:18;;;13426:55;13498:18;;35464:67:0;13347:175:1;35464:67:0;35557:1;35550:4;:8;35542:46;;;;-1:-1:-1;;;35542:46:0;;13021:2:1;35542:46:0;;;13003:21:1;13060:2;13040:18;;;13033:30;-1:-1:-1;;;13079:18:1;;;13072:55;13144:18;;35542:46:0;12993:175:1;35542:46:0;35601:23;35607:10;35619:4;35601:5;:23::i;:::-;35640:34;;;15065:25:1;;;15121:2;15106:18;;15099:34;;;35649:10:0;;35640:34;;15038:18:1;35640:34:0;;;;;;;35687:36;;35695:10;;35687:36;;;;;35716:6;;35687:36;;;;35716:6;35695:10;35687:36;;;;;;;;;;;;;;;;;;;;;34888:843;;;;:::o;36755:535::-;36834:39;-1:-1:-1;;;;;;;;;;;36862:10:0;36834:7;:39::i;:::-;36812:144;;;;-1:-1:-1;;;36812:144:0;;;;;;;:::i;:::-;37012:10;36967:26;36996:27;;;:15;:27;;;;;:31;;37024:2;;36996:31;;;;-1:-1:-1;;;36996:31:0;;;;;;;;;;;;;;;;;;;;;;37046:9;;;;36996:31;;-1:-1:-1;37046:9:0;;37038:71;;;;-1:-1:-1;;;37038:71:0;;;;;;;:::i;:::-;37120:9;;;:17;;-1:-1:-1;;37120:17:0;;;;37182:10;;;37166:13;;:26;;37182:10;37166:26;:::i;:::-;37150:13;:42;37233:9;;37218:12;;:24;;37233:9;37218:24;:::i;:::-;37203:12;:39;37271:10;;;;37260:22;;4937:25:1;;;37267:2:0;;37260:22;;4925:2:1;4910:18;37260:22:0;;;;;;;36755:535;;:::o;37498:876::-;37645:39;-1:-1:-1;;;;;;;;;;;37673:10:0;37645:7;:39::i;:::-;37623:144;;;;-1:-1:-1;;;37623:144:0;;;;;;;:::i;:::-;37823:10;37778:26;37807:27;;;:15;:27;;;;;:31;;37835:2;;37807:31;;;;-1:-1:-1;;;37807:31:0;;;;;;;;;;;;;;;;;;;;;;37857:9;;;;37807:31;;-1:-1:-1;37857:9:0;;37849:71;;;;-1:-1:-1;;;37849:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;37939:16:0;;37931:25;;;;;;37969:9;;;:17;;-1:-1:-1;;37969:17:0;;;;38029:10;;;38013:13;;:26;;38029:10;38013:26;:::i;:::-;37997:13;:42;38080:9;;38065:12;;:24;;38080:9;38065:24;:::i;:::-;38050:12;:39;38136:9;;38102:22;;38127:18;;:39;;38160:6;38127:39;;;38148:9;;38127:39;38177:27;;38102:64;;-1:-1:-1;;;;;;38177:11:0;;;:27;;;;;38102:64;;38177:27;;;;38102:64;38177:11;:27;;;;;;;;;;;;;;;;;;;;;38239:2;:10;;;38221:14;:28;38217:149;;38276:2;38269:39;38293:14;38280:2;:10;;;:27;;;;:::i;:::-;38269:39;;4937:25:1;;;4925:2;4910:18;38269:39:0;;;;;;;38217:149;;;38334:2;38329:37;38355:2;:10;;;38338:14;:27;;;;:::i;:::-;38329:37;;4937:25:1;;;4925:2;4910:18;38329:37:0;;;;;;;38217:149;37498:876;;;;;:::o;15565:139::-;15643:4;15667:12;;;;;;;;;;;-1:-1:-1;;;;;15667:29:0;;;;;;;;;;;;;;;15565:139::o;22148:104::-;22204:13;22237:7;22230:14;;;;;:::i;26366:413::-;2254:10;26459:4;26503:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;26503:34:0;;;;;;;;;;26556:35;;;;26548:85;;;;-1:-1:-1;;;26548:85:0;;13729:2:1;26548:85:0;;;13711:21:1;13768:2;13748:18;;;13741:30;13807:34;13787:18;;;13780:62;-1:-1:-1;;;13858:18:1;;;13851:35;13903:19;;26548:85:0;13701:227:1;26548:85:0;26669:67;2254:10;26692:7;26720:15;26701:16;:34;26669:8;:67::i;:::-;-1:-1:-1;26767:4:0;;26366:413;-1:-1:-1;;;26366:413:0:o;23560:175::-;23646:4;23663:42;2254:10;23687:9;23698:6;23663:9;:42::i;38873:121::-;38922:15;38974:12;;38957:14;:12;:14::i;:::-;:29;;;;:::i;:::-;38950:36;;38873:121;:::o;39125:134::-;39179:15;39238:13;;39214:21;:37;;;;:::i;32639:60::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32639:60:0;;-1:-1:-1;32639:60:0;;;:::o;17457:149::-;16746:7;16773:12;;;;;;;;;;:22;;;15147:30;15158:4;2254:10;15147;:30::i;:::-;17572:26:::1;17584:4;17590:7;17572:11;:26::i;30050:380::-:0;-1:-1:-1;;;;;30186:19:0;;30178:68;;;;-1:-1:-1;;;30178:68:0;;12255:2:1;30178:68:0;;;12237:21:1;12294:2;12274:18;;;12267:30;12333:34;12313:18;;;12306:62;-1:-1:-1;;;12384:18:1;;;12377:34;12428:19;;30178:68:0;12227:226:1;30178:68:0;-1:-1:-1;;;;;30265:21:0;;30257:68;;;;-1:-1:-1;;;30257:68:0;;7991:2:1;30257:68:0;;;7973:21:1;8030:2;8010:18;;;8003:30;8069:34;8049:18;;;8042:62;-1:-1:-1;;;8120:18:1;;;8113:32;8162:19;;30257:68:0;7963:224:1;30257:68:0;-1:-1:-1;;;;;30338:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;30390:32;;4937:25:1;;;30390:32:0;;4910:18:1;30390:32:0;;;;;;;30050:380;;;:::o;27269:733::-;-1:-1:-1;;;;;27409:20:0;;27401:70;;;;-1:-1:-1;;;27401:70:0;;11491:2:1;27401:70:0;;;11473:21:1;11530:2;11510:18;;;11503:30;11569:34;11549:18;;;11542:62;-1:-1:-1;;;11620:18:1;;;11613:35;11665:19;;27401:70:0;11463:227:1;27401:70:0;-1:-1:-1;;;;;27490:23:0;;27482:71;;;;-1:-1:-1;;;27482:71:0;;6282:2:1;27482:71:0;;;6264:21:1;6321:2;6301:18;;;6294:30;6360:34;6340:18;;;6333:62;-1:-1:-1;;;6411:18:1;;;6404:33;6454:19;;27482:71:0;6254:225:1;27482:71:0;27566:47;27587:6;27595:9;27606:6;27566:20;:47::i;:::-;-1:-1:-1;;;;;27650:17:0;;27626:21;27650:17;;;:9;:17;;;;;;27686:23;;;;27678:74;;;;-1:-1:-1;;;27678:74:0;;8730:2:1;27678:74:0;;;8712:21:1;8769:2;8749:18;;;8742:30;8808:34;8788:18;;;8781:62;-1:-1:-1;;;8859:18:1;;;8852:36;8905:19;;27678:74:0;8702:228:1;27678:74:0;-1:-1:-1;;;;;27788:17:0;;;;;;;:9;:17;;;;;;27808:22;;;27788:42;;27852:20;;;;;;;;:30;;27824:6;;27788:17;27852:30;;27824:6;;27852:30;:::i;:::-;;;;;;;;27917:9;-1:-1:-1;;;;;27900:35:0;27909:6;-1:-1:-1;;;;;27900:35:0;;27928:6;27900:35;;;;4937:25:1;;4925:2;4910:18;;4892:76;27900:35:0;;;;;;;;27948:46;27269:733;;;;:::o;28289:399::-;-1:-1:-1;;;;;28373:21:0;;28365:65;;;;-1:-1:-1;;;28365:65:0;;14551:2:1;28365:65:0;;;14533:21:1;14590:2;14570:18;;;14563:30;14629:33;14609:18;;;14602:61;14680:18;;28365:65:0;14523:181:1;28365:65:0;28443:49;28472:1;28476:7;28485:6;28443:20;:49::i;:::-;28521:6;28505:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;28538:18:0;;;;;;:9;:18;;;;;:28;;28560:6;;28538:18;:28;;28560:6;;28538:28;:::i;:::-;;;;-1:-1:-1;;28582:37:0;;4937:25:1;;;-1:-1:-1;;;;;28582:37:0;;;28599:1;;28582:37;;4925:2:1;4910:18;28582:37:0;;;;;;;18113:218;;:::o;15994:497::-;16075:22;16083:4;16089:7;16075;:22::i;:::-;16070:414;;16263:41;16291:7;-1:-1:-1;;;;;16263:41:0;16301:2;16263:19;:41::i;:::-;16377:38;16405:4;16412:2;16377:19;:38::i;:::-;16168:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;16168:270:0;;;;;;;;;;-1:-1:-1;;;16114:358:0;;;;;;;:::i;19417:229::-;19492:22;19500:4;19506:7;19492;:22::i;:::-;19487:152;;19531:6;:12;;;;;;;;;;;-1:-1:-1;;;;;19531:29:0;;;;;;;;;:36;;-1:-1:-1;;19531:36:0;19563:4;19531:36;;;19614:12;2254:10;;2174:98;19614:12;-1:-1:-1;;;;;19587:40:0;19605:7;-1:-1:-1;;;;;19587:40:0;19599:4;19587:40;;;;;;;;;;19417:229;;:::o;19654:230::-;19729:22;19737:4;19743:7;19729;:22::i;:::-;19725:152;;;19800:5;19768:12;;;;;;;;;;;-1:-1:-1;;;;;19768:29:0;;;;;;;;;;:37;;-1:-1:-1;;19768:37:0;;;19825:40;2254:10;;19768:12;;19825:40;;19800:5;19825:40;19654:230;;:::o;39806:187::-;39868:7;39900:1;39896;:5;39888:14;;;;;;39913:9;39925:5;39929:1;39925;:5;:::i;:::-;39913:17;-1:-1:-1;39945:5:0;39949:1;39945;:5;:::i;:::-;:10;39941:25;;39961:5;:1;39965;39961:5;:::i;:::-;39957:9;;39941:25;39984:1;39806:187;-1:-1:-1;;;39806:187:0:o;29021:591::-;-1:-1:-1;;;;;29105:21:0;;29097:67;;;;-1:-1:-1;;;29097:67:0;;10677:2:1;29097:67:0;;;10659:21:1;10716:2;10696:18;;;10689:30;10755:34;10735:18;;;10728:62;-1:-1:-1;;;10806:18:1;;;10799:31;10847:19;;29097:67:0;10649:223:1;29097:67:0;29177:49;29198:7;29215:1;29219:6;29177:20;:49::i;:::-;-1:-1:-1;;;;;29264:18:0;;29239:22;29264:18;;;:9;:18;;;;;;29301:24;;;;29293:71;;;;-1:-1:-1;;;29293:71:0;;7588:2:1;29293:71:0;;;7570:21:1;7627:2;7607:18;;;7600:30;7666:34;7646:18;;;7639:62;-1:-1:-1;;;7717:18:1;;;7710:32;7759:19;;29293:71:0;7560:224:1;29293:71:0;-1:-1:-1;;;;;29400:18:0;;;;;;:9;:18;;;;;29421:23;;;29400:44;;29466:12;:22;;29438:6;;29400:18;29466:22;;29438:6;;29466:22;:::i;:::-;;;;-1:-1:-1;;29506:37:0;;4937:25:1;;;29532:1:0;;-1:-1:-1;;;;;29506:37:0;;;;;4925:2:1;4910:18;29506:37:0;;;;;;;17065:147;;;:::o;39267:529::-;39442:12;;-1:-1:-1;;;;;39413:26:0;;;;;;:20;:26;;;;;;39457:15;;39413:41;;;:::i;:::-;:59;:129;;;;-1:-1:-1;;;;;;39518:24:0;;;;;;;:20;:24;;;;;;;39489:26;;;;;;;;:53;39413:129;39395:394;;;-1:-1:-1;;;;;39596:34:0;;;;;;:30;:34;;;;;;;;39595:35;39569:140;;;;-1:-1:-1;;;39569:140:0;;11079:2:1;39569:140:0;;;11061:21:1;11118:2;11098:18;;;11091:30;11157:34;11137:18;;;11130:62;-1:-1:-1;;;11208:18:1;;;11201:41;11259:19;;39569:140:0;11051:233:1;39569:140:0;-1:-1:-1;;;;;39751:26:0;;;;;;;:20;:26;;;;;;;39724:24;;;;;;;:53;39267:529;;;:::o;10552:451::-;10627:13;10653:19;10685:10;10689:6;10685:1;:10;:::i;:::-;:14;;10698:1;10685:14;:::i;:::-;10675:25;;;;;;-1:-1:-1;;;10675:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10675:25:0;;10653:47;;-1:-1:-1;;;10711:6:0;10718:1;10711:9;;;;;;-1:-1:-1;;;10711:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;10711:15:0;;;;;;;;;-1:-1:-1;;;10737:6:0;10744:1;10737:9;;;;;;-1:-1:-1;;;10737:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;10737:15:0;;;;;;;;-1:-1:-1;10768:9:0;10780:10;10784:6;10780:1;:10;:::i;:::-;:14;;10793:1;10780:14;:::i;:::-;10768:26;;10763:135;10800:1;10796;:5;10763:135;;;-1:-1:-1;;;10848:5:0;10856:3;10848:11;10835:25;;;;;-1:-1:-1;;;10835:25:0;;;;;;;;;;;;10823:6;10830:1;10823:9;;;;;;-1:-1:-1;;;10823:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;10823:37:0;;;;;;;;-1:-1:-1;10885:1:0;10875:11;;;;;10803:3;;;:::i;:::-;;;10763:135;;;-1:-1:-1;10916:10:0;;10908:55;;;;-1:-1:-1;;;10908:55:0;;5921:2:1;10908:55:0;;;5903:21:1;;;5940:18;;;5933:30;5999:34;5979:18;;;5972:62;6051:18;;10908:55:0;5893:182:1;14:257;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:398::-;344:6;352;405:2;393:9;384:7;380:23;376:32;373:2;;;426:6;418;411:22;373:2;470:9;457:23;489:31;514:5;489:31;:::i;:::-;539:5;-1:-1:-1;596:2:1;581:18;;568:32;609:33;568:32;609:33;:::i;:::-;661:7;651:17;;;363:311;;;;;:::o;679:466::-;756:6;764;772;825:2;813:9;804:7;800:23;796:32;793:2;;;846:6;838;831:22;793:2;890:9;877:23;909:31;934:5;909:31;:::i;:::-;959:5;-1:-1:-1;1016:2:1;1001:18;;988:32;1029:33;988:32;1029:33;:::i;:::-;783:362;;1081:7;;-1:-1:-1;;;1135:2:1;1120:18;;;;1107:32;;783:362::o;1150:325::-;1218:6;1226;1279:2;1267:9;1258:7;1254:23;1250:32;1247:2;;;1300:6;1292;1285:22;1247:2;1344:9;1331:23;1363:31;1388:5;1363:31;:::i;:::-;1413:5;1465:2;1450:18;;;;1437:32;;-1:-1:-1;;;1237:238:1:o;1480:293::-;1536:6;1589:2;1577:9;1568:7;1564:23;1560:32;1557:2;;;1610:6;1602;1595:22;1557:2;1654:9;1641:23;1707:5;1700:13;1693:21;1686:5;1683:32;1673:2;;1734:6;1726;1719:22;1778:190;1837:6;1890:2;1878:9;1869:7;1865:23;1861:32;1858:2;;;1911:6;1903;1896:22;1858:2;-1:-1:-1;1939:23:1;;1848:120;-1:-1:-1;1848:120:1:o;1973:325::-;2041:6;2049;2102:2;2090:9;2081:7;2077:23;2073:32;2070:2;;;2123:6;2115;2108:22;2070:2;2164:9;2151:23;2141:33;;2224:2;2213:9;2209:18;2196:32;2237:31;2262:5;2237:31;:::i;2303:306::-;2361:6;2414:2;2402:9;2393:7;2389:23;2385:32;2382:2;;;2435:6;2427;2420:22;2382:2;2466:23;;-1:-1:-1;;;;;;2518:32:1;;2508:43;;2498:2;;2570:6;2562;2555:22;3139:401;3224:6;3232;3240;3293:2;3281:9;3272:7;3268:23;3264:32;3261:2;;;3314:6;3306;3299:22;3261:2;3355:9;3342:23;3332:33;;3415:2;3404:9;3400:18;3387:32;3428:31;3453:5;3428:31;:::i;3545:258::-;3613:6;3621;3674:2;3662:9;3653:7;3649:23;3645:32;3642:2;;;3695:6;3687;3680:22;3642:2;-1:-1:-1;;3723:23:1;;;3793:2;3778:18;;;3765:32;;-1:-1:-1;3632:171:1:o;3808:786::-;4219:25;4214:3;4207:38;4189:3;4274:6;4268:13;4290:62;4345:6;4340:2;4335:3;4331:12;4324:4;4316:6;4312:17;4290:62;:::i;:::-;-1:-1:-1;;;4411:2:1;4371:16;;;4403:11;;;4396:40;4461:13;;4483:63;4461:13;4532:2;4524:11;;4517:4;4505:17;;4483:63;:::i;:::-;4566:17;4585:2;4562:26;;4197:397;-1:-1:-1;;;;4197:397:1:o;4973:383::-;5122:2;5111:9;5104:21;5085:4;5154:6;5148:13;5197:6;5192:2;5181:9;5177:18;5170:34;5213:66;5272:6;5267:2;5256:9;5252:18;5247:2;5239:6;5235:15;5213:66;:::i;:::-;5340:2;5319:15;-1:-1:-1;;5315:29:1;5300:45;;;;5347:2;5296:54;;5094:262;-1:-1:-1;;5094:262:1:o;6968:413::-;7170:2;7152:21;;;7209:2;7189:18;;;7182:30;7248:34;7243:2;7228:18;;7221:62;-1:-1:-1;;;7314:2:1;7299:18;;7292:47;7371:3;7356:19;;7142:239::o;9284:419::-;9486:2;9468:21;;;9525:2;9505:18;;;9498:30;9564:34;9559:2;9544:18;;9537:62;9635:25;9630:2;9615:18;;9608:53;9693:3;9678:19;;9458:245::o;15667:128::-;15707:3;15738:1;15734:6;15731:1;15728:13;15725:2;;;15744:18;;:::i;:::-;-1:-1:-1;15780:9:1;;15715:80::o;15800:120::-;15840:1;15866;15856:2;;15871:18;;:::i;:::-;-1:-1:-1;15905:9:1;;15846:74::o;15925:168::-;15965:7;16031:1;16027;16023:6;16019:14;16016:1;16013:21;16008:1;16001:9;15994:17;15990:45;15987:2;;;16038:18;;:::i;:::-;-1:-1:-1;16078:9:1;;15977:116::o;16098:125::-;16138:4;16166:1;16163;16160:8;16157:2;;;16171:18;;:::i;:::-;-1:-1:-1;16208:9:1;;16147:76::o;16228:258::-;16300:1;16310:113;16324:6;16321:1;16318:13;16310:113;;;16400:11;;;16394:18;16381:11;;;16374:39;16346:2;16339:10;16310:113;;;16441:6;16438:1;16435:13;16432:2;;;-1:-1:-1;;16476:1:1;16458:16;;16451:27;16281:205::o;16491:136::-;16530:3;16558:5;16548:2;;16567:18;;:::i;:::-;-1:-1:-1;;;16603:18:1;;16538:89::o;16632:380::-;16711:1;16707:12;;;;16754;;;16775:2;;16829:4;16821:6;16817:17;16807:27;;16775:2;16882;16874:6;16871:14;16851:18;16848:38;16845:2;;;16928:10;16923:3;16919:20;16916:1;16909:31;16963:4;16960:1;16953:15;16991:4;16988:1;16981:15;16845:2;;16687:325;;;:::o;17017:112::-;17049:1;17075;17065:2;;17080:18;;:::i;:::-;-1:-1:-1;17114:9:1;;17055:74::o;17134:127::-;17195:10;17190:3;17186:20;17183:1;17176:31;17226:4;17223:1;17216:15;17250:4;17247:1;17240:15;17266:127;17327:10;17322:3;17318:20;17315:1;17308:31;17358:4;17355:1;17348:15;17382:4;17379:1;17372:15;17398:131;-1:-1:-1;;;;;17473:31:1;;17463:42;;17453:2;;17519:1;17516;17509:12;17453:2;17443:86;:::o
Swarm Source
ipfs://0cc61aeee773cea25388aa289c38fc7a9a41565deaf48a4f4090233079c9d747
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.