Contract 0x8d54ae6a4e9247e35f4274b274906a99e9af52f1 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0d3b8d2de19b0feecde90cec8a1a18b330f48af1e0e9043b99f538324d9ebc19Approve120136572021-10-23 6:05:444 hrs 45 mins ago0x51a1bb3b65dc20d73e1edb2dbf4087838a296979 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xd2c2f64acf7fd674bb1290f9a80e891df57efa57f19871e4592e38d63b6f41cdApprove120104622021-10-23 3:21:347 hrs 29 mins ago0x30f73d7f3bb58032806c9b64c1fcc1b1636cefc0 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xc30ff5f3809af8d6609630e04583fba6af38d5755b19a65201461f227c2cba54Approve120077542021-10-23 1:05:349 hrs 45 mins ago0xde8316e3105d99228679de2bd60809a3b27bfe27 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x1ba31e60dacd87bbee8525ba279f3b963b8e6c54028f3073ef0e8174a531fce9Approve120003582021-10-22 18:51:0016 hrs ago0x6b219b706fa728605ada216efaed007720181c7e IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x3f76c57d72a4e5cd8a0de7b4eddca7f68f408ba2769e190588013a6ad022af9fApprove119945842021-10-22 14:00:3320 hrs 50 mins ago0x2190cf9ed6890b1128f01d1976a5b851ee010315 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xd1e8a70fc95bbb93cd06ed943acb4e544dd3ac45954c0e8bdcff2d168be30b67Approve119943892021-10-22 13:50:4721 hrs ago0x8c3de1634251d1e51c28844391fc9c11abb9f5e4 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xe182e6e08a22329419b404ec7f2e05e10174b9a6be49e3017dd3d8adbe49f011Approve119933982021-10-22 13:01:0721 hrs 50 mins ago0x7a31627805a06687da5b4a4801fd05055e510d41 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xc60d6873d00665effed23f37c0a04bdbc79aa356a1a4aa61e4e566cd9d52e95fApprove119886622021-10-22 9:02:231 day 1 hr ago0x055da58842fe51021b73ffc10b6aee79fcb25658 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x4559726379334c05903b440cd4faef1cc1fe9a1da2afde624cec5baaae45092fApprove119760752021-10-21 22:06:001 day 12 hrs ago0x50662afc1b466c9a1150525f5dc88305ca37a423 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xf3e511e4d05c40f4478cf46c8b9a018c5db059a3740ac0bb9b59e0de9d53471fApprove119759352021-10-21 21:59:001 day 12 hrs ago0x71f8ae346e1c826d5b25a3247d7f58816fb18655 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x3dffe7acf82f4fb74375280717eefdebd008e5f42fd1c968aebf031d19a982a8Approve119755442021-10-21 21:39:271 day 13 hrs ago0xf92f2f5d60c7cfa905add1c996105df21763af84 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x6eeca7102d86b133e1294852ba154bdf2217143d4eeec7a95fe221d2b148ab68Approve119738342021-10-21 20:13:551 day 14 hrs ago0xfe7fe632ed00b4a46bb5e7bda31aad2ecf5d49e3 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x6c37d60eb3bceff18bae358f8b2fe7f6ab4c046ff0863df5c844ab0ff13d32f5Approve119728422021-10-21 19:24:191 day 15 hrs ago0x5189ec062817b546fa1427febb1d2562f28bc564 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xed660cca38165d1a8d42d4a53da8a2fa253bb8e767eb5823811199edec5023a8Approve119726062021-10-21 19:12:311 day 15 hrs ago0x5189ec062817b546fa1427febb1d2562f28bc564 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x479e048a9967090ee61c2ba8d2d7445bd18cffae5824fb27c4ac5b5dc4d8c3a2Approve119699452021-10-21 16:59:111 day 17 hrs ago0x2c669716be7cd742a02ce22da0974c7ca4ebcdbc IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xb6e3c5f73807c96b0eaad363d61e792f26b83822bb5a47b95170f2431d59dbeaApprove119682102021-10-21 15:30:091 day 19 hrs ago0x633423520409dec4321b2d792d217842dade9eeb IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x54965340234d016dc496aed10620cce32862cd1840f2a8a43290df56696deaeeApprove119631202021-10-21 11:03:011 day 23 hrs ago0x0e16c6e60c3d5eef1afe57cba276dab60b5608bc IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xf2bc473855a8e5e22f5ff69071d8adf89db43e8c431b49b77cd1095b907913e3Approve119572832021-10-21 6:06:332 days 4 hrs ago0x6421fe8ecada6fa150e39659ed8e3217dce35a47 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xdff22939573876d4bf6ada65f3986edd002235d9d5d77640c4cd9a6a878bad24Approve119546232021-10-21 3:47:372 days 7 hrs ago0x00b1a7ec2e7378028475b106b08c4bc2069ff505 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x95da66b79d377a00c5ad892e0f95e8ea6ba6feb70d3285962bbb51b7920258c2Approve119471752021-10-20 21:32:432 days 13 hrs ago0x00e8b1e93b6a22f75ac231e05b08c34ade6e12d2 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x08f2f51458f81462c442a679d4a8fd905cb83949f4b7363c3bfeeccf29def1f9Approve119442202021-10-20 19:02:462 days 15 hrs ago0x3799a0de6fcceceb27249866512581c5c0b14861 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x3a5174aeda7c0a03de271ac1f42c4d96a56046fcaa7b2b788454c01f249de325Approve119439612021-10-20 18:49:052 days 16 hrs ago0x63c7929394fa988f11d939047cb8e86792246836 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0x1c6d5f842548b48898a5759b83bfb63ed28753035357ba74579bcc2464a781b5Approve119432612021-10-20 18:14:052 days 16 hrs ago0xc4bee6a2b10cb6692003c696d42a6288d0c76b98 IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
0xbc3ca84096d8cb10efd3858f7682cec07750b50fbd487b1194dc9aa8d91be39bSwap119430832021-10-20 18:05:112 days 16 hrs ago0x12983f3e5deb4e2153f07df75238dc4e711eee9c IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00112404
0x80da3c9ff0f74ee1650bc361b201d3a87eac02290cb52ec14029fcb5e8c55f48Approve119408492021-10-20 16:12:152 days 18 hrs ago0xd0b172e8314f8547d702a138fda9162f5d2c1d3c IN  0x8d54ae6a4e9247e35f4274b274906a99e9af52f10 BNB0.00022154
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xa91195d64cbcdc21b7d0fcf78875e2dc7cc5d0609dd4fac22a9a54e33e9a15b891095482021-07-13 3:21:27102 days 7 hrs ago 0x858e3312ed3a876947ea49d572a7c42de08af7ee  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xc7e9d76ba11099af3f330ff829c5f442d571e057

