Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,821 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24215733 | 38 days ago | IN | 0 ETH | 0.00000328 | ||||
| Approve | 24215728 | 38 days ago | IN | 0 ETH | 0.00000563 | ||||
| Transfer | 23866479 | 87 days ago | IN | 0 ETH | 0.00002709 | ||||
| Approve | 23754937 | 102 days ago | IN | 0 ETH | 0.00000761 | ||||
| Approve | 23754903 | 102 days ago | IN | 0 ETH | 0.00000691 | ||||
| Transfer | 23648115 | 117 days ago | IN | 0 ETH | 0.00011043 | ||||
| Transfer | 23354418 | 158 days ago | IN | 0 ETH | 0.00002011 | ||||
| Approve | 23335791 | 161 days ago | IN | 0 ETH | 0.00001545 | ||||
| Approve | 23335790 | 161 days ago | IN | 0 ETH | 0.00001574 | ||||
| Approve | 23262563 | 171 days ago | IN | 0 ETH | 0.00002942 | ||||
| Approve | 23198327 | 180 days ago | IN | 0 ETH | 0.00012084 | ||||
| Approve | 23198312 | 180 days ago | IN | 0 ETH | 0.00013318 | ||||
| Transfer | 22984277 | 210 days ago | IN | 0 ETH | 0.00017352 | ||||
| Approve | 22966912 | 213 days ago | IN | 0 ETH | 0.00009345 | ||||
| Approve | 22966911 | 213 days ago | IN | 0 ETH | 0.00009233 | ||||
| Approve | 22888865 | 223 days ago | IN | 0 ETH | 0.00011277 | ||||
| Transfer | 22869952 | 226 days ago | IN | 0 ETH | 0.00010748 | ||||
| Approve | 22746004 | 243 days ago | IN | 0 ETH | 0.00008168 | ||||
| Approve | 22729827 | 246 days ago | IN | 0 ETH | 0.00001683 | ||||
| Approve | 22703308 | 249 days ago | IN | 0 ETH | 0.00002727 | ||||
| Approve | 22703307 | 249 days ago | IN | 0 ETH | 0.00002724 | ||||
| Approve | 21993467 | 349 days ago | IN | 0 ETH | 0.00002887 | ||||
| Approve | 21904631 | 361 days ago | IN | 0 ETH | 0.00002177 | ||||
| Approve | 21904629 | 361 days ago | IN | 0 ETH | 0.00002177 | ||||
| Approve | 21904623 | 361 days ago | IN | 0 ETH | 0.00002177 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Share
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-12-15
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
/**
* @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);
}
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies in extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @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);
}
}
}
}
/**
* @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 guidelines: functions revert instead
* of 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 {
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;
}
/**
* @dev Returns the name of the token.
*/
function name() public view returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view 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);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_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 virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: 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 internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal {
_decimals = decimals_;
}
/**
* @dev 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 to 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 Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");
_approve(account, _msgSender(), decreasedAllowance);
_burn(account, amount);
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
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 virtual 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 virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
contract Operator is Context, Ownable {
address private _operator;
event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
constructor() internal {
_operator = _msgSender();
emit OperatorTransferred(address(0), _operator);
}
function operator() public view returns (address) {
return _operator;
}
modifier onlyOperator() {
require(_operator == msg.sender, "operator: caller is not the operator");
_;
}
function isOperator() public view returns (bool) {
return _msgSender() == _operator;
}
function transferOperator(address newOperator_) public onlyOwner {
_transferOperator(newOperator_);
}
function _transferOperator(address newOperator_) internal {
require(newOperator_ != address(0), "operator: zero address given for new operator");
emit OperatorTransferred(address(0), newOperator_);
_operator = newOperator_;
}
}
contract Share is ERC20Burnable, Operator {
using SafeMath for uint256;
uint256 public constant FARMING_POOL_REWARD_ALLOCATION = 800000 ether;
uint256 public constant TREASURY_FUND_POOL_ALLOCATION = 100000 ether;
uint256 public constant DEV_FUND_POOL_ALLOCATION = 99999 ether;
uint256 public constant VESTING_DURATION = 365 days;
uint256 public startTime = 1608040800; // Tuesday, December 15, 2020 2:00:00 PM UTC
uint256 public endTime = startTime + VESTING_DURATION; // Wednesday, December 15, 2021 2:00:00 PM
uint256 public treasuryFundRewardRate = TREASURY_FUND_POOL_ALLOCATION / VESTING_DURATION;
uint256 public devFundRewardRate = DEV_FUND_POOL_ALLOCATION / VESTING_DURATION;
address public treasuryFund;
address public devFund;
uint256 public treasuryFundLastClaimed = startTime;
uint256 public devFundLastClaimed = startTime;
bool public rewardPoolDistributed = false;
constructor() public ERC20("Basis Dollar Share", "BSDS") {
_mint(msg.sender, 1 ether); // mint 1 Basis Share for initial pools deployment
devFund = msg.sender;
}
function setTreasuryFund(address _treasuryFund) external {
require(msg.sender == devFund, "!dev");
treasuryFund = _treasuryFund;
}
function setDevFund(address _devFund) external {
require(msg.sender == devFund, "!dev");
require(_devFund != address(0), "zero");
devFund = _devFund;
}
function unclaimedTreasuryFund() public view returns (uint256 _pending) {
uint256 _now = block.timestamp;
if (_now > endTime) _now = endTime;
if (treasuryFundLastClaimed >= _now) return 0;
_pending = _now.sub(treasuryFundLastClaimed).mul(treasuryFundRewardRate);
}
function unclaimedDevFund() public view returns (uint256 _pending) {
uint256 _now = block.timestamp;
if (_now > endTime) _now = endTime;
if (devFundLastClaimed >= _now) return 0;
_pending = _now.sub(devFundLastClaimed).mul(devFundRewardRate);
}
/**
* @dev Claim pending rewards to treasury and dev fund
*/
function claimRewards() external {
uint256 _pending = unclaimedTreasuryFund();
if (_pending > 0 && treasuryFund != address(0)) {
_mint(treasuryFund, _pending);
treasuryFundLastClaimed = block.timestamp;
}
_pending = unclaimedDevFund();
if (_pending > 0 && devFund != address(0)) {
_mint(devFund, _pending);
devFundLastClaimed = block.timestamp;
}
}
/**
* @notice distribute to reward pool (only once)
*/
function distributeReward(address _farmingIncentiveFund) external onlyOperator {
require(!rewardPoolDistributed, "only can distribute once");
require(_farmingIncentiveFund != address(0), "!_farmingIncentiveFund");
rewardPoolDistributed = true;
_mint(_farmingIncentiveFund, FARMING_POOL_REWARD_ALLOCATION);
}
function burn(uint256 amount) public override onlyOperator {
super.burn(amount);
}
function burnFrom(address account, uint256 amount) public override onlyOperator {
super.burnFrom(account, amount);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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":[],"name":"DEV_FUND_POOL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FARMING_POOL_REWARD_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_FUND_POOL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundLastClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_farmingIncentiveFund","type":"address"}],"name":"distributeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPoolDistributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryFund","type":"address"}],"name":"setTreasuryFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFundLastClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedDevFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedTreasuryFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604052635fd8c16060078190556361b9f4e0600855660b43fd20b59a0a600955660b43f5bea8931a600a55600d819055600e55600f805460ff191690553480156200004b57600080fd5b506040805180820182526012815271426173697320446f6c6c617220536861726560701b6020808301918252835180850190945260048452634253445360e01b908401528151919291620000a29160039162000326565b508051620000b890600490602084019062000326565b50506005805460ff19166012179055506000620000d4620001ac565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000134620001ac565b600680546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a36200019433670de0b6b3a7640000620001b0565b600c80546001600160a01b03191633179055620003c2565b3390565b6001600160a01b0382166200020c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200021a60008383620002bf565b6200023681600254620002c460201b620014c91790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000269918390620014c9620002c4821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b6000828201838110156200031f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036957805160ff191683800117855562000399565b8280016001018555821562000399579182015b82811115620003995782518255916020019190600101906200037c565b50620003a7929150620003ab565b5090565b5b80821115620003a75760008155600101620003ac565b611fd780620003d26000396000f3fe608060405234801561001057600080fd5b50600436106102925760003560e01c80634cfc4d301161016057806395d89b41116100d8578063ae4db9191161008c578063e0c4f12d11610071578063e0c4f12d146106af578063f2fde38b146106b7578063f746b718146106ea57610292565b8063ae4db91914610641578063dd62ed3e1461067457610292565b8063a06160fd116100bd578063a06160fd146105c7578063a457c2d7146105cf578063a9059cbb1461060857610292565b806395d89b41146105b75780639662676c146105bf57610292565b8063715018a61161012f57806378e979251161011457806378e979251461056e57806379cc6790146105765780638da5cb5b146105af57610292565b8063715018a61461055e57806374e7153d1461056657610292565b80634cfc4d30146105135780634f337dd51461051b578063570ca7351461052357806370a082311461052b57610292565b806329605e771161020e578063372500ab116101c257806342966c68116101a757806342966c68146104bd5780634390d2a8146104da5780634456eda21461050b57610292565b8063372500ab1461047c578063395093511461048457610292565b80632e3367ce116101f35780632e3367ce1461044e578063313ce567146104565780633197cbb61461047457610292565b806329605e77146104135780632c07a6241461044657610292565b8063095ea7b31161026557806318160ddd1161024a57806318160ddd146103c05780631de6934a146103c857806323b872dd146103d057610292565b8063095ea7b31461036b57806317764782146103b857610292565b8063040173151461029757806305e1b110146102b157806306fdde03146102b9578063092193ab14610336575b600080fd5b61029f61071d565b60408051918252519081900360200190f35b61029f610723565b6102c1610729565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fb5781810151838201526020016102e3565b50505050905090810190601f1680156103285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103696004803603602081101561034c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107de565b005b6103a46004803603604081101561038157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610984565b604080519115158252519081900360200190f35b61029f6109a2565b61029f6109f0565b61029f6109f6565b6103a4600480360360608110156103e657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356109fc565b6103696004803603602081101561042957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a9d565b61029f610b3c565b61029f610b7e565b61045e610b84565b6040805160ff9092168252519081900360200190f35b61029f610b8d565b610369610b93565b6103a46004803603604081101561049a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c53565b610369600480360360208110156104d357600080fd5b5035610cae565b6104e2610d27565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103a4610d43565b61029f610d83565b61029f610d8b565b6104e2610d99565b61029f6004803603602081101561054157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610db5565b610369610ddd565b61029f610ee7565b61029f610ef5565b6103696004803603604081101561058c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610efb565b6104e2610f79565b6102c1610f9a565b6103a4611019565b61029f611022565b6103a4600480360360408110156105e557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611030565b6103a46004803603604081101561061e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356110a5565b6103696004803603602081101561065757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166110b9565b61029f6004803603604081101561068a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661120c565b6104e2611244565b610369600480360360208110156106cd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611260565b6103696004803603602081101561070057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113fa565b600e5481565b600d5481565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d35780601f106107a8576101008083540402835291602001916107d3565b820191906000526020600020905b8154815290600101906020018083116107b657829003601f168201915b505050505090505b90565b60065473ffffffffffffffffffffffffffffffffffffffff16331461084e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b600f5460ff16156108c057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6f6e6c792063616e2064697374726962757465206f6e63650000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661094257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f215f6661726d696e67496e63656e7469766546756e6400000000000000000000604482015290519081900360640190fd5b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556109818169a968163f0a57b4000000611544565b50565b6000610998610991611675565b8484611679565b5060015b92915050565b60085460009042908111156109b657506008545b80600d54106109c95760009150506107db565b6109ea6009546109e4600d54846117c090919063ffffffff16565b90611802565b91505090565b60025490565b60095481565b6000610a09848484611875565b610a9384610a15611675565b610a8e85604051806060016040528060288152602001611ea36028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610a60611675565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190611a45565b611679565b5060019392505050565b610aa5611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610b3357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61098181611af6565b6008546000904290811115610b5057506008545b80600e5410610b635760009150506107db565b6109ea600a546109e4600e54846117c090919063ffffffff16565b600a5481565b60055460ff1690565b60085481565b6000610b9d6109a2565b9050600081118015610bc65750600b5473ffffffffffffffffffffffffffffffffffffffff1615155b15610bf357600b54610bee9073ffffffffffffffffffffffffffffffffffffffff1682611544565b42600d555b610bfb610b3c565b9050600081118015610c245750600c5473ffffffffffffffffffffffffffffffffffffffff1615155b1561098157600c54610c4c9073ffffffffffffffffffffffffffffffffffffffff1682611544565b42600e5550565b6000610998610c60611675565b84610a8e8560016000610c71611675565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c1681529252902054906114c9565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b61098181611bec565b600c5473ffffffffffffffffffffffffffffffffffffffff1681565b60065460009073ffffffffffffffffffffffffffffffffffffffff16610d67611675565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6301e1338081565b69152cf4e72a974f1c000081565b60065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610de5611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610e7357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600554604051600091610100900473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b69152d02c7e14af680000081565b60075481565b60065473ffffffffffffffffffffffffffffffffffffffff163314610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b610f758282611bfd565b5050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d35780601f106107a8576101008083540402835291602001916107d3565b600f5460ff1681565b69a968163f0a57b400000081565b600061099861103d611675565b84610a8e85604051806060016040528060258152602001611f7d6025913960016000611067611675565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190611a45565b60006109986110b2611675565b8484611875565b600c5473ffffffffffffffffffffffffffffffffffffffff16331461114157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f2164657600000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166111c557604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f7a65726f00000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600b5473ffffffffffffffffffffffffffffffffffffffff1681565b611268611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146112f657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611de76026913960400191505060405180910390fd5b60055460405173ffffffffffffffffffffffffffffffffffffffff80841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600c5473ffffffffffffffffffffffffffffffffffffffff16331461148257604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f2164657600000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008282018381101561153d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166115c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6115d260008383611c52565b6002546115df90826114c9565b60025573ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205461161290826114c9565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166116e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611f596024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611e0d6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061153d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a45565b6000826118115750600061099c565b8282028284828161181e57fe5b041461153d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e826021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166118e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611f346025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661194d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611da26023913960400191505060405180910390fd5b611958838383611c52565b6119a281604051806060016040528060268152602001611e2f6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152602081905260409020549190611a45565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546119de90826114c9565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611aee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ab3578181015183820152602001611a9b565b50505050905090810190601f168015611ae05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b73ffffffffffffffffffffffffffffffffffffffff8116611b62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180611e55602d913960400191505060405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610981611bf7611675565b82611c57565b6000611c3482604051806060016040528060248152602001611ecb60249139611c2d86611c28611675565b61120c565b9190611a45565b9050611c4883611c42611675565b83611679565b611c528383611c57565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611f136021913960400191505060405180910390fd5b611ccf82600083611c52565b611d1981604051806060016040528060228152602001611dc56022913973ffffffffffffffffffffffffffffffffffffffff85166000908152602081905260409020549190611a45565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902055600254611d4c90826117c0565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209631156b168c1d8a590d6e5f996438840c38a47fe476cb13cd8699948b466d1264736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102925760003560e01c80634cfc4d301161016057806395d89b41116100d8578063ae4db9191161008c578063e0c4f12d11610071578063e0c4f12d146106af578063f2fde38b146106b7578063f746b718146106ea57610292565b8063ae4db91914610641578063dd62ed3e1461067457610292565b8063a06160fd116100bd578063a06160fd146105c7578063a457c2d7146105cf578063a9059cbb1461060857610292565b806395d89b41146105b75780639662676c146105bf57610292565b8063715018a61161012f57806378e979251161011457806378e979251461056e57806379cc6790146105765780638da5cb5b146105af57610292565b8063715018a61461055e57806374e7153d1461056657610292565b80634cfc4d30146105135780634f337dd51461051b578063570ca7351461052357806370a082311461052b57610292565b806329605e771161020e578063372500ab116101c257806342966c68116101a757806342966c68146104bd5780634390d2a8146104da5780634456eda21461050b57610292565b8063372500ab1461047c578063395093511461048457610292565b80632e3367ce116101f35780632e3367ce1461044e578063313ce567146104565780633197cbb61461047457610292565b806329605e77146104135780632c07a6241461044657610292565b8063095ea7b31161026557806318160ddd1161024a57806318160ddd146103c05780631de6934a146103c857806323b872dd146103d057610292565b8063095ea7b31461036b57806317764782146103b857610292565b8063040173151461029757806305e1b110146102b157806306fdde03146102b9578063092193ab14610336575b600080fd5b61029f61071d565b60408051918252519081900360200190f35b61029f610723565b6102c1610729565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fb5781810151838201526020016102e3565b50505050905090810190601f1680156103285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103696004803603602081101561034c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107de565b005b6103a46004803603604081101561038157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610984565b604080519115158252519081900360200190f35b61029f6109a2565b61029f6109f0565b61029f6109f6565b6103a4600480360360608110156103e657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356109fc565b6103696004803603602081101561042957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a9d565b61029f610b3c565b61029f610b7e565b61045e610b84565b6040805160ff9092168252519081900360200190f35b61029f610b8d565b610369610b93565b6103a46004803603604081101561049a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c53565b610369600480360360208110156104d357600080fd5b5035610cae565b6104e2610d27565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103a4610d43565b61029f610d83565b61029f610d8b565b6104e2610d99565b61029f6004803603602081101561054157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610db5565b610369610ddd565b61029f610ee7565b61029f610ef5565b6103696004803603604081101561058c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610efb565b6104e2610f79565b6102c1610f9a565b6103a4611019565b61029f611022565b6103a4600480360360408110156105e557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611030565b6103a46004803603604081101561061e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356110a5565b6103696004803603602081101561065757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166110b9565b61029f6004803603604081101561068a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661120c565b6104e2611244565b610369600480360360208110156106cd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611260565b6103696004803603602081101561070057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113fa565b600e5481565b600d5481565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d35780601f106107a8576101008083540402835291602001916107d3565b820191906000526020600020905b8154815290600101906020018083116107b657829003601f168201915b505050505090505b90565b60065473ffffffffffffffffffffffffffffffffffffffff16331461084e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b600f5460ff16156108c057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6f6e6c792063616e2064697374726962757465206f6e63650000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661094257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f215f6661726d696e67496e63656e7469766546756e6400000000000000000000604482015290519081900360640190fd5b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556109818169a968163f0a57b4000000611544565b50565b6000610998610991611675565b8484611679565b5060015b92915050565b60085460009042908111156109b657506008545b80600d54106109c95760009150506107db565b6109ea6009546109e4600d54846117c090919063ffffffff16565b90611802565b91505090565b60025490565b60095481565b6000610a09848484611875565b610a9384610a15611675565b610a8e85604051806060016040528060288152602001611ea36028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610a60611675565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190611a45565b611679565b5060019392505050565b610aa5611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610b3357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61098181611af6565b6008546000904290811115610b5057506008545b80600e5410610b635760009150506107db565b6109ea600a546109e4600e54846117c090919063ffffffff16565b600a5481565b60055460ff1690565b60085481565b6000610b9d6109a2565b9050600081118015610bc65750600b5473ffffffffffffffffffffffffffffffffffffffff1615155b15610bf357600b54610bee9073ffffffffffffffffffffffffffffffffffffffff1682611544565b42600d555b610bfb610b3c565b9050600081118015610c245750600c5473ffffffffffffffffffffffffffffffffffffffff1615155b1561098157600c54610c4c9073ffffffffffffffffffffffffffffffffffffffff1682611544565b42600e5550565b6000610998610c60611675565b84610a8e8560016000610c71611675565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c1681529252902054906114c9565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b61098181611bec565b600c5473ffffffffffffffffffffffffffffffffffffffff1681565b60065460009073ffffffffffffffffffffffffffffffffffffffff16610d67611675565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6301e1338081565b69152cf4e72a974f1c000081565b60065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610de5611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610e7357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600554604051600091610100900473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b69152d02c7e14af680000081565b60075481565b60065473ffffffffffffffffffffffffffffffffffffffff163314610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eef6024913960400191505060405180910390fd5b610f758282611bfd565b5050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d35780601f106107a8576101008083540402835291602001916107d3565b600f5460ff1681565b69a968163f0a57b400000081565b600061099861103d611675565b84610a8e85604051806060016040528060258152602001611f7d6025913960016000611067611675565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190611a45565b60006109986110b2611675565b8484611875565b600c5473ffffffffffffffffffffffffffffffffffffffff16331461114157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f2164657600000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166111c557604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f7a65726f00000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600b5473ffffffffffffffffffffffffffffffffffffffff1681565b611268611675565b600554610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146112f657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611de76026913960400191505060405180910390fd5b60055460405173ffffffffffffffffffffffffffffffffffffffff80841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600c5473ffffffffffffffffffffffffffffffffffffffff16331461148257604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f2164657600000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008282018381101561153d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166115c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6115d260008383611c52565b6002546115df90826114c9565b60025573ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205461161290826114c9565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166116e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611f596024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611e0d6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061153d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a45565b6000826118115750600061099c565b8282028284828161181e57fe5b041461153d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e826021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166118e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611f346025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661194d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611da26023913960400191505060405180910390fd5b611958838383611c52565b6119a281604051806060016040528060268152602001611e2f6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152602081905260409020549190611a45565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546119de90826114c9565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611aee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ab3578181015183820152602001611a9b565b50505050905090810190601f168015611ae05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b73ffffffffffffffffffffffffffffffffffffffff8116611b62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180611e55602d913960400191505060405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610981611bf7611675565b82611c57565b6000611c3482604051806060016040528060248152602001611ecb60249139611c2d86611c28611675565b61120c565b9190611a45565b9050611c4883611c42611675565b83611679565b611c528383611c57565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611f136021913960400191505060405180910390fd5b611ccf82600083611c52565b611d1981604051806060016040528060228152602001611dc56022913973ffffffffffffffffffffffffffffffffffffffff85166000908152602081905260409020549190611a45565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902055600254611d4c90826117c0565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209631156b168c1d8a590d6e5f996438840c38a47fe476cb13cd8699948b466d1264736f6c634300060c0033
Deployed Bytecode Sourcemap
30608:3326:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31470:45;;;:::i;:::-;;;;;;;;;;;;;;;;31413:50;;;:::i;17333:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33341:348;;;;;;;;;;;;;;;;-1:-1:-1;33341:348:0;;;;:::i;:::-;;19439:169;;;;;;;;;;;;;;;;-1:-1:-1;19439:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32118:305;;;:::i;18408:100::-;;;:::i;31166:88::-;;;:::i;20082:355::-;;;;;;;;;;;;;;;;-1:-1:-1;20082:355:0;;;;;;;;;;;;;;;;;;:::i;30221:115::-;;;;;;;;;;;;;;;;-1:-1:-1;30221:115:0;;;;:::i;32431:285::-;;;:::i;31261:78::-;;;:::i;18260:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31061:53;;;:::i;32802:459::-;;;:::i;20846:218::-;;;;;;;;;;;;;;;;-1:-1:-1;20846:218:0;;;;;;;;;:::i;33697:96::-;;;;;;;;;;;;;;;;-1:-1:-1;33697:96:0;;:::i;31382:22::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30113:100;;;:::i;30914:51::-;;;:::i;30843:62::-;;;:::i;29885:85::-;;;:::i;18571:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18571:119:0;;;;:::i;29023:148::-;;;:::i;30768:68::-;;;:::i;30972:37::-;;;:::i;33801:130::-;;;;;;;;;;;;;;;;-1:-1:-1;33801:130:0;;;;;;;;;:::i;28381:79::-;;;:::i;17535:87::-;;;:::i;31524:41::-;;;:::i;30692:69::-;;;:::i;21567:269::-;;;;;;;;;;;;;;;;-1:-1:-1;21567:269:0;;;;;;;;;:::i;18903:175::-;;;;;;;;;;;;;;;;-1:-1:-1;18903:175:0;;;;;;;;;:::i;31927:183::-;;;;;;;;;;;;;;;;-1:-1:-1;31927:183:0;;;;:::i;19141:151::-;;;;;;;;;;;;;;;;-1:-1:-1;19141:151:0;;;;;;;;;;;:::i;31348:27::-;;;:::i;29326:244::-;;;;;;;;;;;;;;;;-1:-1:-1;29326:244:0;;;;:::i;31766:153::-;;;;;;;;;;;;;;;;-1:-1:-1;31766:153:0;;;;:::i;31470:45::-;;;;:::o;31413:50::-;;;;:::o;17333:83::-;17403:5;17396:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17370:13;;17396:12;;17403:5;;17396:12;;17403:5;17396:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17333:83;;:::o;33341:348::-;30021:9;;:23;:9;30034:10;30021:23;30013:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33440:21:::1;::::0;::::1;;33439:22;33431:59;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33509:35;::::0;::::1;33501:70;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33582:21;:28:::0;;;::::1;33606:4;33582:28;::::0;;33621:60:::1;33627:21:::0;30749:12:::1;33621:5;:60::i;:::-;33341:348:::0;:::o;19439:169::-;19522:4;19539:39;19548:12;:10;:12::i;:::-;19562:7;19571:6;19539:8;:39::i;:::-;-1:-1:-1;19596:4:0;19439:169;;;;;:::o;32118:305::-;32253:7;;32172:16;;32216:15;;32246:14;;32242:34;;;-1:-1:-1;32269:7:0;;32242:34;32318:4;32291:23;;:31;32287:45;;32331:1;32324:8;;;;;32287:45;32354:61;32392:22;;32354:33;32363:23;;32354:4;:8;;:33;;;;:::i;:::-;:37;;:61::i;:::-;32343:72;;32118:305;;:::o;18408:100::-;18488:12;;18408:100;:::o;31166:88::-;;;;:::o;20082:355::-;20222:4;20239:36;20249:6;20257:9;20268:6;20239:9;:36::i;:::-;20286:121;20295:6;20303:12;:10;:12::i;:::-;20317:89;20355:6;20317:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;20337:12;:10;:12::i;:::-;20317:33;;;;;;;;;;;;;-1:-1:-1;20317:33:0;;;:89;:37;:89::i;:::-;20286:8;:121::i;:::-;-1:-1:-1;20425:4:0;20082:355;;;;;:::o;30221:115::-;28603:12;:10;:12::i;:::-;28593:6;;;;;:22;:6;;;:22;;;28585:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30297:31:::1;30315:12;30297:17;:31::i;32431:285::-:0;32561:7;;32480:16;;32524:15;;32554:14;;32550:34;;;-1:-1:-1;32577:7:0;;32550:34;32621:4;32599:18;;:26;32595:40;;32634:1;32627:8;;;;;32595:40;32657:51;32690:17;;32657:28;32666:18;;32657:4;:8;;:28;;;;:::i;31261:78::-;;;;:::o;18260:83::-;18326:9;;;;18260:83;:::o;31061:53::-;;;;:::o;32802:459::-;32846:16;32865:23;:21;:23::i;:::-;32846:42;;32914:1;32903:8;:12;:42;;;;-1:-1:-1;32919:12:0;;:26;:12;:26;;32903:42;32899:160;;;32968:12;;32962:29;;32968:12;;32982:8;32962:5;:29::i;:::-;33032:15;33006:23;:41;32899:160;33080:18;:16;:18::i;:::-;33069:29;;33124:1;33113:8;:12;:37;;;;-1:-1:-1;33129:7:0;;:21;:7;:21;;33113:37;33109:145;;;33173:7;;33167:24;;33173:7;;33182:8;33167:5;:24::i;:::-;33227:15;33206:18;:36;32802:459;:::o;20846:218::-;20934:4;20951:83;20960:12;:10;:12::i;:::-;20974:7;20983:50;21022:10;20983:11;:25;20995:12;:10;:12::i;:::-;20983:25;;;;;;;;;;;;;;;;;;-1:-1:-1;20983:25:0;;;:34;;;;;;;;;;;:38;:50::i;33697:96::-;30021:9;;:23;:9;30034:10;30021:23;30013:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33767:18:::1;33778:6;33767:10;:18::i;31382:22::-:0;;;;;;:::o;30113:100::-;30196:9;;30156:4;;30196:9;;30180:12;:10;:12::i;:::-;:25;;;30173:32;;30113:100;:::o;30914:51::-;30957:8;30914:51;:::o;30843:62::-;30894:11;30843:62;:::o;29885:85::-;29953:9;;;;29885:85;:::o;18571:119::-;18664:18;;18637:7;18664:18;;;;;;;;;;;;18571:119::o;29023:148::-;28603:12;:10;:12::i;:::-;28593:6;;;;;:22;:6;;;:22;;;28585:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29114:6:::1;::::0;29093:40:::1;::::0;29130:1:::1;::::0;29114:6:::1;::::0;::::1;29093:40;29114:6;::::0;29093:40:::1;::::0;29130:1;;29093:40:::1;29144:6;:19:::0;;;::::1;::::0;;29023:148::o;30768:68::-;30824:12;30768:68;:::o;30972:37::-;;;;:::o;33801:130::-;30021:9;;:23;:9;30034:10;30021:23;30013:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33892:31:::1;33907:7;33916:6;33892:14;:31::i;:::-;33801:130:::0;;:::o;28381:79::-;28446:6;;;;;;;;28381:79::o;17535:87::-;17607:7;17600:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17574:13;;17600:14;;17607:7;;17600:14;;17607:7;17600:14;;;;;;;;;;;;;;;;;;;;;;;;31524:41;;;;;;:::o;30692:69::-;30749:12;30692:69;:::o;21567:269::-;21660:4;21677:129;21686:12;:10;:12::i;:::-;21700:7;21709:96;21748:15;21709:96;;;;;;;;;;;;;;;;;:11;:25;21721:12;:10;:12::i;:::-;21709:25;;;;;;;;;;;;;;;;;;-1:-1:-1;21709:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;18903:175::-;18989:4;19006:42;19016:12;:10;:12::i;:::-;19030:9;19041:6;19006:9;:42::i;31927:183::-;32007:7;;;;31993:10;:21;31985:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32042:22;;;32034:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32084:7;:18;;;;;;;;;;;;;;;31927:183::o;19141:151::-;19257:18;;;;19230:7;19257:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19141:151::o;31348:27::-;;;;;;:::o;29326:244::-;28603:12;:10;:12::i;:::-;28593:6;;;;;:22;:6;;;:22;;;28585:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29415:22:::1;::::0;::::1;29407:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29517:6;::::0;29496:38:::1;::::0;::::1;::::0;;::::1;::::0;29517:6:::1;::::0;::::1;;::::0;29496:38:::1;::::0;;;::::1;29545:6;:17:::0;;::::1;::::0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;29326:244::o;31766:153::-;31856:7;;;;31842:10;:21;31834:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31883:12;:28;;;;;;;;;;;;;;;31766:153::o;902:181::-;960:7;992:5;;;1016:6;;;;1008:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1074:1;902:181;-1:-1:-1;;;902:181:0:o;23180:378::-;23264:21;;;23256:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23334:49;23363:1;23367:7;23376:6;23334:20;:49::i;:::-;23411:12;;:24;;23428:6;23411:16;:24::i;:::-;23396:12;:39;23467:18;;;:9;:18;;;;;;;;;;;:30;;23490:6;23467:22;:30::i;:::-;23446:18;;;:9;:18;;;;;;;;;;;:51;;;;23513:37;;;;;;;23446:18;;:9;;23513:37;;;;;;;;;;23180:378;;:::o;6007:106::-;6095:10;6007:106;:::o;24746:380::-;24882:19;;;24874:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24961:21;;;24953:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25034:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25086:32;;;;;;;;;;;;;;;;;24746:380;;;:::o;1366:136::-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;2290:471::-;2348:7;2593:6;2589:47;;-1:-1:-1;2623:1:0;2616:8;;2589:47;2660:5;;;2664:1;2660;:5;:1;2684:5;;;;;:10;2676:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22326:573;22466:20;;;22458:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22547:23;;;22539:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22623:47;22644:6;22652:9;22663:6;22623:20;:47::i;:::-;22703:71;22725:6;22703:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;22683:17;;;;:9;:17;;;;;;;;;;;:91;;;;22808:20;;;;;;;:32;;22833:6;22808:24;:32::i;:::-;22785:20;;;;:9;:20;;;;;;;;;;;;:55;;;;22856:35;;;;;;;22785:20;;22856:35;;;;;;;;;;;;;22326:573;;;:::o;1805:226::-;1925:7;1961:12;1953:6;;;;1945:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1997:5:0;;;1805:226::o;30344:257::-;30421:26;;;30413:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30513:45;;;;;;30541:1;;30513:45;;30541:1;;30513:45;30569:9;:24;;;;;;;;;;;;;;;30344:257::o;26662:91::-;26718:27;26724:12;:10;:12::i;:::-;26738:6;26718:5;:27::i;27072:295::-;27149:26;27178:84;27215:6;27178:84;;;;;;;;;;;;;;;;;:32;27188:7;27197:12;:10;:12::i;:::-;27178:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;27149:113;;27275:51;27284:7;27293:12;:10;:12::i;:::-;27307:18;27275:8;:51::i;:::-;27337:22;27343:7;27352:6;27337:5;:22::i;:::-;27072:295;;;:::o;23890:418::-;23974:21;;;23966:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24046:49;24067:7;24084:1;24088:6;24046:20;:49::i;:::-;24129:68;24152:6;24129:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;24108:18;;;:9;:18;;;;;;;;;;:89;24223:12;;:24;;24240:6;24223:16;:24::i;:::-;24208:12;:39;24263:37;;;;;;;;24289:1;;24263:37;;;;;;;;;;;;;23890:418;;:::o
Swarm Source
ipfs://9631156b168c1d8a590d6e5f996438840c38a47fe476cb13cd8699948b466d12
Loading...
Loading
Loading...
Loading
OVERVIEW
Basis Dollar (BSD) is an algorithmic stablecoin protocol where the money supply is dynamically adjusted to meet changes in money demand. $BSDS receives surplus seigniorage (seigniorage left remaining after all the bonds have been redeemed).Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.