Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TrueUSD
Compiler Version
v0.6.10+commit.00c0fcaf
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2024-05-24
*/
// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @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);
}
// Dependency file: contracts/interface/ITrueCurrency.sol
// pragma solidity 0.6.10;
// import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface ITrueCurrency {
function mint(address account, uint256 amount) external;
function burn(uint256 amount) external;
function setCanBurn(address account, bool _canBurn) external;
function setBurnBounds(uint256 _min, uint256 _max) external;
function reclaimEther(address payable _to) external;
function reclaimToken(IERC20 token, address _to) external;
function setBlacklisted(address account, bool isBlacklisted) external;
function destroyBlackFunds(address _blackListedUser) external;
}
// Dependency file: @openzeppelin/contracts/utils/Context.sol
// pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal 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;
}
}
// Dependency file: @openzeppelin/contracts/GSN/Context.sol
// pragma solidity >=0.6.0 <0.8.0;
// import "@openzeppelin/contracts/utils/Context.sol";
// Dependency file: @openzeppelin/contracts/math/SafeMath.sol
// pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @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) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @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) {
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, reverting 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) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting 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) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* 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);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* 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);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* 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;
}
}
// Dependency file: @openzeppelin/contracts/utils/Address.sol
// pragma solidity >=0.6.2 <0.8.0;
/**
* @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 on 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");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
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);
}
}
}
}
// Dependency file: contracts/common/ProxyStorage.sol
// pragma solidity 0.6.10;
// solhint-disable max-states-count, var-name-mixedcase
/**
* Defines the storage layout of the token implementation contract. Any
* newly declared state variables in future upgrades should be appended
* to the bottom. Never remove state variables from this list, however variables
* can be renamed. Please add _Deprecated to deprecated variables.
*/
contract ProxyStorage {
address public owner;
address public pendingOwner;
bool initialized;
address balances_Deprecated;
address allowances_Deprecated;
uint256 _totalSupply;
bool private paused_Deprecated = false;
address private globalPause_Deprecated;
uint256 public burnMin = 0;
uint256 public burnMax = 0;
address registry_Deprecated;
string name_Deprecated;
string symbol_Deprecated;
uint256[] gasRefundPool_Deprecated;
uint256 private redemptionAddressCount_Deprecated;
uint256 minimumGasPriceForFutureRefunds_Deprecated;
mapping(address => uint256) _balances;
mapping(address => mapping(address => uint256)) _allowances;
mapping(bytes32 => mapping(address => uint256)) attributes_Deprecated;
// reward token storage
mapping(address => address) finOps_Deprecated;
mapping(address => mapping(address => uint256)) finOpBalances_Deprecated;
mapping(address => uint256) finOpSupply_Deprecated;
// true reward allocation
// proportion: 1000 = 100%
struct RewardAllocation {
uint256 proportion;
address finOp;
}
mapping(address => RewardAllocation[]) _rewardDistribution_Deprecated;
uint256 maxRewardProportion_Deprecated = 1000;
mapping(address => bool) isBlacklisted;
mapping(address => bool) public canBurn;
// Proof of Reserve feed related variables
uint256 public chainReserveHeartbeat;
address public chainReserveFeed;
bool public proofOfReserveEnabled;
/* Additionally, we have several keccak-based storage locations.
* If you add more keccak-based storage mappings, such as mappings, you must document them here.
* If the length of the keccak input is the same as an existing mapping, it is possible there could be a preimage collision.
* A preimage collision can be used to attack the contract by treating one storage location as another,
* which would always be a critical issue.
* Carefully examine future keccak-based storage to ensure there can be no preimage collisions.
*******************************************************************************************************
** length input usage
*******************************************************************************************************
** 19 "trueXXX.proxy.owner" Proxy Owner
** 27 "trueXXX.pending.proxy.owner" Pending Proxy Owner
** 28 "trueXXX.proxy.implementation" Proxy Implementation
** 32 uint256(11) gasRefundPool_Deprecated
** 64 uint256(address),uint256(14) balanceOf
** 64 uint256(address),keccak256(uint256(address),uint256(15)) allowance
** 64 uint256(address),keccak256(bytes32,uint256(16)) attributes
**/
}
// Dependency file: contracts/common/ClaimableOwnable.sol
// pragma solidity 0.6.10;
// import {ProxyStorage} from "contracts/common/ProxyStorage.sol";
/**
* @title ClamableOwnable
* @dev The ClamableOwnable contract is a copy of Claimable Contract by Zeppelin.
* and provides basic authorization control functions. Inherits storage layout of
* ProxyStorage.
*/
contract ClaimableOwnable is ProxyStorage {
/**
* @dev emitted when ownership is transferred
* @param previousOwner previous owner of this contract
* @param newOwner new owner of this contract
*/
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev sets the original `owner` of the contract to the sender
* at construction. Must then be reinitialized
*/
constructor() public {
owner = msg.sender;
emit OwnershipTransferred(address(0), owner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner, "only Owner");
_;
}
/**
* @dev Modifier throws if called by any account other than the pendingOwner.
*/
modifier onlyPendingOwner() {
require(msg.sender == pendingOwner, "only pending owner");
_;
}
/**
* @dev Allows the current owner to set the pendingOwner address.
* @param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) external onlyOwner {
pendingOwner = newOwner;
}
/**
* @dev Allows the pendingOwner address to finalize the transfer.
*/
function claimOwnership() external onlyPendingOwner {
emit OwnershipTransferred(owner, pendingOwner);
owner = pendingOwner;
pendingOwner = address(0);
}
}
// Dependency file: contracts/common/ERC20.sol
/**
* @notice This is a copy of openzeppelin ERC20 contract with removed state variables.
* Removing state variables has been necessary due to proxy pattern usage.
* Changes to Openzeppelin ERC20 https://github.com/OpenZeppelin/openzeppelin-contracts/blob/de99bccbfd4ecd19d7369d01b070aa72c64423c9/contracts/token/ERC20/ERC20.sol:
* - Remove state variables _name, _symbol, _decimals
* - Use state variables _balances, _allowances, _totalSupply from ProxyStorage
* - Remove constructor
* - Solidity version changed from ^0.6.0 to 0.6.10
* - Contract made abstract
*
* See also: ClaimableOwnable.sol and ProxyStorage.sol
*/
// pragma solidity 0.6.10;
// import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import {Context} from "@openzeppelin/contracts/GSN/Context.sol";
// import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol";
// import {Address} from "@openzeppelin/contracts/utils/Address.sol";
// import {ClaimableOwnable} from "contracts/common/ClaimableOwnable.sol";
// prettier-ignore
/**
* @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}.
*/
abstract contract ERC20 is ClaimableOwnable, Context, IERC20 {
using SafeMath for uint256;
using Address for address;
/**
* @dev Returns the name of the token.
*/
function name() public virtual pure returns (string memory);
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public virtual pure returns (string memory);
/**
* @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 virtual pure returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20};
*
* Requirements:
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_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 is internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev 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].
*/
// solhint-disable-next-line no-empty-blocks
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
// Dependency file: contracts/common/ReclaimerToken.sol
// pragma solidity 0.6.10;
// import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import {ITrueCurrency} from "contracts/interface/ITrueCurrency.sol";
// import {ERC20} from "contracts/common/ERC20.sol";
/**
* @title ReclaimerToken
* @dev ERC20 token which allows owner to reclaim ERC20 tokens
* or ether sent to this contract
*/
abstract contract ReclaimerToken is ERC20, ITrueCurrency {
/**
* @dev send all eth balance in the contract to another address
* @param _to address to send eth balance to
*/
function reclaimEther(address payable _to) external override onlyOwner {
_to.transfer(address(this).balance);
}
/**
* @dev send all token balance of an arbitrary erc20 token
* in the contract to another address
* @param token token to reclaim
* @param _to address to send eth balance to
*/
function reclaimToken(IERC20 token, address _to) external override onlyOwner {
uint256 balance = token.balanceOf(address(this));
token.transfer(_to, balance);
}
}
// Dependency file: contracts/common/BurnableTokenWithBounds.sol
// pragma solidity 0.6.10;
// import {ReclaimerToken} from "contracts/common/ReclaimerToken.sol";
/**
* @title BurnableTokenWithBounds
* @dev Burning functions as redeeming money from the system.
* The platform will keep track of who burns coins,
* and will send them back the equivalent amount of money (rounded down to the nearest cent).
*/
abstract contract BurnableTokenWithBounds is ReclaimerToken {
/**
* @dev Emitted when `value` tokens are burnt from one account (`burner`)
* @param burner address which burned tokens
* @param value amount of tokens burned
*/
event Burn(address indexed burner, uint256 value);
/**
* @dev Emitted when new burn bounds were set
* @param newMin new minimum burn amount
* @param newMax new maximum burn amount
* @notice `newMin` should never be greater than `newMax`
*/
event SetBurnBounds(uint256 newMin, uint256 newMax);
/**
* @dev Emitted when _blackListedUser's funds are destroyed
*/
event DestroyedBlackFunds(address indexed _blackListedUser, uint256 _balance);
/**
* @dev Destroys `amount` tokens from `msg.sender`, reducing the
* total supply.
* @param amount amount of tokens to burn
*
* Emits a {Transfer} event with `to` set to the zero address.
* Emits a {Burn} event with `burner` set to `msg.sender`
*
* Requirements
*
* - `msg.sender` must have at least `amount` tokens.
*
*/
function burn(uint256 amount) external override {
_burn(msg.sender, amount);
}
/**
* @dev Change the minimum and maximum amount that can be burned at once.
* Burning may be disabled by setting both to 0 (this will not be done
* under normal operation, but we can't add checks to disallow it without
* losing a lot of flexibility since burning could also be as good as disabled
* by setting the minimum extremely high, and we don't want to lock
* in any particular cap for the minimum)
* @param _min minimum amount that can be burned at once
* @param _max maximum amount that can be burned at once
*/
function setBurnBounds(uint256 _min, uint256 _max) external override onlyOwner {
require(_min <= _max, "BurnableTokenWithBounds: min > max");
burnMin = _min;
burnMax = _max;
emit SetBurnBounds(_min, _max);
}
/**
* @dev Checks if amount is within allowed burn bounds and
* destroys `amount` tokens from `account`, reducing the
* total supply.
* @param account account to burn tokens for
* @param amount amount of tokens to burn
*
* Emits a {Burn} event
*/
function _burn(address account, uint256 amount) internal virtual override {
require(amount >= burnMin, "BurnableTokenWithBounds: below min burn bound");
require(amount <= burnMax, "BurnableTokenWithBounds: exceeds max burn bound");
super._burn(account, amount);
emit Burn(account, amount);
}
/**
* @dev destroy black funds from _blackListedUser
* @param _blackListedUser the address to destroy from
*/
function destroyBlackFunds(address _blackListedUser) external override onlyOwner {
require(isBlacklisted[_blackListedUser]);
uint256 dirtyFunds = balanceOf(_blackListedUser);
_balances[_blackListedUser] = 0;
_totalSupply = _totalSupply.sub(dirtyFunds);
emit DestroyedBlackFunds(_blackListedUser, dirtyFunds);
}
}
// Dependency file: contracts/TrueCurrency.sol
// pragma solidity 0.6.10;
// import {BurnableTokenWithBounds} from "contracts/common/BurnableTokenWithBounds.sol";
/**
* @title TrueCurrency
* @dev TrueCurrency is an ERC20 with blacklist & redemption addresses
*
* TrueCurrency is a compliant stablecoin with blacklist and redemption
* addresses. Only the owner can blacklist accounts. Redemption addresses
* are assigned automatically to the first 0x100000 addresses. Sending
* tokens to the redemption address will trigger a burn operation. Only
* the owner can mint or blacklist accounts.
*
* This contract is owned by the TokenController, which manages token
* minting & admin functionality. See TokenController.sol
*
* See also: BurnableTokenWithBounds.sol
*
* ~~~~ Features ~~~~
*
* Redemption Addresses
* - The first 0x100000 addresses except from address(0) are redemption addresses
* - Tokens sent to redemption addresses are burned
* - Redemptions are tracked off-chain
* - Cannot mint tokens to redemption addresses
*
* Blacklist
* - Owner can blacklist accounts in accordance with local regulatory bodies
* - Only a court order will merit a blacklist; blacklisting is extremely rare
*
* Burn Bounds & CanBurn
* - Owner can set min & max burn amounts
* - Only accounts flagged in canBurn are allowed to burn tokens
* - canBurn prevents tokens from being sent to the incorrect address
*
* Reclaimer Token
* - ERC20 Tokens and Ether sent to this contract can be reclaimed by the owner
*/
abstract contract TrueCurrency is BurnableTokenWithBounds {
uint256 constant CENT = 10**16;
uint256 constant REDEMPTION_ADDRESS_COUNT = 0x100000;
/**
* @dev Emitted when account blacklist status changes
*/
event Blacklisted(address indexed account, bool isBlacklisted);
/**
* @dev Emitted when `value` tokens are minted for `to`
* @param to address to mint tokens for
* @param value amount of tokens to be minted
*/
event Mint(address indexed to, uint256 value);
/**
* @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
* @param account address to mint tokens for
* @param amount amount of tokens to be minted
*
* Emits a {Mint} event
*
* Requirements
*
* - `account` cannot be the zero address.
* - `account` cannot be blacklisted.
* - `account` cannot be a redemption address.
*/
function mint(address account, uint256 amount) external override onlyOwner {
require(!isBlacklisted[account], "TrueCurrency: account is blacklisted");
require(!isRedemptionAddress(account), "TrueCurrency: account is a redemption address");
_mint(account, amount);
emit Mint(account, amount);
}
/**
* @dev Set blacklisted status for the account.
* @param account address to set blacklist flag for
* @param _isBlacklisted blacklist flag value
*
* Requirements:
*
* - `msg.sender` should be owner.
*/
function setBlacklisted(address account, bool _isBlacklisted) external override onlyOwner {
require(uint256(account) >= REDEMPTION_ADDRESS_COUNT, "TrueCurrency: blacklisting of redemption address is not allowed");
isBlacklisted[account] = _isBlacklisted;
emit Blacklisted(account, _isBlacklisted);
}
/**
* @dev Set canBurn status for the account.
* @param account address to set canBurn flag for
* @param _canBurn canBurn flag value
*
* Requirements:
*
* - `msg.sender` should be owner.
*/
function setCanBurn(address account, bool _canBurn) external override onlyOwner {
canBurn[account] = _canBurn;
}
/**
* @dev Check if neither account is blacklisted before performing transfer
* If transfer recipient is a redemption address, burns tokens
* @notice Transfer to redemption address will burn tokens with a 1 cent precision
* @param sender address of sender
* @param recipient address of recipient
* @param amount amount of tokens to transfer
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual override {
require(!isBlacklisted[sender], "TrueCurrency: sender is blacklisted");
require(!isBlacklisted[recipient], "TrueCurrency: recipient is blacklisted");
if (isRedemptionAddress(recipient)) {
super._transfer(sender, recipient, amount.sub(amount.mod(CENT)));
_burn(recipient, amount.sub(amount.mod(CENT)));
} else {
super._transfer(sender, recipient, amount);
}
}
/**
* @dev Requere neither accounts to be blacklisted before approval
* @param owner address of owner giving approval
* @param spender address of spender to approve for
* @param amount amount of tokens to approve
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal override {
require(!isBlacklisted[owner], "TrueCurrency: tokens owner is blacklisted");
require(!isBlacklisted[spender] || amount == 0, "TrueCurrency: tokens spender is blacklisted");
super._approve(owner, spender, amount);
}
/**
* @dev Check if tokens can be burned at address before burning
* @param account account to burn tokens from
* @param amount amount of tokens to burn
*/
function _burn(address account, uint256 amount) internal override {
require(canBurn[account], "TrueCurrency: cannot burn from this address");
super._burn(account, amount);
}
/**
* @dev First 0x100000-1 addresses (0x0000000000000000000000000000000000000001 to 0x00000000000000000000000000000000000fffff)
* are the redemption addresses.
* @param account address to check is a redemption address
*
* All transfers to redemption address will trigger token burn.
*
* @notice For transfer to succeed, canBurn must be true for redemption address
*
* @return is `account` a redemption address
*/
function isRedemptionAddress(address account) internal pure returns (bool) {
return uint256(account) < REDEMPTION_ADDRESS_COUNT && account != address(0);
}
}
// Dependency file: @chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol
// pragma solidity >=0.6.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
// getRoundData and latestRoundData should both raise "No data present"
// if they do not have data to report, instead of returning unset values
// which could be misinterpreted as actual reported values.
function getRoundData(uint80 _roundId)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
// Dependency file: contracts/interface/IProofOfReserveToken.sol
// pragma solidity 0.6.10;
interface IProofOfReserveToken {
/*** Admin Functions ***/
function setChainReserveFeed(address newFeed) external;
function setChainReserveHeartbeat(uint256 newHeartbeat) external;
function enableProofOfReserve() external;
function disableProofOfReserve() external;
/*** Events ***/
/**
* @notice Event emitted when the feed is updated
*/
event NewChainReserveFeed(address oldFeed, address newFeed);
/**
* @notice Event emitted when the heartbeat of chain reserve feed is updated
*/
event NewChainReserveHeartbeat(uint256 oldHeartbeat, uint256 newHeartbeat);
/**
* @notice Event emitted when Proof of Reserve is enabled
*/
event ProofOfReserveEnabled();
/**
* @notice Event emitted when Proof of Reserve is disabled
*/
event ProofOfReserveDisabled();
}
// Dependency file: contracts/TrueCurrencyWithProofOfReserve.sol
// pragma solidity 0.6.10;
// import {TrueCurrency} from "contracts/TrueCurrency.sol";
// import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
// import {IProofOfReserveToken} from "contracts/interface/IProofOfReserveToken.sol";
// import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol";
/**
* @title TrueCurrencyWithProofOfReserve
* @dev TrueCurrencyWithProofOfReserve is an ERC20 with blacklist & redemption addresses.
* Please see TrueCurrency for the implementation that this contract inherits from.
* This contract implements an additional check against a Proof-of-Reserves feed before
* allowing tokens to be minted.
*/
abstract contract TrueCurrencyWithProofOfReserve is TrueCurrency, IProofOfReserveToken {
using SafeMath for uint256;
/**
* @notice Overriden mint function that checks the specified proof-of-reserves feed to
* ensure that the total supply of this TrueCurrency is not greater than the reported
* reserves.
* @dev The proof-of-reserves check is bypassed if feed is not set.
* @param account The address to mint tokens to
* @param amount The amount of tokens to mint
*/
function _mint(address account, uint256 amount) internal virtual override {
if (chainReserveFeed == address(0) || !proofOfReserveEnabled) {
super._mint(account, amount);
return;
}
// Get required info about decimals.
// Decimals of the Proof of Reserve feed must be the same as the token's.
require(decimals() == AggregatorV3Interface(chainReserveFeed).decimals(), "TrueCurrency: Unexpected decimals of PoR feed");
// Get latest proof-of-reserves from the feed
(, int256 signedReserves, , uint256 updatedAt, ) = AggregatorV3Interface(chainReserveFeed).latestRoundData();
require(signedReserves > 0, "TrueCurrency: Invalid answer from PoR feed");
uint256 reserves = uint256(signedReserves);
// Sanity check: is chainlink answer updatedAt in the past
require(block.timestamp >= updatedAt, "TrueCurrency: invalid PoR updatedAt");
// Check the answer is fresh enough (i.e., within the specified heartbeat)
require(block.timestamp.sub(updatedAt) <= chainReserveHeartbeat, "TrueCurrency: PoR answer too old");
// Get required info about total supply.
// Check that after minting more tokens, the total supply would NOT exceed the reserves
// reported by the latest valid proof-of-reserves feed.
require(totalSupply() + amount <= reserves, "TrueCurrency: total supply would exceed reserves after mint");
super._mint(account, amount);
}
/**
* @notice Sets a new feed address
* @dev Admin function to set a new feed
* @param newFeed Address of the new feed
*/
function setChainReserveFeed(address newFeed) external override onlyOwner {
emit NewChainReserveFeed(chainReserveFeed, newFeed);
chainReserveFeed = newFeed;
if (newFeed == address(0)) {
proofOfReserveEnabled = false;
emit ProofOfReserveDisabled();
}
}
/**
* @notice Sets the feed's heartbeat expectation
* @dev Admin function to set the heartbeat
* @param newHeartbeat Value of the age of the latest update from the feed
*/
function setChainReserveHeartbeat(uint256 newHeartbeat) external override onlyOwner {
emit NewChainReserveHeartbeat(chainReserveHeartbeat, newHeartbeat);
chainReserveHeartbeat = newHeartbeat;
}
/**
* @notice Disable Proof of Reserve check
* @dev Admin function to disable Proof of Reserve
*/
function disableProofOfReserve() external override onlyOwner {
proofOfReserveEnabled = false;
emit ProofOfReserveDisabled();
}
/**
* @notice Enable Proof of Reserve check
* @dev Admin function to enable Proof of Reserve
*/
function enableProofOfReserve() external override onlyOwner {
require(chainReserveFeed != address(0), "TrueCurrency: chainReserveFeed not set");
require(chainReserveHeartbeat != 0, "TrueCurrency: chainReserveHeartbeat not set");
proofOfReserveEnabled = true;
emit ProofOfReserveEnabled();
}
}
// Root file: contracts/tokens/TrueUSD.sol
pragma solidity 0.6.10;
// import {TrueCurrencyWithProofOfReserve} from "contracts/TrueCurrencyWithProofOfReserve.sol";
/**
* @title TrueUSD
* @dev This is the top-level ERC20 contract, but most of the interesting functionality is
* inherited - see the documentation on the corresponding contracts.
*/
contract TrueUSD is TrueCurrencyWithProofOfReserve {
uint8 constant DECIMALS = 18;
uint8 constant ROUNDING = 2;
function decimals() public pure override returns (uint8) {
return DECIMALS;
}
function rounding() public pure returns (uint8) {
return ROUNDING;
}
function name() public pure override returns (string memory) {
return "TrueUSD";
}
function symbol() public pure override returns (string memory) {
return "TUSD";
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_blackListedUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"DestroyedBlackFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldFeed","type":"address"},{"indexed":false,"internalType":"address","name":"newFeed","type":"address"}],"name":"NewChainReserveFeed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldHeartbeat","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newHeartbeat","type":"uint256"}],"name":"NewChainReserveHeartbeat","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":[],"name":"ProofOfReserveDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"ProofOfReserveEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"SetBurnBounds","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":"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":[],"name":"burnMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"canBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainReserveFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainReserveHeartbeat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"_blackListedUser","type":"address"}],"name":"destroyBlackFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableProofOfReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableProofOfReserve","outputs":[],"stateMutability":"nonpayable","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"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofOfReserveEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"reclaimEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"reclaimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rounding","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"_isBlacklisted","type":"bool"}],"name":"setBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setBurnBounds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"_canBurn","type":"bool"}],"name":"setCanBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFeed","type":"address"}],"name":"setChainReserveFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newHeartbeat","type":"uint256"}],"name":"setChainReserveHeartbeat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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
60806040526005805460ff19169055600060068190556007556103e860155534801561002a57600080fd5b50600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36123d1806100836000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063b1684b17116100ad578063dd62ed3e1161007c578063dd62ed3e146105b5578063e30c3978146105e3578063ecae1e0c146105eb578063f2fde38b14610611578063f3bdc2281461063757610206565b8063b1684b171461056f578063cb4136c714610577578063d01dd6d21461057f578063dcb2126e146105ad57610206565b806395d89b41116100e957806395d89b41146104e95780639a6a30a4146104f1578063a457c2d714610517578063a9059cbb1461054357610206565b806370a0823114610443578063807496561461046957806388ee39cc146104975780638da5cb5b146104c557610206565b80633820a6861161019d57806341e92edc1161016c57806341e92edc146103eb57806342966c68146103f35780634e71e0c81461041057806352006050146104185780635c131d701461043b57610206565b80633820a68614610365578063395093511461038b57806339826dac146103b757806340c10f19146103bf57610206565b806323b872dd116101d957806323b872dd146102ea57806329a2ce9c146103205780632e4404031461033f578063313ce5671461035d57610206565b806302d3fdc91461020b57806306fdde0314610225578063095ea7b3146102a257806318160ddd146102e2575b600080fd5b61021361065d565b60408051918252519081900360200190f35b61022d610663565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ce600480360360408110156102b857600080fd5b506001600160a01b038135169060200135610684565b604080519115158252519081900360200190f35b6102136106a1565b6102ce6004803603606081101561030057600080fd5b506001600160a01b038135811691602081013590911690604001356106a7565b61033d6004803603602081101561033657600080fd5b5035610734565b005b6103476107c2565b6040805160ff9092168252519081900360200190f35b6103476107c7565b6102ce6004803603602081101561037b57600080fd5b50356001600160a01b03166107cc565b6102ce600480360360408110156103a157600080fd5b506001600160a01b0381351690602001356107e1565b610213610835565b61033d600480360360408110156103d557600080fd5b506001600160a01b03813516906020013561083b565b61033d610971565b61033d6004803603602081101561040957600080fd5b50356109f5565b61033d610a02565b61033d6004803603604081101561042e57600080fd5b5080359060200135610aba565b610213610b8e565b6102136004803603602081101561045957600080fd5b50356001600160a01b0316610b94565b61033d6004803603604081101561047f57600080fd5b506001600160a01b0381351690602001351515610baf565b61033d600480360360408110156104ad57600080fd5b506001600160a01b0381358116916020013516610c26565b6104cd610d6f565b604080516001600160a01b039092168252519081900360200190f35b61022d610d7e565b61033d6004803603602081101561050757600080fd5b50356001600160a01b0316610d9c565b6102ce6004803603604081101561052d57600080fd5b506001600160a01b038135169060200135610e21565b6102ce6004803603604081101561055957600080fd5b506001600160a01b038135169060200135610e8f565b6102ce610ea3565b61033d610eb3565b61033d6004803603604081101561059557600080fd5b506001600160a01b0381351690602001351515610fc2565b6104cd6110b9565b610213600480360360408110156105cb57600080fd5b506001600160a01b03813581169160200135166110c8565b6104cd6110f3565b61033d6004803603602081101561060157600080fd5b50356001600160a01b0316611102565b61033d6004803603602081101561062757600080fd5b50356001600160a01b03166111f1565b61033d6004803603602081101561064d57600080fd5b50356001600160a01b031661125f565b60065481565b604080518082019091526007815266151c9d595554d160ca1b602082015290565b6000610698610691611350565b8484611354565b50600192915050565b60045490565b60006106b484848461141d565b61072a846106c0611350565b6107258560405180606001604052806028815260200161213f602891396001600160a01b038a166000908152600f60205260408120906106fe611350565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61154c16565b611354565b5060019392505050565b6000546001600160a01b03163314610780576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b601854604080519182526020820183905280517f8f4442a73fbe31a2f75eb1b278a10e2d878b58f80fe113c7b63c313fb05c48379281900390910190a1601855565b600290565b601290565b60176020526000908152604090205460ff1681565b60006106986107ee611350565b8461072585600f60006107ff611350565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6115e316565b60185481565b6000546001600160a01b03163314610887576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff16156108df5760405162461bcd60e51b815260040180806020018281038252602481526020018061203b6024913960400191505060405180910390fd5b6108e882611644565b156109245760405162461bcd60e51b815260040180806020018281038252602d815260200180612167602d913960400191505060405180910390fd5b61092e828261166f565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6000546001600160a01b031633146109bd576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6019805460ff60a01b191690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a1565b6109ff338261192c565b50565b6001546001600160a01b03163314610a56576040805162461bcd60e51b815260206004820152601260248201527137b7363c903832b73234b7339037bbb732b960711b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000546001600160a01b03163314610b06576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b80821115610b455760405162461bcd60e51b815260040180806020018281038252602281526020018061211d6022913960400191505060405180910390fd5b60068290556007819055604080518381526020810183905281517f21d54a4c1f750b4f93779e3e8b4de89db3f31bab8f203e68569727fee906cc32929181900390910190a15050565b60075481565b6001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b03163314610bfb576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610c72576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d6020811015610ce657600080fd5b50516040805163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b158015610d3e57600080fd5b505af1158015610d52573d6000803e3d6000fd5b505050506040513d6020811015610d6857600080fd5b5050505050565b6000546001600160a01b031681565b604080518082019091526004815263151554d160e21b602082015290565b6000546001600160a01b03163314610de8576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610e1d573d6000803e3d6000fd5b5050565b6000610698610e2e611350565b846107258560405180606001604052806025815260200161231e60259139600f6000610e58611350565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61154c16565b6000610698610e9c611350565b848461141d565b601954600160a01b900460ff1681565b6000546001600160a01b03163314610eff576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6019546001600160a01b0316610f465760405162461bcd60e51b81526004018080602001828103825260268152602001806120f76026913960400191505060405180910390fd5b601854610f845760405162461bcd60e51b815260040180806020018281038252602b81526020018061228d602b913960400191505060405180910390fd5b6019805460ff60a01b1916600160a01b1790556040517f7082258d7dd34469380c488363d2f89413f24989ca88d6d70a0b7222f47b50f990600090a1565b6000546001600160a01b0316331461100e576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b62100000826001600160a01b031610156110595760405162461bcd60e51b815260040180806020018281038252603f815260200180612194603f913960400191505060405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff1916851515908117909155825190815291517fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd89281900390910190a25050565b6019546001600160a01b031681565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b6001546001600160a01b031681565b6000546001600160a01b0316331461114e576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b601954604080516001600160a01b039283168152918316602083015280517fb566b2540a94f2713f3e0bcd83e8487b19cbf5ec138d8bfcf01722075dd063759281900390910190a1601980546001600160a01b0319166001600160a01b0383169081179091556109ff576019805460ff60a01b191690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a150565b6000546001600160a01b0316331461123d576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146112ab576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03811660009081526016602052604090205460ff166112d057600080fd5b60006112db82610b94565b6001600160a01b0383166000908152600e602052604081205560045490915061130a908263ffffffff61198d16565b6004556040805182815290516001600160a01b038416917f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6919081900360200190a25050565b3390565b6001600160a01b03831660009081526016602052604090205460ff16156113ac5760405162461bcd60e51b81526004018080602001828103825260298152602001806120856029913960400191505060405180910390fd5b6001600160a01b03821660009081526016602052604090205460ff1615806113d2575080155b61140d5760405162461bcd60e51b815260040180806020018281038252602b815260200180611f9f602b913960400191505060405180910390fd5b6114188383836119ea565b505050565b6001600160a01b03831660009081526016602052604090205460ff16156114755760405162461bcd60e51b815260040180806020018281038252602381526020018061226a6023913960400191505060405180910390fd5b6001600160a01b03821660009081526016602052604090205460ff16156114cd5760405162461bcd60e51b81526004018080602001828103825260268152602001806120ae6026913960400191505060405180910390fd5b6114d682611644565b156115415761150c83836115076114fa85662386f26fc1000063ffffffff611ad616565b859063ffffffff61198d16565b611b3d565b61153c8261153761152a84662386f26fc1000063ffffffff611ad616565b849063ffffffff61198d16565b61192c565b611418565b611418838383611b3d565b600081848411156115db5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115a0578181015183820152602001611588565b50505050905090810190601f1680156115cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561163d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600062100000826001600160a01b031610801561166957506001600160a01b03821615155b92915050565b6019546001600160a01b031615806116915750601954600160a01b900460ff16155b156116a5576116a08282611ca6565b610e1d565b601960009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d602081101561171d57600080fd5b505160ff1661172a6107c7565b60ff16146117695760405162461bcd60e51b815260040180806020018281038252602d815260200180612219602d913960400191505060405180910390fd5b600080601960009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156117ba57600080fd5b505afa1580156117ce573d6000803e3d6000fd5b505050506040513d60a08110156117e457600080fd5b5060208101516060909101519092509050600082136118345760405162461bcd60e51b815260040180806020018281038252602a815260200180612343602a913960400191505060405180910390fd5b81428211156118745760405162461bcd60e51b81526004018080602001828103825260238152602001806120d46023913960400191505060405180910390fd5b601854611887428463ffffffff61198d16565b11156118da576040805162461bcd60e51b815260206004820181905260248201527f5472756543757272656e63793a20506f5220616e7377657220746f6f206f6c64604482015290519081900360640190fd5b80846118e46106a1565b0111156119225760405162461bcd60e51b815260040180806020018281038252603b8152602001806122e3603b913960400191505060405180910390fd5b610d688585611ca6565b6001600160a01b03821660009081526017602052604090205460ff166119835760405162461bcd60e51b815260040180806020018281038252602b8152602001806122b8602b913960400191505060405180910390fd5b610e1d8282611da4565b6000828211156119e4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b038316611a2f5760405162461bcd60e51b81526004018080602001828103825260248152602001806122466024913960400191505060405180910390fd5b6001600160a01b038216611a745760405162461bcd60e51b81526004018080602001828103825260228152602001806120196022913960400191505060405180910390fd5b6001600160a01b038084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808211611b2c576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b818381611b3557fe5b069392505050565b6001600160a01b038316611b825760405162461bcd60e51b81526004018080602001828103825260258152602001806121f46025913960400191505060405180910390fd5b6001600160a01b038216611bc75760405162461bcd60e51b8152600401808060200182810382526023815260200180611f7c6023913960400191505060405180910390fd5b611bd2838383611418565b611c158160405180606001604052806026815260200161205f602691396001600160a01b0386166000908152600e6020526040902054919063ffffffff61154c16565b6001600160a01b038085166000908152600e60205260408082209390935590841681522054611c4a908263ffffffff6115e316565b6001600160a01b038084166000818152600e602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216611d01576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611d0d60008383611418565b600454611d20908263ffffffff6115e316565b6004556001600160a01b0382166000908152600e6020526040902054611d4c908263ffffffff6115e316565b6001600160a01b0383166000818152600e602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600654811015611de55760405162461bcd60e51b815260040180806020018281038252602d815260200180611fca602d913960400191505060405180910390fd5b600754811115611e265760405162461bcd60e51b815260040180806020018281038252602f81526020018061236d602f913960400191505060405180910390fd5b611e308282611e73565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6001600160a01b038216611eb85760405162461bcd60e51b81526004018080602001828103825260218152602001806121d36021913960400191505060405180910390fd5b611ec482600083611418565b611f0781604051806060016040528060228152602001611ff7602291396001600160a01b0385166000908152600e6020526040902054919063ffffffff61154c16565b6001600160a01b0383166000908152600e6020526040902055600454611f33908263ffffffff61198d16565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735472756543757272656e63793a20746f6b656e73207370656e64657220697320626c61636b6c69737465644275726e61626c65546f6b656e57697468426f756e64733a2062656c6f77206d696e206275726e20626f756e6445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735472756543757272656e63793a206163636f756e7420697320626c61636b6c697374656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472756543757272656e63793a20746f6b656e73206f776e657220697320626c61636b6c69737465645472756543757272656e63793a20726563697069656e7420697320626c61636b6c69737465645472756543757272656e63793a20696e76616c696420506f52207570646174656441745472756543757272656e63793a20636861696e5265736572766546656564206e6f74207365744275726e61626c65546f6b656e57697468426f756e64733a206d696e203e206d617845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472756543757272656e63793a206163636f756e74206973206120726564656d7074696f6e20616464726573735472756543757272656e63793a20626c61636b6c697374696e67206f6620726564656d7074696f6e2061646472657373206973206e6f7420616c6c6f77656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735472756543757272656e63793a20556e657870656374656420646563696d616c73206f6620506f52206665656445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472756543757272656e63793a2073656e64657220697320626c61636b6c69737465645472756543757272656e63793a20636861696e52657365727665486561727462656174206e6f74207365745472756543757272656e63793a2063616e6e6f74206275726e2066726f6d207468697320616464726573735472756543757272656e63793a20746f74616c20737570706c7920776f756c6420657863656564207265736572766573206166746572206d696e7445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5472756543757272656e63793a20496e76616c696420616e737765722066726f6d20506f5220666565644275726e61626c65546f6b656e57697468426f756e64733a2065786365656473206d6178206275726e20626f756e64a2646970667358221220b6177f31b2e97a08840cb7cc499be2a5e85b60f8f9d2f59f217557bc5ff7a15f64736f6c634300060a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063b1684b17116100ad578063dd62ed3e1161007c578063dd62ed3e146105b5578063e30c3978146105e3578063ecae1e0c146105eb578063f2fde38b14610611578063f3bdc2281461063757610206565b8063b1684b171461056f578063cb4136c714610577578063d01dd6d21461057f578063dcb2126e146105ad57610206565b806395d89b41116100e957806395d89b41146104e95780639a6a30a4146104f1578063a457c2d714610517578063a9059cbb1461054357610206565b806370a0823114610443578063807496561461046957806388ee39cc146104975780638da5cb5b146104c557610206565b80633820a6861161019d57806341e92edc1161016c57806341e92edc146103eb57806342966c68146103f35780634e71e0c81461041057806352006050146104185780635c131d701461043b57610206565b80633820a68614610365578063395093511461038b57806339826dac146103b757806340c10f19146103bf57610206565b806323b872dd116101d957806323b872dd146102ea57806329a2ce9c146103205780632e4404031461033f578063313ce5671461035d57610206565b806302d3fdc91461020b57806306fdde0314610225578063095ea7b3146102a257806318160ddd146102e2575b600080fd5b61021361065d565b60408051918252519081900360200190f35b61022d610663565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ce600480360360408110156102b857600080fd5b506001600160a01b038135169060200135610684565b604080519115158252519081900360200190f35b6102136106a1565b6102ce6004803603606081101561030057600080fd5b506001600160a01b038135811691602081013590911690604001356106a7565b61033d6004803603602081101561033657600080fd5b5035610734565b005b6103476107c2565b6040805160ff9092168252519081900360200190f35b6103476107c7565b6102ce6004803603602081101561037b57600080fd5b50356001600160a01b03166107cc565b6102ce600480360360408110156103a157600080fd5b506001600160a01b0381351690602001356107e1565b610213610835565b61033d600480360360408110156103d557600080fd5b506001600160a01b03813516906020013561083b565b61033d610971565b61033d6004803603602081101561040957600080fd5b50356109f5565b61033d610a02565b61033d6004803603604081101561042e57600080fd5b5080359060200135610aba565b610213610b8e565b6102136004803603602081101561045957600080fd5b50356001600160a01b0316610b94565b61033d6004803603604081101561047f57600080fd5b506001600160a01b0381351690602001351515610baf565b61033d600480360360408110156104ad57600080fd5b506001600160a01b0381358116916020013516610c26565b6104cd610d6f565b604080516001600160a01b039092168252519081900360200190f35b61022d610d7e565b61033d6004803603602081101561050757600080fd5b50356001600160a01b0316610d9c565b6102ce6004803603604081101561052d57600080fd5b506001600160a01b038135169060200135610e21565b6102ce6004803603604081101561055957600080fd5b506001600160a01b038135169060200135610e8f565b6102ce610ea3565b61033d610eb3565b61033d6004803603604081101561059557600080fd5b506001600160a01b0381351690602001351515610fc2565b6104cd6110b9565b610213600480360360408110156105cb57600080fd5b506001600160a01b03813581169160200135166110c8565b6104cd6110f3565b61033d6004803603602081101561060157600080fd5b50356001600160a01b0316611102565b61033d6004803603602081101561062757600080fd5b50356001600160a01b03166111f1565b61033d6004803603602081101561064d57600080fd5b50356001600160a01b031661125f565b60065481565b604080518082019091526007815266151c9d595554d160ca1b602082015290565b6000610698610691611350565b8484611354565b50600192915050565b60045490565b60006106b484848461141d565b61072a846106c0611350565b6107258560405180606001604052806028815260200161213f602891396001600160a01b038a166000908152600f60205260408120906106fe611350565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61154c16565b611354565b5060019392505050565b6000546001600160a01b03163314610780576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b601854604080519182526020820183905280517f8f4442a73fbe31a2f75eb1b278a10e2d878b58f80fe113c7b63c313fb05c48379281900390910190a1601855565b600290565b601290565b60176020526000908152604090205460ff1681565b60006106986107ee611350565b8461072585600f60006107ff611350565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6115e316565b60185481565b6000546001600160a01b03163314610887576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff16156108df5760405162461bcd60e51b815260040180806020018281038252602481526020018061203b6024913960400191505060405180910390fd5b6108e882611644565b156109245760405162461bcd60e51b815260040180806020018281038252602d815260200180612167602d913960400191505060405180910390fd5b61092e828261166f565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6000546001600160a01b031633146109bd576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6019805460ff60a01b191690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a1565b6109ff338261192c565b50565b6001546001600160a01b03163314610a56576040805162461bcd60e51b815260206004820152601260248201527137b7363c903832b73234b7339037bbb732b960711b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000546001600160a01b03163314610b06576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b80821115610b455760405162461bcd60e51b815260040180806020018281038252602281526020018061211d6022913960400191505060405180910390fd5b60068290556007819055604080518381526020810183905281517f21d54a4c1f750b4f93779e3e8b4de89db3f31bab8f203e68569727fee906cc32929181900390910190a15050565b60075481565b6001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b03163314610bfb576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610c72576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d6020811015610ce657600080fd5b50516040805163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b158015610d3e57600080fd5b505af1158015610d52573d6000803e3d6000fd5b505050506040513d6020811015610d6857600080fd5b5050505050565b6000546001600160a01b031681565b604080518082019091526004815263151554d160e21b602082015290565b6000546001600160a01b03163314610de8576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610e1d573d6000803e3d6000fd5b5050565b6000610698610e2e611350565b846107258560405180606001604052806025815260200161231e60259139600f6000610e58611350565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61154c16565b6000610698610e9c611350565b848461141d565b601954600160a01b900460ff1681565b6000546001600160a01b03163314610eff576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6019546001600160a01b0316610f465760405162461bcd60e51b81526004018080602001828103825260268152602001806120f76026913960400191505060405180910390fd5b601854610f845760405162461bcd60e51b815260040180806020018281038252602b81526020018061228d602b913960400191505060405180910390fd5b6019805460ff60a01b1916600160a01b1790556040517f7082258d7dd34469380c488363d2f89413f24989ca88d6d70a0b7222f47b50f990600090a1565b6000546001600160a01b0316331461100e576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b62100000826001600160a01b031610156110595760405162461bcd60e51b815260040180806020018281038252603f815260200180612194603f913960400191505060405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff1916851515908117909155825190815291517fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd89281900390910190a25050565b6019546001600160a01b031681565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b6001546001600160a01b031681565b6000546001600160a01b0316331461114e576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b601954604080516001600160a01b039283168152918316602083015280517fb566b2540a94f2713f3e0bcd83e8487b19cbf5ec138d8bfcf01722075dd063759281900390910190a1601980546001600160a01b0319166001600160a01b0383169081179091556109ff576019805460ff60a01b191690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a150565b6000546001600160a01b0316331461123d576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146112ab576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9027bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03811660009081526016602052604090205460ff166112d057600080fd5b60006112db82610b94565b6001600160a01b0383166000908152600e602052604081205560045490915061130a908263ffffffff61198d16565b6004556040805182815290516001600160a01b038416917f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6919081900360200190a25050565b3390565b6001600160a01b03831660009081526016602052604090205460ff16156113ac5760405162461bcd60e51b81526004018080602001828103825260298152602001806120856029913960400191505060405180910390fd5b6001600160a01b03821660009081526016602052604090205460ff1615806113d2575080155b61140d5760405162461bcd60e51b815260040180806020018281038252602b815260200180611f9f602b913960400191505060405180910390fd5b6114188383836119ea565b505050565b6001600160a01b03831660009081526016602052604090205460ff16156114755760405162461bcd60e51b815260040180806020018281038252602381526020018061226a6023913960400191505060405180910390fd5b6001600160a01b03821660009081526016602052604090205460ff16156114cd5760405162461bcd60e51b81526004018080602001828103825260268152602001806120ae6026913960400191505060405180910390fd5b6114d682611644565b156115415761150c83836115076114fa85662386f26fc1000063ffffffff611ad616565b859063ffffffff61198d16565b611b3d565b61153c8261153761152a84662386f26fc1000063ffffffff611ad616565b849063ffffffff61198d16565b61192c565b611418565b611418838383611b3d565b600081848411156115db5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115a0578181015183820152602001611588565b50505050905090810190601f1680156115cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561163d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600062100000826001600160a01b031610801561166957506001600160a01b03821615155b92915050565b6019546001600160a01b031615806116915750601954600160a01b900460ff16155b156116a5576116a08282611ca6565b610e1d565b601960009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d602081101561171d57600080fd5b505160ff1661172a6107c7565b60ff16146117695760405162461bcd60e51b815260040180806020018281038252602d815260200180612219602d913960400191505060405180910390fd5b600080601960009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156117ba57600080fd5b505afa1580156117ce573d6000803e3d6000fd5b505050506040513d60a08110156117e457600080fd5b5060208101516060909101519092509050600082136118345760405162461bcd60e51b815260040180806020018281038252602a815260200180612343602a913960400191505060405180910390fd5b81428211156118745760405162461bcd60e51b81526004018080602001828103825260238152602001806120d46023913960400191505060405180910390fd5b601854611887428463ffffffff61198d16565b11156118da576040805162461bcd60e51b815260206004820181905260248201527f5472756543757272656e63793a20506f5220616e7377657220746f6f206f6c64604482015290519081900360640190fd5b80846118e46106a1565b0111156119225760405162461bcd60e51b815260040180806020018281038252603b8152602001806122e3603b913960400191505060405180910390fd5b610d688585611ca6565b6001600160a01b03821660009081526017602052604090205460ff166119835760405162461bcd60e51b815260040180806020018281038252602b8152602001806122b8602b913960400191505060405180910390fd5b610e1d8282611da4565b6000828211156119e4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b038316611a2f5760405162461bcd60e51b81526004018080602001828103825260248152602001806122466024913960400191505060405180910390fd5b6001600160a01b038216611a745760405162461bcd60e51b81526004018080602001828103825260228152602001806120196022913960400191505060405180910390fd5b6001600160a01b038084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808211611b2c576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b818381611b3557fe5b069392505050565b6001600160a01b038316611b825760405162461bcd60e51b81526004018080602001828103825260258152602001806121f46025913960400191505060405180910390fd5b6001600160a01b038216611bc75760405162461bcd60e51b8152600401808060200182810382526023815260200180611f7c6023913960400191505060405180910390fd5b611bd2838383611418565b611c158160405180606001604052806026815260200161205f602691396001600160a01b0386166000908152600e6020526040902054919063ffffffff61154c16565b6001600160a01b038085166000908152600e60205260408082209390935590841681522054611c4a908263ffffffff6115e316565b6001600160a01b038084166000818152600e602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216611d01576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611d0d60008383611418565b600454611d20908263ffffffff6115e316565b6004556001600160a01b0382166000908152600e6020526040902054611d4c908263ffffffff6115e316565b6001600160a01b0383166000818152600e602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600654811015611de55760405162461bcd60e51b815260040180806020018281038252602d815260200180611fca602d913960400191505060405180910390fd5b600754811115611e265760405162461bcd60e51b815260040180806020018281038252602f81526020018061236d602f913960400191505060405180910390fd5b611e308282611e73565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6001600160a01b038216611eb85760405162461bcd60e51b81526004018080602001828103825260218152602001806121d36021913960400191505060405180910390fd5b611ec482600083611418565b611f0781604051806060016040528060228152602001611ff7602291396001600160a01b0385166000908152600e6020526040902054919063ffffffff61154c16565b6001600160a01b0383166000908152600e6020526040902055600454611f33908263ffffffff61198d16565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735472756543757272656e63793a20746f6b656e73207370656e64657220697320626c61636b6c69737465644275726e61626c65546f6b656e57697468426f756e64733a2062656c6f77206d696e206275726e20626f756e6445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735472756543757272656e63793a206163636f756e7420697320626c61636b6c697374656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472756543757272656e63793a20746f6b656e73206f776e657220697320626c61636b6c69737465645472756543757272656e63793a20726563697069656e7420697320626c61636b6c69737465645472756543757272656e63793a20696e76616c696420506f52207570646174656441745472756543757272656e63793a20636861696e5265736572766546656564206e6f74207365744275726e61626c65546f6b656e57697468426f756e64733a206d696e203e206d617845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472756543757272656e63793a206163636f756e74206973206120726564656d7074696f6e20616464726573735472756543757272656e63793a20626c61636b6c697374696e67206f6620726564656d7074696f6e2061646472657373206973206e6f7420616c6c6f77656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735472756543757272656e63793a20556e657870656374656420646563696d616c73206f6620506f52206665656445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472756543757272656e63793a2073656e64657220697320626c61636b6c69737465645472756543757272656e63793a20636861696e52657365727665486561727462656174206e6f74207365745472756543757272656e63793a2063616e6e6f74206275726e2066726f6d207468697320616464726573735472756543757272656e63793a20746f74616c20737570706c7920776f756c6420657863656564207265736572766573206166746572206d696e7445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5472756543757272656e63793a20496e76616c696420616e737765722066726f6d20506f5220666565644275726e61626c65546f6b656e57697468426f756e64733a2065786365656473206d6178206275726e20626f756e64a2646970667358221220b6177f31b2e97a08840cb7cc499be2a5e85b60f8f9d2f59f217557bc5ff7a15f64736f6c634300060a0033
Deployed Bytecode Sourcemap
54902:520:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21034:26;;;:::i;:::-;;;;;;;;;;;;;;;;55220:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30373:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30373:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29326:108;;;:::i;31016:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31016:321:0;;;;;;;;;;;;;;;;;:::i;53578:216::-;;;;;;;;;;;;;;;;-1:-1:-1;53578:216:0;;:::i;:::-;;55130:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55031:91;;;:::i;22092:39::-;;;;;;;;;;;;;;;;-1:-1:-1;22092:39:0;-1:-1:-1;;;;;22092:39:0;;:::i;31746:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31746:218:0;;;;;;;;:::i;22188:36::-;;;:::i;44116:334::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44116:334:0;;;;;;;;:::i;53923:149::-;;;:::i;39479:92::-;;;;;;;;;;;;;;;;-1:-1:-1;39479:92:0;;:::i;25605:184::-;;;:::i;40159:248::-;;;;;;;;;;;;;;;;-1:-1:-1;40159:248:0;;;;;;;:::i;21067:26::-;;;:::i;29497:127::-;;;;;;;;;;;;;;;;-1:-1:-1;29497:127:0;-1:-1:-1;;;;;29497:127:0;;:::i;45297:126::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45297:126:0;;;;;;;;;;:::i;37689:183::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37689:183:0;;;;;;;;;;:::i;20753:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;20753:20:0;;;;;;;;;;;;;;55324:95;;;:::i;37343:125::-;;;;;;;;;;;;;;;;-1:-1:-1;37343:125:0;-1:-1:-1;;;;;37343:125:0;;:::i;32467:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32467:269:0;;;;;;;;:::i;29837:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29837:175:0;;;;;;;;:::i;22269:33::-;;;:::i;54199:331::-;;;:::i;44715:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44715:331:0;;;;;;;;;;:::i;22231:31::-;;;:::i;30075:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30075:151:0;;;;;;;;;;:::i;20780:27::-;;;:::i;53051:318::-;;;;;;;;;;;;;;;;-1:-1:-1;53051:318:0;-1:-1:-1;;;;;53051:318:0;;:::i;25402:106::-;;;;;;;;;;;;;;;;-1:-1:-1;25402:106:0;-1:-1:-1;;;;;25402:106:0;;:::i;41190:362::-;;;;;;;;;;;;;;;;-1:-1:-1;41190:362:0;-1:-1:-1;;;;;41190:362:0;;:::i;21034:26::-;;;;:::o;55220:96::-;55292:16;;;;;;;;;;;;-1:-1:-1;;;55292:16:0;;;;55220:96;:::o;30373:169::-;30456:4;30473:39;30482:12;:10;:12::i;:::-;30496:7;30505:6;30473:8;:39::i;:::-;-1:-1:-1;30530:4:0;30373:169;;;;:::o;29326:108::-;29414:12;;29326:108;:::o;31016:321::-;31122:4;31139:36;31149:6;31157:9;31168:6;31139:9;:36::i;:::-;31186:121;31195:6;31203:12;:10;:12::i;:::-;31217:89;31255:6;31217:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31217:19:0;;;;;;:11;:19;;;;;;31237:12;:10;:12::i;:::-;-1:-1:-1;;;;;31217:33:0;;;;;;;;;;;;-1:-1:-1;31217:33:0;;;:89;;:37;:89;:::i;:::-;31186:8;:121::i;:::-;-1:-1:-1;31325:4:0;31016:321;;;;;:::o;53578:216::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;53703:21:::1;::::0;53678:61:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;53750:21;:36:::0;53578:216::o;55130:82::-;55021:1;55130:82;:::o;55031:91::-;54986:2;55031:91;:::o;22092:39::-;;;;;;;;;;;;;;;:::o;31746:218::-;31834:4;31851:83;31860:12;:10;:12::i;:::-;31874:7;31883:50;31922:10;31883:11;:25;31895:12;:10;:12::i;:::-;-1:-1:-1;;;;;31883:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31883:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;22188:36::-;;;;:::o;44116:334::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44211:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;::::1;;44210:23;44202:72;;;;-1:-1:-1::0;;;44202:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44294:28;44314:7;44294:19;:28::i;:::-;44293:29;44285:87;;;;-1:-1:-1::0;;;44285:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44383:22;44389:7;44398:6;44383:5;:22::i;:::-;44421:21;::::0;;;;;;;-1:-1:-1;;;;;44421:21:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;44116:334:::0;;:::o;53923:149::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;53995:21:::1;:29:::0;;-1:-1:-1;;;;53995:29:0::1;::::0;;54040:24:::1;::::0;::::1;::::0;54019:5:::1;::::0;54040:24:::1;53923:149::o:0;39479:92::-;39538:25;39544:10;39556:6;39538:5;:25::i;:::-;39479:92;:::o;25605:184::-;25188:12;;-1:-1:-1;;;;;25188:12:0;25174:10;:26;25166:57;;;;;-1:-1:-1;;;25166:57:0;;;;;;;;;;;;-1:-1:-1;;;25166:57:0;;;;;;;;;;;;;;;25701:12:::1;::::0;::::1;25694:5:::0;;25673:41:::1;::::0;-1:-1:-1;;;;;25701:12:0;;::::1;::::0;25694:5;;::::1;::::0;25673:41:::1;::::0;::::1;25733:12;::::0;;::::1;25725:20:::0;;-1:-1:-1;;;;;;25725:20:0;;::::1;-1:-1:-1::0;;;;;25733:12:0;::::1;25725:20;::::0;;;25756:25:::1;::::0;;25605:184::o;40159:248::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;40265:4:::1;40257;:12;;40249:59;;;;-1:-1:-1::0;;;40249:59:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40319:7;:14:::0;;;40344:7:::1;:14:::0;;;40374:25:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;40159:248:::0;;:::o;21067:26::-;;;;:::o;29497:127::-;-1:-1:-1;;;;;29598:18:0;29571:7;29598:18;;;:9;:18;;;;;;;29497:127::o;45297:126::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45388:16:0;;;::::1;;::::0;;;:7:::1;:16;::::0;;;;:27;;-1:-1:-1;;45388:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;45297:126::o;37689:183::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;37795:30:::1;::::0;;-1:-1:-1;;;37795:30:0;;37819:4:::1;37795:30;::::0;::::1;::::0;;;37777:15:::1;::::0;-1:-1:-1;;;;;37795:15:0;::::1;::::0;::::1;::::0;:30;;;;;::::1;::::0;;;;;;;;;:15;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37795:30:0;37836:28:::1;::::0;;-1:-1:-1;;;37836:28:0;;-1:-1:-1;;;;;37836:28:0;;::::1;;::::0;::::1;::::0;;;;;;;;;37795:30;;-1:-1:-1;37836:14:0;;::::1;::::0;::::1;::::0;:28;;;;;37795:30:::1;::::0;37836:28;;;;;;;;-1:-1:-1;37836:14:0;:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;37689:183:0:o;20753:20::-;;;-1:-1:-1;;;;;20753:20:0;;:::o;55324:95::-;55398:13;;;;;;;;;;;;-1:-1:-1;;;55398:13:0;;;;55324:95;:::o;37343:125::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;37425:35:::1;::::0;-1:-1:-1;;;;;37425:12:0;::::1;::::0;37438:21:::1;37425:35:::0;::::1;;;::::0;::::1;::::0;;;37438:21;37425:12;:35;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;37343:125:::0;:::o;32467:269::-;32560:4;32577:129;32586:12;:10;:12::i;:::-;32600:7;32609:96;32648:15;32609:96;;;;;;;;;;;;;;;;;:11;:25;32621:12;:10;:12::i;:::-;-1:-1:-1;;;;;32609:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32609:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;29837:175::-;29923:4;29940:42;29950:12;:10;:12::i;:::-;29964:9;29975:6;29940:9;:42::i;22269:33::-;;;-1:-1:-1;;;22269:33:0;;;;;:::o;54199:331::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;54278:16:::1;::::0;-1:-1:-1;;;;;54278:16:0::1;54270:81;;;;-1:-1:-1::0;;;54270:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54370:21;::::0;54362:82:::1;;;;-1:-1:-1::0;;;54362:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54455:21;:28:::0;;-1:-1:-1;;;;54455:28:0::1;-1:-1:-1::0;;;54455:28:0::1;::::0;;54499:23:::1;::::0;::::1;::::0;54455:28;;54499:23:::1;54199:331::o:0;44715:::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;43280:8:::1;44832:7;-1:-1:-1::0;;;;;44824:16:0::1;:44;;44816:120;;;;-1:-1:-1::0;;;44816:120:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;44947:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;;:39;;-1:-1:-1;;44947:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;45002:36;;;;;;;::::1;::::0;;;;;;;;::::1;44715:331:::0;;:::o;22231:31::-;;;-1:-1:-1;;;;;22231:31:0;;:::o;30075:151::-;-1:-1:-1;;;;;30191:18:0;;;30164:7;30191:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;30075:151::o;20780:27::-;;;-1:-1:-1;;;;;20780:27:0;;:::o;53051:318::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;53161:16:::1;::::0;53141:46:::1;::::0;;-1:-1:-1;;;;;53161:16:0;;::::1;53141:46:::0;;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;53198:16;:26:::0;;-1:-1:-1;;;;;;53198:26:0::1;-1:-1:-1::0;;;;;53198:26:0;::::1;::::0;;::::1;::::0;;;53235:127:::1;;53277:21;:29:::0;;-1:-1:-1;;;;53277:29:0::1;::::0;;53326:24:::1;::::0;::::1;::::0;53301:5:::1;::::0;53326:24:::1;53051:318:::0;:::o;25402:106::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;25477:12:::1;:23:::0;;-1:-1:-1;;;;;;25477:23:0::1;-1:-1:-1::0;;;;;25477:23:0;;;::::1;::::0;;;::::1;::::0;;25402:106::o;41190:362::-;24978:5;;-1:-1:-1;;;;;24978:5:0;24964:10;:19;24956:42;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;-1:-1:-1;;;24956:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;41290:31:0;::::1;;::::0;;;:13:::1;:31;::::0;;;;;::::1;;41282:40;;;::::0;::::1;;41333:18;41354:27;41364:16;41354:9;:27::i;:::-;-1:-1:-1::0;;;;;41394:27:0;::::1;41424:1;41394:27:::0;;;:9:::1;:27;::::0;;;;:31;41451:12:::1;::::0;41333:48;;-1:-1:-1;41451:28:0::1;::::0;41333:48;41451:28:::1;:16;:28;:::i;:::-;41436:12;:43:::0;41495:49:::1;::::0;;;;;;;-1:-1:-1;;;;;41495:49:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;25009:1;41190:362:::0;:::o;4228:106::-;4316:10;4228:106;:::o;46662:368::-;-1:-1:-1;;;;;46800:20:0;;;;;;:13;:20;;;;;;;;46799:21;46791:75;;;;-1:-1:-1;;;46791:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46886:22:0;;;;;;:13;:22;;;;;;;;46885:23;;:38;;-1:-1:-1;46912:11:0;;46885:38;46877:94;;;;-1:-1:-1;;;46877:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46984:38;46999:5;47006:7;47015:6;46984:14;:38::i;:::-;46662:368;;;:::o;45822:581::-;-1:-1:-1;;;;;45972:21:0;;;;;;:13;:21;;;;;;;;45971:22;45963:70;;;;-1:-1:-1;;;45963:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46053:24:0;;;;;;:13;:24;;;;;;;;46052:25;46044:76;;;;-1:-1:-1;;;46044:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46137:30;46157:9;46137:19;:30::i;:::-;46133:263;;;46184:64;46200:6;46208:9;46219:28;46230:16;:6;43223;46230:16;:10;:16;:::i;:::-;46219:6;;:28;:10;:28;:::i;:::-;46184:15;:64::i;:::-;46263:46;46269:9;46280:28;46291:16;:6;43223;46291:16;:10;:16;:::i;:::-;46280:6;;:28;:10;:28;:::i;:::-;46263:5;:46::i;:::-;46133:263;;;46342:42;46358:6;46366:9;46377:6;46342:15;:42::i;10383:166::-;10469:7;10505:12;10497:6;;;;10489:29;;;;-1:-1:-1;;;10489:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10536:5:0;;;10383:166::o;7556:179::-;7614:7;7646:5;;;7670:6;;;;7662:46;;;;;-1:-1:-1;;;7662:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7726:1;7556:179;-1:-1:-1;;;7556:179:0:o;47906:169::-;47975:4;43280:8;48007:7;-1:-1:-1;;;;;47999:16:0;:43;:68;;;;-1:-1:-1;;;;;;48046:21:0;;;;47999:68;47992:75;47906:169;-1:-1:-1;;47906:169:0:o;51363:1529::-;51452:16;;-1:-1:-1;;;;;51452:16:0;:30;;:56;;-1:-1:-1;51487:21:0;;-1:-1:-1;;;51487:21:0;;;;51486:22;51452:56;51448:138;;;51525:28;51537:7;51546:6;51525:11;:28::i;:::-;51568:7;;51448:138;51769:16;;;;;;;;;-1:-1:-1;;;;;51769:16:0;-1:-1:-1;;;;;51747:48:0;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51747:50:0;51733:64;;:10;:8;:10::i;:::-;:64;;;51725:122;;;;-1:-1:-1;;;51725:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51918:21;51943:17;51988:16;;;;;;;;;-1:-1:-1;;;;;51988:16:0;-1:-1:-1;;;;;51966:55:0;;:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51966:57:0;;;;;;;;;;;-1:-1:-1;51966:57:0;-1:-1:-1;52059:1:0;52042:18;;52034:73;;;;-1:-1:-1;;;52034:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52145:14;52249:15;:28;-1:-1:-1;52249:28:0;52241:76;;;;-1:-1:-1;;;52241:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52456:21;;52422:30;:15;52442:9;52422:30;:19;:30;:::i;:::-;:55;;52414:100;;;;;-1:-1:-1;;;52414:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52773:8;52763:6;52747:13;:11;:13::i;:::-;:22;:34;;52739:106;;;;-1:-1:-1;;;52739:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52856:28;52868:7;52877:6;52856:11;:28::i;47223:196::-;-1:-1:-1;;;;;47308:16:0;;;;;;:7;:16;;;;;;;;47300:72;;;;-1:-1:-1;;;47300:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47383:28;47395:7;47404:6;47383:11;:28::i;8018:158::-;8076:7;8109:1;8104;:6;;8096:49;;;;;-1:-1:-1;;;8096:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8163:5:0;;;8018:158::o;35614:346::-;-1:-1:-1;;;;;35716:19:0;;35708:68;;;;-1:-1:-1;;;35708:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35795:21:0;;35787:68;;;;-1:-1:-1;;;35787:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35868:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;35920:32;;;;;;;;;;;;;;;;;35614:346;;;:::o;9753:151::-;9811:7;9843:1;9839;:5;9831:42;;;;;-1:-1:-1;;;9831:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9895:1;9891;:5;;;;;;;9753:151;-1:-1:-1;;;9753:151:0:o;33226:539::-;-1:-1:-1;;;;;33332:20:0;;33324:70;;;;-1:-1:-1;;;33324:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33413:23:0;;33405:71;;;;-1:-1:-1;;;33405:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33489:47;33510:6;33518:9;33529:6;33489:20;:47::i;:::-;33569:71;33591:6;33569:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33569:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;33549:17:0;;;;;;;:9;:17;;;;;;:91;;;;33674:20;;;;;;;:32;;33699:6;33674:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;33651:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;33722:35;;;;;;;33651:20;;33722:35;;;;;;;;;;;;;33226:539;;;:::o;34046:378::-;-1:-1:-1;;;;;34130:21:0;;34122:65;;;;;-1:-1:-1;;;34122:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34200:49;34229:1;34233:7;34242:6;34200:20;:49::i;:::-;34277:12;;:24;;34294:6;34277:24;:16;:24;:::i;:::-;34262:12;:39;-1:-1:-1;;;;;34333:18:0;;;;;;:9;:18;;;;;;:30;;34356:6;34333:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;34312:18:0;;;;;;:9;:18;;;;;;;;:51;;;;34379:37;;;;;;;34312:18;;;;34379:37;;;;;;;;;;34046:378;;:::o;40715:334::-;40818:7;;40808:6;:17;;40800:75;;;;-1:-1:-1;;;40800:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40904:7;;40894:6;:17;;40886:77;;;;-1:-1:-1;;;40886:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40976:28;40988:7;40997:6;40976:11;:28::i;:::-;41020:21;;;;;;;;-1:-1:-1;;;;;41020:21:0;;;;;;;;;;;;;40715:334;;:::o;34756:418::-;-1:-1:-1;;;;;34840:21:0;;34832:67;;;;-1:-1:-1;;;34832:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34912:49;34933:7;34950:1;34954:6;34912:20;:49::i;:::-;34995:68;35018:6;34995:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34995:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;34974:18:0;;;;;;:9;:18;;;;;:89;35089:12;;:24;;35106:6;35089:24;:16;:24;:::i;:::-;35074:12;:39;35129:37;;;;;;;;35155:1;;-1:-1:-1;;;;;35129:37:0;;;;;;;;;;;;34756:418;;:::o
Swarm Source
ipfs://b6177f31b2e97a08840cb7cc499be2a5e85b60f8f9d2f59f217557bc5ff7a15f
Loading...
Loading
Loading...
Loading
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
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.