Contract Name:
BiswapPair

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-24
*/

pragma solidity =0.5.16;

interface IBiswapPair {
    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 swapFee() external view returns (uint32);
    function devFee() external view returns (uint32);

    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;
    function setSwapFee(uint32) external;
    function setDevFee(uint32) external;
}
interface IBiswapERC20 {
    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;
}
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');
    }
}

contract BiswapERC20 is IBiswapERC20 {
    using SafeMath for uint;

    string public constant name = 'Biswap LPs';
    string public constant symbol = 'BSW-LP';
    uint8 public constant decimals = 18;
    uint  public totalSupply;
    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint) public nonces;

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

    constructor() public {
        uint chainId;
        assembly {
            chainId := chainid
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name)),
                keccak256(bytes('1')),
                chainId,
                address(this)
            )
        );
    }

    function _mint(address to, uint value) internal {
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
    }

    function _burn(address from, uint value) internal {
        balanceOf[from] = balanceOf[from].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Transfer(from, address(0), value);
    }

    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 {
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

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

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

    function transferFrom(address from, address to, uint value) external 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 permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'Biswap: EXPIRED');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'Biswap: INVALID_SIGNATURE');
        _approve(owner, spender, value);
    }
}
library Math {
    function min(uint x, uint y) internal pure returns (uint z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}
library UQ112x112 {
    uint224 constant Q112 = 2**112;

    // encode a uint112 as a UQ112x112
    function encode(uint112 y) internal pure returns (uint224 z) {
        z = uint224(y) * Q112; // never overflows
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) {
        z = x / uint224(y);
    }
}
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);
}
interface IBiswapFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function INIT_CODE_HASH() external pure returns (bytes32);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
    function setDevFee(address pair, uint8 _devFee) external;
    function setSwapFee(address pair, uint32 swapFee) external;
}
interface IBiswapCallee {
    function BiswapCall(address sender, uint amount0, uint amount1, bytes calldata data) external;
}

