Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 17356519 | 605 days ago | IN | 0 ETH | 0.00087972 | ||||
Transfer From | 17351582 | 606 days ago | IN | 0 ETH | 0.00103929 | ||||
Transfer From | 17351575 | 606 days ago | IN | 0 ETH | 0.00103929 | ||||
Transfer | 17351550 | 606 days ago | IN | 0 ETH | 0.00102634 | ||||
Transfer | 17351523 | 606 days ago | IN | 0 ETH | 0.00102634 | ||||
Transfer | 17351502 | 606 days ago | IN | 0 ETH | 0.00092563 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TrueUSD
Compiler Version
v0.6.10+commit.00c0fcaf
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-28 */ // 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: packages/contracts-por/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; } // 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: packages/contracts-por/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: packages/contracts-por/contracts/common/ClaimableOwnable.sol // pragma solidity 0.6.10; // import {ProxyStorage} from "packages/contracts-por/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: packages/contracts-por/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 "packages/contracts-por/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: packages/contracts-por/contracts/common/ReclaimerToken.sol // pragma solidity 0.6.10; // import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import {ITrueCurrency} from "packages/contracts-por/contracts/interface/ITrueCurrency.sol"; // import {ERC20} from "packages/contracts-por/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: packages/contracts-por/contracts/common/BurnableTokenWithBounds.sol // pragma solidity 0.6.10; // import {ReclaimerToken} from "packages/contracts-por/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 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); } } // Dependency file: packages/contracts-por/contracts/TrueCurrency.sol // pragma solidity 0.6.10; // import {BurnableTokenWithBounds} from "packages/contracts-por/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 && uint256(account) != 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: packages/contracts-por/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: packages/contracts-por/contracts/TrueCurrencyWithProofOfReserve.sol // pragma solidity 0.6.10; // import {TrueCurrency} from "packages/contracts-por/contracts/TrueCurrency.sol"; // import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; // import {IProofOfReserveToken} from "packages/contracts-por/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: packages/contracts-por/contracts/tokens/TrueUSD.sol pragma solidity 0.6.10; // import {TrueCurrencyWithProofOfReserve} from "packages/contracts-por/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
[{"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":"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":[],"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
60806040526005805460ff19169055600060068190556007556103e860155534801561002a57600080fd5b50600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3612907806100836000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c80635c131d701161012a578063a9059cbb116100bd578063dcb2126e1161008c578063e30c397811610071578063e30c39781461069e578063ecae1e0c146106a6578063f2fde38b146106d95761020b565b8063dcb2126e1461065b578063dd62ed3e146106635761020b565b8063a9059cbb146105d7578063b1684b1714610610578063cb4136c714610618578063d01dd6d2146106205761020b565b80638da5cb5b116100f95780638da5cb5b1461053257806395d89b41146105635780639a6a30a41461056b578063a457c2d71461059e5761020b565b80635c131d701461048157806370a082311461048957806380749656146104bc57806388ee39cc146104f75761020b565b80633820a686116101a257806341e92edc1161017157806341e92edc1461043157806342966c68146104395780634e71e0c814610456578063520060501461045e5761020b565b80633820a6861461038457806339509351146103b757806339826dac146103f057806340c10f19146103f85761020b565b806323b872dd116101de57806323b872dd146102fc57806329a2ce9c1461033f5780632e4404031461035e578063313ce5671461037c5761020b565b806302d3fdc91461021057806306fdde031461022a578063095ea7b3146102a757806318160ddd146102f4575b600080fd5b61021861070c565b60408051918252519081900360200190f35b610232610712565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026c578181015183820152602001610254565b50505050905090810190601f1680156102995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e0600480360360408110156102bd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610749565b604080519115158252519081900360200190f35b610218610766565b6102e06004803603606081101561031257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561076c565b61035c6004803603602081101561035557600080fd5b5035610813565b005b6103666108c1565b6040805160ff9092168252519081900360200190f35b6103666108c6565b6102e06004803603602081101561039a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108cb565b6102e0600480360360408110156103cd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108e0565b610218610941565b61035c6004803603604081101561040e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610947565b61035c610ab7565b61035c6004803603602081101561044f57600080fd5b5035610b76565b61035c610b83565b61035c6004803603604081101561047457600080fd5b5080359060200135610c85565b610218610d79565b6102186004803603602081101561049f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d7f565b61035c600480360360408110156104d257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610da7565b61035c6004803603604081101561050d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610e69565b61053a61101e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61023261103a565b61035c6004803603602081101561058157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611071565b6102e0600480360360408110156105b457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611123565b6102e0600480360360408110156105ed57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561119e565b6102e06111b2565b61035c6111d3565b61035c6004803603604081101561063657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561133b565b61053a61148a565b6102186004803603604081101561067957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166114a6565b61053a6114de565b61035c600480360360208110156106bc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114fa565b61035c600480360360208110156106ef57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611656565b60065481565b60408051808201909152600781527f5472756555534400000000000000000000000000000000000000000000000000602082015290565b600061075d610756611709565b848461170d565b50600192915050565b60045490565b60006107798484846117f0565b61080984610785611709565b610804856040518060600160405280602881526020016126756028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600f60205260408120906107d0611709565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff61193916565b61170d565b5060019392505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461087f576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b601854604080519182526020820183905280517f8f4442a73fbe31a2f75eb1b278a10e2d878b58f80fe113c7b63c313fb05c48379281900390910190a1601855565b600290565b601290565b60176020526000908152604090205460ff1681565b600061075d6108ed611709565b8461080485600f60006108fe611709565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6119d016565b60185481565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109b3576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff1615610a185760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b610a2182611a31565b15610a5d5760405162461bcd60e51b815260040180806020018281038252602d81526020018061269d602d913960400191505060405180910390fd5b610a678282611a76565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b23576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a1565b610b803382611d85565b50565b60015473ffffffffffffffffffffffffffffffffffffffff163314610bef576040805162461bcd60e51b815260206004820152601260248201527f6f6e6c792070656e64696e67206f776e65720000000000000000000000000000604482015290519081900360640190fd5b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cf1576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b80821115610d305760405162461bcd60e51b81526004018080602001828103825260228152602001806126536022913960400191505060405180910390fd5b60068290556007819055604080518381526020810183905281517f21d54a4c1f750b4f93779e3e8b4de89db3f31bab8f203e68569727fee906cc32929181900390910190a15050565b60075481565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e13576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ed5576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8516916370a0823191602480820192602092909190829003018186803b158015610f4557600080fd5b505afa158015610f59573d6000803e3d6000fd5b505050506040513d6020811015610f6f57600080fd5b5051604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b505050506040513d602081101561101757600080fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60408051808201909152600481527f5455534400000000000000000000000000000000000000000000000000000000602082015290565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110dd576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f1935050505015801561111f573d6000803e3d6000fd5b5050565b600061075d611130611709565b846108048560405180606001604052806025815260200161285460259139600f600061115a611709565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61193916565b600061075d6111ab611709565b84846117f0565b60195474010000000000000000000000000000000000000000900460ff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461123f576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b60195473ffffffffffffffffffffffffffffffffffffffff166112935760405162461bcd60e51b815260040180806020018281038252602681526020018061262d6026913960400191505060405180910390fd5b6018546112d15760405162461bcd60e51b815260040180806020018281038252602b8152602001806127c3602b913960400191505060405180910390fd5b601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040517f7082258d7dd34469380c488363d2f89413f24989ca88d6d70a0b7222f47b50f990600090a1565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113a7576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b621000008273ffffffffffffffffffffffffffffffffffffffff1610156113ff5760405162461bcd60e51b815260040180806020018281038252603f8152602001806126ca603f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526016602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016851515908117909155825190815291517fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd89281900390910190a25050565b60195473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205490565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314611566576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6019546040805173ffffffffffffffffffffffffffffffffffffffff9283168152918316602083015280517fb566b2540a94f2713f3e0bcd83e8487b19cbf5ec138d8bfcf01722075dd063759281900390910190a1601980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155610b8057601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a150565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116c2576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16156117725760405162461bcd60e51b81526004018080602001828103825260298152602001806125bb6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff1615806117a5575080155b6117e05760405162461bcd60e51b815260040180806020018281038252602b8152602001806124d5602b913960400191505060405180910390fd5b6117eb838383611df3565b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16156118555760405162461bcd60e51b81526004018080602001828103825260238152602001806127a06023913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16156118ba5760405162461bcd60e51b81526004018080602001828103825260268152602001806125e46026913960400191505060405180910390fd5b6118c382611a31565b1561192e576118f983836118f46118e785662386f26fc1000063ffffffff611f0616565b859063ffffffff611f6d16565b611fca565b6119298261192461191784662386f26fc1000063ffffffff611f0616565b849063ffffffff611f6d16565b611d85565b6117eb565b6117eb838383611fca565b600081848411156119c85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561198d578181015183820152602001611975565b50505050905090810190601f1680156119ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611a2a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000621000008273ffffffffffffffffffffffffffffffffffffffff16108015611a70575073ffffffffffffffffffffffffffffffffffffffff821615155b92915050565b60195473ffffffffffffffffffffffffffffffffffffffff161580611ab6575060195474010000000000000000000000000000000000000000900460ff16155b15611aca57611ac58282612174565b61111f565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d6020811015611b5c57600080fd5b505160ff16611b696108c6565b60ff1614611ba85760405162461bcd60e51b815260040180806020018281038252602d81526020018061274f602d913960400191505060405180910390fd5b600080601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611c1357600080fd5b505afa158015611c27573d6000803e3d6000fd5b505050506040513d60a0811015611c3d57600080fd5b506020810151606090910151909250905060008213611c8d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612879602a913960400191505060405180910390fd5b8142821115611ccd5760405162461bcd60e51b815260040180806020018281038252602381526020018061260a6023913960400191505060405180910390fd5b601854611ce0428463ffffffff611f6d16565b1115611d33576040805162461bcd60e51b815260206004820181905260248201527f5472756543757272656e63793a20506f5220616e7377657220746f6f206f6c64604482015290519081900360640190fd5b8084611d3d610766565b011115611d7b5760405162461bcd60e51b815260040180806020018281038252603b815260200180612819603b913960400191505060405180910390fd5b6110178585612174565b73ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16611de95760405162461bcd60e51b815260040180806020018281038252602b8152602001806127ee602b913960400191505060405180910390fd5b61111f8282612299565b73ffffffffffffffffffffffffffffffffffffffff8316611e455760405162461bcd60e51b815260040180806020018281038252602481526020018061277c6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611e975760405162461bcd60e51b815260040180806020018281038252602281526020018061254f6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808211611f5c576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b818381611f6557fe5b069392505050565b600082821115611fc4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b73ffffffffffffffffffffffffffffffffffffffff831661201c5760405162461bcd60e51b815260040180806020018281038252602581526020018061272a6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661206e5760405162461bcd60e51b81526004018080602001828103825260238152602001806124b26023913960400191505060405180910390fd5b6120798383836117eb565b6120c9816040518060600160405280602681526020016125956026913973ffffffffffffffffffffffffffffffffffffffff86166000908152600e6020526040902054919063ffffffff61193916565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600e6020526040808220939093559084168152205461210b908263ffffffff6119d016565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600e602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166121dc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6121e8600083836117eb565b6004546121fb908263ffffffff6119d016565b60045573ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040902054612234908263ffffffff6119d016565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600e602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6006548110156122da5760405162461bcd60e51b815260040180806020018281038252602d815260200180612500602d913960400191505060405180910390fd5b60075481111561231b5760405162461bcd60e51b815260040180806020018281038252602f8152602001806128a3602f913960400191505060405180910390fd5b6123258282612375565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b73ffffffffffffffffffffffffffffffffffffffff82166123c75760405162461bcd60e51b81526004018080602001828103825260218152602001806127096021913960400191505060405180910390fd5b6123d3826000836117eb565b6124238160405180606001604052806022815260200161252d6022913973ffffffffffffffffffffffffffffffffffffffff85166000908152600e6020526040902054919063ffffffff61193916565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e602052604090205560045461245c908263ffffffff611f6d16565b60045560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735472756543757272656e63793a20746f6b656e73207370656e64657220697320626c61636b6c69737465644275726e61626c65546f6b656e57697468426f756e64733a2062656c6f77206d696e206275726e20626f756e6445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735472756543757272656e63793a206163636f756e7420697320626c61636b6c697374656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472756543757272656e63793a20746f6b656e73206f776e657220697320626c61636b6c69737465645472756543757272656e63793a20726563697069656e7420697320626c61636b6c69737465645472756543757272656e63793a20696e76616c696420506f52207570646174656441745472756543757272656e63793a20636861696e5265736572766546656564206e6f74207365744275726e61626c65546f6b656e57697468426f756e64733a206d696e203e206d617845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472756543757272656e63793a206163636f756e74206973206120726564656d7074696f6e20616464726573735472756543757272656e63793a20626c61636b6c697374696e67206f6620726564656d7074696f6e2061646472657373206973206e6f7420616c6c6f77656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735472756543757272656e63793a20556e657870656374656420646563696d616c73206f6620506f52206665656445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472756543757272656e63793a2073656e64657220697320626c61636b6c69737465645472756543757272656e63793a20636861696e52657365727665486561727462656174206e6f74207365745472756543757272656e63793a2063616e6e6f74206275726e2066726f6d207468697320616464726573735472756543757272656e63793a20746f74616c20737570706c7920776f756c6420657863656564207265736572766573206166746572206d696e7445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5472756543757272656e63793a20496e76616c696420616e737765722066726f6d20506f5220666565644275726e61626c65546f6b656e57697468426f756e64733a2065786365656473206d6178206275726e20626f756e64a2646970667358221220ad993d5b6989e5592dcae3fadfffb570339f96001e039ecd956cd2560336f8ee64736f6c634300060a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061020b5760003560e01c80635c131d701161012a578063a9059cbb116100bd578063dcb2126e1161008c578063e30c397811610071578063e30c39781461069e578063ecae1e0c146106a6578063f2fde38b146106d95761020b565b8063dcb2126e1461065b578063dd62ed3e146106635761020b565b8063a9059cbb146105d7578063b1684b1714610610578063cb4136c714610618578063d01dd6d2146106205761020b565b80638da5cb5b116100f95780638da5cb5b1461053257806395d89b41146105635780639a6a30a41461056b578063a457c2d71461059e5761020b565b80635c131d701461048157806370a082311461048957806380749656146104bc57806388ee39cc146104f75761020b565b80633820a686116101a257806341e92edc1161017157806341e92edc1461043157806342966c68146104395780634e71e0c814610456578063520060501461045e5761020b565b80633820a6861461038457806339509351146103b757806339826dac146103f057806340c10f19146103f85761020b565b806323b872dd116101de57806323b872dd146102fc57806329a2ce9c1461033f5780632e4404031461035e578063313ce5671461037c5761020b565b806302d3fdc91461021057806306fdde031461022a578063095ea7b3146102a757806318160ddd146102f4575b600080fd5b61021861070c565b60408051918252519081900360200190f35b610232610712565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026c578181015183820152602001610254565b50505050905090810190601f1680156102995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e0600480360360408110156102bd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610749565b604080519115158252519081900360200190f35b610218610766565b6102e06004803603606081101561031257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561076c565b61035c6004803603602081101561035557600080fd5b5035610813565b005b6103666108c1565b6040805160ff9092168252519081900360200190f35b6103666108c6565b6102e06004803603602081101561039a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108cb565b6102e0600480360360408110156103cd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108e0565b610218610941565b61035c6004803603604081101561040e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610947565b61035c610ab7565b61035c6004803603602081101561044f57600080fd5b5035610b76565b61035c610b83565b61035c6004803603604081101561047457600080fd5b5080359060200135610c85565b610218610d79565b6102186004803603602081101561049f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d7f565b61035c600480360360408110156104d257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610da7565b61035c6004803603604081101561050d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610e69565b61053a61101e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61023261103a565b61035c6004803603602081101561058157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611071565b6102e0600480360360408110156105b457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611123565b6102e0600480360360408110156105ed57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561119e565b6102e06111b2565b61035c6111d3565b61035c6004803603604081101561063657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561133b565b61053a61148a565b6102186004803603604081101561067957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166114a6565b61053a6114de565b61035c600480360360208110156106bc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114fa565b61035c600480360360208110156106ef57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611656565b60065481565b60408051808201909152600781527f5472756555534400000000000000000000000000000000000000000000000000602082015290565b600061075d610756611709565b848461170d565b50600192915050565b60045490565b60006107798484846117f0565b61080984610785611709565b610804856040518060600160405280602881526020016126756028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600f60205260408120906107d0611709565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff61193916565b61170d565b5060019392505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461087f576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b601854604080519182526020820183905280517f8f4442a73fbe31a2f75eb1b278a10e2d878b58f80fe113c7b63c313fb05c48379281900390910190a1601855565b600290565b601290565b60176020526000908152604090205460ff1681565b600061075d6108ed611709565b8461080485600f60006108fe611709565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6119d016565b60185481565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109b3576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff1615610a185760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b610a2182611a31565b15610a5d5760405162461bcd60e51b815260040180806020018281038252602d81526020018061269d602d913960400191505060405180910390fd5b610a678282611a76565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b23576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a1565b610b803382611d85565b50565b60015473ffffffffffffffffffffffffffffffffffffffff163314610bef576040805162461bcd60e51b815260206004820152601260248201527f6f6e6c792070656e64696e67206f776e65720000000000000000000000000000604482015290519081900360640190fd5b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cf1576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b80821115610d305760405162461bcd60e51b81526004018080602001828103825260228152602001806126536022913960400191505060405180910390fd5b60068290556007819055604080518381526020810183905281517f21d54a4c1f750b4f93779e3e8b4de89db3f31bab8f203e68569727fee906cc32929181900390910190a15050565b60075481565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e13576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ed5576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8516916370a0823191602480820192602092909190829003018186803b158015610f4557600080fd5b505afa158015610f59573d6000803e3d6000fd5b505050506040513d6020811015610f6f57600080fd5b5051604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b505050506040513d602081101561101757600080fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60408051808201909152600481527f5455534400000000000000000000000000000000000000000000000000000000602082015290565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110dd576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f1935050505015801561111f573d6000803e3d6000fd5b5050565b600061075d611130611709565b846108048560405180606001604052806025815260200161285460259139600f600061115a611709565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61193916565b600061075d6111ab611709565b84846117f0565b60195474010000000000000000000000000000000000000000900460ff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461123f576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b60195473ffffffffffffffffffffffffffffffffffffffff166112935760405162461bcd60e51b815260040180806020018281038252602681526020018061262d6026913960400191505060405180910390fd5b6018546112d15760405162461bcd60e51b815260040180806020018281038252602b8152602001806127c3602b913960400191505060405180910390fd5b601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040517f7082258d7dd34469380c488363d2f89413f24989ca88d6d70a0b7222f47b50f990600090a1565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113a7576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b621000008273ffffffffffffffffffffffffffffffffffffffff1610156113ff5760405162461bcd60e51b815260040180806020018281038252603f8152602001806126ca603f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526016602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016851515908117909155825190815291517fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd89281900390910190a25050565b60195473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205490565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314611566576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6019546040805173ffffffffffffffffffffffffffffffffffffffff9283168152918316602083015280517fb566b2540a94f2713f3e0bcd83e8487b19cbf5ec138d8bfcf01722075dd063759281900390910190a1601980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155610b8057601980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517fb7da79009bb7dee27ac24cc582fddf2186e6d5fbb28e4f9394d98bf166b1ea4690600090a150565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116c2576040805162461bcd60e51b815260206004820152600a60248201527f6f6e6c79204f776e657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16156117725760405162461bcd60e51b81526004018080602001828103825260298152602001806125bb6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff1615806117a5575080155b6117e05760405162461bcd60e51b815260040180806020018281038252602b8152602001806124d5602b913960400191505060405180910390fd5b6117eb838383611df3565b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16156118555760405162461bcd60e51b81526004018080602001828103825260238152602001806127a06023913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16156118ba5760405162461bcd60e51b81526004018080602001828103825260268152602001806125e46026913960400191505060405180910390fd5b6118c382611a31565b1561192e576118f983836118f46118e785662386f26fc1000063ffffffff611f0616565b859063ffffffff611f6d16565b611fca565b6119298261192461191784662386f26fc1000063ffffffff611f0616565b849063ffffffff611f6d16565b611d85565b6117eb565b6117eb838383611fca565b600081848411156119c85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561198d578181015183820152602001611975565b50505050905090810190601f1680156119ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611a2a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000621000008273ffffffffffffffffffffffffffffffffffffffff16108015611a70575073ffffffffffffffffffffffffffffffffffffffff821615155b92915050565b60195473ffffffffffffffffffffffffffffffffffffffff161580611ab6575060195474010000000000000000000000000000000000000000900460ff16155b15611aca57611ac58282612174565b61111f565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d6020811015611b5c57600080fd5b505160ff16611b696108c6565b60ff1614611ba85760405162461bcd60e51b815260040180806020018281038252602d81526020018061274f602d913960400191505060405180910390fd5b600080601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611c1357600080fd5b505afa158015611c27573d6000803e3d6000fd5b505050506040513d60a0811015611c3d57600080fd5b506020810151606090910151909250905060008213611c8d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612879602a913960400191505060405180910390fd5b8142821115611ccd5760405162461bcd60e51b815260040180806020018281038252602381526020018061260a6023913960400191505060405180910390fd5b601854611ce0428463ffffffff611f6d16565b1115611d33576040805162461bcd60e51b815260206004820181905260248201527f5472756543757272656e63793a20506f5220616e7377657220746f6f206f6c64604482015290519081900360640190fd5b8084611d3d610766565b011115611d7b5760405162461bcd60e51b815260040180806020018281038252603b815260200180612819603b913960400191505060405180910390fd5b6110178585612174565b73ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16611de95760405162461bcd60e51b815260040180806020018281038252602b8152602001806127ee602b913960400191505060405180910390fd5b61111f8282612299565b73ffffffffffffffffffffffffffffffffffffffff8316611e455760405162461bcd60e51b815260040180806020018281038252602481526020018061277c6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611e975760405162461bcd60e51b815260040180806020018281038252602281526020018061254f6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808211611f5c576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b818381611f6557fe5b069392505050565b600082821115611fc4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b73ffffffffffffffffffffffffffffffffffffffff831661201c5760405162461bcd60e51b815260040180806020018281038252602581526020018061272a6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661206e5760405162461bcd60e51b81526004018080602001828103825260238152602001806124b26023913960400191505060405180910390fd5b6120798383836117eb565b6120c9816040518060600160405280602681526020016125956026913973ffffffffffffffffffffffffffffffffffffffff86166000908152600e6020526040902054919063ffffffff61193916565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600e6020526040808220939093559084168152205461210b908263ffffffff6119d016565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600e602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166121dc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6121e8600083836117eb565b6004546121fb908263ffffffff6119d016565b60045573ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040902054612234908263ffffffff6119d016565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600e602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6006548110156122da5760405162461bcd60e51b815260040180806020018281038252602d815260200180612500602d913960400191505060405180910390fd5b60075481111561231b5760405162461bcd60e51b815260040180806020018281038252602f8152602001806128a3602f913960400191505060405180910390fd5b6123258282612375565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b73ffffffffffffffffffffffffffffffffffffffff82166123c75760405162461bcd60e51b81526004018080602001828103825260218152602001806127096021913960400191505060405180910390fd5b6123d3826000836117eb565b6124238160405180606001604052806022815260200161252d6022913973ffffffffffffffffffffffffffffffffffffffff85166000908152600e6020526040902054919063ffffffff61193916565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e602052604090205560045461245c908263ffffffff611f6d16565b60045560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735472756543757272656e63793a20746f6b656e73207370656e64657220697320626c61636b6c69737465644275726e61626c65546f6b656e57697468426f756e64733a2062656c6f77206d696e206275726e20626f756e6445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735472756543757272656e63793a206163636f756e7420697320626c61636b6c697374656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472756543757272656e63793a20746f6b656e73206f776e657220697320626c61636b6c69737465645472756543757272656e63793a20726563697069656e7420697320626c61636b6c69737465645472756543757272656e63793a20696e76616c696420506f52207570646174656441745472756543757272656e63793a20636861696e5265736572766546656564206e6f74207365744275726e61626c65546f6b656e57697468426f756e64733a206d696e203e206d617845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472756543757272656e63793a206163636f756e74206973206120726564656d7074696f6e20616464726573735472756543757272656e63793a20626c61636b6c697374696e67206f6620726564656d7074696f6e2061646472657373206973206e6f7420616c6c6f77656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735472756543757272656e63793a20556e657870656374656420646563696d616c73206f6620506f52206665656445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472756543757272656e63793a2073656e64657220697320626c61636b6c69737465645472756543757272656e63793a20636861696e52657365727665486561727462656174206e6f74207365745472756543757272656e63793a2063616e6e6f74206275726e2066726f6d207468697320616464726573735472756543757272656e63793a20746f74616c20737570706c7920776f756c6420657863656564207265736572766573206166746572206d696e7445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5472756543757272656e63793a20496e76616c696420616e737765722066726f6d20506f5220666565644275726e61626c65546f6b656e57697468426f756e64733a2065786365656473206d6178206275726e20626f756e64a2646970667358221220ad993d5b6989e5592dcae3fadfffb570339f96001e039ecd956cd2560336f8ee64736f6c634300060a0033
Deployed Bytecode Sourcemap
54597:520:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21010:26;;;:::i;:::-;;;;;;;;;;;;;;;;54915:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30441:169;;;;;;;;;;;;;;;;-1:-1:-1;30441:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29394:108;;;:::i;31084:321::-;;;;;;;;;;;;;;;;-1:-1:-1;31084:321:0;;;;;;;;;;;;;;;;;;:::i;53227:216::-;;;;;;;;;;;;;;;;-1:-1:-1;53227:216:0;;:::i;:::-;;54825:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54726:91;;;:::i;22068:39::-;;;;;;;;;;;;;;;;-1:-1:-1;22068:39:0;;;;:::i;31814:218::-;;;;;;;;;;;;;;;;-1:-1:-1;31814:218:0;;;;;;;;;:::i;22164:36::-;;;:::i;43673:334::-;;;;;;;;;;;;;;;;-1:-1:-1;43673:334:0;;;;;;;;;:::i;53572:149::-;;;:::i;39493:92::-;;;;;;;;;;;;;;;;-1:-1:-1;39493:92:0;;:::i;25627:184::-;;;:::i;40173:248::-;;;;;;;;;;;;;;;;-1:-1:-1;40173:248:0;;;;;;;:::i;21043:26::-;;;:::i;29565:127::-;;;;;;;;;;;;;;;;-1:-1:-1;29565:127:0;;;;:::i;44854:126::-;;;;;;;;;;;;;;;;-1:-1:-1;44854:126:0;;;;;;;;;;;:::i;37826:183::-;;;;;;;;;;;;;;;;-1:-1:-1;37826:183:0;;;;;;;;;;;:::i;20729:20::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55019:95;;;:::i;37480:125::-;;;;;;;;;;;;;;;;-1:-1:-1;37480:125:0;;;;:::i;32535:269::-;;;;;;;;;;;;;;;;-1:-1:-1;32535:269:0;;;;;;;;;:::i;29905:175::-;;;;;;;;;;;;;;;;-1:-1:-1;29905:175:0;;;;;;;;;:::i;22245:33::-;;;:::i;53848:331::-;;;:::i;44272:::-;;;;;;;;;;;;;;;;-1:-1:-1;44272:331:0;;;;;;;;;;;:::i;22207:31::-;;;:::i;30143:151::-;;;;;;;;;;;;;;;;-1:-1:-1;30143:151:0;;;;;;;;;;;:::i;20756:27::-;;;:::i;52700:318::-;;;;;;;;;;;;;;;;-1:-1:-1;52700:318:0;;;;:::i;25424:106::-;;;;;;;;;;;;;;;;-1:-1:-1;25424:106:0;;;;:::i;21010:26::-;;;;:::o;54915:96::-;54987:16;;;;;;;;;;;;;;;;;54915:96;:::o;30441:169::-;30524:4;30541:39;30550:12;:10;:12::i;:::-;30564:7;30573:6;30541:8;:39::i;:::-;-1:-1:-1;30598:4:0;30441:169;;;;:::o;29394:108::-;29482:12;;29394:108;:::o;31084:321::-;31190:4;31207:36;31217:6;31225:9;31236:6;31207:9;:36::i;:::-;31254:121;31263:6;31271:12;:10;:12::i;:::-;31285:89;31323:6;31285:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;31305:12;:10;:12::i;:::-;31285:33;;;;;;;;;;;;;-1:-1:-1;31285:33:0;;;:89;;:37;:89;:::i;:::-;31254:8;:121::i;:::-;-1:-1:-1;31393:4:0;31084:321;;;;;:::o;53227:216::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53352:21:::1;::::0;53327:61:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;53399:21;:36:::0;53227:216::o;54825:82::-;54716:1;54825:82;:::o;54726:91::-;54681:2;54726:91;:::o;22068:39::-;;;;;;;;;;;;;;;:::o;31814:218::-;31902:4;31919:83;31928:12;:10;:12::i;:::-;31942:7;31951:50;31990:10;31951:11;:25;31963:12;:10;:12::i;:::-;31951:25;;;;;;;;;;;;;;;;;;-1:-1:-1;31951:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;22164:36::-;;;;:::o;43673:334::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43768:22:::1;::::0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;::::1;;43767:23;43759:72;;;;-1:-1:-1::0;;;43759:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43851:28;43871:7;43851:19;:28::i;:::-;43850:29;43842:87;;;;-1:-1:-1::0;;;43842:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43940:22;43946:7;43955:6;43940:5;:22::i;:::-;43978:21;::::0;;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;43673:334:::0;;:::o;53572:149::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53644:21:::1;:29:::0;;;::::1;::::0;;53689:24:::1;::::0;::::1;::::0;53668:5:::1;::::0;53689:24:::1;53572:149::o:0;39493:92::-;39552:25;39558:10;39570:6;39552:5;:25::i;:::-;39493:92;:::o;25627:184::-;25210:12;;;;25196:10;:26;25188:57;;;;;-1:-1:-1;;;25188:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25723:12:::1;::::0;::::1;25716:5:::0;;25695:41:::1;::::0;25723:12:::1;::::0;;::::1;::::0;25716:5;;::::1;::::0;25695:41:::1;::::0;::::1;25755:12;::::0;;::::1;25747:20:::0;;;;;::::1;25755:12;::::0;::::1;25747:20;::::0;;;25778:25:::1;::::0;;25627:184::o;40173:248::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40279:4:::1;40271;:12;;40263:59;;;;-1:-1:-1::0;;;40263:59:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40333:7;:14:::0;;;40358:7:::1;:14:::0;;;40388:25:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;40173:248:::0;;:::o;21043:26::-;;;;:::o;29565:127::-;29666:18;;29639:7;29666:18;;;:9;:18;;;;;;;29565:127::o;44854:126::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;44945:16:::1;::::0;;;::::1;;::::0;;;:7:::1;:16;::::0;;;;:27;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;44854:126::o;37826:183::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37932:30:::1;::::0;;;;;37956:4:::1;37932:30;::::0;::::1;::::0;;;37914:15:::1;::::0;37932::::1;::::0;::::1;::::0;::::1;::::0;:30;;;;;::::1;::::0;;;;;;;;;:15;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37932:30:0;37973:28:::1;::::0;;;;;:14:::1;:28:::0;;::::1;;::::0;::::1;::::0;;;;;;;;;37932:30;;-1:-1:-1;37973:14:0;;::::1;::::0;::::1;::::0;:28;;;;;37932:30:::1;::::0;37973:28;;;;;;;;-1:-1:-1;37973:14:0;:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;37826:183:0:o;20729:20::-;;;;;;:::o;55019:95::-;55093:13;;;;;;;;;;;;;;;;;55019:95;:::o;37480:125::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37562:35:::1;::::0;:12:::1;::::0;::::1;::::0;37575:21:::1;37562:35:::0;::::1;;;::::0;::::1;::::0;;;37575:21;37562:12;:35;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;37480:125:::0;:::o;32535:269::-;32628:4;32645:129;32654:12;:10;:12::i;:::-;32668:7;32677:96;32716:15;32677:96;;;;;;;;;;;;;;;;;:11;:25;32689:12;:10;:12::i;:::-;32677:25;;;;;;;;;;;;;;;;;;-1:-1:-1;32677:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;29905:175::-;29991:4;30008:42;30018:12;:10;:12::i;:::-;30032:9;30043:6;30008:9;:42::i;22245:33::-;;;;;;;;;:::o;53848:331::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53927:16:::1;::::0;:30:::1;:16;53919:81;;;;-1:-1:-1::0;;;53919:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54019:21;::::0;54011:82:::1;;;;-1:-1:-1::0;;;54011:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54104:21;:28:::0;;;::::1;::::0;::::1;::::0;;54148:23:::1;::::0;::::1;::::0;54104:28;;54148:23:::1;53848:331::o:0;44272:::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42837:8:::1;44389:7;44381:16;;:44;;44373:120;;;;-1:-1:-1::0;;;44373:120:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44504:22;::::0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;;:39;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;44559:36;;;;;;;::::1;::::0;;;;;;;;::::1;44272:331:::0;;:::o;22207:31::-;;;;;;:::o;30143:151::-;30259:18;;;;30232:7;30259:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;30143:151::o;20756:27::-;;;;;;:::o;52700:318::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52810:16:::1;::::0;52790:46:::1;::::0;;52810:16:::1;::::0;;::::1;52790:46:::0;;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;52847:16;:26:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;52884:127:::1;;52926:21;:29:::0;;;::::1;::::0;;52975:24:::1;::::0;::::1;::::0;52950:5:::1;::::0;52975:24:::1;52700:318:::0;:::o;25424:106::-;25000:5;;;;24986:10;:19;24978:42;;;;;-1:-1:-1;;;24978:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25499:12:::1;:23:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;25424:106::o;4181:::-;4269:10;4181:106;:::o;46219:368::-;46357:20;;;;;;;:13;:20;;;;;;;;46356:21;46348:75;;;;-1:-1:-1;;;46348:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46443:22;;;;;;;:13;:22;;;;;;;;46442:23;;:38;;-1:-1:-1;46469:11:0;;46442:38;46434:94;;;;-1:-1:-1;;;46434:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46541:38;46556:5;46563:7;46572:6;46541:14;:38::i;:::-;46219:368;;;:::o;45379:581::-;45529:21;;;;;;;:13;:21;;;;;;;;45528:22;45520:70;;;;-1:-1:-1;;;45520:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45610:24;;;;;;;:13;:24;;;;;;;;45609:25;45601:76;;;;-1:-1:-1;;;45601:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45694:30;45714:9;45694:19;:30::i;:::-;45690:263;;;45741:64;45757:6;45765:9;45776:28;45787:16;:6;42780;45787:16;:10;:16;:::i;:::-;45776:6;;:28;:10;:28;:::i;:::-;45741:15;:64::i;:::-;45820:46;45826:9;45837:28;45848:16;:6;42780;45848:16;:10;:16;:::i;:::-;45837:6;;:28;:10;:28;:::i;:::-;45820:5;:46::i;:::-;45690:263;;;45899:42;45915:6;45923:9;45934:6;45899:15;:42::i;10336:166::-;10422:7;10458:12;10450:6;;;;10442:29;;;;-1:-1:-1;;;10442:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10489:5:0;;;10336:166::o;7509:179::-;7567:7;7599:5;;;7623:6;;;;7615:46;;;;;-1:-1:-1;;;7615:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7679:1;7509:179;-1:-1:-1;;;7509:179:0:o;47463:169::-;47532:4;42837:8;47564:7;47556:16;;:43;:68;;;;-1:-1:-1;47603:16:0;;;:21;;47556:68;47549:75;47463:169;-1:-1:-1;;47463:169:0:o;51012:1529::-;51101:16;;:30;:16;:30;;:56;;-1:-1:-1;51136:21:0;;;;;;;51135:22;51101:56;51097:138;;;51174:28;51186:7;51195:6;51174:11;:28::i;:::-;51217:7;;51097:138;51418:16;;;;;;;;;;;51396:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51396:50:0;51382:64;;:10;:8;:10::i;:::-;:64;;;51374:122;;;;-1:-1:-1;;;51374:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51567:21;51592:17;51637:16;;;;;;;;;;;51615:55;;;:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51615:57:0;;;;;;;;;;;-1:-1:-1;51615:57:0;-1:-1:-1;51708:1:0;51691:18;;51683:73;;;;-1:-1:-1;;;51683:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51794:14;51898:15;:28;-1:-1:-1;51898:28:0;51890:76;;;;-1:-1:-1;;;51890:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52105:21;;52071:30;:15;52091:9;52071:30;:19;:30;:::i;:::-;:55;;52063:100;;;;;-1:-1:-1;;;52063:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52422:8;52412:6;52396:13;:11;:13::i;:::-;:22;:34;;52388:106;;;;-1:-1:-1;;;52388:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52505:28;52517:7;52526:6;52505:11;:28::i;46780:196::-;46865:16;;;;;;;:7;:16;;;;;;;;46857:72;;;;-1:-1:-1;;;46857:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46940:28;46952:7;46961:6;46940:11;:28::i;35682:346::-;35784:19;;;35776:68;;;;-1:-1:-1;;;35776:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35863:21;;;35855:68;;;;-1:-1:-1;;;35855:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35936:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;35988:32;;;;;;;;;;;;;;;;;35682:346;;;:::o;9706:151::-;9764:7;9796:1;9792;:5;9784:42;;;;;-1:-1:-1;;;9784:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9848:1;9844;:5;;;;;;;9706:151;-1:-1:-1;;;9706:151:0:o;7971:158::-;8029:7;8062:1;8057;:6;;8049:49;;;;;-1:-1:-1;;;8049:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8116:5:0;;;7971:158::o;33294:539::-;33400:20;;;33392:70;;;;-1:-1:-1;;;33392:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33481:23;;;33473:71;;;;-1:-1:-1;;;33473:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33557:47;33578:6;33586:9;33597:6;33557:20;:47::i;:::-;33637:71;33659:6;33637:71;;;;;;;;;;;;;;;;;:17;;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;33617:17;;;;;;;;:9;:17;;;;;;:91;;;;33742:20;;;;;;;:32;;33767:6;33742:32;:24;:32;:::i;:::-;33719:20;;;;;;;;:9;:20;;;;;;;;;:55;;;;33790:35;;;;;;;33719:20;;33790:35;;;;;;;;;;;;;33294:539;;;:::o;34114:378::-;34198:21;;;34190:65;;;;;-1:-1:-1;;;34190:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34268:49;34297:1;34301:7;34310:6;34268:20;:49::i;:::-;34345:12;;:24;;34362:6;34345:24;:16;:24;:::i;:::-;34330:12;:39;34401:18;;;;;;;:9;:18;;;;;;:30;;34424:6;34401:30;:22;:30;:::i;:::-;34380:18;;;;;;;:9;:18;;;;;;;;:51;;;;34447:37;;;;;;;34380:18;;;;34447:37;;;;;;;;;;34114:378;;:::o;40729:334::-;40832:7;;40822:6;:17;;40814:75;;;;-1:-1:-1;;;40814:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40918:7;;40908:6;:17;;40900:77;;;;-1:-1:-1;;;40900:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40990:28;41002:7;41011:6;40990:11;:28::i;:::-;41034:21;;;;;;;;;;;;;;;;;;;;;;40729:334;;:::o;34824:418::-;34908:21;;;34900:67;;;;-1:-1:-1;;;34900:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34980:49;35001:7;35018:1;35022:6;34980:20;:49::i;:::-;35063:68;35086:6;35063:68;;;;;;;;;;;;;;;;;:18;;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;35042:18;;;;;;;:9;:18;;;;;:89;35157:12;;:24;;35174:6;35157:24;:16;:24;:::i;:::-;35142:12;:39;35197:37;;;;;;;;35223:1;;35197:37;;;;;;;;;;;;;34824:418;;:::o
Swarm Source
ipfs://ad993d5b6989e5592dcae3fadfffb570339f96001e039ecd956cd2560336f8ee
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.