ETH Price: $3,292.86 (-4.94%)

Contract

0x784561B89A160990F46DE6dB19571Ca1B5F14bCE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve212278072024-11-20 8:38:356 days ago1732091915IN
Most Protocol: MOST Token
0 ETH0.0002496110.33717478
Approve192569182024-02-18 20:01:23281 days ago1708286483IN
Most Protocol: MOST Token
0 ETH0.00096439.92247124
Approve190711022024-01-23 18:17:59308 days ago1706033879IN
Most Protocol: MOST Token
0 ETH0.0003779815.65346666
Approve170247092023-04-11 11:58:35595 days ago1681214315IN
Most Protocol: MOST Token
0 ETH0.0005152821.33942943
Approve166609412023-02-19 6:44:59646 days ago1676789099IN
Most Protocol: MOST Token
0 ETH0.0004783619.81036319
Transfer150028642022-06-21 15:03:32889 days ago1655823812IN
Most Protocol: MOST Token
0 ETH0.0021229643.47927997
Approve145344682022-04-06 20:30:58964 days ago1649277058IN
Most Protocol: MOST Token
0 ETH0.0011360247.04640805
Transfer128966262021-07-25 17:03:071220 days ago1627232587IN
Most Protocol: MOST Token
0 ETH0.0010052326
Approve126249272021-06-13 8:06:381262 days ago1623571598IN
Most Protocol: MOST Token
0 ETH0.0002614710
Approve126249242021-06-13 8:06:031262 days ago1623571563IN
Most Protocol: MOST Token
0 ETH0.0001447410
Approve126110882021-06-11 4:23:581264 days ago1623385438IN
Most Protocol: MOST Token
0 ETH0.0005107411
Approve125017682021-05-25 6:00:401281 days ago1621922440IN
Most Protocol: MOST Token
0 ETH0.0014857932
Approve122059062021-04-09 13:27:231327 days ago1617974843IN
Most Protocol: MOST Token
0 ETH0.00514239116
Approve117910442021-02-04 17:03:151391 days ago1612458195IN
Most Protocol: MOST Token
0 ETH0.0107281242
Approve116958682021-01-21 1:29:461405 days ago1611192586IN
Most Protocol: MOST Token
0 ETH0.000607942
Transfer115666932021-01-01 5:55:321425 days ago1609480532IN
Most Protocol: MOST Token
0 ETH0.0015732443
Approve114668652020-12-16 22:26:041440 days ago1608157564IN
Most Protocol: MOST Token
0 ETH0.00342477.7
Approve114617682020-12-16 3:44:341441 days ago1608090274IN
Most Protocol: MOST Token
0 ETH0.0019993245.1000016
Approve114271022020-12-10 19:35:411447 days ago1607628941IN
Most Protocol: MOST Token
0 ETH0.0009309521
Approve113736152020-12-02 14:28:221455 days ago1606919302IN
Most Protocol: MOST Token
0 ETH0.0014629233
Approve113526332020-11-29 8:47:221458 days ago1606639642IN
Most Protocol: MOST Token
0 ETH0.0005319712.0000014
Approve113502072020-11-29 0:02:481458 days ago1606608168IN
Most Protocol: MOST Token
0 ETH0.0006339314.3
Approve113427482020-11-27 20:50:351459 days ago1606510235IN
Most Protocol: MOST Token
0 ETH0.0009309521
Approve112361282020-11-11 11:46:311476 days ago1605095191IN
Most Protocol: MOST Token
0 ETH0.0002171115
Approve112179082020-11-08 16:48:211479 days ago1604854101IN
Most Protocol: MOST Token
0 ETH0.0013742631
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MostERC20

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-13
*/

// File: contracts/interfaces/IMostERC20.sol

pragma solidity >=0.6.2;

interface IMostERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
    event LogRebase(uint indexed epoch, uint totalSupply);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function epoch() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function PERIOD() external pure returns (uint);

    function pair() external view returns (address);
    function rebaseSetter() external view returns (address);
    function creator() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function blockTimestampLast() external view returns (uint32);
    function initialize(address, address) external;
    function rebase() external returns (uint);
    function setRebaseSetter(address) external;
    function setCreator(address) external;
    function consult(address token, uint amountIn) external view returns (uint amountOut);
}

// File: contracts/interfaces/IERC20.sol

pragma solidity >=0.5.0;

interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: @uniswap/lib/contracts/libraries/FixedPoint.sol

pragma solidity >=0.4.0;

// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))
library FixedPoint {
    // range: [0, 2**112 - 1]
    // resolution: 1 / 2**112
    struct uq112x112 {
        uint224 _x;
    }

    // range: [0, 2**144 - 1]
    // resolution: 1 / 2**112
    struct uq144x112 {
        uint _x;
    }

    uint8 private constant RESOLUTION = 112;

    // encode a uint112 as a UQ112x112
    function encode(uint112 x) internal pure returns (uq112x112 memory) {
        return uq112x112(uint224(x) << RESOLUTION);
    }

    // encodes a uint144 as a UQ144x112
    function encode144(uint144 x) internal pure returns (uq144x112 memory) {
        return uq144x112(uint256(x) << RESOLUTION);
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function div(uq112x112 memory self, uint112 x) internal pure returns (uq112x112 memory) {
        require(x != 0, 'FixedPoint: DIV_BY_ZERO');
        return uq112x112(self._x / uint224(x));
    }

    // multiply a UQ112x112 by a uint, returning a UQ144x112
    // reverts on overflow
    function mul(uq112x112 memory self, uint y) internal pure returns (uq144x112 memory) {
        uint z;
        require(y == 0 || (z = uint(self._x) * y) / y == uint(self._x), "FixedPoint: MULTIPLICATION_OVERFLOW");
        return uq144x112(z);
    }

    // returns a UQ112x112 which represents the ratio of the numerator to the denominator
    // equivalent to encode(numerator).div(denominator)
    function fraction(uint112 numerator, uint112 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, "FixedPoint: DIV_BY_ZERO");
        return uq112x112((uint224(numerator) << RESOLUTION) / denominator);
    }

    // decode a UQ112x112 into a uint112 by truncating after the radix point
    function decode(uq112x112 memory self) internal pure returns (uint112) {
        return uint112(self._x >> RESOLUTION);
    }

    // decode a UQ144x112 into a uint144 by truncating after the radix point
    function decode144(uq144x112 memory self) internal pure returns (uint144) {
        return uint144(self._x >> RESOLUTION);
    }
}