contract BiswapPair is IBiswapPair, BiswapERC20 {
    using SafeMath  for uint;
    using UQ112x112 for uint224;

    uint public constant MINIMUM_LIQUIDITY = 10**3;
    bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));

    address public factory;
    address public token0;
    address public token1;

    uint112 private reserve0;           // uses single storage slot, accessible via getReserves
    uint112 private reserve1;           // uses single storage slot, accessible via getReserves
    uint32  private blockTimestampLast; // uses single storage slot, accessible via getReserves

    uint public price0CumulativeLast;
    uint public price1CumulativeLast;
    uint public kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event
    uint32 public swapFee = 1; // uses 0.1% default
    uint32 public devFee = 1; // uses 0.5% default from swap fee

    uint private unlocked = 1;
    modifier lock() {
        require(unlocked == 1, 'Biswap: LOCKED');
        unlocked = 0;
        _;
        unlocked = 1;
    }

    function getReserves() public view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) {
        _reserve0 = reserve0;
        _reserve1 = reserve1;
        _blockTimestampLast = blockTimestampLast;
    }

    function _safeTransfer(address token, address to, uint value) private {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'Biswap: TRANSFER_FAILED');
    }

    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);

    constructor() public {
        factory = msg.sender;
    }

    // called once by the factory at time of deployment
    function initialize(address _token0, address _token1) external {
        require(msg.sender == factory, 'Biswap: FORBIDDEN'); // sufficient check
        token0 = _token0;
        token1 = _token1;
    }

    function setSwapFee(uint32 _swapFee) external {
        require(_swapFee > 0, "BiswapPair: lower then 0");
        require(msg.sender == factory, 'BiswapPair: FORBIDDEN');
        require(_swapFee <= 1000, 'BiswapPair: FORBIDDEN_FEE');
        swapFee = _swapFee;
    }
    
    function setDevFee(uint32 _devFee) external {
        require(_devFee > 0, "BiswapPair: lower then 0");
        require(msg.sender == factory, 'BiswapPair: FORBIDDEN');
        require(_devFee <= 500, 'BiswapPair: FORBIDDEN_FEE');
        devFee = _devFee;
    }

    // update reserves and, on the first call per block, price accumulators
    function _update(uint balance0, uint balance1, uint112 _reserve0, uint112 _reserve1) private {
        require(balance0 <= uint112(-1) && balance1 <= uint112(-1), 'Biswap: OVERFLOW');
        uint32 blockTimestamp = uint32(block.timestamp % 2**32);
        uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired
        if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) {
            // * never overflows, and + overflow is desired
            price0CumulativeLast += uint(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed;
            price1CumulativeLast += uint(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed;
        }
        reserve0 = uint112(balance0);
        reserve1 = uint112(balance1);
        blockTimestampLast = blockTimestamp;
        emit Sync(reserve0, reserve1);
    }

    // if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)
    function _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) {
        address feeTo = IBiswapFactory(factory).feeTo();
        feeOn = feeTo != address(0);
        uint _kLast = kLast; // gas savings
        if (feeOn) {
            if (_kLast != 0) {
                uint rootK = Math.sqrt(uint(_reserve0).mul(_reserve1));
                uint rootKLast = Math.sqrt(_kLast);
                if (rootK > rootKLast) {
                    uint numerator = totalSupply.mul(rootK.sub(rootKLast));
                    uint denominator = rootK.mul(devFee).add(rootKLast);
                    uint liquidity = numerator / denominator;
                    if (liquidity > 0) _mint(feeTo, liquidity);
                }
            }
        } else if (_kLast != 0) {
            kLast = 0;
        }
    }

    // this low-level function should be called from a contract which performs important safety checks
    function mint(address to) external lock returns (uint liquidity) {
        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        uint balance0 = IERC20(token0).balanceOf(address(this));
        uint balance1 = IERC20(token1).balanceOf(address(this));
        uint amount0 = balance0.sub(_reserve0);
        uint amount1 = balance1.sub(_reserve1);

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        if (_totalSupply == 0) {
            liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);
           _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
        } else {
            liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);
        }
        require(liquidity > 0, 'Biswap: INSUFFICIENT_LIQUIDITY_MINTED');
        _mint(to, liquidity);

        _update(balance0, balance1, _reserve0, _reserve1);
        if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date
        emit Mint(msg.sender, amount0, amount1);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function burn(address to) external lock returns (uint amount0, uint amount1) {
        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        address _token0 = token0;                                // gas savings
        address _token1 = token1;                                // gas savings
        uint balance0 = IERC20(_token0).balanceOf(address(this));
        uint balance1 = IERC20(_token1).balanceOf(address(this));
        uint liquidity = balanceOf[address(this)];

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        amount0 = liquidity.mul(balance0) / _totalSupply; // using balances ensures pro-rata distribution
        amount1 = liquidity.mul(balance1) / _totalSupply; // using balances ensures pro-rata distribution
        require(amount0 > 0 && amount1 > 0, 'Biswap: INSUFFICIENT_LIQUIDITY_BURNED');
        _burn(address(this), liquidity);
        _safeTransfer(_token0, to, amount0);
        _safeTransfer(_token1, to, amount1);
        balance0 = IERC20(_token0).balanceOf(address(this));
        balance1 = IERC20(_token1).balanceOf(address(this));

        _update(balance0, balance1, _reserve0, _reserve1);
        if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date
        emit Burn(msg.sender, amount0, amount1, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external lock {
        require(amount0Out > 0 || amount1Out > 0, 'Biswap: INSUFFICIENT_OUTPUT_AMOUNT');
        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        require(amount0Out < _reserve0 && amount1Out < _reserve1, 'Biswap: INSUFFICIENT_LIQUIDITY');

        uint balance0;
        uint balance1;
        { // scope for _token{0,1}, avoids stack too deep errors
        address _token0 = token0;
        address _token1 = token1;
        require(to != _token0 && to != _token1, 'Biswap: INVALID_TO');
        if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens
        if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens
        if (data.length > 0) IBiswapCallee(to).BiswapCall(msg.sender, amount0Out, amount1Out, data);
        balance0 = IERC20(_token0).balanceOf(address(this));
        balance1 = IERC20(_token1).balanceOf(address(this));
        }
        uint amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0;
        uint amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0;
        require(amount0In > 0 || amount1In > 0, 'Biswap: INSUFFICIENT_INPUT_AMOUNT');
        { // scope for reserve{0,1}Adjusted, avoids stack too deep errors
        uint _swapFee = swapFee;
        uint balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(_swapFee));
        uint balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(_swapFee));
        require(balance0Adjusted.mul(balance1Adjusted) >= uint(_reserve0).mul(_reserve1).mul(1000**2), 'Biswap: K');
        }

        _update(balance0, balance1, _reserve0, _reserve1);
        emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to);
    }

    // force balances to match reserves
    function skim(address to) external lock {
        address _token0 = token0; // gas savings
        address _token1 = token1; // gas savings
        _safeTransfer(_token0, to, IERC20(_token0).balanceOf(address(this)).sub(reserve0));
        _safeTransfer(_token1, to, IERC20(_token1).balanceOf(address(this)).sub(reserve1));
    }

    // force reserves to match balances
    function sync() external lock {
        _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","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"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"devFee","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"_reserve0","type":"uint112"},{"internalType":"uint112","name":"_reserve1","type":"uint112"},{"internalType":"uint32","name":"_blockTimestampLast","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint32","name":"_devFee","type":"uint32"}],"name":"setDevFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint32","name":"_swapFee","type":"uint32"}],"name":"setSwapFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"swapFee","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052600c8054640100000000600163ffffffff19909216821763ffffffff60201b191617909155600d5534801561003857600080fd5b5060405146908060526131618239604080519182900360520182208282018252600a835269426973776170204c507360b01b6020938401528151808301835260018152603160f81b908401528151808401919091527f9af0e98ffe13181561a4920bf009db0b47677d9ae073d40337f69a639f36e66d818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055613039806101286000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636827e7641161010f578063ba9a7a56116100a2578063d505accf11610071578063d505accf1461065a578063d6d788c3146106b8578063dd62ed3e146106db578063fff6cae914610716576101e5565b8063ba9a7a561461060f578063bc25cf7714610617578063c45a01551461064a578063d21220a714610652576101e5565b80637ecebe00116100de5780637ecebe001461054f57806389afcb441461058257806395d89b41146105ce578063a9059cbb146105d6576101e5565b80636827e764146104d95780636a627842146104e157806370a08231146105145780637464fc3d14610547576101e5565b806323b872dd11610187578063485cc95511610156578063485cc9551461046d57806354cf2aeb146104a85780635909c0d5146104c95780635a3d5493146104d1576101e5565b806323b872dd146103fc57806330adf81f1461043f578063313ce567146104475780633644e51514610465576101e5565b80630902f1ac116101c35780630902f1ac14610325578063095ea7b3146103645780630dfe1681146103b157806318160ddd146103e2576101e5565b8063022c0d9f146101ea57806303c150b01461028557806306fdde03146102a8575b600080fd5b6102836004803603608081101561020057600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561024457600080fd5b82018360208201111561025657600080fd5b8035906020019184600183028401116401000000008311171561027857600080fd5b50909250905061071e565b005b6102836004803603602081101561029b57600080fd5b503563ffffffff16610e13565b6102b0610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ea5781810151838201526020016102d2565b50505050905090810190601f1680156103175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61032d610ffd565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b61039d6004803603604081101561037a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611052565b604080519115158252519081900360200190f35b6103b9611069565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103ea611085565b60408051918252519081900360200190f35b61039d6004803603606081101561041257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561108b565b6103ea61116a565b61044f61118e565b6040805160ff9092168252519081900360200190f35b6103ea611193565b6102836004803603604081101561048357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611199565b6104b0611272565b6040805163ffffffff9092168252519081900360200190f35b6103ea61127e565b6103ea611284565b6104b061128a565b6103ea600480360360208110156104f757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661129e565b6103ea6004803603602081101561052a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611658565b6103ea61166a565b6103ea6004803603602081101561056557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611670565b6105b56004803603602081101561059857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611682565b6040805192835260208301919091528051918290030190f35b6102b0611b1f565b61039d600480360360408110156105ec57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611b58565b6103ea611b65565b6102836004803603602081101561062d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611b6b565b6103b9611d61565b6103b9611d7d565b610283600480360360e081101561067057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611d99565b610283600480360360208110156106ce57600080fd5b503563ffffffff16612065565b6103ea600480360360408110156106f157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661220e565b61028361222b565b600d5460011461078f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4269737761703a204c4f434b4544000000000000000000000000000000000000604482015290519081900360640190fd5b6000600d55841515806107a25750600084115b6107f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612f9d6022913960400191505060405180910390fd5b600080610802610ffd565b5091509150816dffffffffffffffffffffffffffff16871080156108355750806dffffffffffffffffffffffffffff1686105b6108a057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4269737761703a20494e53554646494349454e545f4c49515549444954590000604482015290519081900360640190fd5b600654600754600091829173ffffffffffffffffffffffffffffffffffffffff91821691908116908916821480159061090557508073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b61097057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4269737761703a20494e56414c49445f544f0000000000000000000000000000604482015290519081900360640190fd5b8a1561098157610981828a8d612411565b891561099257610992818a8c612411565b8615610a74578873ffffffffffffffffffffffffffffffffffffffff16635b3bc4fe338d8d8c8c6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610ae057600080fd5b505afa158015610af4573d6000803e3d6000fd5b505050506040513d6020811015610b0a57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191955073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b158015610b7c57600080fd5b505afa158015610b90573d6000803e3d6000fd5b505050506040513d6020811015610ba657600080fd5b5051925060009150506dffffffffffffffffffffffffffff85168a90038311610bd0576000610be6565b89856dffffffffffffffffffffffffffff160383035b9050600089856dffffffffffffffffffffffffffff16038311610c0a576000610c20565b89856dffffffffffffffffffffffffffff160383035b90506000821180610c315750600081115b610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612fe46021913960400191505060405180910390fd5b600c5463ffffffff90811690600090610cc590610ca7908690859061261e16565b610cb9886103e863ffffffff61261e16565b9063ffffffff6126a416565b90506000610cdc610ca7858563ffffffff61261e16565b9050610d14620f4240610d086dffffffffffffffffffffffffffff8c8116908c1663ffffffff61261e16565b9063ffffffff61261e16565b610d24838363ffffffff61261e16565b1015610d9157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4269737761703a204b0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505050610da084848888612716565b60408051838152602081018390528082018d9052606081018c9052905173ffffffffffffffffffffffffffffffffffffffff8b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600d55505050505050505050565b60008163ffffffff1611610e8857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f426973776170506169723a206c6f776572207468656e20300000000000000000604482015290519081900360640190fd5b60055473ffffffffffffffffffffffffffffffffffffffff163314610f0e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f426973776170506169723a20464f5242494444454e0000000000000000000000604482015290519081900360640190fd5b6101f48163ffffffff161115610f8557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f426973776170506169723a20464f5242494444454e5f46454500000000000000604482015290519081900360640190fd5b600c805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff909216919091179055565b6040518060400160405280600a81526020017f426973776170204c50730000000000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b600061105f3384846129d2565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146111555773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054611123908363ffffffff6126a416565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b611160848484612a41565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff16331461121f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4269737761703a20464f5242494444454e000000000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b600c5463ffffffff1681565b60095481565b600a5481565b600c54640100000000900463ffffffff1681565b6000600d5460011461131157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4269737761703a204c4f434b4544000000000000000000000000000000000000604482015290519081900360640190fd5b6000600d81905580611321610ffd565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561139b57600080fd5b505afa1580156113af573d6000803e3d6000fd5b505050506040513d60208110156113c557600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561143e57600080fd5b505afa158015611452573d6000803e3d6000fd5b505050506040513d602081101561146857600080fd5b50519050600061148e836dffffffffffffffffffffffffffff871663ffffffff6126a416565b905060006114b2836dffffffffffffffffffffffffffff871663ffffffff6126a416565b905060006114c08787612b22565b600054909150806114fd576114e96103e8610cb96114e4878763ffffffff61261e16565b612cc1565b98506114f860006103e8612d13565b61155a565b6115576dffffffffffffffffffffffffffff8916611521868463ffffffff61261e16565b8161152857fe5b046dffffffffffffffffffffffffffff891661154a868563ffffffff61261e16565b8161155157fe5b04612dc3565b98505b600089116115b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612f786025913960400191505060405180910390fd5b6115bd8a8a612d13565b6115c986868a8a612716565b811561160b57600854611607906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff61261e16565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600d5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600d546001146116f657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4269737761703a204c4f434b4544000000000000000000000000000000000000604482015290519081900360640190fd5b6000600d81905580611706610ffd565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b15801561178857600080fd5b505afa15801561179c573d6000803e3d6000fd5b505050506040513d60208110156117b257600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b15801561182657600080fd5b505afa15801561183a573d6000803e3d6000fd5b505050506040513d602081101561185057600080fd5b50513060009081526001602052604081205491925061186f8888612b22565b60005490915080611886848763ffffffff61261e16565b8161188d57fe5b049a50806118a1848663ffffffff61261e16565b816118a857fe5b04995060008b1180156118bb575060008a115b611910576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612fbf6025913960400191505060405180910390fd5b61191a3084612ddb565b611925878d8d612411565b611930868d8c612411565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561199c57600080fd5b505afa1580156119b0573d6000803e3d6000fd5b505050506040513d60208110156119c657600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b158015611a3857600080fd5b505afa158015611a4c573d6000803e3d6000fd5b505050506040513d6020811015611a6257600080fd5b50519350611a7285858b8b612716565b8115611ab457600854611ab0906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff61261e16565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600d81905550915091565b6040518060400160405280600681526020017f4253572d4c50000000000000000000000000000000000000000000000000000081525081565b600061105f338484612a41565b6103e881565b600d54600114611bdc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4269737761703a204c4f434b4544000000000000000000000000000000000000604482015290519081900360640190fd5b6000600d55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611cb89285928792611cb3926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b158015611c7b57600080fd5b505afa158015611c8f573d6000803e3d6000fd5b505050506040513d6020811015611ca557600080fd5b50519063ffffffff6126a416565b612411565b600854604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611d579284928792611cb3926e01000000000000000000000000000090046dffffffffffffffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b158015611c7b57600080fd5b50506001600d5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611e0857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4269737761703a20455850495245440000000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611f69573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611fe457508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61204f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4269737761703a20494e56414c49445f5349474e415455524500000000000000604482015290519081900360640190fd5b61205a8989896129d2565b505050505050505050565b60008163ffffffff16116120da57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f426973776170506169723a206c6f776572207468656e20300000000000000000604482015290519081900360640190fd5b60055473ffffffffffffffffffffffffffffffffffffffff16331461216057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f426973776170506169723a20464f5242494444454e0000000000000000000000604482015290519081900360640190fd5b6103e88163ffffffff1611156121d757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f426973776170506169723a20464f5242494444454e5f46454500000000000000604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b600260209081526000928352604080842090915290825290205481565b600d5460011461229c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4269737761703a204c4f434b4544000000000000000000000000000000000000604482015290519081900360640190fd5b6000600d55600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161240a9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561231357600080fd5b505afa158015612327573d6000803e3d6000fd5b505050506040513d602081101561233d57600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156123b057600080fd5b505afa1580156123c4573d6000803e3d6000fd5b505050506040513d60208110156123da57600080fd5b50516008546dffffffffffffffffffffffffffff808216916e010000000000000000000000000000900416612716565b6001600d55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b6020831061251757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016124da565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612579576040519150601f19603f3d011682016040523d82523d6000602084013e61257e565b606091505b50915091508180156125ac5750805115806125ac57508080602001905160208110156125a957600080fd5b50515b61261757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4269737761703a205452414e534645525f4641494c4544000000000000000000604482015290519081900360640190fd5b5050505050565b60008115806126395750508082028282828161263657fe5b04145b61106357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b8082038281111561106357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061274257506dffffffffffffffffffffffffffff8311155b6127ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4269737761703a204f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c0100000000000000000000000000000000000000000000000000000000900481168203908116158015906127fd57506dffffffffffffffffffffffffffff841615155b801561281857506dffffffffffffffffffffffffffff831615155b156128c8578063ffffffff1661285b8561283186612ea0565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169063ffffffff612ec416565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff811661289b8461283187612ea0565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054612a77908263ffffffff6126a416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612ab9908263ffffffff612f0516565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b158015612b8d57600080fd5b505afa158015612ba1573d6000803e3d6000fd5b505050506040513d6020811015612bb757600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff8216158015945091925090612cad578015612ca8576000612c0e6114e46dffffffffffffffffffffffffffff88811690881663ffffffff61261e16565b90506000612c1b83612cc1565b905080821115612ca5576000612c49612c3a848463ffffffff6126a416565b6000549063ffffffff61261e16565b600c54909150600090612c81908490612c7590879063ffffffff64010000000090910481169061261e16565b9063ffffffff612f0516565b90506000818381612c8e57fe5b0490508015612ca157612ca18782612d13565b5050505b50505b612cb9565b8015612cb9576000600b555b505092915050565b60006003821115612d04575080600160028204015b81811015612cfe57809150600281828581612ced57fe5b040181612cf657fe5b049050612cd6565b50612d0e565b8115612d0e575060015b919050565b600054612d26908263ffffffff612f0516565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612d5e908263ffffffff612f0516565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000818310612dd25781612dd4565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054612e11908263ffffffff6126a416565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612e4b908263ffffffff6126a416565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff841681612efd57fe5b049392505050565b8082018281101561106357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe4269737761703a20494e53554646494349454e545f4c49515549444954595f4d494e5445444269737761703a20494e53554646494349454e545f4f55545055545f414d4f554e544269737761703a20494e53554646494349454e545f4c49515549444954595f4255524e45444269737761703a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a723158204bf8a1fbe4b6bd781ddf75534b3631c356dad6512b210f1494170ef5c33dd6be64736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429

