Token Burrow Token
Overview CRC20
Price
$0.00 @ 0.004689 CRO (+0.21%)
Fully Diluted Market Cap
Total Supply:
273,184,606.253846 BURROW
Holders:
2,101 addresses
Contract:
Decimals:
18
Official Site:
[ Download CSV Export ]
[ Download CSV Export ]
OVERVIEW
MM.Finance has the largest ecosystem on Cronos with its DEX, Yield Optimizer, NFT, Algo Stablecoin & DTF.Market
Volume (24H) | : | $2,284.42 |
Market Capitalization | : | $0.00 |
Circulating Supply | : | 0.00 BURROW |
Market Data Source: Coinmarketcap |
Update? Click here to update the token ICO / general information
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | MMFinance (Cronos) | 0X49AB7CA4D2CF6777C8C56C5E9EDB7D1218AE1299-0X97749C9B61F878A880DFE312D2594AE07AED7656 | $0.0007 0.0000000 Btc | $1,290.23 1,789,407.178 0X49AB7CA4D2CF6777C8C56C5E9EDB7D1218AE1299 | 55.9474% |
2 | MMFinance (Cronos) | 0X49AB7CA4D2CF6777C8C56C5E9EDB7D1218AE1299-0X654BAC3EC77D6DB497892478F854CF6E8245DCA9 | $0.0007 0.0000000 Btc | $994.47 1,408,966.371 0X49AB7CA4D2CF6777C8C56C5E9EDB7D1218AE1299 | 44.0526% |
Contract Name:
BurrowToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-05-05 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor() internal {} function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), 'Ownable: caller is not the owner'); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), 'Ownable: new owner is the zero address'); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); function preMineSupply() external view returns (uint256); function maxSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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); } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, 'SafeMath: addition overflow'); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, 'SafeMath: subtraction overflow'); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, 'SafeMath: multiplication overflow'); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, 'SafeMath: division by zero'); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, 'SafeMath: modulo by zero'); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } function min(uint256 x, uint256 y) internal pure returns (uint256 z) { z = x < y ? x : y; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, 'Address: insufficient balance'); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(''); require(success, 'Address: unable to send value, recipient may have reverted'); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, 'Address: low-level call failed'); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, 'Address: low-level call with value failed'); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, 'Address: insufficient balance for call'); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue( address target, bytes memory data, uint256 weiValue, string memory errorMessage ) private returns (bytes memory) { require(isContract(target), 'Address: call to non-contract'); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: weiValue}(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract BEP20 is Context, IBEP20, Ownable { uint256 private constant _preMineSupply = 20000000 * 1e18; uint256 private constant _maxSupply = 300000000 * 1e18; using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; _mint(msg.sender, _preMineSupply); } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } function preMineSupply() public override view returns (uint256) { return _preMineSupply; } function maxSupply() public override view returns (uint256) { return _maxSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-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 override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * 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 override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance') ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-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 returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero') ); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal { require(sender != address(0), 'BEP20: transfer from the zero address'); require(recipient != address(0), 'BEP20: transfer to the zero address'); _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance'); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal returns(bool) { require(account != address(0), 'BEP20: mint to the zero address'); if (amount.add(_totalSupply) > _maxSupply) { return false; } _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), 'BEP20: burn from the zero address'); _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance'); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal { require(owner != address(0), 'BEP20: approve from the zero address'); require(spender != address(0), 'BEP20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve( account, _msgSender(), _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance') ); } } library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, 'EnumerableSet: index out of bounds'); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // Burrow token contract BurrowToken is BEP20('Burrow Token', 'BURROW') { using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _minters; /// @notice Creates `_amount` token to `_to`. function mint(address _to, uint256 _amount) public onlyMinter returns(bool) { _mint(_to, _amount); return true; } function addMinter(address _addMinter) public onlyOwner returns (bool) { require(_addMinter != address(0), "BURROW: _addMinter is the zero address"); return EnumerableSet.add(_minters, _addMinter); } function delMinter(address _delMinter) public onlyOwner returns (bool) { require(_delMinter != address(0), "BURROW: _delMinter is the zero address"); return EnumerableSet.remove(_minters, _delMinter); } function getMinterLength() public view returns (uint256) { return EnumerableSet.length(_minters); } function isMinter(address account) public view returns (bool) { return EnumerableSet.contains(_minters, account); } function getMinter(uint256 _index) public view onlyOwner returns (address){ require(_index <= getMinterLength() - 1, "BURROW: index out of bounds"); return EnumerableSet.at(_minters, _index); } // modifier for mint function modifier onlyMinter() { require(isMinter(msg.sender), "caller is not the minter"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_addMinter","type":"address"}],"name":"addMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"address","name":"_delMinter","type":"address"}],"name":"delMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMineSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600c81526020016b213ab93937bb902a37b5b2b760a11b81525060405180604001604052806006815260200165425552524f5760d01b8152506000620000686200010b60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000c7906004906020850190620002b3565b508051620000dd906005906020840190620002b3565b506006805460ff1916601217905562000102336a108b2a2c280290940000006200010f565b5050506200034f565b3390565b60006001600160a01b0383166200016d576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6af8277896582678ac00000062000195600354846200025160201b62000bc31790919060201c565b1115620001a5575060006200024b565b620001c1826003546200025160201b62000bc31790919060201c565b6003556001600160a01b038316600090815260016020908152604090912054620001f691849062000bc362000251821b17901c565b6001600160a01b03841660008181526001602090815260408083209490945583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b92915050565b600082820183811015620002ac576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002f657805160ff191683800117855562000326565b8280016001018555821562000326579182015b828111156200032657825182559160200191906001019062000309565b506200033492915062000338565b5090565b5b8082111562000334576000815560010162000339565b611474806200035f6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063a457c2d71161008c578063d5abeb0111610066578063d5abeb0114610470578063dd62ed3e14610478578063f2fde38b146104a65761018d565b8063a457c2d7146103f2578063a9059cbb1461041e578063aa271e1a1461044a5761018d565b80638da5cb5b116100bd5780638da5cb5b146103bc57806395d89b41146103c4578063983b2d56146103cc5761018d565b806370a0823114610384578063715018a6146103aa578063893d20e8146103b45761018d565b806323338b8811610145578063395093511161011f57806339509351146102f357806340c10f191461031f5780635b7121f81461034b5761018d565b806323338b881461027957806323b872dd1461029f578063313ce567146102d55761018d565b8063095ea7b311610176578063095ea7b3146102295780630c16ea831461026957806318160ddd146102715761018d565b80630323aac71461019257806306fdde03146101ac575b600080fd5b61019a6104cc565b60408051918252519081900360200190f35b6101b46104dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ee5781810151838201526020016101d6565b50505050905090810190601f16801561021b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102556004803603604081101561023f57600080fd5b506001600160a01b038135169060200135610573565b604080519115158252519081900360200190f35b61019a610591565b61019a6105a0565b6102556004803603602081101561028f57600080fd5b50356001600160a01b03166105a6565b610255600480360360608110156102b557600080fd5b506001600160a01b03813581169160208101359091169060400135610662565b6102dd6106e9565b6040805160ff9092168252519081900360200190f35b6102556004803603604081101561030957600080fd5b506001600160a01b0381351690602001356106f2565b6102556004803603604081101561033557600080fd5b506001600160a01b038135169060200135610740565b6103686004803603602081101561036157600080fd5b50356107a6565b604080516001600160a01b039092168252519081900360200190f35b61019a6004803603602081101561039a57600080fd5b50356001600160a01b031661087c565b6103b2610897565b005b610368610958565b61036861095e565b6101b461096d565b610255600480360360208110156103e257600080fd5b50356001600160a01b03166109ce565b6102556004803603604081101561040857600080fd5b506001600160a01b038135169060200135610a8a565b6102556004803603604081101561043457600080fd5b506001600160a01b038135169060200135610af2565b6102556004803603602081101561046057600080fd5b50356001600160a01b0316610b06565b61019a610b13565b61019a6004803603604081101561048e57600080fd5b506001600160a01b0381358116916020013516610b22565b6103b2600480360360208110156104bc57600080fd5b50356001600160a01b0316610b4d565b60006104d86007610c24565b905090565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b6000610587610580610c2f565b8484610c33565b5060015b92915050565b6a108b2a2c2802909400000090565b60035490565b60006105b0610c2f565b6000546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166106575760405162461bcd60e51b815260040180806020018281038252602681526020018061133b6026913960400191505060405180910390fd5b61058b600783610d1f565b600061066f848484610d34565b6106df8461067b610c2f565b6106da85604051806060016040528060288152602001611361602891396001600160a01b038a166000908152600260205260408120906106b9610c2f565b6001600160a01b031681526020810191909152604001600020549190610e86565b610c33565b5060019392505050565b60065460ff1690565b60006105876106ff610c2f565b846106da8560026000610710610c2f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610bc3565b600061074b33610b06565b61079c576040805162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206d696e7465720000000000000000604482015290519081900360640190fd5b6106df8383610f1d565b60006107b0610c2f565b6000546001600160a01b03908116911614610812576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600161081c6104cc565b03821115610871576040805162461bcd60e51b815260206004820152601b60248201527f425552524f573a20696e646578206f7574206f6620626f756e64730000000000604482015290519081900360640190fd5b61058b600783611036565b6001600160a01b031660009081526001602052604090205490565b61089f610c2f565b6000546001600160a01b03908116911614610901576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60006104d85b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105695780601f1061053e57610100808354040283529160200191610569565b60006109d8610c2f565b6000546001600160a01b03908116911614610a3a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038216610a7f5760405162461bcd60e51b81526004018080602001828103825260268152602001806113896026913960400191505060405180910390fd5b61058b600783611042565b6000610587610a97610c2f565b846106da856040518060600160405280602581526020016113f86025913960026000610ac1610c2f565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e86565b6000610587610aff610c2f565b8484610d34565b600061058b600783611057565b6af8277896582678ac00000090565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610b55610c2f565b6000546001600160a01b03908116911614610bb7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610bc08161106c565b50565b600082820183811015610c1d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061058b82611119565b3390565b6001600160a01b038316610c785760405162461bcd60e51b81526004018080602001828103825260248152602001806112f16024913960400191505060405180910390fd5b6001600160a01b038216610cbd5760405162461bcd60e51b815260040180806020018281038252602281526020018061141d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610c1d836001600160a01b03841661111d565b6001600160a01b038316610d795760405162461bcd60e51b81526004018080602001828103825260258152602001806112cc6025913960400191505060405180910390fd5b6001600160a01b038216610dbe5760405162461bcd60e51b81526004018080602001828103825260238152602001806113d56023913960400191505060405180910390fd5b610dfb816040518060600160405280602681526020016113af602691396001600160a01b0386166000908152600160205260409020549190610e86565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610e2a9082610bc3565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610f155760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610eda578181015183820152602001610ec2565b50505050905090810190601f168015610f075780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60006001600160a01b038316610f7a576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6af8277896582678ac000000610f9b60035484610bc390919063ffffffff16565b1115610fa95750600061058b565b600354610fb69083610bc3565b6003556001600160a01b038316600090815260016020526040902054610fdc9083610bc3565b6001600160a01b03841660008181526001602090815260408083209490945583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a392915050565b6000610c1d83836111e3565b6000610c1d836001600160a01b038416611247565b6000610c1d836001600160a01b038416611291565b6001600160a01b0381166110b15760405162461bcd60e51b81526004018080602001828103825260268152602001806113156026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5490565b600081815260018301602052604081205480156111d9578354600019808301919081019060009087908390811061115057fe5b906000526020600020015490508087600001848154811061116d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061119d57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061058b565b600091505061058b565b815460009082106112255760405162461bcd60e51b81526004018080602001828103825260228152602001806112aa6022913960400191505060405180910390fd5b82600001828154811061123457fe5b9060005260206000200154905092915050565b60006112538383611291565b6112895750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561058b565b50600061058b565b6000908152600191909101602052604090205415159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647342455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373425552524f573a205f64656c4d696e74657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365425552524f573a205f6164644d696e74657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220a9a0d95e9ad1a31b533c442195a79ea2f55cf7e7f4d47e38afbae5136cfc274d64736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063a457c2d71161008c578063d5abeb0111610066578063d5abeb0114610470578063dd62ed3e14610478578063f2fde38b146104a65761018d565b8063a457c2d7146103f2578063a9059cbb1461041e578063aa271e1a1461044a5761018d565b80638da5cb5b116100bd5780638da5cb5b146103bc57806395d89b41146103c4578063983b2d56146103cc5761018d565b806370a0823114610384578063715018a6146103aa578063893d20e8146103b45761018d565b806323338b8811610145578063395093511161011f57806339509351146102f357806340c10f191461031f5780635b7121f81461034b5761018d565b806323338b881461027957806323b872dd1461029f578063313ce567146102d55761018d565b8063095ea7b311610176578063095ea7b3146102295780630c16ea831461026957806318160ddd146102715761018d565b80630323aac71461019257806306fdde03146101ac575b600080fd5b61019a6104cc565b60408051918252519081900360200190f35b6101b46104dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ee5781810151838201526020016101d6565b50505050905090810190601f16801561021b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102556004803603604081101561023f57600080fd5b506001600160a01b038135169060200135610573565b604080519115158252519081900360200190f35b61019a610591565b61019a6105a0565b6102556004803603602081101561028f57600080fd5b50356001600160a01b03166105a6565b610255600480360360608110156102b557600080fd5b506001600160a01b03813581169160208101359091169060400135610662565b6102dd6106e9565b6040805160ff9092168252519081900360200190f35b6102556004803603604081101561030957600080fd5b506001600160a01b0381351690602001356106f2565b6102556004803603604081101561033557600080fd5b506001600160a01b038135169060200135610740565b6103686004803603602081101561036157600080fd5b50356107a6565b604080516001600160a01b039092168252519081900360200190f35b61019a6004803603602081101561039a57600080fd5b50356001600160a01b031661087c565b6103b2610897565b005b610368610958565b61036861095e565b6101b461096d565b610255600480360360208110156103e257600080fd5b50356001600160a01b03166109ce565b6102556004803603604081101561040857600080fd5b506001600160a01b038135169060200135610a8a565b6102556004803603604081101561043457600080fd5b506001600160a01b038135169060200135610af2565b6102556004803603602081101561046057600080fd5b50356001600160a01b0316610b06565b61019a610b13565b61019a6004803603604081101561048e57600080fd5b506001600160a01b0381358116916020013516610b22565b6103b2600480360360208110156104bc57600080fd5b50356001600160a01b0316610b4d565b60006104d86007610c24565b905090565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b6000610587610580610c2f565b8484610c33565b5060015b92915050565b6a108b2a2c2802909400000090565b60035490565b60006105b0610c2f565b6000546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166106575760405162461bcd60e51b815260040180806020018281038252602681526020018061133b6026913960400191505060405180910390fd5b61058b600783610d1f565b600061066f848484610d34565b6106df8461067b610c2f565b6106da85604051806060016040528060288152602001611361602891396001600160a01b038a166000908152600260205260408120906106b9610c2f565b6001600160a01b031681526020810191909152604001600020549190610e86565b610c33565b5060019392505050565b60065460ff1690565b60006105876106ff610c2f565b846106da8560026000610710610c2f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610bc3565b600061074b33610b06565b61079c576040805162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206d696e7465720000000000000000604482015290519081900360640190fd5b6106df8383610f1d565b60006107b0610c2f565b6000546001600160a01b03908116911614610812576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600161081c6104cc565b03821115610871576040805162461bcd60e51b815260206004820152601b60248201527f425552524f573a20696e646578206f7574206f6620626f756e64730000000000604482015290519081900360640190fd5b61058b600783611036565b6001600160a01b031660009081526001602052604090205490565b61089f610c2f565b6000546001600160a01b03908116911614610901576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60006104d85b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105695780601f1061053e57610100808354040283529160200191610569565b60006109d8610c2f565b6000546001600160a01b03908116911614610a3a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038216610a7f5760405162461bcd60e51b81526004018080602001828103825260268152602001806113896026913960400191505060405180910390fd5b61058b600783611042565b6000610587610a97610c2f565b846106da856040518060600160405280602581526020016113f86025913960026000610ac1610c2f565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e86565b6000610587610aff610c2f565b8484610d34565b600061058b600783611057565b6af8277896582678ac00000090565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610b55610c2f565b6000546001600160a01b03908116911614610bb7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610bc08161106c565b50565b600082820183811015610c1d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061058b82611119565b3390565b6001600160a01b038316610c785760405162461bcd60e51b81526004018080602001828103825260248152602001806112f16024913960400191505060405180910390fd5b6001600160a01b038216610cbd5760405162461bcd60e51b815260040180806020018281038252602281526020018061141d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610c1d836001600160a01b03841661111d565b6001600160a01b038316610d795760405162461bcd60e51b81526004018080602001828103825260258152602001806112cc6025913960400191505060405180910390fd5b6001600160a01b038216610dbe5760405162461bcd60e51b81526004018080602001828103825260238152602001806113d56023913960400191505060405180910390fd5b610dfb816040518060600160405280602681526020016113af602691396001600160a01b0386166000908152600160205260409020549190610e86565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610e2a9082610bc3565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610f155760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610eda578181015183820152602001610ec2565b50505050905090810190601f168015610f075780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60006001600160a01b038316610f7a576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6af8277896582678ac000000610f9b60035484610bc390919063ffffffff16565b1115610fa95750600061058b565b600354610fb69083610bc3565b6003556001600160a01b038316600090815260016020526040902054610fdc9083610bc3565b6001600160a01b03841660008181526001602090815260408083209490945583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a392915050565b6000610c1d83836111e3565b6000610c1d836001600160a01b038416611247565b6000610c1d836001600160a01b038416611291565b6001600160a01b0381166110b15760405162461bcd60e51b81526004018080602001828103825260268152602001806113156026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5490565b600081815260018301602052604081205480156111d9578354600019808301919081019060009087908390811061115057fe5b906000526020600020015490508087600001848154811061116d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061119d57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061058b565b600091505061058b565b815460009082106112255760405162461bcd60e51b81526004018080602001828103825260228152602001806112aa6022913960400191505060405180910390fd5b82600001828154811061123457fe5b9060005260206000200154905092915050565b60006112538383611291565b6112895750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561058b565b50600061058b565b6000908152600191909101602052604090205415159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647342455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373425552524f573a205f64656c4d696e74657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365425552524f573a205f6164644d696e74657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220a9a0d95e9ad1a31b533c442195a79ea2f55cf7e7f4d47e38afbae5136cfc274d64736f6c634300060c0033
Deployed ByteCode Sourcemap
33791:1456:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34617:113;;;:::i;:::-;;;;;;;;;;;;;;;;18636:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20339:161;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20339:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;19220:104;;;:::i;19112:100::-;;;:::i;34384:225::-;;;;;;;;;;;;;;;;-1:-1:-1;34384:225:0;-1:-1:-1;;;;;34384:225:0;;:::i;20971:397::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20971:397:0;;;;;;;;;;;;;;;;;:::i;18795:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21776:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21776:210:0;;;;;;;;:::i;34010:136::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34010:136:0;;;;;;;;:::i;34875:216::-;;;;;;;;;;;;;;;;-1:-1:-1;34875:216:0;;:::i;:::-;;;;-1:-1:-1;;;;;34875:216:0;;;;;;;;;;;;;;19490:119;;;;;;;;;;;;;;;;-1:-1:-1;19490:119:0;-1:-1:-1;;;;;19490:119:0;;:::i;1751:140::-;;;:::i;:::-;;18479:94;;;:::i;1109:79::-;;;:::i;18952:96::-;;;:::i;34154:222::-;;;;;;;;;;;;;;;;-1:-1:-1;34154:222:0;-1:-1:-1;;;;;34154:222:0;;:::i;22488:311::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22488:311:0;;;;;;;;:::i;19821:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19821:167:0;;;;;;;;:::i;34738:129::-;;;;;;;;;;;;;;;;-1:-1:-1;34738:129:0;-1:-1:-1;;;;;34738:129:0;;:::i;19332:96::-;;;:::i;20050:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20050:143:0;;;;;;;;;;:::i;2046:109::-;;;;;;;;;;;;;;;;-1:-1:-1;2046:109:0;-1:-1:-1;;;;;2046:109:0;;:::i;34617:113::-;34665:7;34692:30;34713:8;34692:20;:30::i;:::-;34685:37;;34617:113;:::o;18636:92::-;18715:5;18708:12;;;;;;;;-1:-1:-1;;18708:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18682:13;;18708:12;;18715:5;;18708:12;;18715:5;18708:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18636:92;:::o;20339:161::-;20414:4;20431:39;20440:12;:10;:12::i;:::-;20454:7;20463:6;20431:8;:39::i;:::-;-1:-1:-1;20488:4:0;20339:161;;;;;:::o;19220:104::-;17488:15;19220:104;:::o;19112:100::-;19192:12;;19112:100;:::o;34384:225::-;34449:4;1331:12;:10;:12::i;:::-;1321:6;;-1:-1:-1;;;;;1321:6:0;;;:22;;;1313:67;;;;;-1:-1:-1;;;1313:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34474:24:0;::::1;34466:75;;;;-1:-1:-1::0;;;34466:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34559:42;34580:8;34590:10;34559:20;:42::i;20971:397::-:0;21103:4;21120:36;21130:6;21138:9;21149:6;21120:9;:36::i;:::-;21167:171;21190:6;21211:12;:10;:12::i;:::-;21238:89;21276:6;21238:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21238:19:0;;;;;;:11;:19;;;;;;21258:12;:10;:12::i;:::-;-1:-1:-1;;;;;21238:33:0;;;;;;;;;;;;-1:-1:-1;21238:33:0;;;:89;:37;:89::i;:::-;21167:8;:171::i;:::-;-1:-1:-1;21356:4:0;20971:397;;;;;:::o;18795:92::-;18870:9;;;;18795:92;:::o;21776:210::-;21856:4;21873:83;21882:12;:10;:12::i;:::-;21896:7;21905:50;21944:10;21905:11;:25;21917:12;:10;:12::i;:::-;-1:-1:-1;;;;;21905:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21905:25:0;;;:34;;;;;;;;;;;:38;:50::i;34010:136::-;34080:4;35175:20;35184:10;35175:8;:20::i;:::-;35167:57;;;;;-1:-1:-1;;;35167:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34097:19:::1;34103:3;34108:7;34097:5;:19::i;34875:216::-:0;34941:7;1331:12;:10;:12::i;:::-;1321:6;;-1:-1:-1;;;;;1321:6:0;;;:22;;;1313:67;;;;;-1:-1:-1;;;1313:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34998:1:::1;34978:17;:15;:17::i;:::-;:21;34968:6;:31;;34960:71;;;::::0;;-1:-1:-1;;;34960:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;35049:34;35066:8;35076:6;35049:16;:34::i;19490:119::-:0;-1:-1:-1;;;;;19583:18:0;19556:7;19583:18;;;:9;:18;;;;;;;19490:119::o;1751:140::-;1331:12;:10;:12::i;:::-;1321:6;;-1:-1:-1;;;;;1321:6:0;;;:22;;;1313:67;;;;;-1:-1:-1;;;1313:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1850:1:::1;1834:6:::0;;1813:40:::1;::::0;-1:-1:-1;;;;;1834:6:0;;::::1;::::0;1813:40:::1;::::0;1850:1;;1813:40:::1;1881:1;1864:19:::0;;-1:-1:-1;;1864:19:0::1;::::0;;1751:140::o;18479:94::-;18531:7;18558;1109:79;1147:7;1174:6;-1:-1:-1;;;;;1174:6:0;1109:79;:::o;18952:96::-;19033:7;19026:14;;;;;;;;-1:-1:-1;;19026:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19000:13;;19026:14;;19033:7;;19026:14;;19033:7;19026:14;;;;;;;;;;;;;;;;;;;;;;;;34154:222;34219:4;1331:12;:10;:12::i;:::-;1321:6;;-1:-1:-1;;;;;1321:6:0;;;:22;;;1313:67;;;;;-1:-1:-1;;;1313:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34244:24:0;::::1;34236:75;;;;-1:-1:-1::0;;;34236:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34329:39;34347:8;34357:10;34329:17;:39::i;22488:311::-:0;22573:4;22590:179;22613:12;:10;:12::i;:::-;22640:7;22662:96;22701:15;22662:96;;;;;;;;;;;;;;;;;:11;:25;22674:12;:10;:12::i;:::-;-1:-1:-1;;;;;22662:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;22662:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19821:167::-;19899:4;19916:42;19926:12;:10;:12::i;:::-;19940:9;19951:6;19916:9;:42::i;34738:129::-;34794:4;34818:41;34841:8;34851:7;34818:22;:41::i;19332:96::-;17548:16;19332:96;:::o;20050:143::-;-1:-1:-1;;;;;20158:18:0;;;20131:7;20158:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;20050:143::o;2046:109::-;1331:12;:10;:12::i;:::-;1321:6;;-1:-1:-1;;;;;1321:6:0;;;:22;;;1313:67;;;;;-1:-1:-1;;;1313:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2119:28:::1;2138:8;2119:18;:28::i;:::-;2046:109:::0;:::o;6031:181::-;6089:7;6121:5;;;6145:6;;;;6137:46;;;;;-1:-1:-1;;;6137:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6203:1;6031:181;-1:-1:-1;;;6031:181:0:o;31532:117::-;31595:7;31622:19;31630:3;31622:7;:19::i;273:98::-;353:10;273:98;:::o;25609:372::-;-1:-1:-1;;;;;25737:19:0;;25729:68;;;;-1:-1:-1;;;25729:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25816:21:0;;25808:68;;;;-1:-1:-1;;;25808:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25889:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25941:32;;;;;;;;;;;;;;;;;25609:372;;;:::o;31053:149::-;31126:4;31150:44;31158:3;-1:-1:-1;;;;;31178:14:0;;31150:7;:44::i;23289:505::-;-1:-1:-1;;;;;23421:20:0;;23413:70;;;;-1:-1:-1;;;23413:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23502:23:0;;23494:71;;;;-1:-1:-1;;;23494:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23598;23620:6;23598:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23598:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;23578:17:0;;;;;;;:9;:17;;;;;;:91;;;;23703:20;;;;;;;:32;;23728:6;23703:24;:32::i;:::-;-1:-1:-1;;;;;23680:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;23751:35;;;;;;;23680:20;;23751:35;;;;;;;;;;;;;23289:505;;;:::o;6934:226::-;7054:7;7090:12;7082:6;;;;7074:29;;;;-1:-1:-1;;;7074:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7126:5:0;;;6934:226::o;24075:414::-;24140:4;-1:-1:-1;;;;;24165:21:0;;24157:65;;;;;-1:-1:-1;;;24157:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17548:16;24237:24;24248:12;;24237:6;:10;;:24;;;;:::i;:::-;:37;24233:82;;;-1:-1:-1;24298:5:0;24291:12;;24233:82;24342:12;;:24;;24359:6;24342:16;:24::i;:::-;24327:12;:39;-1:-1:-1;;;;;24398:18:0;;;;;;:9;:18;;;;;;:30;;24421:6;24398:22;:30::i;:::-;-1:-1:-1;;;;;24377:18:0;;;;;;:9;:18;;;;;;;;:51;;;;24444:37;;;;;;;24377:18;;;;24444:37;;;;;;;;;;24075:414;;;;:::o;32003:149::-;32077:7;32120:22;32124:3;32136:5;32120:3;:22::i;30734:143::-;30804:4;30828:41;30833:3;-1:-1:-1;;;;;30853:14:0;;30828:4;:41::i;31288:158::-;31368:4;31392:46;31402:3;-1:-1:-1;;;;;31422:14:0;;31392:9;:46::i;2261:229::-;-1:-1:-1;;;;;2335:22:0;;2327:73;;;;-1:-1:-1;;;2327:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2437:6;;;2416:38;;-1:-1:-1;;;;;2416:38:0;;;;2437:6;;;2416:38;;;2465:6;:17;;-1:-1:-1;;2465:17:0;-1:-1:-1;;;;;2465:17:0;;;;;;;;;;2261:229::o;29813:109::-;29896:18;;29813:109::o;27955:1557::-;28021:4;28160:19;;;:12;;;:19;;;;;;28196:15;;28192:1313;;28644:18;;-1:-1:-1;;28595:14:0;;;;28644:22;;;;28571:21;;28644:3;;:22;;28931;;;;;;;;;;;;;;28911:42;;29077:9;29048:3;:11;;29060:13;29048:26;;;;;;;;;;;;;;;;;;;:38;;;;29154:23;;;29196:1;29154:12;;;:23;;;;;;29180:17;;;29154:43;;29306:17;;29154:3;;29306:17;;;;;;;;;;;;;;;;;;;;;;29401:3;:12;;:19;29414:5;29401:19;;;;;;;;;;;29394:26;;;29444:4;29437:11;;;;;;;;28192:1313;29488:5;29481:12;;;;;30276:204;30371:18;;30343:7;;30371:26;-1:-1:-1;30363:73:0;;;;-1:-1:-1;;;30363:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30454:3;:11;;30466:5;30454:18;;;;;;;;;;;;;;;;30447:25;;30276:204;;;;:::o;27365:414::-;27428:4;27450:21;27460:3;27465:5;27450:9;:21::i;:::-;27445:327;;-1:-1:-1;27488:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;27671:18;;27649:19;;;:12;;;:19;;;;;;:40;;;;27704:11;;27445:327;-1:-1:-1;27755:5:0;27748:12;;29598:129;29671:4;29695:19;;;:12;;;;;:19;;;;;;:24;;;29598:129::o
Swarm Source
ipfs://a9a0d95e9ad1a31b533c442195a79ea2f55cf7e7f4d47e38afbae5136cfc274d