// File: contracts/libraries/UniswapV2OracleLibrary.sol

pragma solidity >=0.5.0;



// library with helper methods for oracles that are concerned with computing average prices
library UniswapV2OracleLibrary {
    using FixedPoint for *;

    // helper function that returns the current block timestamp within the range of uint32, i.e. [0, 2**32 - 1]
    function currentBlockTimestamp() internal view returns (uint32) {
        return uint32(block.timestamp % 2 ** 32);
    }

    // produces the cumulative price using counterfactuals to save gas and avoid a call to sync.
    function currentCumulativePrices(
        address pair
    ) internal view returns (uint price0Cumulative, uint price1Cumulative, uint32 blockTimestamp) {
        blockTimestamp = currentBlockTimestamp();
        price0Cumulative = IUniswapV2Pair(pair).price0CumulativeLast();
        price1Cumulative = IUniswapV2Pair(pair).price1CumulativeLast();

        // if time has elapsed since the last update on the pair, mock the accumulated price values
        (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = IUniswapV2Pair(pair).getReserves();
        if (blockTimestampLast != blockTimestamp) {
            // subtraction overflow is desired
            uint32 timeElapsed = blockTimestamp - blockTimestampLast;
            // addition overflow is desired
            // counterfactual
            price0Cumulative += uint(FixedPoint.fraction(reserve1, reserve0)._x) * timeElapsed;
            // counterfactual
            price1Cumulative += uint(FixedPoint.fraction(reserve0, reserve1)._x) * timeElapsed;
        }
    }
}

// File: contracts/libraries/SafeMath.sol

pragma solidity =0.6.6;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }

    function abs(int a) internal pure returns (int) {
        require(a != int256(1) << 255, 'ds-math-mul-overflow');
        return a < 0 ? -a : a;
    }
}

// File: contracts/libraries/UniswapV2Library.sol

pragma solidity >=0.5.0;