Deployed ByteCode Sourcemap

10395:10369:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10395:10369:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18255:1916;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;18255:1916:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;18255:1916:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;18255:1916:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;18255:1916:0;;-1:-1:-1;18255:1916:0;-1:-1:-1;18255:1916:0;:::i;:::-;;13081:267;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13081:267:0;;;;:::i;4331:42::-;;;:::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;4331:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11523:231;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6378:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6378:147:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;10696:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4469:24;;;:::i;:::-;;;;;;;;;;;;;;;;6680:301;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6680:301:0;;;;;;;;;;;;;;;;;;:::i;4761:108::-;;;:::i;4427:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4618:31;;;:::i;12580:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12580:207:0;;;;;;;;;;;:::i;11229:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11047:32;;;:::i;11086:::-;;;:::i;11282:24::-;;;:::i;15331:1237::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15331:1237:0;;;;:::i;4500:41::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4500:41:0;;;;:::i;11125:17::-;;;:::i;4876:38::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4876:38:0;;;;:::i;16680:1463::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16680:1463:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4380:40;;;:::i;6533:139::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6533:139:0;;;;;;;;;:::i;10517:46::-;;;:::i;20220:334::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20220:334:0;;;;:::i;10667:22::-;;;:::i;10724:21::-;;;:::i;6989:668::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;6989:668:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12795:274::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12795:274:0;;;;:::i;4548:61::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4548:61:0;;;;;;;;;;;:::i;20603:158::-;;;:::i;18255:1916::-;11417:8;;11429:1;11417:13;11409:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11471:1;11460:8;:12;18369:14;;;;:32;;;18400:1;18387:10;:14;18369:32;18361:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18452:17;18471;18493:13;:11;:13::i;:::-;18451:55;;;;;18553:9;18540:22;;:10;:22;:48;;;;;18579:9;18566:22;;:10;:22;18540:48;18532:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18768:6;;18803;;18636:13;;;;18768:6;;;;;18803;;;;18828:13;;;;;;;:30;;;18851:7;18845:13;;:2;:13;;;;18828:30;18820:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18896:14;;18892:58;;18912:38;18926:7;18935:2;18939:10;18912:13;:38::i;:::-;18999:14;;18995:58;;19015:38;19029:7;19038:2;19042:10;19015:13;:38::i;:::-;19102:15;;19098:91;;19133:2;19119:28;;;19148:10;19160;19172;19184:4;;19119:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;19119:70:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19119:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19119:70:0;;;;19098:91;19211:40;;;;;;19245:4;19211:40;;;;;;:25;;;;;;:40;;;;;;;;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;19211:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19211:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19211:40:0;19273;;;;;;19307:4;19273:40;;;;;;19211;;-1:-1:-1;19273:25:0;;;;;;:40;;;;;19211;;19273;;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;19273:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19273:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19273:40:0;;-1:-1:-1;19335:14:0;;-1:-1:-1;;19363:22:0;;;;;;19352:33;;:75;;19426:1;19352:75;;;19412:10;19400:9;:22;;;19388:8;:35;19352:75;19335:92;;19438:14;19478:10;19466:9;:22;;;19455:8;:33;:75;;19529:1;19455:75;;;19515:10;19503:9;:22;;;19491:8;:35;19455:75;19438:92;;19561:1;19549:9;:13;:30;;;;19578:1;19566:9;:13;19549:30;19541:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19719:7;;;;;;;19703:13;;19761:47;;19784:23;;:9;;19719:7;;19784:13;:23;:::i;:::-;19761:18;:8;19774:4;19761:18;:12;:18;:::i;:::-;:22;:47;:22;:47;:::i;:::-;19737:71;-1:-1:-1;19819:21:0;19843:47;19866:23;:9;19880:8;19866:23;:13;:23;:::i;19843:47::-;19819:71;-1:-1:-1;19951:43:0;19986:7;19951:30;;:15;;;;:30;;;:19;:30;:::i;:::-;:34;:43;:34;:43;:::i;:::-;19909:38;:16;19930;19909:38;:20;:38;:::i;:::-;:85;;19901:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11483:1;;;20032:49;20040:8;20050;20060:9;20071;20032:7;:49::i;:::-;20097:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20102:10;;20097:66;;;;;;;;;-1:-1:-1;;11506:1:0;11495:8;:12;-1:-1:-1;;;;;;;;;18255:1916:0:o;13081:267::-;13154:1;13144:7;:11;;;13136:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13217:7;;;;13203:10;:21;13195:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13280:3;13269:7;:14;;;;13261:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13324:6;:16;;;;;;;;;;;;;;;;;;13081:267::o;4331:42::-;;;;;;;;;;;;;;;;;;;:::o;11523:231::-;11656:8;;;;;;;11687;;;;;;;11728:18;;;;;;11523:231::o;6378:147::-;6442:4;6459:36;6468:10;6480:7;6489:5;6459:8;:36::i;:::-;-1:-1:-1;6513:4:0;6378:147;;;;;:::o;10696:21::-;;;;;;:::o;4469:24::-;;;;:::o;6680:301::-;6779:15;;;6758:4;6779:15;;;:9;:15;;;;;;;;6795:10;6779:27;;;;;;;;6815:2;6779:39;6775:140;;6865:15;;;;;;;:9;:15;;;;;;;;6881:10;6865:27;;;;;;;;:38;;6897:5;6865:38;:31;:38;:::i;:::-;6835:15;;;;;;;:9;:15;;;;;;;;6851:10;6835:27;;;;;;;:68;6775:140;6925:26;6935:4;6941:2;6945:5;6925:9;:26::i;:::-;-1:-1:-1;6969:4:0;6680:301;;;;;:::o;4761:108::-;4803:66;4761:108;:::o;4427:35::-;4460:2;4427:35;:::o;4618:31::-;;;;:::o;12580:207::-;12676:7;;;;12662:10;:21;12654:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12736:6;:16;;;;;;;;;;;;;;12763:6;:16;;;;;;;;;;;12580:207::o;11229:25::-;;;;;;:::o;11047:32::-;;;;:::o;11086:::-;;;;:::o;11282:24::-;;;;;;;;;:::o;15331:1237::-;15380:14;11417:8;;11429:1;11417:13;11409:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11471:1;11460:8;:12;;;11471:1;15449:13;:11;:13::i;:::-;-1:-1:-1;15511:6:0;;15504:39;;;;;;15537:4;15504:39;;;;;;15407:55;;-1:-1:-1;15407:55:0;;-1:-1:-1;15488:13:0;;15511:6;;;;;15504:24;;:39;;;;;;;;;;;;;;15511:6;15504:39;;;5:2:-1;;;;30:1;27;20:12;5:2;15504:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15504:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15504:39:0;15577:6;;15570:39;;;;;;15603:4;15570:39;;;;;;15504;;-1:-1:-1;15554:13:0;;15577:6;;;;;15570:24;;:39;;;;;15504;;15570;;;;;;;;15577:6;15570:39;;;5:2:-1;;;;30:1;27;20:12;5:2;15570:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15570:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15570:39:0;;-1:-1:-1;15620:12:0;15635:23;:8;:23;;;;:12;:23;:::i;:::-;15620:38;-1:-1:-1;15669:12:0;15684:23;:8;:23;;;;:12;:23;:::i;:::-;15669:38;;15720:10;15733:30;15742:9;15753;15733:8;:30::i;:::-;15774:17;15794:11;15720:43;;-1:-1:-1;15898:17:0;15894:352;;15944:54;10558:5;15944:31;15954:20;:7;15966;15954:20;:11;:20;:::i;:::-;15944:9;:31::i;:54::-;15932:66;;16012:36;16026:1;10558:5;16012;:36::i;:::-;15894:352;;;16148:86;16157:37;;;:25;:7;16169:12;16157:25;:11;:25;:::i;:::-;:37;;;;;;16196;;;:25;:7;16208:12;16196:25;:11;:25;:::i;:::-;:37;;;;;;16148:8;:86::i;:::-;16136:98;;15894:352;16276:1;16264:9;:13;16256:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16330:20;16336:2;16340:9;16330:5;:20::i;:::-;16363:49;16371:8;16381;16391:9;16402;16363:7;:49::i;:::-;16427:5;16423:47;;;16461:8;;16442:28;;16461:8;16447;;;;16461;;;;16442:28;:18;:28;:::i;:::-;16434:5;:36;16423:47;16526:34;;;;;;;;;;;;;;16531:10;;16526:34;;;;;;;;-1:-1:-1;;11506:1:0;11495:8;:12;-1:-1:-1;15331:1237:0;;;-1:-1:-1;;;;;;15331:1237:0:o;4500:41::-;;;;;;;;;;;;;:::o;11125:17::-;;;;:::o;4876:38::-;;;;;;;;;;;;;:::o;16680:1463::-;16729:12;16743;11417:8;;11429:1;11417:13;11409:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11471:1;11460:8;:12;;;11471:1;16810:13;:11;:13::i;:::-;-1:-1:-1;16867:6:0;;16948;;17027:40;;;;;;17061:4;17027:40;;;;;;16768:55;;-1:-1:-1;16768:55:0;;-1:-1:-1;16867:6:0;;;;;16948;;;16849:15;;16867:6;;17027:25;;:40;;;;;;;;;;;;;;16867:6;17027:40;;;5:2:-1;;;;30:1;27;20:12;5:2;17027:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17027:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17027:40:0;17094;;;;;;17128:4;17094:40;;;;;;17027;;-1:-1:-1;17078:13:0;;17094:25;;;;;;:40;;;;;17027;;17094;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;17094:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17094:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17094:40:0;17180:4;17145:14;17162:24;;;:9;17094:40;17162:24;;;;;17094:40;;-1:-1:-1;17212:30:0;17221:9;17232;17212:8;:30::i;:::-;17253:17;17273:11;17199:43;;-1:-1:-1;17273:11:0;17383:23;:9;17397:8;17383:23;:13;:23;:::i;:::-;:38;;;;;;;-1:-1:-1;17516:12:0;17490:23;:9;17504:8;17490:23;:13;:23;:::i;:::-;:38;;;;;;17480:48;;17605:1;17595:7;:11;:26;;;;;17620:1;17610:7;:11;17595:26;17587:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17674:31;17688:4;17695:9;17674:5;:31::i;:::-;17716:35;17730:7;17739:2;17743:7;17716:13;:35::i;:::-;17762;17776:7;17785:2;17789:7;17762:13;:35::i;:::-;17819:40;;;;;;17853:4;17819:40;;;;;;:25;;;;;;:40;;;;;;;;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;17819:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17819:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17819:40:0;17881;;;;;;17915:4;17881:40;;;;;;17819;;-1:-1:-1;17881:25:0;;;;;;:40;;;;;17819;;17881;;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;17881:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17881:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17881:40:0;;-1:-1:-1;17934:49:0;17942:8;17881:40;17962:9;17973;17934:7;:49::i;:::-;17998:5;17994:47;;;18032:8;;18013:28;;18032:8;18018;;;;18032;;;;18013:28;:18;:28;:::i;:::-;18005:5;:36;17994:47;18097:38;;;;;;;;;;;;;;;;;;18102:10;;18097:38;;;;;;;;;;;11483:1;;;;;;;;;11506;11495:8;:12;;;;16680:1463;;;:::o;4380:40::-;;;;;;;;;;;;;;;;;;;:::o;6533:139::-;6593:4;6610:32;6620:10;6632:2;6636:5;6610:9;:32::i;10517:46::-;10558:5;10517:46;:::o;20220:334::-;11417:8;;11429:1;11417:13;11409:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11471:1;11460:8;:12;20289:6;;20339;;20443:8;;20398:40;;;;;;20432:4;20398:40;;;;;;20289:6;;;;;20339;;;;20371:82;;20289:6;;20394:2;;20398:54;;20443:8;;;20289:6;;20398:25;;:40;;;;;;;;;;;;;;;20289:6;20398:40;;;5:2:-1;;;;30:1;27;20:12;5:2;20398:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20398:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20398:40:0;;:54;:44;:54;:::i;:::-;20371:13;:82::i;:::-;20536:8;;20491:40;;;;;;20525:4;20491:40;;;;;;20464:82;;20478:7;;20487:2;;20491:54;;20536:8;;;;;;20491:25;;;;;;:40;;;;;;;;;;;;;;;:25;:40;;;5:2:-1;;;;30:1;27;20:12;20464:82:0;-1:-1:-1;;11506:1:0;11495:8;:12;-1:-1:-1;20220:334:0:o;10667:22::-;;;;;;:::o;10724:21::-;;;;;;:::o;6989:668::-;7135:15;7123:8;:27;;7115:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7286:16;;7382:13;;;;7181:14;7382:13;;;:6;:13;;;;;;;;:15;;;;;;;;;7331:77;;4803:66;7331:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7331:77:0;;;;;7321:88;;;;;;7222:202;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7222:202:0;;;;;;7198:237;;;;;;;;;7473:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7181:14;;7382:15;7473:26;;;;;-1:-1:-1;7473:26:0;;;;;;;;;;7382:15;7473:26;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;7473:26:0;;;;;;-1:-1:-1;;7518:30:0;;;;;;;:59;;;7572:5;7552:25;;:16;:25;;;7518:59;7510:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7618:31;7627:5;7634:7;7643:5;7618:8;:31::i;:::-;6989:668;;;;;;;;;:::o;12795:274::-;12871:1;12860:8;:12;;;12852:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12934:7;;;;12920:10;:21;12912:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12998:4;12986:8;:16;;;;12978:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13043:7;:18;;;;;;;;;;;;;;;12795:274::o;4548:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;20603:158::-;11417:8;;11429:1;11417:13;11409:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11471:1;11460:8;:12;20659:6;;20652:39;;;;;;20685:4;20652:39;;;;;;20644:109;;20659:6;;;20652:24;;:39;;;;;;;;;;;;;;20659:6;20652:39;;;5:2:-1;;;;30:1;27;20:12;5:2;20652:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20652:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20652:39:0;20700:6;;20693:39;;;;;;20726:4;20693:39;;;;;;20700:6;;;;;20693:24;;:39;;;;;20652;;20693;;;;;;;;20700:6;20693:39;;;5:2:-1;;;;30:1;27;20:12;5:2;20693:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20693:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20693:39:0;20734:8;;;;;;;20744;;;;20644:7;:109::i;:::-;11506:1;11495:8;:12;20603:158::o;11762:284::-;10622:34;;;;;;;;;;;;;;;;;11890:43;;11879:10;11890:43;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;11890:43:0;;;;;;25:18:-1;;;61:17;;11890:43:0;182:15:-1;11890:43:0;179:29:-1;160:49;;11879:55:0;;;;11844:12;;11858:17;;11879:10;;;11890:43;11879:55;;;25:18:-1;11879:55:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;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;;;11879:55: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;;11843:91:0;;;;11953:7;:57;;;;-1:-1:-1;11965:11:0;;:16;;:44;;;11996:4;11985:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11985:24:0;11965:44;11945:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11762:284;;;;;:::o;4106:142::-;4158:6;4185;;;:30;;-1:-1:-1;;4200:5:0;;;4214:1;4209;4200:5;4209:1;4195:15;;;;;:20;4185:30;4177:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3969:129;4053:5;;;4048:16;;;;4040:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13433:857;13545:23;;;;;;:50;;-1:-1:-1;13572:23:0;;;;13545:50;13537:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13731:18;;13658:23;:15;:23;;;13731:18;;;;;13714:35;;;13787:15;;;;;;:33;;-1:-1:-1;13806:14:0;;;;;13787:33;:51;;;;-1:-1:-1;13824:14:0;;;;;13787:51;13783:336;;;13993:11;13940:64;;13945:44;13979:9;13945:27;13962:9;13945:16;:27::i;:::-;:33;;;:44;:33;:44;:::i;:::-;13916:20;:88;;13940:50;;;;;:64;;;;13916:88;;;14043:64;;;14048:44;14082:9;14048:27;14065:9;14048:16;:27::i;:44::-;14019:20;:88;;14043:50;;;;;:64;;;;14019:88;;;13783:336;14129:8;:28;;;;;;;;;;;;14168;;;;;;;;;;;;14207:35;;;;;;;;;;;;14258:24;;;14263:8;;;14258:24;;14273:8;;;;;;;14258:24;;;;;;;;;;;;;;;;;13433:857;;;;;;:::o;5973:169::-;6054:16;;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;6103:31;;;;;;;;;;;;;;;;;5973:169;;;:::o;6150:220::-;6244:15;;;;;;;:9;:15;;;;;;:26;;6264:5;6244:26;:19;:26;:::i;:::-;6226:15;;;;;;;;:9;:15;;;;;;:44;;;;6297:13;;;;;;;:24;;6315:5;6297:24;:17;:24;:::i;:::-;6281:13;;;;;;;;:9;:13;;;;;;;;;:40;;;;6337:25;;;;;;;6281:13;;6337:25;;;;;;;;;;;;;6150:220;;;:::o;14380:839::-;14453:10;14476:13;14507:7;;;;;;;;;;;14492:29;;;:31;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14492:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14492:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14492:31:0;14586:5;;14542:19;;;;;;;-1:-1:-1;14492:31:0;;-1:-1:-1;14586:5:0;14617:595;;14647:11;;14643:499;;14679:10;14692:41;14702:30;;:15;;;;:30;;;:19;:30;:::i;14692:41::-;14679:54;;14752:14;14769:17;14779:6;14769:9;:17::i;:::-;14752:34;;14817:9;14809:5;:17;14805:322;;;14851:14;14868:37;14884:20;:5;14894:9;14884:20;:9;:20;:::i;:::-;14868:11;;;:37;:15;:37;:::i;:::-;14957:6;;14851:54;;-1:-1:-1;14928:16:0;;14947:32;;14969:9;;14947:17;;:5;;14957:6;;;;;;;;14947:9;:17;:::i;:::-;:21;:32;:21;:32;:::i;:::-;14928:51;;15002:14;15031:11;15019:9;:23;;;;;;;-1:-1:-1;15069:13:0;;15065:42;;15084:23;15090:5;15097:9;15084:5;:23::i;:::-;14805:322;;;;14643:499;;;14617:595;;;15163:11;;15159:53;;15199:1;15191:5;:9;15159:53;14380:839;;;;;;:::o;7896:303::-;7941:6;7968:1;7964;:5;7960:232;;;-1:-1:-1;7990:1:0;8023;8019;8015:5;;:9;8039:92;8050:1;8046;:5;8039:92;;;8076:1;8072:5;;8114:1;8109;8105;8101;:5;;;;;;:9;8100:15;;;;;;8096:19;;8039:92;;;7960:232;;;;8152:6;;8148:44;;-1:-1:-1;8179:1:0;8148:44;7896:303;;;:::o;5547:201::-;5620:11;;:22;;5636:5;5620:22;:15;:22;:::i;:::-;5606:11;:36;;;5669:13;;;;;:9;:13;;;;;;:24;;5687:5;5669:24;:17;:24;:::i;:::-;5653:13;;;;;;;:9;:13;;;;;;;;:40;;;;5709:31;;;;;;;5653:13;;;;5709:31;;;;;;;;;;5547:201;;:::o;7682:96::-;7734:6;7761:1;7757;:5;:13;;7769:1;7757:13;;;7765:1;7757:13;7753:17;7682:96;-1:-1:-1;;;7682:96:0:o;5756:209::-;5835:15;;;;;;;:9;:15;;;;;;:26;;5855:5;5835:26;:19;:26;:::i;:::-;5817:15;;;;;;;:9;:15;;;;;:44;;;;5886:11;:22;;5902:5;5886:22;:15;:22;:::i;:::-;5872:11;:36;;;5924:33;;;;;;;;;;;;;;;;;;;;;;5756:209;;:::o;8308:120::-;8384:10;;8253:6;8384:17;;8308:120::o;8499:108::-;8559:9;8589:10;;;8585:14;;;8589:10;8585:14;;;;;;8499:108;-1:-1:-1;;;8499:108:0:o;3833:128::-;3917:5;;;3912:16;;;;3904:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://4bf8a1fbe4b6bd781ddf75534b3631c356dad6512b210f1494170ef5c33dd6be
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.