Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 955 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Governance | 16839273 | 541 days ago | IN | 0 ETH | 0.00049329 | ||||
Rebase | 16431408 | 598 days ago | IN | 0 ETH | 0.00061341 | ||||
Rebase | 16431408 | 598 days ago | IN | 0 ETH | 0.00061341 | ||||
Rebase | 16431404 | 598 days ago | IN | 0 ETH | 0.00061486 | ||||
Rebase | 16431404 | 598 days ago | IN | 0 ETH | 0.00061486 | ||||
Rebase | 16431403 | 598 days ago | IN | 0 ETH | 0.0005889 | ||||
Rebase | 16431403 | 598 days ago | IN | 0 ETH | 0.0005889 | ||||
Rebase | 16431398 | 598 days ago | IN | 0 ETH | 0.00057991 | ||||
Rebase | 16431398 | 598 days ago | IN | 0 ETH | 0.00057991 | ||||
Rebase | 16431397 | 598 days ago | IN | 0 ETH | 0.00058473 | ||||
Rebase | 16431397 | 598 days ago | IN | 0 ETH | 0.00058473 | ||||
Rebase | 16431396 | 598 days ago | IN | 0 ETH | 0.00059398 | ||||
Rebase | 16431396 | 598 days ago | IN | 0 ETH | 0.00059398 | ||||
Rebase | 16431396 | 598 days ago | IN | 0 ETH | 0.00059398 | ||||
Rebase | 16431395 | 598 days ago | IN | 0 ETH | 0.00057515 | ||||
Rebase | 16431395 | 598 days ago | IN | 0 ETH | 0.00057515 | ||||
Rebase | 16431395 | 598 days ago | IN | 0 ETH | 0.00057515 | ||||
Rebase | 16431393 | 598 days ago | IN | 0 ETH | 0.00059585 | ||||
Rebase | 16431392 | 598 days ago | IN | 0 ETH | 0.00058208 | ||||
Rebase | 16431392 | 598 days ago | IN | 0 ETH | 0.00058208 | ||||
Rebase | 16431392 | 598 days ago | IN | 0 ETH | 0.00058208 | ||||
Rebase | 16431391 | 598 days ago | IN | 0 ETH | 0.00056439 | ||||
Rebase | 16431389 | 598 days ago | IN | 0 ETH | 0.00056791 | ||||
Rebase | 16431389 | 598 days ago | IN | 0 ETH | 0.00056791 | ||||
Rebase | 16431389 | 598 days ago | IN | 0 ETH | 0.00056791 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20662007 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20661954 | 5 days ago | 0 ETH | |||||
20556202 | 19 days ago | 0 ETH | |||||
20556202 | 19 days ago | 0 ETH | |||||
20556202 | 19 days ago | 0 ETH | |||||
20556202 | 19 days ago | 0 ETH | |||||
20556202 | 19 days ago | 0 ETH |
Loading...
Loading
Contract Name:
Rebaser
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-19 */ /** *Submitted for verification at Etherscan.io on 2020-11-20 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.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, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/IAUSC.sol pragma solidity 0.5.16; interface IAUSC { function rebase(uint256 epoch, uint256 supplyDelta, bool positive) external; function mint(address to, uint256 amount) external; } // File: contracts/IPoolEscrow.sol pragma solidity 0.5.16; interface IPoolEscrow { function notifySecondaryTokens(uint256 number) external; } // File: contracts/BasicRebaser.sol pragma solidity 0.5.16; interface IUniswapV2Pair { function sync() external; } contract BasicRebaser { using SafeMath for uint256; using SafeERC20 for IERC20; event Updated(uint256 xau, uint256 ausc); event NoUpdateXAU(); event NoUpdateAUSC(); event NoSecondaryMint(); event NoRebaseNeeded(); event StillCold(); event NotInitialized(); uint256 public constant BASE = 1e18; uint256 public constant WINDOW_SIZE = 24; address public ausc; uint256[] public pricesXAU = new uint256[](WINDOW_SIZE); uint256[] public pricesAUSC = new uint256[](WINDOW_SIZE); uint256 public pendingXAUPrice = 0; uint256 public pendingAUSCPrice = 0; bool public noPending = true; uint256 public averageXAU; uint256 public averageAUSC; uint256 public lastUpdate; uint256 public frequency = 1 hours; uint256 public counter = 0; uint256 public epoch = 1; address public secondaryPool; address public governance; uint256 public nextRebase = 0; // Wednesday November 25, 2020 09:00:00 (am) in time zone Asia/Seoul (KST) uint256 public constant REBASE_DELAY = WINDOW_SIZE * 1 hours; IUniswapV2Pair public constant UNIPAIR = IUniswapV2Pair(0x95a5543111343aB2A66a06bc663a1170AcF050b9); modifier onlyGov() { require(msg.sender == governance, "only gov"); _; } constructor (address token, address _secondaryPool) public { ausc = token; secondaryPool = _secondaryPool; governance = msg.sender; } function setNextRebase(uint256 next) external onlyGov { require(nextRebase == 0, "Only one time activation"); nextRebase = next; } function setGovernance(address account) external onlyGov { governance = account; } function setSecondaryPool(address pool) external onlyGov { secondaryPool = pool; } function checkRebase() external { // ausc ensures that we do not have smart contracts rebasing require (msg.sender == address(ausc), "only through ausc"); rebase(); recordPrice(); } function recordPrice() public { if (msg.sender != tx.origin && msg.sender != address(ausc)) { // smart contracts could manipulate data via flashloans, // thus we forbid them from updating the price return; } if (block.timestamp < lastUpdate + frequency) { // addition is running on timestamps, this will never overflow // we leave at least the specified period between two updates return; } (bool successXAU, uint256 priceXAU) = getPriceXAU(); (bool successAUSC, uint256 priceAUSC) = getPriceAUSC(); if (!successAUSC) { // price of AUSC was not returned properly emit NoUpdateAUSC(); return; } if (!successXAU) { // price of XAU was not returned properly emit NoUpdateXAU(); return; } lastUpdate = block.timestamp; if (noPending) { // we start recording with 1 hour delay pendingXAUPrice = priceXAU; pendingAUSCPrice = priceAUSC; noPending = false; } else if (counter < WINDOW_SIZE) { // still in the warming up phase averageXAU = averageXAU.mul(counter).add(pendingXAUPrice).div(counter.add(1)); averageAUSC = averageAUSC.mul(counter).add(pendingAUSCPrice).div(counter.add(1)); pricesXAU[counter] = pendingXAUPrice; pricesAUSC[counter] = pendingAUSCPrice; pendingXAUPrice = priceXAU; pendingAUSCPrice = priceAUSC; counter++; } else { uint256 index = counter % WINDOW_SIZE; averageXAU = averageXAU.mul(WINDOW_SIZE).sub(pricesXAU[index]).add(pendingXAUPrice).div(WINDOW_SIZE); averageAUSC = averageAUSC.mul(WINDOW_SIZE).sub(pricesAUSC[index]).add(pendingAUSCPrice).div(WINDOW_SIZE); pricesXAU[index] = pendingXAUPrice; pricesAUSC[index] = pendingAUSCPrice; pendingXAUPrice = priceXAU; pendingAUSCPrice = priceAUSC; counter++; } emit Updated(pendingXAUPrice, pendingAUSCPrice); } function rebase() public { // make public rebasing only after initialization if (nextRebase == 0 && msg.sender != governance) { emit NotInitialized(); return; } if (counter <= WINDOW_SIZE && msg.sender != governance) { emit StillCold(); return; } // We want to rebase only at 12:00 UTC and 12 hours later if (block.timestamp < nextRebase) { return; } else { nextRebase = nextRebase + REBASE_DELAY; } // only rebase if there is a 5% difference between the price of XAU and AUSC uint256 highThreshold = averageXAU.mul(105).div(100); uint256 lowThreshold = averageXAU.mul(95).div(100); if (averageAUSC > highThreshold) { // AUSC is too expensive, this is a positive rebase increasing the supply uint256 factor = BASE.sub(BASE.mul(averageAUSC.sub(averageXAU)).div(averageAUSC.mul(10))); uint256 increase = BASE.sub(factor); uint256 realAdjustment = increase.mul(BASE).div(factor); uint256 currentSupply = IERC20(ausc).totalSupply(); uint256 desiredSupply = currentSupply.add(currentSupply.mul(realAdjustment).div(BASE)); uint256 secondaryPoolBudget = desiredSupply.sub(currentSupply).mul(10).div(100); desiredSupply = desiredSupply.sub(secondaryPoolBudget); // Cannot underflow as desiredSupply > currentSupply, the result is positive // delta = (desiredSupply / currentSupply) * 100 - 100 uint256 delta = desiredSupply.mul(BASE).div(currentSupply).sub(BASE); IAUSC(ausc).rebase(epoch, delta, true); if (secondaryPool != address(0)) { // notify the pool escrow that tokens are available IAUSC(ausc).mint(address(this), secondaryPoolBudget); IERC20(ausc).safeApprove(secondaryPool, 0); IERC20(ausc).safeApprove(secondaryPool, secondaryPoolBudget); IPoolEscrow(secondaryPool).notifySecondaryTokens(secondaryPoolBudget); } else { emit NoSecondaryMint(); } UNIPAIR.sync(); epoch++; } else if (averageAUSC < lowThreshold) { // AUSC is too cheap, this is a negative rebase decreasing the supply uint256 factor = BASE.add(BASE.mul(averageXAU.sub(averageAUSC)).div(averageAUSC.mul(10))); uint256 increase = factor.sub(BASE); uint256 realAdjustment = increase.mul(BASE).div(factor); uint256 currentSupply = IERC20(ausc).totalSupply(); uint256 desiredSupply = currentSupply.sub(currentSupply.mul(realAdjustment).div(BASE)); // Cannot overflow as desiredSupply < currentSupply // delta = 100 - (desiredSupply / currentSupply) * 100 uint256 delta = uint256(BASE).sub(desiredSupply.mul(BASE).div(currentSupply)); IAUSC(ausc).rebase(epoch, delta, false); UNIPAIR.sync(); epoch++; } else { // else the price is within bounds emit NoRebaseNeeded(); } } /** * Calculates how a rebase would look if it was triggered now. */ function calculateRealTimeRebase() public view returns (uint256, uint256) { // only rebase if there is a 5% difference between the price of XAU and AUSC uint256 highThreshold = averageXAU.mul(105).div(100); uint256 lowThreshold = averageXAU.mul(95).div(100); if (averageAUSC > highThreshold) { // AUSC is too expensive, this is a positive rebase increasing the supply uint256 factor = BASE.sub(BASE.mul(averageAUSC.sub(averageXAU)).div(averageAUSC.mul(10))); uint256 increase = BASE.sub(factor); uint256 realAdjustment = increase.mul(BASE).div(factor); uint256 currentSupply = IERC20(ausc).totalSupply(); uint256 desiredSupply = currentSupply.add(currentSupply.mul(realAdjustment).div(BASE)); uint256 secondaryPoolBudget = desiredSupply.sub(currentSupply).mul(10).div(100); desiredSupply = desiredSupply.sub(secondaryPoolBudget); // Cannot underflow as desiredSupply > currentSupply, the result is positive // delta = (desiredSupply / currentSupply) * 100 - 100 uint256 delta = desiredSupply.mul(BASE).div(currentSupply).sub(BASE); return (delta, secondaryPool == address(0) ? 0 : secondaryPoolBudget); } else if (averageAUSC < lowThreshold) { // AUSC is too cheap, this is a negative rebase decreasing the supply uint256 factor = BASE.add(BASE.mul(averageXAU.sub(averageAUSC)).div(averageAUSC.mul(10))); uint256 increase = factor.sub(BASE); uint256 realAdjustment = increase.mul(BASE).div(factor); uint256 currentSupply = IERC20(ausc).totalSupply(); uint256 desiredSupply = currentSupply.sub(currentSupply.mul(realAdjustment).div(BASE)); // Cannot overflow as desiredSupply < currentSupply // delta = 100 - (desiredSupply / currentSupply) * 100 uint256 delta = uint256(BASE).sub(desiredSupply.mul(BASE).div(currentSupply)); return (delta, 0); } else { return (0,0); } } function getPriceXAU() public view returns (bool, uint256); function getPriceAUSC() public view returns (bool, uint256); } // File: @chainlink/contracts/src/v0.5/interfaces/AggregatorV3Interface.sol pragma solidity >=0.5.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 ); } // File: contracts/ChainlinkOracle.sol pragma solidity 0.5.16; contract ChainlinkOracle { using SafeMath for uint256; address public constant oracle = 0x214eD9Da11D2fbe465a6fc601a91E62EbEc1a0D6; uint256 public constant ozToMg = 311035000; uint256 public constant ozToMgPrecision = 1e4; constructor () public { } function getPriceXAU() public view returns (bool, uint256) { // answer has 8 decimals, it is the price of 1 oz of gold in USD // if the round is not completed, updated at is 0 (,int256 answer,,uint256 updatedAt,) = AggregatorV3Interface(oracle).latestRoundData(); // add 10 decimals at the end return (updatedAt != 0, uint256(answer).mul(ozToMgPrecision).div(ozToMg).mul(1e10)); } } // File: contracts/UniswapOracle.sol pragma solidity 0.5.16; contract IUniswapRouterV2 { function getAmountsOut(uint256 amountIn, address[] memory path) public view returns (uint256[] memory amounts); } contract UniswapOracle { using SafeMath for uint256; address public constant oracle = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public constant usdc = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; address public constant weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address public ausc; address[] public path; constructor (address token) public { ausc = token; path = [ausc, weth, usdc]; } function getPriceAUSC() public view returns (bool, uint256) { // returns the price with 6 decimals, but we want 18 uint256[] memory amounts = IUniswapRouterV2(oracle).getAmountsOut(1e18, path); return (ausc != address(0), amounts[2].mul(1e12)); } } // File: contracts/Rebaser.sol pragma solidity 0.5.16; contract Rebaser is BasicRebaser, UniswapOracle, ChainlinkOracle { constructor (address token, address _treasury) BasicRebaser(token, _treasury) UniswapOracle(token) public { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"NoRebaseNeeded","type":"event"},{"anonymous":false,"inputs":[],"name":"NoSecondaryMint","type":"event"},{"anonymous":false,"inputs":[],"name":"NoUpdateAUSC","type":"event"},{"anonymous":false,"inputs":[],"name":"NoUpdateXAU","type":"event"},{"anonymous":false,"inputs":[],"name":"NotInitialized","type":"event"},{"anonymous":false,"inputs":[],"name":"StillCold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"xau","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ausc","type":"uint256"}],"name":"Updated","type":"event"},{"constant":true,"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"REBASE_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UNIPAIR","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"WINDOW_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ausc","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"averageAUSC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"averageXAU","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"calculateRealTimeRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"checkRebase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"frequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPriceAUSC","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPriceXAU","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"noPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ozToMg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ozToMgPrecision","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"path","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAUSCPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingXAUPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pricesAUSC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pricesXAU","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"rebase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"recordPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"secondaryPool","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"next","type":"uint256"}],"name":"setNextRebase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"setSecondaryPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526018604051908082528060200260200182016040528015620000355781602001602082028038833980820191505090505b50600190805190602001906200004d9291906200032d565b5060186040519080825280602002602001820160405280156200007f5781602001602082028038833980820191505090505b5060029080519060200190620000979291906200032d565b50600060035560006004556001600560006101000a81548160ff021916908315150217905550610e106009556000600a556001600b556000600e55348015620000df57600080fd5b506040516200335b3803806200335b833981810160405260408110156200010557600080fd5b810190808051906020019092919080519060200190929190505050818282816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060600160405280600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506010906003620003239291906200037f565b505050506200047c565b8280548282559060005260206000209081019282156200036c579160200282015b828111156200036b5782518255916020019190600101906200034e565b5b5090506200037b91906200040e565b5090565b828054828255906000526020600020908101928215620003fb579160200282015b82811115620003fa5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620003a0565b5b5090506200040a919062000436565b5090565b6200043391905b808211156200042f57600081600090555060010162000415565b5090565b90565b6200047991905b808211156200047557600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055506001016200043d565b5090565b90565b612ecf806200048c6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806386f4a1451161011a578063bc7e68a3116100ad578063cdf2a8a31161007c578063cdf2a8a31461076e578063e77672781461078c578063ead50da3146107ce578063ec342ad0146107ec578063ed49c0251461080a57610206565b8063bc7e68a3146106a6578063c0463711146106c4578063cabc9366146106e2578063cc5b48991461072c57610206565b80639ae7372d116100e95780639ae7372d146105bc578063ab033ea9146105ea578063af14052c1461062e578063af6d1fe41461063857610206565b806386f4a1451461051157806387dbff241461052f57806388e7e41614610579578063900cf0cf1461059e57610206565b8063509ef27c1161019d57806361bc221a1161016c57806361bc221a14610444578063654b9820146104625780636b20d03c1461048b57806373bbc4a8146104a95780637dc0d1d0146104c757610206565b8063509ef27c1461038e57806351ce6567146103ac5780635aa6e675146103b65780635abe6f7e1461040057610206565b80633e413bee116101d95780633e413bee146102be5780633f0b7c7a146103085780633fc8cef3146103265780634a6f3da41461037057610206565b8063051723111461020b57806312d4ffed146102345780631eeffc1b1461027e578063388bf0461461029c575b600080fd5b610213610814565b60405180831515151581526020018281526020019250505060405180910390f35b61023c61092f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610286610955565b6040518082815260200191505060405180910390f35b6102a461095b565b604051808215151515815260200191505060405180910390f35b6102c661096e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610310610986565b6040518082815260200191505060405180910390f35b61032e61098c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103786109a4565b6040518082815260200191505060405180910390f35b6103966109aa565b6040518082815260200191505060405180910390f35b6103b46109af565b005b6103be610de3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104426004803603602081101561041657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e09565b005b61044c610f10565b6040518082815260200191505060405180910390f35b61046a610f16565b60405180831515151581526020018281526020019250505060405180910390f35b610493611164565b6040518082815260200191505060405180910390f35b6104b161116d565b6040518082815260200191505060405180910390f35b6104cf611173565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61051961118b565b6040518082815260200191505060405180910390f35b610537611193565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105816111b9565b604051808381526020018281526020019250505060405180910390f35b6105a661170d565b6040518082815260200191505060405180910390f35b6105e8600480360360208110156105d257600080fd5b8101908080359060200190929190505050611713565b005b61062c6004803603602081101561060057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611858565b005b61063661195f565b005b6106646004803603602081101561064e57600080fd5b81019080803590602001909291905050506124ad565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ae6124e9565b6040518082815260200191505060405180910390f35b6106cc6124ef565b6040518082815260200191505060405180910390f35b6106ea6124f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107586004803603602081101561074257600080fd5b810190808035906020019092919050505061250d565b6040518082815260200191505060405180910390f35b61077661252e565b6040518082815260200191505060405180910390f35b6107b8600480360360208110156107a257600080fd5b8101908080359060200190929190505050612534565b6040518082815260200191505060405180910390f35b6107d6612555565b6040518082815260200191505060405180910390f35b6107f461255b565b6040518082815260200191505060405180910390f35b610812612567565b005b60008060008073214ed9da11d2fbe465a6fc601a91e62ebec1a0d673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561087457600080fd5b505afa158015610888573d6000803e3d6000fd5b505050506040513d60a081101561089e57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505093505092505060008114156109256402540be40061091763128a04786109096127108861263b90919063ffffffff16565b6126c190919063ffffffff16565b61263b90919063ffffffff16565b9350935050509091565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61271081565b600560009054906101000a900460ff1681565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60075481565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b60045481565b601881565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a3857506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610a4257610de1565b60095460085401421015610a5557610de1565b600080610a60610814565b91509150600080610a6f610f16565b9150915081610aad577f01560ab715325009b8ac9a9ae5cbcee480445f443e33c6537a485e10e683865a60405160405180910390a150505050610de1565b83610ae7577f356fd0fca3cfefcdd443dbb3ba9ba749e4b648812f37086c067ac3222dcabfc160405160405180910390a150505050610de1565b42600881905550600560009054906101000a900460ff1615610b315782600381905550806004819055506000600560006101000a81548160ff021916908315150217905550610d99565b6018600a541015610c5157610b8e610b556001600a5461270b90919063ffffffff16565b610b80600354610b72600a5460065461263b90919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b600681905550610be6610bad6001600a5461270b90919063ffffffff16565b610bd8600454610bca600a5460075461263b90919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b6007819055506003546001600a5481548110610bfe57fe5b90600052602060002001819055506004546002600a5481548110610c1e57fe5b90600052602060002001819055508260038190555080600481905550600a60008154809291906001019190505550610d98565b60006018600a5481610c5f57fe5b069050610cc86018610cba600354610cac60018681548110610c7d57fe5b9060005260206000200154610c9e601860065461263b90919063ffffffff16565b61279390919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b600681905550610d346018610d26600454610d1860028681548110610ce957fe5b9060005260206000200154610d0a601860075461263b90919063ffffffff16565b61279390919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b60078190555060035460018281548110610d4a57fe5b906000526020600020018190555060045460028281548110610d6857fe5b90600052602060002001819055508360038190555081600481905550600a60008154809291906001019190505550505b5b7fd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902600354600454604051808381526020018281526020019250505060405180910390a1505050505b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ecc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b6000806060737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663d06ca61f670de0b6b3a764000060106040518363ffffffff1660e01b815260040180838152602001806020018281038252838181548152602001915080548015610fe657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610f9c575b5050935050505060006040518083038186803b15801561100557600080fd5b505afa158015611019573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561104357600080fd5b810190808051604051939291908464010000000082111561106357600080fd5b8382019150602082018581111561107957600080fd5b825186602082028301116401000000008211171561109657600080fd5b8083526020830192505050908051906020019060200280838360005b838110156110cd5780820151818401526020810190506110b2565b505050509050016040525050509050600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561115b64e8d4a510008360028151811061114557fe5b602002602001015161263b90919063ffffffff16565b92509250509091565b610e1060180281565b60035481565b73214ed9da11d2fbe465a6fc601a91e62ebec1a0d681565b63128a047881565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060006111e760646111d9606960065461263b90919063ffffffff16565b6126c190919063ffffffff16565b905060006112146064611206605f60065461263b90919063ffffffff16565b6126c190919063ffffffff16565b90508160075411156114de57600061129461127d61123e600a60075461263b90919063ffffffff16565b61126f61125860065460075461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b905060006112b382670de0b6b3a764000061279390919063ffffffff16565b905060006112e4836112d6670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d602081101561137957600080fd5b8101908080519060200190929190505050905060006113cd6113be670de0b6b3a76400006113b0868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361270b90919063ffffffff16565b9050600061140a60646113fc600a6113ee878761279390919063ffffffff16565b61263b90919063ffffffff16565b6126c190919063ffffffff16565b905061141f818361279390919063ffffffff16565b9150600061146a670de0b6b3a764000061145c8661144e670de0b6b3a76400008861263b90919063ffffffff16565b6126c190919063ffffffff16565b61279390919063ffffffff16565b905080600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c957826114cc565b60005b9a509a50505050505050505050611709565b8060075410156116f957600061155c611545611506600a60075461263b90919063ffffffff16565b61153761152060075460065461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061270b90919063ffffffff16565b9050600061157b670de0b6b3a76400008361279390919063ffffffff16565b905060006115ac8361159e670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161757600080fd5b505afa15801561162b573d6000803e3d6000fd5b505050506040513d602081101561164157600080fd5b810190808051906020019092919050505090506000611695611686670de0b6b3a7640000611678868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361279390919063ffffffff16565b905060006116e06116c9846116bb670de0b6b3a76400008661263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b9050806000809050995099505050505050505050611709565b6000808191508090509350935050505b9091565b600b5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600e541461184e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4f6e6c79206f6e652074696d652061637469766174696f6e000000000000000081525060200191505060405180910390fd5b80600e8190555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461191b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600e541480156119bf5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b156119f5577f87138d5c8c2e77cb9f25c07b03277aad63d22f6a05255580ec55d2c21666e73460405160405180910390a16124ab565b6018600a5411158015611a565750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611a8c577f78f71007d06e0760f6ac49900e2fb71c7d60e0baebb31e4a8e101492892e509e60405160405180910390a16124ab565b600e54421015611a9b576124ab565b610e10601802600e5401600e819055506000611ad66064611ac8606960065461263b90919063ffffffff16565b6126c190919063ffffffff16565b90506000611b036064611af5605f60065461263b90919063ffffffff16565b6126c190919063ffffffff16565b9050816007541115612142576000611b83611b6c611b2d600a60075461263b90919063ffffffff16565b611b5e611b4760065460075461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b90506000611ba282670de0b6b3a764000061279390919063ffffffff16565b90506000611bd383611bc5670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c3e57600080fd5b505afa158015611c52573d6000803e3d6000fd5b505050506040513d6020811015611c6857600080fd5b810190808051906020019092919050505090506000611cbc611cad670de0b6b3a7640000611c9f868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361270b90919063ffffffff16565b90506000611cf96064611ceb600a611cdd878761279390919063ffffffff16565b61263b90919063ffffffff16565b6126c190919063ffffffff16565b9050611d0e818361279390919063ffffffff16565b91506000611d59670de0b6b3a7640000611d4b86611d3d670de0b6b3a76400008861263b90919063ffffffff16565b6126c190919063ffffffff16565b61279390919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637af548c1600b548360016040518463ffffffff1660e01b815260040180848152602001838152602001821515151581526020019350505050600060405180830381600087803b158015611de657600080fd5b505af1158015611dfa573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612083576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611efc57600080fd5b505af1158015611f10573d6000803e3d6000fd5b50505050611f83600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127dd9092919063ffffffff16565b611ff1600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127dd9092919063ffffffff16565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a1f6703c836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561206657600080fd5b505af115801561207a573d6000803e3d6000fd5b505050506120b0565b7fa3bbd52cd8b274aac44b5efd94fcfaa71871a300786f157a11a86295511ec77860405160405180910390a15b7395a5543111343ab2a66a06bc663a1170acf050b973ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561210c57600080fd5b505af1158015612120573d6000803e3d6000fd5b50505050600b60008154809291906001019190505550505050505050506124a8565b80600754101561247a5760006121c06121a961216a600a60075461263b90919063ffffffff16565b61219b61218460075460065461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061270b90919063ffffffff16565b905060006121df670de0b6b3a76400008361279390919063ffffffff16565b9050600061221083612202670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561227b57600080fd5b505afa15801561228f573d6000803e3d6000fd5b505050506040513d60208110156122a557600080fd5b8101908080519060200190929190505050905060006122f96122ea670de0b6b3a76400006122dc868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361279390919063ffffffff16565b9050600061234461232d8461231f670de0b6b3a76400008661263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637af548c1600b548360006040518463ffffffff1660e01b815260040180848152602001838152602001821515151581526020019350505050600060405180830381600087803b1580156123d157600080fd5b505af11580156123e5573d6000803e3d6000fd5b505050507395a5543111343ab2a66a06bc663a1170acf050b973ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561244557600080fd5b505af1158015612459573d6000803e3d6000fd5b50505050600b600081548092919060010191905055505050505050506124a7565b7f8004e67e854428da7c2134d1f6b95f2a77b0d7254d4ad729209fa196f2d55b5760405160405180910390a15b5b50505b565b601081815481106124ba57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b60085481565b7395a5543111343ab2a66a06bc663a1170acf050b981565b6001818154811061251a57fe5b906000526020600020016000915090505481565b60065481565b6002818154811061254157fe5b906000526020600020016000915090505481565b60095481565b670de0b6b3a764000081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f6f6e6c79207468726f756768206175736300000000000000000000000000000081525060200191505060405180910390fd5b61263161195f565b6126396109af565b565b60008083141561264e57600090506126bb565b600082840290508284828161265f57fe5b04146126b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612e1a6021913960400191505060405180910390fd5b809150505b92915050565b600061270383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506129fd565b905092915050565b600080828401905083811015612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006127d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ac3565b905092915050565b60008114806128d7575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561289a57600080fd5b505afa1580156128ae573d6000803e3d6000fd5b505050506040513d60208110156128c457600080fd5b8101908080519060200190929190505050145b61292c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612e656036913960400191505060405180910390fd5b6129f8838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612b83565b505050565b60008083118290612aa9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a6e578082015181840152602081019050612a53565b50505050905090810190601f168015612a9b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612ab557fe5b049050809150509392505050565b6000838311158290612b70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b35578082015181840152602081019050612b1a565b50505050905090810190601f168015612b625780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b612ba28273ffffffffffffffffffffffffffffffffffffffff16612dce565b612c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310612c635780518252602082019150602081019050602083039250612c40565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612cc5576040519150601f19603f3d011682016040523d82523d6000602084013e612cca565b606091505b509150915081612d42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612dc857808060200190516020811015612d6157600080fd5b8101908080519060200190929190505050612dc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612e3b602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612e1057506000801b8214155b9250505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158200e7ebf00f16a4a80c3e9344960b5c07ee6e57666624637dfa413b6a033d950d064736f6c634300051000320000000000000000000000001c7bbadc81e18f7177a95eb1593e5f5f35861b100000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c806386f4a1451161011a578063bc7e68a3116100ad578063cdf2a8a31161007c578063cdf2a8a31461076e578063e77672781461078c578063ead50da3146107ce578063ec342ad0146107ec578063ed49c0251461080a57610206565b8063bc7e68a3146106a6578063c0463711146106c4578063cabc9366146106e2578063cc5b48991461072c57610206565b80639ae7372d116100e95780639ae7372d146105bc578063ab033ea9146105ea578063af14052c1461062e578063af6d1fe41461063857610206565b806386f4a1451461051157806387dbff241461052f57806388e7e41614610579578063900cf0cf1461059e57610206565b8063509ef27c1161019d57806361bc221a1161016c57806361bc221a14610444578063654b9820146104625780636b20d03c1461048b57806373bbc4a8146104a95780637dc0d1d0146104c757610206565b8063509ef27c1461038e57806351ce6567146103ac5780635aa6e675146103b65780635abe6f7e1461040057610206565b80633e413bee116101d95780633e413bee146102be5780633f0b7c7a146103085780633fc8cef3146103265780634a6f3da41461037057610206565b8063051723111461020b57806312d4ffed146102345780631eeffc1b1461027e578063388bf0461461029c575b600080fd5b610213610814565b60405180831515151581526020018281526020019250505060405180910390f35b61023c61092f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610286610955565b6040518082815260200191505060405180910390f35b6102a461095b565b604051808215151515815260200191505060405180910390f35b6102c661096e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610310610986565b6040518082815260200191505060405180910390f35b61032e61098c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103786109a4565b6040518082815260200191505060405180910390f35b6103966109aa565b6040518082815260200191505060405180910390f35b6103b46109af565b005b6103be610de3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104426004803603602081101561041657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e09565b005b61044c610f10565b6040518082815260200191505060405180910390f35b61046a610f16565b60405180831515151581526020018281526020019250505060405180910390f35b610493611164565b6040518082815260200191505060405180910390f35b6104b161116d565b6040518082815260200191505060405180910390f35b6104cf611173565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61051961118b565b6040518082815260200191505060405180910390f35b610537611193565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105816111b9565b604051808381526020018281526020019250505060405180910390f35b6105a661170d565b6040518082815260200191505060405180910390f35b6105e8600480360360208110156105d257600080fd5b8101908080359060200190929190505050611713565b005b61062c6004803603602081101561060057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611858565b005b61063661195f565b005b6106646004803603602081101561064e57600080fd5b81019080803590602001909291905050506124ad565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ae6124e9565b6040518082815260200191505060405180910390f35b6106cc6124ef565b6040518082815260200191505060405180910390f35b6106ea6124f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107586004803603602081101561074257600080fd5b810190808035906020019092919050505061250d565b6040518082815260200191505060405180910390f35b61077661252e565b6040518082815260200191505060405180910390f35b6107b8600480360360208110156107a257600080fd5b8101908080359060200190929190505050612534565b6040518082815260200191505060405180910390f35b6107d6612555565b6040518082815260200191505060405180910390f35b6107f461255b565b6040518082815260200191505060405180910390f35b610812612567565b005b60008060008073214ed9da11d2fbe465a6fc601a91e62ebec1a0d673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561087457600080fd5b505afa158015610888573d6000803e3d6000fd5b505050506040513d60a081101561089e57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505093505092505060008114156109256402540be40061091763128a04786109096127108861263b90919063ffffffff16565b6126c190919063ffffffff16565b61263b90919063ffffffff16565b9350935050509091565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61271081565b600560009054906101000a900460ff1681565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60075481565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b60045481565b601881565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a3857506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610a4257610de1565b60095460085401421015610a5557610de1565b600080610a60610814565b91509150600080610a6f610f16565b9150915081610aad577f01560ab715325009b8ac9a9ae5cbcee480445f443e33c6537a485e10e683865a60405160405180910390a150505050610de1565b83610ae7577f356fd0fca3cfefcdd443dbb3ba9ba749e4b648812f37086c067ac3222dcabfc160405160405180910390a150505050610de1565b42600881905550600560009054906101000a900460ff1615610b315782600381905550806004819055506000600560006101000a81548160ff021916908315150217905550610d99565b6018600a541015610c5157610b8e610b556001600a5461270b90919063ffffffff16565b610b80600354610b72600a5460065461263b90919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b600681905550610be6610bad6001600a5461270b90919063ffffffff16565b610bd8600454610bca600a5460075461263b90919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b6007819055506003546001600a5481548110610bfe57fe5b90600052602060002001819055506004546002600a5481548110610c1e57fe5b90600052602060002001819055508260038190555080600481905550600a60008154809291906001019190505550610d98565b60006018600a5481610c5f57fe5b069050610cc86018610cba600354610cac60018681548110610c7d57fe5b9060005260206000200154610c9e601860065461263b90919063ffffffff16565b61279390919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b600681905550610d346018610d26600454610d1860028681548110610ce957fe5b9060005260206000200154610d0a601860075461263b90919063ffffffff16565b61279390919063ffffffff16565b61270b90919063ffffffff16565b6126c190919063ffffffff16565b60078190555060035460018281548110610d4a57fe5b906000526020600020018190555060045460028281548110610d6857fe5b90600052602060002001819055508360038190555081600481905550600a60008154809291906001019190505550505b5b7fd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902600354600454604051808381526020018281526020019250505060405180910390a1505050505b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ecc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b6000806060737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663d06ca61f670de0b6b3a764000060106040518363ffffffff1660e01b815260040180838152602001806020018281038252838181548152602001915080548015610fe657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610f9c575b5050935050505060006040518083038186803b15801561100557600080fd5b505afa158015611019573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561104357600080fd5b810190808051604051939291908464010000000082111561106357600080fd5b8382019150602082018581111561107957600080fd5b825186602082028301116401000000008211171561109657600080fd5b8083526020830192505050908051906020019060200280838360005b838110156110cd5780820151818401526020810190506110b2565b505050509050016040525050509050600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561115b64e8d4a510008360028151811061114557fe5b602002602001015161263b90919063ffffffff16565b92509250509091565b610e1060180281565b60035481565b73214ed9da11d2fbe465a6fc601a91e62ebec1a0d681565b63128a047881565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060006111e760646111d9606960065461263b90919063ffffffff16565b6126c190919063ffffffff16565b905060006112146064611206605f60065461263b90919063ffffffff16565b6126c190919063ffffffff16565b90508160075411156114de57600061129461127d61123e600a60075461263b90919063ffffffff16565b61126f61125860065460075461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b905060006112b382670de0b6b3a764000061279390919063ffffffff16565b905060006112e4836112d6670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d602081101561137957600080fd5b8101908080519060200190929190505050905060006113cd6113be670de0b6b3a76400006113b0868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361270b90919063ffffffff16565b9050600061140a60646113fc600a6113ee878761279390919063ffffffff16565b61263b90919063ffffffff16565b6126c190919063ffffffff16565b905061141f818361279390919063ffffffff16565b9150600061146a670de0b6b3a764000061145c8661144e670de0b6b3a76400008861263b90919063ffffffff16565b6126c190919063ffffffff16565b61279390919063ffffffff16565b905080600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c957826114cc565b60005b9a509a50505050505050505050611709565b8060075410156116f957600061155c611545611506600a60075461263b90919063ffffffff16565b61153761152060075460065461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061270b90919063ffffffff16565b9050600061157b670de0b6b3a76400008361279390919063ffffffff16565b905060006115ac8361159e670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161757600080fd5b505afa15801561162b573d6000803e3d6000fd5b505050506040513d602081101561164157600080fd5b810190808051906020019092919050505090506000611695611686670de0b6b3a7640000611678868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361279390919063ffffffff16565b905060006116e06116c9846116bb670de0b6b3a76400008661263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b9050806000809050995099505050505050505050611709565b6000808191508090509350935050505b9091565b600b5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600e541461184e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4f6e6c79206f6e652074696d652061637469766174696f6e000000000000000081525060200191505060405180910390fd5b80600e8190555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461191b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f6f6e6c7920676f7600000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600e541480156119bf5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b156119f5577f87138d5c8c2e77cb9f25c07b03277aad63d22f6a05255580ec55d2c21666e73460405160405180910390a16124ab565b6018600a5411158015611a565750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611a8c577f78f71007d06e0760f6ac49900e2fb71c7d60e0baebb31e4a8e101492892e509e60405160405180910390a16124ab565b600e54421015611a9b576124ab565b610e10601802600e5401600e819055506000611ad66064611ac8606960065461263b90919063ffffffff16565b6126c190919063ffffffff16565b90506000611b036064611af5605f60065461263b90919063ffffffff16565b6126c190919063ffffffff16565b9050816007541115612142576000611b83611b6c611b2d600a60075461263b90919063ffffffff16565b611b5e611b4760065460075461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b90506000611ba282670de0b6b3a764000061279390919063ffffffff16565b90506000611bd383611bc5670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c3e57600080fd5b505afa158015611c52573d6000803e3d6000fd5b505050506040513d6020811015611c6857600080fd5b810190808051906020019092919050505090506000611cbc611cad670de0b6b3a7640000611c9f868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361270b90919063ffffffff16565b90506000611cf96064611ceb600a611cdd878761279390919063ffffffff16565b61263b90919063ffffffff16565b6126c190919063ffffffff16565b9050611d0e818361279390919063ffffffff16565b91506000611d59670de0b6b3a7640000611d4b86611d3d670de0b6b3a76400008861263b90919063ffffffff16565b6126c190919063ffffffff16565b61279390919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637af548c1600b548360016040518463ffffffff1660e01b815260040180848152602001838152602001821515151581526020019350505050600060405180830381600087803b158015611de657600080fd5b505af1158015611dfa573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612083576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611efc57600080fd5b505af1158015611f10573d6000803e3d6000fd5b50505050611f83600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127dd9092919063ffffffff16565b611ff1600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127dd9092919063ffffffff16565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a1f6703c836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561206657600080fd5b505af115801561207a573d6000803e3d6000fd5b505050506120b0565b7fa3bbd52cd8b274aac44b5efd94fcfaa71871a300786f157a11a86295511ec77860405160405180910390a15b7395a5543111343ab2a66a06bc663a1170acf050b973ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561210c57600080fd5b505af1158015612120573d6000803e3d6000fd5b50505050600b60008154809291906001019190505550505050505050506124a8565b80600754101561247a5760006121c06121a961216a600a60075461263b90919063ffffffff16565b61219b61218460075460065461279390919063ffffffff16565b670de0b6b3a764000061263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061270b90919063ffffffff16565b905060006121df670de0b6b3a76400008361279390919063ffffffff16565b9050600061221083612202670de0b6b3a76400008561263b90919063ffffffff16565b6126c190919063ffffffff16565b905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561227b57600080fd5b505afa15801561228f573d6000803e3d6000fd5b505050506040513d60208110156122a557600080fd5b8101908080519060200190929190505050905060006122f96122ea670de0b6b3a76400006122dc868661263b90919063ffffffff16565b6126c190919063ffffffff16565b8361279390919063ffffffff16565b9050600061234461232d8461231f670de0b6b3a76400008661263b90919063ffffffff16565b6126c190919063ffffffff16565b670de0b6b3a764000061279390919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637af548c1600b548360006040518463ffffffff1660e01b815260040180848152602001838152602001821515151581526020019350505050600060405180830381600087803b1580156123d157600080fd5b505af11580156123e5573d6000803e3d6000fd5b505050507395a5543111343ab2a66a06bc663a1170acf050b973ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561244557600080fd5b505af1158015612459573d6000803e3d6000fd5b50505050600b600081548092919060010191905055505050505050506124a7565b7f8004e67e854428da7c2134d1f6b95f2a77b0d7254d4ad729209fa196f2d55b5760405160405180910390a15b5b50505b565b601081815481106124ba57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b60085481565b7395a5543111343ab2a66a06bc663a1170acf050b981565b6001818154811061251a57fe5b906000526020600020016000915090505481565b60065481565b6002818154811061254157fe5b906000526020600020016000915090505481565b60095481565b670de0b6b3a764000081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f6f6e6c79207468726f756768206175736300000000000000000000000000000081525060200191505060405180910390fd5b61263161195f565b6126396109af565b565b60008083141561264e57600090506126bb565b600082840290508284828161265f57fe5b04146126b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612e1a6021913960400191505060405180910390fd5b809150505b92915050565b600061270383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506129fd565b905092915050565b600080828401905083811015612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006127d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ac3565b905092915050565b60008114806128d7575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561289a57600080fd5b505afa1580156128ae573d6000803e3d6000fd5b505050506040513d60208110156128c457600080fd5b8101908080519060200190929190505050145b61292c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612e656036913960400191505060405180910390fd5b6129f8838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612b83565b505050565b60008083118290612aa9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a6e578082015181840152602081019050612a53565b50505050905090810190601f168015612a9b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612ab557fe5b049050809150509392505050565b6000838311158290612b70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b35578082015181840152602081019050612b1a565b50505050905090810190601f168015612b625780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b612ba28273ffffffffffffffffffffffffffffffffffffffff16612dce565b612c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310612c635780518252602082019150602081019050602083039250612c40565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612cc5576040519150601f19603f3d011682016040523d82523d6000602084013e612cca565b606091505b509150915081612d42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612dc857808060200190516020811015612d6157600080fd5b8101908080519060200190929190505050612dc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612e3b602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612e1057506000801b8214155b9250505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158200e7ebf00f16a4a80c3e9344960b5c07ee6e57666624637dfa413b6a033d950d064736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001c7bbadc81e18f7177a95eb1593e5f5f35861b100000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : token (address): 0x1c7BBADc81E18F7177A95eb1593e5f5f35861B10
Arg [1] : _treasury (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001c7bbadc81e18f7177a95eb1593e5f5f35861b10
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
27713:195:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27713:195:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26289:408;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16693:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26203:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16470:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27069:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16533:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27147:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16430:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16199:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17838:1990;;;:::i;:::-;;16726:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17532:90;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17532:90:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;16633:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27375:264;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16868:60;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16391:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26076:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26156:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27225:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22864:1977;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;16664:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17287:143;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17287:143:0;;;;;;;;;;;;;;;;;:::i;:::-;;17436:90;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17436:90:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;19834:2946;;;:::i;:::-;;27249:21;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27249:21:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16758:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16564:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16933:99;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16270:55;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16270:55:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16503:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16330:56;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16330:56:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16594:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16159:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17628:204;;;:::i;:::-;;26289:408;26333:4;26339:7;26482:13;26497:17;26109:42;26519:45;;;:47;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26519:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26519:47:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;26519:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26480:86;;;;;;;26629:1;26616:9;:14;;26632:58;26685:4;26632:48;26189:9;26632:36;26245:3;26640:6;26632:19;;:36;;;;:::i;:::-;:40;;:48;;;;:::i;:::-;:52;;:58;;;;:::i;:::-;26608:83;;;;;;26289:408;;:::o;16693:28::-;;;;;;;;;;;;;:::o;26203:45::-;26245:3;26203:45;:::o;16470:28::-;;;;;;;;;;;;;:::o;27069:73::-;27100:42;27069:73;:::o;16533:26::-;;;;:::o;27147:73::-;27178:42;27147:73;:::o;16430:35::-;;;;:::o;16199:40::-;16237:2;16199:40;:::o;17838:1990::-;17893:9;17879:23;;:10;:23;;;;:54;;;;;17928:4;;;;;;;;;;;17906:27;;:10;:27;;;;17879:54;17875:201;;;18062:7;;17875:201;18119:9;;18106:10;;:22;18088:15;:40;18084:208;;;18278:7;;18084:208;18301:15;18318:16;18338:13;:11;:13::i;:::-;18300:51;;;;18359:16;18377:17;18398:14;:12;:14::i;:::-;18358:54;;;;18424:11;18419:119;;18501:14;;;;;;;;;;18524:7;;;;;;18419:119;18549:10;18544:116;;18624:13;;;;;;;;;;18646:7;;;;;;18544:116;18679:15;18666:10;:28;;;;18707:9;;;;;;;;;;;18703:1066;;;18792:8;18774:15;:26;;;;18828:9;18809:16;:28;;;;18858:5;18846:9;;:17;;;;;;;;;;;;;;;;;;18703:1066;;;16237:2;18881:7;;:21;18877:892;;;18966:64;19015:14;19027:1;19015:7;;:11;;:14;;;;:::i;:::-;18966:44;18994:15;;18966:23;18981:7;;18966:10;;:14;;:23;;;;:::i;:::-;:27;;:44;;;;:::i;:::-;:48;;:64;;;;:::i;:::-;18953:10;:77;;;;19053:66;19104:14;19116:1;19104:7;;:11;;:14;;;;:::i;:::-;19053:46;19082:16;;19053:24;19069:7;;19053:11;;:15;;:24;;;;:::i;:::-;:28;;:46;;;;:::i;:::-;:50;;:66;;;;:::i;:::-;19039:11;:80;;;;19149:15;;19128:9;19138:7;;19128:18;;;;;;;;;;;;;;;:36;;;;19195:16;;19173:10;19184:7;;19173:19;;;;;;;;;;;;;;;:38;;;;19238:8;19220:15;:26;;;;19274:9;19255:16;:28;;;;19292:7;;:9;;;;;;;;;;;;;18877:892;;;19324:13;16237:2;19340:7;;:21;;;;;;19324:37;;19383:87;16237:2;19383:70;19437:15;;19383:49;19415:9;19425:5;19415:16;;;;;;;;;;;;;;;;19383:27;16237:2;19383:10;;:14;;:27;;;;:::i;:::-;:31;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;:74;;:87;;;;:::i;:::-;19370:10;:100;;;;19493:90;16237:2;19493:73;19549:16;;19493:51;19526:10;19537:5;19526:17;;;;;;;;;;;;;;;;19493:28;16237:2;19493:11;;:15;;:28;;;;:::i;:::-;:32;;:51;;;;:::i;:::-;:55;;:73;;;;:::i;:::-;:77;;:90;;;;:::i;:::-;19479:11;:104;;;;19611:15;;19592:9;19602:5;19592:16;;;;;;;;;;;;;;;:34;;;;19655:16;;19635:10;19646:5;19635:17;;;;;;;;;;;;;;;:36;;;;19698:8;19680:15;:26;;;;19734:9;19715:16;:28;;;;19752:7;;:9;;;;;;;;;;;;;18877:892;;18703:1066;19780:42;19788:15;;19805:16;;19780:42;;;;;;;;;;;;;;;;;;;;;;;;17838:1990;;;;;:::o;16726:25::-;;;;;;;;;;;;;:::o;17532:90::-;17087:10;;;;;;;;;;;17073:24;;:10;:24;;;17065:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17612:4;17596:13;;:20;;;;;;;;;;;;;;;;;;17532:90;:::o;16633:26::-;;;;:::o;27375:264::-;27420:4;27426:7;27500:24;27022:42;27527:38;;;27566:4;27572;27527:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27527:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27527:50:0;;;;;;39:16:-1;36:1;17:17;2:54;27527:50:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27527:50:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;27527:50:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;27527:50:0;;;;;;;;;;;27500:77;;27608:1;27592:18;;:4;;;;;;;;;;;:18;;;;27612:20;27627:4;27612:7;27620:1;27612:10;;;;;;;;;;;;;;:14;;:20;;;;:::i;:::-;27584:49;;;;;27375:264;;:::o;16868:60::-;16921:7;16237:2;16907:21;16868:60;:::o;16391:34::-;;;;:::o;26076:75::-;26109:42;26076:75;:::o;26156:42::-;26189:9;26156:42;:::o;27225:19::-;;;;;;;;;;;;;:::o;22864:1977::-;22920:7;22929;23027:21;23051:28;23075:3;23051:19;23066:3;23051:10;;:14;;:19;;;;:::i;:::-;:23;;:28;;;;:::i;:::-;23027:52;;23086:20;23109:27;23132:3;23109:18;23124:2;23109:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;23086:50;;23163:13;23149:11;;:27;23145:1691;;;23268:14;23285:72;23294:62;23336:19;23352:2;23336:11;;:15;;:19;;;;:::i;:::-;23294:37;23303:27;23319:10;;23303:11;;:15;;:27;;;;:::i;:::-;16190:4;23294:8;;:37;;;;:::i;:::-;:41;;:62;;;;:::i;:::-;16190:4;23285:8;;:72;;;;:::i;:::-;23268:89;;23366:16;23385;23394:6;16190:4;23385:8;;:16;;;;:::i;:::-;23366:35;;23410:22;23435:30;23458:6;23435:18;16190:4;23435:8;:12;;:18;;;;:::i;:::-;:22;;:30;;;;:::i;:::-;23410:55;;23474:21;23505:4;;;;;;;;;;;23498:24;;;:26;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23498:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23498:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23498:26:0;;;;;;;;;;;;;;;;23474:50;;23533:21;23557:62;23575:43;16190:4;23575:33;23593:14;23575:13;:17;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;23557:13;:17;;:62;;;;:::i;:::-;23533:86;;23630:27;23660:49;23705:3;23660:40;23697:2;23660:32;23678:13;23660;:17;;:32;;;;:::i;:::-;:36;;:40;;;;:::i;:::-;:44;;:49;;;;:::i;:::-;23630:79;;23734:38;23752:19;23734:13;:17;;:38;;;;:::i;:::-;23718:54;;23929:13;23945:52;16190:4;23945:42;23973:13;23945:23;16190:4;23945:13;:17;;:23;;;;:::i;:::-;:27;;:42;;;;:::i;:::-;:46;;:52;;;;:::i;:::-;23929:68;;24014:5;24046:1;24021:27;;:13;;;;;;;;;;;:27;;;:53;;24055:19;24021:53;;;24051:1;24021:53;24006:69;;;;;;;;;;;;;;;23145:1691;24107:12;24093:11;;:26;24089:747;;;24207:14;24224:72;24233:62;24275:19;24291:2;24275:11;;:15;;:19;;;;:::i;:::-;24233:37;24242:27;24257:11;;24242:10;;:14;;:27;;;;:::i;:::-;16190:4;24233:8;;:37;;;;:::i;:::-;:41;;:62;;;;:::i;:::-;16190:4;24224:8;;:72;;;;:::i;:::-;24207:89;;24305:16;24324;16190:4;24324:6;:10;;:16;;;;:::i;:::-;24305:35;;24349:22;24374:30;24397:6;24374:18;16190:4;24374:8;:12;;:18;;;;:::i;:::-;:22;;:30;;;;:::i;:::-;24349:55;;24413:21;24444:4;;;;;;;;;;;24437:24;;;:26;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24437:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24437:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24437:26:0;;;;;;;;;;;;;;;;24413:50;;24472:21;24496:62;24514:43;16190:4;24514:33;24532:14;24514:13;:17;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;24496:13;:17;;:62;;;;:::i;:::-;24472:86;;24690:13;24706:61;24724:42;24752:13;24724:23;16190:4;24724:13;:17;;:23;;;;:::i;:::-;:27;;:42;;;;:::i;:::-;16190:4;24706:17;;:61;;;;:::i;:::-;24690:77;;24784:5;24791:1;24776:17;;;;;;;;;;;;;;;;;24089:747;24824:1;24826;24816:12;;;;;;;;;;;;22864:1977;;;:::o;16664:24::-;;;;:::o;17287:143::-;17087:10;;;;;;;;;;;17073:24;;:10;:24;;;17065:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17370:1;17356:10;;:15;17348:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17420:4;17407:10;:17;;;;17287:143;:::o;17436:90::-;17087:10;;;;;;;;;;;17073:24;;:10;:24;;;17065:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17513:7;17500:10;;:20;;;;;;;;;;;;;;;;;;17436:90;:::o;19834:2946::-;19939:1;19925:10;;:15;:43;;;;;19958:10;;;;;;;;;;;19944:24;;:10;:24;;;;19925:43;19921:102;;;19984:16;;;;;;;;;;20009:7;;19921:102;16237:2;20033:7;;:22;;:50;;;;;20073:10;;;;;;;;;;;20059:24;;:10;:24;;;;20033:50;20029:104;;;20099:11;;;;;;;;;;20119:7;;20029:104;20224:10;;20206:15;:28;20202:118;;;20245:7;;20202:118;16921:7;16237:2;16907:21;20287:10;;:25;20274:10;:38;;;;20410:21;20434:28;20458:3;20434:19;20449:3;20434:10;;:14;;:19;;;;:::i;:::-;:23;;:28;;;;:::i;:::-;20410:52;;20469:20;20492:27;20515:3;20492:18;20507:2;20492:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;20469:50;;20546:13;20532:11;;:27;20528:2247;;;20651:14;20668:72;20677:62;20719:19;20735:2;20719:11;;:15;;:19;;;;:::i;:::-;20677:37;20686:27;20702:10;;20686:11;;:15;;:27;;;;:::i;:::-;16190:4;20677:8;;:37;;;;:::i;:::-;:41;;:62;;;;:::i;:::-;16190:4;20668:8;;:72;;;;:::i;:::-;20651:89;;20749:16;20768;20777:6;16190:4;20768:8;;:16;;;;:::i;:::-;20749:35;;20793:22;20818:30;20841:6;20818:18;16190:4;20818:8;:12;;:18;;;;:::i;:::-;:22;;:30;;;;:::i;:::-;20793:55;;20857:21;20888:4;;;;;;;;;;;20881:24;;;:26;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20881:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20881:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20881:26:0;;;;;;;;;;;;;;;;20857:50;;20916:21;20940:62;20958:43;16190:4;20958:33;20976:14;20958:13;:17;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;20940:13;:17;;:62;;;;:::i;:::-;20916:86;;21019:27;21049:49;21094:3;21049:40;21086:2;21049:32;21067:13;21049;:17;;:32;;;;:::i;:::-;:36;;:40;;;;:::i;:::-;:44;;:49;;;;:::i;:::-;21019:79;;21123:38;21141:19;21123:13;:17;;:38;;;;:::i;:::-;21107:54;;21318:13;21334:52;16190:4;21334:42;21362:13;21334:23;16190:4;21334:13;:17;;:23;;;;:::i;:::-;:27;;:42;;;;:::i;:::-;:46;;:52;;;;:::i;:::-;21318:68;;21401:4;;;;;;;;;;;21395:18;;;21414:5;;21421;21428:4;21395:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21395:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21395:38:0;;;;21473:1;21448:27;;:13;;;;;;;;;;;:27;;;21444:420;;21555:4;;;;;;;;;;;21549:16;;;21574:4;21581:19;21549:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21549:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21549:52:0;;;;21612:42;21637:13;;;;;;;;;;;21652:1;21619:4;;;;;;;;;;;21612:24;;;;:42;;;;;:::i;:::-;21665:60;21690:13;;;;;;;;;;;21705:19;21672:4;;;;;;;;;;;21665:24;;;;:60;;;;;:::i;:::-;21748:13;;;;;;;;;;;21736:48;;;21785:19;21736:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21736:69:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21736:69:0;;;;21444:420;;;21837:17;;;;;;;;;;21444:420;16989:42;21872:12;;;:14;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21872:14:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21872:14:0;;;;21895:5;;:7;;;;;;;;;;;;;20528:2247;;;;;;;;;;21934:12;21920:11;;:26;21916:859;;;22034:14;22051:72;22060:62;22102:19;22118:2;22102:11;;:15;;:19;;;;:::i;:::-;22060:37;22069:27;22084:11;;22069:10;;:14;;:27;;;;:::i;:::-;16190:4;22060:8;;:37;;;;:::i;:::-;:41;;:62;;;;:::i;:::-;16190:4;22051:8;;:72;;;;:::i;:::-;22034:89;;22132:16;22151;16190:4;22151:6;:10;;:16;;;;:::i;:::-;22132:35;;22176:22;22201:30;22224:6;22201:18;16190:4;22201:8;:12;;:18;;;;:::i;:::-;:22;;:30;;;;:::i;:::-;22176:55;;22240:21;22271:4;;;;;;;;;;;22264:24;;;:26;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22264:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22264:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22264:26:0;;;;;;;;;;;;;;;;22240:50;;22299:21;22323:62;22341:43;16190:4;22341:33;22359:14;22341:13;:17;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;22323:13;:17;;:62;;;;:::i;:::-;22299:86;;22517:13;22533:61;22551:42;22579:13;22551:23;16190:4;22551:13;:17;;:23;;;;:::i;:::-;:27;;:42;;;;:::i;:::-;16190:4;22533:17;;:61;;;;:::i;:::-;22517:77;;22609:4;;;;;;;;;;;22603:18;;;22622:5;;22629;22636;22603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22603:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22603:39:0;;;;16989:42;22651:12;;;:14;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22651:14:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22651:14:0;;;;22674:5;;:7;;;;;;;;;;;;;21916:859;;;;;;;;;22751:16;;;;;;;;;;21916:859;20528:2247;19834:2946;;;:::o;27249:21::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16758:29::-;;;;:::o;16564:25::-;;;;:::o;16933:99::-;16989:42;16933:99;:::o;16270:55::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16503:25::-;;;;:::o;16330:56::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16594:34::-;;;;:::o;16159:35::-;16190:4;16159:35;:::o;17628:204::-;17764:4;;;;;;;;;;;17742:27;;:10;:27;;;17733:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17798:8;:6;:8::i;:::-;17813:13;:11;:13::i;:::-;17628:204::o;2356:471::-;2414:7;2664:1;2659;:6;2655:47;;;2689:1;2682:8;;;;2655:47;2714:9;2730:1;2726;:5;2714:17;;2759:1;2754;2750;:5;;;;;;:10;2742:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2818:1;2811:8;;;2356:471;;;;;:::o;3295:132::-;3353:7;3380:39;3384:1;3387;3380:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3373:46;;3295:132;;;;:::o;984:181::-;1042:7;1062:9;1078:1;1074;:5;1062:17;;1103:1;1098;:6;;1090:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1156:1;1149:8;;;984:181;;;;:::o;1440:136::-;1498:7;1525:43;1529:1;1532;1525:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1518:50;;1440:136;;;;:::o;12591:621::-;12970:1;12961:5;:10;12960:62;;;;13020:1;12977:5;:15;;;13001:4;13008:7;12977:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12977:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12977:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12977:39:0;;;;;;;;;;;;;;;;:44;12960:62;12952:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13115:89;13134:5;13164;:13;;;:22;;;;13188:7;13197:5;13141:62;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;13141:62:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;13141:62:0;13115:18;:89::i;:::-;12591:621;;;:::o;3957:345::-;4043:7;4142:1;4138;:5;4145:12;4130:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4130:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4169:9;4185:1;4181;:5;;;;;;4169:17;;4293:1;4286:8;;;3957:345;;;;;:::o;1913:192::-;1999:7;2032:1;2027;:6;;2035:12;2019:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;2019:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2059:9;2075:1;2071;:5;2059:17;;2096:1;2089:8;;;1913:192;;;;;:::o;14234:1114::-;14838:27;14846:5;14838:25;;;:27::i;:::-;14830:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14975:12;14989:23;15024:5;15016:19;;15036:4;15016:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15016:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14974:67:0;;;;15060:7;15052:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15141:1;15121:10;:17;:21;15117:224;;;15263:10;15252:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15252:30:0;;;;;;;;;;;;;;;;15244:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15117:224;14234:1114;;;;:::o;9224:619::-;9284:4;9546:16;9573:19;9595:66;9573:88;;;;9764:7;9752:20;9740:32;;9804:11;9792:8;:23;;:42;;;;;9831:3;9819:15;;:8;:15;;9792:42;9784:51;;;;9224:619;;;:::o
Swarm Source
bzzr://0e7ebf00f16a4a80c3e9344960b5c07ee6e57666624637dfa413b6a033d950d0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.