library UniswapV2Library {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

// File: contracts/MostERC20.sol

pragma solidity =0.6.6;







contract MostERC20 is IMostERC20 {
    using FixedPoint for *;
    using SafeMath for uint;
    using SafeMath for int;

    string public constant override name = 'MOST';
    string public constant override symbol = 'MOST';
    uint8 public constant override decimals = 9;
    uint public override totalSupply;
    uint public override epoch;
    mapping(address => uint) private gonBalanceOf;
    mapping(address => mapping(address => uint)) public override allowance;

    uint public constant override PERIOD = 24 hours;

    uint private constant MAX_UINT256 = ~uint256(0);
    uint private constant INITIAL_FRAGMENTS_SUPPLY = 1 * 10**6 * 10**uint(decimals);
    uint8 private constant RATE_BASE = 100;
    uint8 private constant UPPER_BOUND = 106;
    uint8 private constant LOWER_BOUND = 96;

    // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that gonsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2
    uint private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint private gonsPerFragment;

    address public override pair;
    address public override rebaseSetter;
    address public override creator;
    address public override token0;
    address public override token1;

    uint public override price0CumulativeLast;
    uint public override price1CumulativeLast;
    uint32 public override blockTimestampLast;
    FixedPoint.uq112x112 private price0Average;
    FixedPoint.uq112x112 private price1Average;

    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
    event LogRebase(uint indexed epoch, uint totalSupply);

    constructor() public {
        creator = msg.sender;

        totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        gonBalanceOf[msg.sender] = TOTAL_GONS;
        gonsPerFragment = TOTAL_GONS / totalSupply;

        emit Transfer(address(0), msg.sender, totalSupply);
    }

    function initialize(address factory, address tokenB) external override {
        require(msg.sender == creator, 'MOST: FORBIDDEN'); // sufficient check

        IUniswapV2Pair _pair = IUniswapV2Pair(UniswapV2Library.pairFor(factory, address(this), tokenB));
        pair = address(_pair);
        token0 = _pair.token0();
        token1 = _pair.token1();
        price0CumulativeLast = _pair.price0CumulativeLast(); // fetch the current accumulated price value (1 / 0)
        price1CumulativeLast = _pair.price1CumulativeLast(); // fetch the current accumulated price value (0 / 1)
        uint112 reserve0;
        uint112 reserve1;
        (reserve0, reserve1, blockTimestampLast) = _pair.getReserves();
        require(reserve0 != 0 && reserve1 != 0, 'MOST: NO_RESERVES'); // ensure that there's liquidity in the pair
    }

    function _approve(address owner, address spender, uint value) private {
        allowance[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(address from, address to, uint value) private {
        uint gonValue = value.mul(gonsPerFragment);
        gonBalanceOf[from] = gonBalanceOf[from].sub(gonValue);
        gonBalanceOf[to] = gonBalanceOf[to].add(gonValue);
        emit Transfer(from, to, value);
    }

    function balanceOf(address owner) external view override returns (uint) {
        return gonBalanceOf[owner] / gonsPerFragment;
    }

    function approve(address spender, uint value) external override returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transfer(address to, uint value) external override returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint value) external override returns (bool) {
        if (allowance[from][msg.sender] != uint(-1)) {
            allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

    function rebase() external override returns (uint) {
        require(msg.sender == rebaseSetter, 'MOST: FORBIDDEN'); // sufficient check

        (uint price0Cumulative, uint price1Cumulative, uint32 blockTimestamp) =
            UniswapV2OracleLibrary.currentCumulativePrices(pair);
        uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired

        // ensure that at least one full period has passed since the last update
        require(timeElapsed >= PERIOD, 'MOST: PERIOD_NOT_ELAPSED');

        epoch = epoch.add(1);

        // overflow is desired, casting never truncates
        // cumulative price is in (uq112x112 price * seconds) units so we simply wrap it after division by time elapsed
        price0Average = FixedPoint.uq112x112(uint224((price0Cumulative - price0CumulativeLast) / timeElapsed));
        price1Average = FixedPoint.uq112x112(uint224((price1Cumulative - price1CumulativeLast) / timeElapsed));

        price0CumulativeLast = price0Cumulative;
        price1CumulativeLast = price1Cumulative;
        blockTimestampLast = blockTimestamp;

        uint priceAverage = consult(address(this), 10**uint(decimals));

        uint tokenBRemaining;
        if (address(this) == token0) {
            tokenBRemaining = 10 ** uint(IERC20(token1).decimals() - 2);
        } else {
            tokenBRemaining = 10 ** uint(IERC20(token0).decimals() - 2);
        }
        uint unitBase = RATE_BASE * tokenBRemaining;
        int256 supplyDelta;
        if (priceAverage > UPPER_BOUND * tokenBRemaining) {
            supplyDelta = 0 - int(totalSupply.mul(priceAverage.sub(unitBase)) / priceAverage);
        } else if (priceAverage < LOWER_BOUND * tokenBRemaining) {
            supplyDelta = int(totalSupply.mul(unitBase.sub(priceAverage)) / unitBase);
        } else {
            supplyDelta = 0;
        }

        supplyDelta = supplyDelta / 10;

        if (supplyDelta == 0) {
            emit LogRebase(epoch, totalSupply);
            return totalSupply;
        }

        if (supplyDelta < 0) {
            totalSupply = totalSupply.sub(uint256(supplyDelta.abs()));
        } else {
            totalSupply = totalSupply.add(uint256(supplyDelta));
        }

        if (totalSupply > MAX_SUPPLY) {
            totalSupply = MAX_SUPPLY;
        }

        gonsPerFragment = TOTAL_GONS / totalSupply;

        // From this point forward, gonsPerFragment is taken as the source of truth.
        // We recalculate a new totalSupply to be in agreement with the gonsPerFragment
        // conversion rate.
        // This means our applied supplyDelta can deviate from the requested supplyDelta,
        // but this deviation is guaranteed to be < (totalSupply^2)/(TOTAL_GONS - totalSupply).
        //
        // In the case of totalSupply <= MAX_UINT128 (our current supply cap), this
        // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is
        // ever increased, it must be re-included.
        // totalSupply = TOTAL_GONS / gonsPerFragment

        emit LogRebase(epoch, totalSupply);
        return totalSupply;
    }

    function setRebaseSetter(address _rebaseSetter) external override {
        require(msg.sender == creator, 'MOST: FORBIDDEN');
        rebaseSetter = _rebaseSetter;
    }

    function setCreator(address _creator) external override {
        require(msg.sender == creator, 'MOST: FORBIDDEN');
        creator = _creator;
    }

    // note this will always return 0 before update has been called successfully for the first time.
    function consult(address token, uint amountIn) public view override returns (uint amountOut) {
        if (token == token0) {
            amountOut = price0Average.mul(amountIn).decode144();
        } else {
            require(token == token1, 'MOST: INVALID_TOKEN');
            amountOut = price1Average.mul(amountIn).decode144();
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockTimestampLast","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"consult","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"factory","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebaseSetter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_creator","type":"address"}],"name":"setCreator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rebaseSetter","type":"address"}],"name":"setRebaseSetter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600780546001600160a01b0319163390811790915566038d7ea4c6800060009081559081526002602052604081206507326b47ffff19908190559054908161005557fe5b046004556000805460408051918252513392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a3611f3a806100a26000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c806370a08231116100e3578063a9059cbb1161008c578063c5700a0211610066578063c5700a021461049b578063d21220a7146104bc578063dd62ed3e146104c457610198565b8063a9059cbb14610452578063af14052c1461048b578063b4d1d7951461049357610198565b8063937752f9116100bd578063937752f91461044257806395d89b41146101ce578063a8aa1b311461044a57610198565b806370a08231146103d45780637363a30f14610407578063900cf0cf1461043a57610198565b8063313ce56711610145578063485cc9551161011f578063485cc955146103895780635909c0d5146103c45780635a3d5493146103cc57610198565b8063313ce567146102fd5780633ddac9531461031b5780633f5160181461035457610198565b80630dfe1681116101765780630dfe16811461029857806318160ddd146102a057806323b872dd146102ba57610198565b806302d05d3f1461019d57806306fdde03146101ce578063095ea7b31461024b575b600080fd5b6101a56104ff565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101d661051b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102846004803603604081101561026157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610554565b604080519115158252519081900360200190f35b6101a561056b565b6102a8610587565b60408051918252519081900360200190f35b610284600480360360608110156102d057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561058d565b61030561066c565b6040805160ff9092168252519081900360200190f35b6102a86004803603604081101561033157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610671565b6103876004803603602081101561036a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107df565b005b6103876004803603604081101561039f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166108ac565b6102a8610d87565b6102a8610d8d565b6102a8600480360360208110156103ea57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d93565b6103876004803603602081101561041d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dcd565b6102a8610e9a565b6101a5610ea0565b6101a5610ebc565b6102846004803603604081101561046857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ed8565b6102a8610ee5565b6102a861148a565b6104a3611491565b6040805163ffffffff9092168252519081900360200190f35b6101a561149d565b6102a8600480360360408110156104da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166114b9565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600481526020017f4d4f53540000000000000000000000000000000000000000000000000000000081525081565b60006105613384846114d6565b5060015b92915050565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146106575773ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152902054610625908363ffffffff61154516565b73ffffffffffffffffffffffffffffffffffffffff851660009081526003602090815260408083203384529091529020555b6106628484846115b7565b5060019392505050565b600981565b60085460009073ffffffffffffffffffffffffffffffffffffffff848116911614156106f9576040805160208101909152600d547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681526106de906106d9908463ffffffff6116b316565b611760565b71ffffffffffffffffffffffffffffffffffff169050610565565b60095473ffffffffffffffffffffffffffffffffffffffff84811691161461078257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d4f53543a20494e56414c49445f544f4b454e00000000000000000000000000604482015290519081900360640190fd5b6040805160208101909152600e547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681526107c4906106d9908463ffffffff6116b316565b71ffffffffffffffffffffffffffffffffffff169392505050565b60075473ffffffffffffffffffffffffffffffffffffffff16331461086557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60075473ffffffffffffffffffffffffffffffffffffffff16331461093257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600061093f833084611767565b905080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c857600080fd5b505afa1580156109dc573d6000803e3d6000fd5b505050506040513d60208110156109f257600080fd5b5051600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519183169163d21220a791600480820192602092909190829003018186803b158015610a8857600080fd5b505afa158015610a9c573d6000803e3d6000fd5b505050506040513d6020811015610ab257600080fd5b5051600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055604080517f5909c0d5000000000000000000000000000000000000000000000000000000008152905191831691635909c0d591600480820192602092909190829003018186803b158015610b4857600080fd5b505afa158015610b5c573d6000803e3d6000fd5b505050506040513d6020811015610b7257600080fd5b5051600a55604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff831691635a3d5493916004808301926020929190829003018186803b158015610bdd57600080fd5b505afa158015610bf1573d6000803e3d6000fd5b505050506040513d6020811015610c0757600080fd5b5051600b55604080517f0902f1ac0000000000000000000000000000000000000000000000000000000081529051600091829173ffffffffffffffffffffffffffffffffffffffff851691630902f1ac916004808301926060929190829003018186803b158015610c7757600080fd5b505afa158015610c8b573d6000803e3d6000fd5b505050506040513d6060811015610ca157600080fd5b5080516020820151604090920151600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff909216919091179055925090506dffffffffffffffffffffffffffff821615801590610d1557506dffffffffffffffffffffffffffff811615155b610d8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4d4f53543a204e4f5f5245534552564553000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b600a5481565b600b5481565b60045473ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604081205490919081610dc657fe5b0492915050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610e5357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015481565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60006105613384846115b7565b60065460009073ffffffffffffffffffffffffffffffffffffffff163314610f6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b60055460009081908190610f979073ffffffffffffffffffffffffffffffffffffffff16611852565b600c54929550909350915063ffffffff90811682039062015180908216101561102157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d4f53543a20504552494f445f4e4f545f454c41505345440000000000000000604482015290519081900360640190fd5b600180546110349163ffffffff611aa416565b60018190555060405180602001604052808263ffffffff16600a5487038161105857fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9081169091529051600d80547fffffffff0000000000000000000000000000000000000000000000000000000016919092161790556040805160208101909152600b54819063ffffffff8416908603816110cc57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9081169091529051600e80547fffffffff000000000000000000000000000000000000000000000000000000001691909216179055600a849055600b839055600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8416179055600061116930633b9aca00610671565b60085490915060009073ffffffffffffffffffffffffffffffffffffffff1630141561123457600954604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160029273ffffffffffffffffffffffffffffffffffffffff169163313ce567916004808301926020929190829003018186803b1580156111fa57600080fd5b505afa15801561120e573d6000803e3d6000fd5b505050506040513d602081101561122457600080fd5b50510360ff16600a0a90506112d5565b600854604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160029273ffffffffffffffffffffffffffffffffffffffff169163313ce567916004808301926020929190829003018186803b15801561129f57600080fd5b505afa1580156112b3573d6000803e3d6000fd5b505050506040513d60208110156112c957600080fd5b50510360ff16600a0a90505b606481026000606a830284111561131b57836113096112fa828563ffffffff61154516565b6000549063ffffffff611b1616565b8161131057fe5b04600003905061134d565b60608302841015611349578161133a6112fa828763ffffffff61154516565b8161134157fe5b04905061134d565b5060005b600a9005806113a05760015460005460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a260005498505050505050505050611487565b60008112156113cc576113c46113b582611b9c565b6000549063ffffffff61154516565b6000556113e3565b6000546113df908263ffffffff611aa416565b6000555b6000546fffffffffffffffffffffffffffffffff1015611412576fffffffffffffffffffffffffffffffff6000555b6000547ffffffffffffffffffffffffffffffffffffffffffffffffffffff8cd94b800008161143d57fe5b0460045560015460005460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a2600054985050505050505050505b90565b6201518081565b600c5463ffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b600360209081526000928352604080842090915290825290205481565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082038281111561056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b60006115ce60045483611b1690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260026020526040902054909150611607908263ffffffff61154516565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600260205260408082209390935590851681522054611649908263ffffffff611aa416565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b6116bb611e97565b60008215806116f657505082517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16828102908382816116f357fe5b04145b61174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611ee26023913960400191505060405180910390fd5b60408051602081019091529081529392505050565b5160701c90565b60008060006117768585611c42565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b600080600061185f611d95565b90508373ffffffffffffffffffffffffffffffffffffffff16635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b1580156118a757600080fd5b505afa1580156118bb573d6000803e3d6000fd5b505050506040513d60208110156118d157600080fd5b5051604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905191945073ffffffffffffffffffffffffffffffffffffffff861691635a3d549391600480820192602092909190829003018186803b15801561193d57600080fd5b505afa158015611951573d6000803e3d6000fd5b505050506040513d602081101561196757600080fd5b5051604080517f0902f1ac00000000000000000000000000000000000000000000000000000000815290519193506000918291829173ffffffffffffffffffffffffffffffffffffffff891691630902f1ac916004808301926060929190829003018186803b1580156119d957600080fd5b505afa1580156119ed573d6000803e3d6000fd5b505050506040513d6060811015611a0357600080fd5b5080516020820151604090920151909450909250905063ffffffff80821690851614611a9a5780840363ffffffff8116611a3d8486611d9f565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1602969096019563ffffffff8116611a738585611d9f565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b5050509193909250565b8082018281101561056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6000811580611b3157505080820282828281611b2e57fe5b04145b61056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60007f8000000000000000000000000000000000000000000000000000000000000000821415611c2d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60008212611c3b5781610565565b5060000390565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611ebd6025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610611d04578284611d07565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216611d8e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b63ffffffff421690565b611da7611eaa565b6000826dffffffffffffffffffffffffffff1611611e2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604482015290519081900360640190fd5b6040805160208101909152806dffffffffffffffffffffffffffff84167bffffffffffffffffffffffffffff0000000000000000000000000000607087901b1681611e6d57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16815250905092915050565b6040518060200160405280600081525090565b6040805160208101909152600081529056fe556e697377617056324c6962726172793a204944454e544943414c5f4144445245535345534669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552464c4f57a2646970667358221220d14081bf3a39469fca879bf4c4aeb6005cd9b1cf205f7d3aa94ae57cf482d7f964736f6c63430006060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101985760003560e01c806370a08231116100e3578063a9059cbb1161008c578063c5700a0211610066578063c5700a021461049b578063d21220a7146104bc578063dd62ed3e146104c457610198565b8063a9059cbb14610452578063af14052c1461048b578063b4d1d7951461049357610198565b8063937752f9116100bd578063937752f91461044257806395d89b41146101ce578063a8aa1b311461044a57610198565b806370a08231146103d45780637363a30f14610407578063900cf0cf1461043a57610198565b8063313ce56711610145578063485cc9551161011f578063485cc955146103895780635909c0d5146103c45780635a3d5493146103cc57610198565b8063313ce567146102fd5780633ddac9531461031b5780633f5160181461035457610198565b80630dfe1681116101765780630dfe16811461029857806318160ddd146102a057806323b872dd146102ba57610198565b806302d05d3f1461019d57806306fdde03146101ce578063095ea7b31461024b575b600080fd5b6101a56104ff565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101d661051b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102846004803603604081101561026157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610554565b604080519115158252519081900360200190f35b6101a561056b565b6102a8610587565b60408051918252519081900360200190f35b610284600480360360608110156102d057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561058d565b61030561066c565b6040805160ff9092168252519081900360200190f35b6102a86004803603604081101561033157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610671565b6103876004803603602081101561036a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107df565b005b6103876004803603604081101561039f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166108ac565b6102a8610d87565b6102a8610d8d565b6102a8600480360360208110156103ea57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d93565b6103876004803603602081101561041d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dcd565b6102a8610e9a565b6101a5610ea0565b6101a5610ebc565b6102846004803603604081101561046857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ed8565b6102a8610ee5565b6102a861148a565b6104a3611491565b6040805163ffffffff9092168252519081900360200190f35b6101a561149d565b6102a8600480360360408110156104da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166114b9565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600481526020017f4d4f53540000000000000000000000000000000000000000000000000000000081525081565b60006105613384846114d6565b5060015b92915050565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146106575773ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152902054610625908363ffffffff61154516565b73ffffffffffffffffffffffffffffffffffffffff851660009081526003602090815260408083203384529091529020555b6106628484846115b7565b5060019392505050565b600981565b60085460009073ffffffffffffffffffffffffffffffffffffffff848116911614156106f9576040805160208101909152600d547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681526106de906106d9908463ffffffff6116b316565b611760565b71ffffffffffffffffffffffffffffffffffff169050610565565b60095473ffffffffffffffffffffffffffffffffffffffff84811691161461078257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d4f53543a20494e56414c49445f544f4b454e00000000000000000000000000604482015290519081900360640190fd5b6040805160208101909152600e547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681526107c4906106d9908463ffffffff6116b316565b71ffffffffffffffffffffffffffffffffffff169392505050565b60075473ffffffffffffffffffffffffffffffffffffffff16331461086557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60075473ffffffffffffffffffffffffffffffffffffffff16331461093257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600061093f833084611767565b905080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c857600080fd5b505afa1580156109dc573d6000803e3d6000fd5b505050506040513d60208110156109f257600080fd5b5051600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519183169163d21220a791600480820192602092909190829003018186803b158015610a8857600080fd5b505afa158015610a9c573d6000803e3d6000fd5b505050506040513d6020811015610ab257600080fd5b5051600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055604080517f5909c0d5000000000000000000000000000000000000000000000000000000008152905191831691635909c0d591600480820192602092909190829003018186803b158015610b4857600080fd5b505afa158015610b5c573d6000803e3d6000fd5b505050506040513d6020811015610b7257600080fd5b5051600a55604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff831691635a3d5493916004808301926020929190829003018186803b158015610bdd57600080fd5b505afa158015610bf1573d6000803e3d6000fd5b505050506040513d6020811015610c0757600080fd5b5051600b55604080517f0902f1ac0000000000000000000000000000000000000000000000000000000081529051600091829173ffffffffffffffffffffffffffffffffffffffff851691630902f1ac916004808301926060929190829003018186803b158015610c7757600080fd5b505afa158015610c8b573d6000803e3d6000fd5b505050506040513d6060811015610ca157600080fd5b5080516020820151604090920151600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff909216919091179055925090506dffffffffffffffffffffffffffff821615801590610d1557506dffffffffffffffffffffffffffff811615155b610d8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4d4f53543a204e4f5f5245534552564553000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b600a5481565b600b5481565b60045473ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604081205490919081610dc657fe5b0492915050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610e5357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015481565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60006105613384846115b7565b60065460009073ffffffffffffffffffffffffffffffffffffffff163314610f6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4d4f53543a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b60055460009081908190610f979073ffffffffffffffffffffffffffffffffffffffff16611852565b600c54929550909350915063ffffffff90811682039062015180908216101561102157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d4f53543a20504552494f445f4e4f545f454c41505345440000000000000000604482015290519081900360640190fd5b600180546110349163ffffffff611aa416565b60018190555060405180602001604052808263ffffffff16600a5487038161105857fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9081169091529051600d80547fffffffff0000000000000000000000000000000000000000000000000000000016919092161790556040805160208101909152600b54819063ffffffff8416908603816110cc57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9081169091529051600e80547fffffffff000000000000000000000000000000000000000000000000000000001691909216179055600a849055600b839055600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8416179055600061116930633b9aca00610671565b60085490915060009073ffffffffffffffffffffffffffffffffffffffff1630141561123457600954604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160029273ffffffffffffffffffffffffffffffffffffffff169163313ce567916004808301926020929190829003018186803b1580156111fa57600080fd5b505afa15801561120e573d6000803e3d6000fd5b505050506040513d602081101561122457600080fd5b50510360ff16600a0a90506112d5565b600854604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160029273ffffffffffffffffffffffffffffffffffffffff169163313ce567916004808301926020929190829003018186803b15801561129f57600080fd5b505afa1580156112b3573d6000803e3d6000fd5b505050506040513d60208110156112c957600080fd5b50510360ff16600a0a90505b606481026000606a830284111561131b57836113096112fa828563ffffffff61154516565b6000549063ffffffff611b1616565b8161131057fe5b04600003905061134d565b60608302841015611349578161133a6112fa828763ffffffff61154516565b8161134157fe5b04905061134d565b5060005b600a9005806113a05760015460005460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a260005498505050505050505050611487565b60008112156113cc576113c46113b582611b9c565b6000549063ffffffff61154516565b6000556113e3565b6000546113df908263ffffffff611aa416565b6000555b6000546fffffffffffffffffffffffffffffffff1015611412576fffffffffffffffffffffffffffffffff6000555b6000547ffffffffffffffffffffffffffffffffffffffffffffffffffffff8cd94b800008161143d57fe5b0460045560015460005460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a2600054985050505050505050505b90565b6201518081565b600c5463ffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b600360209081526000928352604080842090915290825290205481565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082038281111561056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b60006115ce60045483611b1690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260026020526040902054909150611607908263ffffffff61154516565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600260205260408082209390935590851681522054611649908263ffffffff611aa416565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b6116bb611e97565b60008215806116f657505082517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16828102908382816116f357fe5b04145b61174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611ee26023913960400191505060405180910390fd5b60408051602081019091529081529392505050565b5160701c90565b60008060006117768585611c42565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b600080600061185f611d95565b90508373ffffffffffffffffffffffffffffffffffffffff16635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b1580156118a757600080fd5b505afa1580156118bb573d6000803e3d6000fd5b505050506040513d60208110156118d157600080fd5b5051604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905191945073ffffffffffffffffffffffffffffffffffffffff861691635a3d549391600480820192602092909190829003018186803b15801561193d57600080fd5b505afa158015611951573d6000803e3d6000fd5b505050506040513d602081101561196757600080fd5b5051604080517f0902f1ac00000000000000000000000000000000000000000000000000000000815290519193506000918291829173ffffffffffffffffffffffffffffffffffffffff891691630902f1ac916004808301926060929190829003018186803b1580156119d957600080fd5b505afa1580156119ed573d6000803e3d6000fd5b505050506040513d6060811015611a0357600080fd5b5080516020820151604090920151909450909250905063ffffffff80821690851614611a9a5780840363ffffffff8116611a3d8486611d9f565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1602969096019563ffffffff8116611a738585611d9f565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b5050509193909250565b8082018281101561056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6000811580611b3157505080820282828281611b2e57fe5b04145b61056557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60007f8000000000000000000000000000000000000000000000000000000000000000821415611c2d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60008212611c3b5781610565565b5060000390565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611ebd6025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610611d04578284611d07565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216611d8e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b63ffffffff421690565b611da7611eaa565b6000826dffffffffffffffffffffffffffff1611611e2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604482015290519081900360640190fd5b6040805160208101909152806dffffffffffffffffffffffffffff84167bffffffffffffffffffffffffffff0000000000000000000000000000607087901b1681611e6d57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16815250905092915050565b6040518060200160405280600081525090565b6040805160208101909152600081529056fe556e697377617056324c6962726172793a204944454e544943414c5f4144445245535345534669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552464c4f57a2646970667358221220d14081bf3a39469fca879bf4c4aeb6005cd9b1cf205f7d3aa94ae57cf482d7f964736f6c63430006060033

Deployed Bytecode Sourcemap

14590:8322:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;14590:8322:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;15945:31:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14720:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14720:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18271:156;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18271:156:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;15983:30;;;:::i;14876:32::-;;;:::i;:::-;;;;;;;;;;;;;;;;18591:310;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18591:310:0;;;;;;;;;;;;;;;;;;:::i;14826:43::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22553:356;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22553:356:0;;;;;;;;;:::i;22290:153::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22290:153:0;;;;:::i;:::-;;16804:840;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;16804:840:0;;;;;;;;;;;:::i;16059:41::-;;;:::i;16107:::-;;;:::i;18128:135::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18128:135:0;;;;:::i;22109:173::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22109:173:0;;;;:::i;14915:26::-;;;:::i;15902:36::-;;;:::i;15867:28::-;;;:::i;18435:148::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18435:148:0;;;;;;;;;:::i;18909:3192::-;;;:::i;15079:47::-;;;:::i;16155:41::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16020:30;;;:::i;15000:70::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;15000:70:0;;;;;;;;;;;:::i;15945:31::-;;;;;;:::o;14720:45::-;;;;;;;;;;;;;;;;;;;:::o;18271:156::-;18344:4;18361:36;18370:10;18382:7;18391:5;18361:8;:36::i;:::-;-1:-1:-1;18415:4:0;18271:156;;;;;:::o;15983:30::-;;;;;;:::o;14876:32::-;;;;:::o;18591:310::-;18699:15;;;18678:4;18699:15;;;:9;:15;;;;;;;;18715:10;18699:27;;;;;;;;18735:2;18699:39;18695:140;;18785:15;;;;;;;:9;:15;;;;;;;;18801:10;18785:27;;;;;;;;:38;;18817:5;18785:38;:31;:38;:::i;:::-;18755:15;;;;;;;:9;:15;;;;;;;;18771:10;18755:27;;;;;;;:68;18695:140;18845:26;18855:4;18861:2;18865:5;18845:9;:26::i;:::-;-1:-1:-1;18889:4:0;18591:310;;;;;:::o;14826:43::-;14868:1;14826:43;:::o;22553:356::-;22670:6;;22630:14;;22670:6;22661:15;;;22670:6;;22661:15;22657:245;;;22705:17;;;;;;;;;:13;:17;;;;;:39;;:27;;22723:8;22705:27;:17;:27;:::i;:::-;:37;:39::i;:::-;22693:51;;;;22657:245;;;22794:6;;;22785:15;;;22794:6;;22785:15;22777:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22851:17;;;;;;;;;:13;:17;;;;;:39;;:27;;22869:8;22851:27;:17;:27;:::i;:39::-;22839:51;;;22553:356;-1:-1:-1;;;22553:356:0:o;22290:153::-;22379:7;;;;22365:10;:21;22357:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22417:7;:18;;;;;;;;;;;;;;;22290:153::o;16804:840::-;16908:7;;;;16894:10;:21;16886:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16968:20;17006:56;17031:7;17048:4;17055:6;17006:24;:56::i;:::-;16968:95;;17089:5;17074:4;;:21;;;;;;;;;;;;;;;;;;17115:5;:12;;;:14;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;17115:14:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17115:14:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;17115:14:0;17106:6;:23;;;;;;;;;;;17149:14;;;;;;;;:12;;;;;;:14;;;;;17115;;17149;;;;;;;;:12;:14;;;2:2:-1;;;;27:1;24;17:12;2:2;17149:14:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17149:14:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;17149:14:0;17140:6;:23;;;;;;;;;;;17197:28;;;;;;;;:26;;;;;;:28;;;;;17149:14;;17197:28;;;;;;;;:26;:28;;;2:2:-1;;;;27:1;24;17:12;2:2;17197:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17197:28:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;17197:28:0;17174:20;:51;17312:28;;;;;;;;:26;;;;;;:28;;;;;17197;;17312;;;;;;;:26;:28;;;2:2:-1;;;;27:1;24;17:12;2:2;17312:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17312:28:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;17312:28:0;17289:20;:51;17501:19;;;;;;;;17404:16;;;;17501:17;;;;;;:19;;;;;;;;;;;;;;:17;:19;;;2:2:-1;;;;27:1;24;17:12;2:2;17501:19:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17501:19:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;17501:19:0;;;;;;;;;;;17479:18;17458:62;;;;;;;;;;;;;;17501:19;-1:-1:-1;17501:19:0;-1:-1:-1;17539:13:0;;;;;;;:30;;-1:-1:-1;17556:13:0;;;;;17539:30;17531:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16804:840;;;;;:::o;16059:41::-;;;;:::o;16107:::-;;;;:::o;18128:135::-;18240:15;;18218:19;;;18194:4;18218:19;;;:12;:19;;;;;;18194:4;;18240:15;;18218:37;;;;;;18128:135;-1:-1:-1;;18128:135:0:o;22109:173::-;22208:7;;;;22194:10;:21;22186:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22246:12;:28;;;;;;;;;;;;;;;22109:173::o;14915:26::-;;;;:::o;15902:36::-;;;;;;:::o;15867:28::-;;;;;;:::o;18435:148::-;18504:4;18521:32;18531:10;18543:2;18547:5;18521:9;:32::i;18909:3192::-;18993:12;;18954:4;;18993:12;;18979:10;:26;18971:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19190:4;;19059:21;;;;;;19143:52;;19190:4;;19143:46;:52::i;:::-;19244:18;;19058:137;;-1:-1:-1;19058:137:0;;-1:-1:-1;19058:137:0;-1:-1:-1;19244:18:0;;;;19227:35;;;15118:8;19388:21;;;;;19380:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19469:1;19459:5;;:12;;;:9;:12;:::i;:::-;19451:5;:20;;;;19678:86;;;;;;;;19751:11;19707:55;;19727:20;;19708:16;:39;19707:55;;;;;;19678:86;;;;;;;19662:102;;:13;:102;;;;;;;;;;;19791:86;;;;;;;;;19840:20;;19791:86;;19820:55;;;;19821:39;;19820:55;;;;;;19791:86;;;;;;;19775:102;;:13;:102;;;;;;;;;;;19890:20;:39;;;19940:20;:39;;;19990:18;:35;;;;;;;;;;-1:-1:-1;20058:42:0;20074:4;20081:18;20058:7;:42::i;:::-;20165:6;;20038:62;;-1:-1:-1;20113:20:0;;20165:6;;20156:4;20148:23;20144:207;;;20224:6;;20217:25;;;;;;;;20245:1;;20224:6;;;20217:23;;:25;;;;;;;;;;;;;;20224:6;20217:25;;;2:2:-1;;;;27:1;24;17:12;2:2;20217:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20217:25:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20217:25:0;:29;20212:35;;20206:2;:41;;-1:-1:-1;20144:207:0;;;20316:6;;20309:25;;;;;;;;20337:1;;20316:6;;;20309:23;;:25;;;;;;;;;;;;;;20316:6;20309:25;;;2:2:-1;;;;27:1;24;17:12;2:2;20309:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20309:25:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20309:25:0;:29;20304:35;;20298:2;:41;;-1:-1:-1;20144:207:0;15310:3;20377:27;;20361:13;15357:3;20463:29;;20448:44;;20444:362;;;20577:12;20531:43;20547:26;20577:12;20564:8;20547:26;:16;:26;:::i;:::-;20531:11;;;:43;:15;:43;:::i;:::-;:58;;;;;;20523:1;:67;20509:81;;20444:362;;;15404:2;20627:29;;20612:44;;20608:198;;;20737:8;20691:43;20707:26;20737:8;20720:12;20707:26;:12;:26;:::i;20691:43::-;:54;;;;;;20673:73;;20608:198;;;-1:-1:-1;20793:1:0;20608:198;20846:2;20832:16;;;20861:116;;20913:5;;20920:11;;20903:29;;;;;;;;;;;;;;;;20954:11;;20947:18;;;;;;;;;;;;20861:116;21007:1;20993:11;:15;20989:189;;;21039:43;21063:17;:11;:15;:17::i;:::-;21039:11;;;:43;:15;:43;:::i;:::-;21025:11;:57;20989:189;;;21129:11;;:37;;21153:11;21129:37;:15;:37;:::i;:::-;21115:11;:51;20989:189;15803:1;21194:11;21208:10;-1:-1:-1;21190:81:0;;;21249:10;15803:1;21235:24;21190:81;21314:11;;15624:54;21314:11;21301:24;;;;;21283:15;:42;22045:5;;22052:11;;22035:29;;;;;;;;;;;;;;;;22082:11;;22075:18;;;;;;;;;;18909:3192;;:::o;15079:47::-;15118:8;15079:47;:::o;16155:41::-;;;;;;:::o;16020:30::-;;;;;;:::o;15000:70::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;17652:169::-;17733:16;;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;17782:31;;;;;;;;;;;;;;;;;17652:169;;;:::o;9571:129::-;9655:5;;;9650:16;;;;9642:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17829:291;17905:13;17921:26;17931:15;;17921:5;:9;;:26;;;;:::i;:::-;17979:18;;;;;;;:12;:18;;;;;;17905:42;;-1:-1:-1;17979:32:0;;17905:42;17979:32;:22;:32;:::i;:::-;17958:18;;;;;;;;:12;:18;;;;;;:53;;;;18041:16;;;;;;;:30;;18062:8;18041:30;:20;:30;:::i;:::-;18022:16;;;;;;;;:12;:16;;;;;;;;;:49;;;;18087:25;;;;;;;18022:16;;18087:25;;;;;;;;;;;;;17829:291;;;;:::o;6480:253::-;6547:16;;:::i;:::-;6576:6;6601;;;:54;;-1:-1:-1;;6647:7:0;;6642:13;;6616:17;;;;6637:1;6616:17;6637:1;6611:27;;;;;:44;6601:54;6593:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6713:12;;;;;;;;;;;;;6480:253;-1:-1:-1;;;6480:253:0:o;7434:130::-;7534:7;5751:3;7534:21;;7434:130::o;10709:478::-;10798:12;10824:14;10840;10858:26;10869:6;10877;10858:10;:26::i;:::-;11022:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22::-1;26:21;;;22:32;6:49;;11022:32:0;;;;;11012:43;;;;;;10925:251;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;10925:251:0;;;;;;;10915:262;;;;;;;;;10709:478;-1:-1:-1;;;;;10709:478:0:o;8166:1058::-;8252:21;8275;8298;8349:23;:21;:23::i;:::-;8332:40;;8417:4;8402:41;;;:43;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8402:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8402:43:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8402:43:0;8475;;;;;;;;8402;;-1:-1:-1;8475:41:0;;;;;;:43;;;;;8402;;8475;;;;;;;;:41;:43;;;2:2:-1;;;;27:1;24;17:12;2:2;8475:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8475:43:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8475:43:0;8698:34;;;;;;;;8475:43;;-1:-1:-1;8633:16:0;;;;;;8698:32;;;;;;:34;;;;;;;;;;;;;;:32;:34;;;2:2:-1;;;;27:1;24;17:12;2:2;8698:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8698:34:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8698:34:0;;;;;;;;;;;;;-1:-1:-1;8698:34:0;;-1:-1:-1;8698:34:0;-1:-1:-1;8747:36:0;;;;;;;;8743:474;;8869:35;;;9015:62;;;9020:39;9040:8;9050;9020:19;:39::i;:::-;:42;9015:48;;:62;8995:82;;;;;9143:62;;;9148:39;9168:8;9178;9148:19;:39::i;:::-;:42;9143:48;;:62;9123:82;;;;;-1:-1:-1;8743:474:0;8166:1058;;;;;;;;:::o;9435:128::-;9519:5;;;9514:16;;;;9506:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9708:142;9760:6;9787;;;:30;;-1:-1:-1;;9802:5:0;;;9816:1;9811;9802:5;9811:1;9797:15;;;;;:20;9787:30;9779:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9858:153;9901:3;9930:16;9925:21;;;9917:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9993:1;9989;:5;:14;;10002:1;9989:14;;;-1:-1:-1;9997:2:0;;;9858:153::o;10268:349::-;10343:14;10359;10404:6;10394:16;;:6;:16;;;;10386:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10491:6;10482:15;;:6;:15;;;:53;;10520:6;10528;10482:53;;;10501:6;10509;10482:53;10463:72;;-1:-1:-1;10463:72:0;-1:-1:-1;10554:20:0;;;10546:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10268:349;;;;;:::o;7937:123::-;8026:25;:15;:25;;7937:123::o;6889:246::-;6970:16;;:::i;:::-;7021:1;7007:11;:15;;;6999:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7068:59;;;;;;;;;;7078:48;;;7079:32;5751:3;7079:32;;;;7078:48;;;;;;7068:59;;;;;7061:66;;6889:246;;;;:::o;14590:8322::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;14590:8322:0;;;:::o

Swarm Source

ipfs://d14081bf3a39469fca879bf4c4aeb6005cd9b1cf205f7d3aa94ae57cf482d7f9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Most protocol builds an elegant mechanism to incentivize MOST holders to sell tokens when highly demanded, and hold MOST tokens when over circulated.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.