Contract 0x9Ee26dcb9A3F1104B37A5dCc8573c8b144c7ce42 12

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdc8bbbe027997f92c819c6e46e7718d2ae1e0f078111339efedaa0ce40fbedbaBuy From AMM Wit...2028004342024-04-20 0:30:044 hrs 15 mins ago0xe000bc31a4428ca94874db6217478f195fc18ebe IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000011990.010635
0x41bc4a093e49bd127d3c567a341f81556f4c306c9c8826c020b9deea32d011b1Buy From Parlay ...2027696682024-04-19 22:19:116 hrs 25 mins ago0x854a86f26e0843f185035fd813fdb71dae84e5c9 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00003764 0.01
0x86c289787b48efea3ad175ce5a407ce66adf1e5678602d3c37a4885b0ba21241Buy From AMM Wit...2027647072024-04-19 21:58:176 hrs 46 mins ago0x053ddfd91bd57b2ed13d475526da53aabe6156a1 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001075 0.01
0x6c37665f709f8abefcd36bb5df2e67ca28bfb1a3a55d42255f50704062be25abBuy From AMM Wit...2027448032024-04-19 20:33:088 hrs 12 mins ago0x76c57a743680e2cc362a679adde22e2fe0142ebe IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.0000098 0.01
0x2d20ae1253ecac8b093faac52e530bb148640314315379848bce28b6d64a8f81Buy From Parlay ...2027368692024-04-19 19:59:228 hrs 45 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000031680.01
0xd1511f2db0fc01338be4e04607ac6605ecae4b7bac7364a11eff8109d4083e58Buy From Parlay ...2027366782024-04-19 19:58:348 hrs 46 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000053910.01
0x3141535e89cd6bfe2ab647494dba35418893063d1df2f77ef8f9180707d2e3a2Buy From Parlay ...2027364202024-04-19 19:57:268 hrs 47 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000040180.01
0x3871876737ed786f506f497d6effad9bd50f23d17c54871cc80d63b990eaefdeBuy From Parlay ...2027359502024-04-19 19:55:268 hrs 49 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000033920.01
0x3a7e6c4a63c70231aebaec7716104db4af8c2a081c710d4fea0e20de59237ecaBuy From Parlay ...2027358232024-04-19 19:54:548 hrs 50 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001880.01
0x948db67c3b9d4c69e7a41eee72fc4bcacd5b4c88da7a646bc6788adfa99758e3Buy From Parlay ...2027320162024-04-19 19:38:529 hrs 6 mins ago0x85751c87d54972d1c61efa7958d6a3c65b2c7236 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00004505 0.01
0x8ea84060e35158a4bb6b71960240d9205cb65655bad236822c5c03a13d750192Buy From AMM Wit...2027164262024-04-19 18:33:2110 hrs 11 mins ago0x9f8e4ee788d9b00a3409584e18034aa7b736c396 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000009640.01
0x73906638f0f68d5c22c4a21e3bfb9f506a478c12035272e3fd4f4e717bd1f084Buy From AMM Wit...2027153892024-04-19 18:28:5410 hrs 16 mins ago0x9f8e4ee788d9b00a3409584e18034aa7b736c396 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001490.01
0xc0e0663ecc778c67309034c7113702b5d7734accda7c42867235a6db99499040Buy From AMM Wit...2027149962024-04-19 18:27:1710 hrs 17 mins ago0x9f8e4ee788d9b00a3409584e18034aa7b736c396 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000014920.01
0x2ac794c024a89c7184138e63da3c3220d3dfe3e91b0692e45d2cf26c7c8c3ddeBuy From AMM Wit...2027024802024-04-19 17:34:2611 hrs 10 mins ago0xa263bc718a83fc5457cf4287edad4f87ce08401a IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001198 0.01
0xab5963f2bfe6c376b0eef2bfe83ea9cbe4ac6fd797daf3f24aaf1182e74e1d5bBuy From AMM Wit...2026883582024-04-19 16:33:4712 hrs 11 mins ago0x2498f34bf4276e8b535717701ab6b2d3c50310d5 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000008320.01
0x87b84eb5340d7346326013d5a692156ed27ff61d6da9d4e12e6fc724c74ee688Buy From Parlay ...2026877452024-04-19 16:31:0712 hrs 14 mins ago0x819a371ab4bfded173edcf12b6d37c6c80e4a8c0 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000020190.010598
0x7bc9cb5cbdd0ceddc337c06a74c9ea290b59d65131e060fb4b759431e718749eBuy From AMM Wit...2026799792024-04-19 15:58:0712 hrs 47 mins ago0x7cd46e94322a9cdf40800cfbf271948373f38413 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000008360.01
0xb9445db1f066f98ea0d3a91b49710534c23af760037d6bfae98578842e6c3a7dBuy From Parlay ...2026515962024-04-19 13:56:2814 hrs 48 mins ago0x219344752362ddc9a211f51ab374d7e170c25707 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00003425 0.01
0x784778131acab8e8d8be12174a8b64e7072ea6b9920b5606100df72b605d4a48Buy From Parlay ...2026512032024-04-19 13:54:4814 hrs 50 mins ago0x219344752362ddc9a211f51ab374d7e170c25707 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00002264 0.01
0xbe8209008d5f29639877370f7cafe4fdd8ebaee75fa5a807e548686a6ba7feceBuy From AMM Wit...2026220302024-04-19 11:50:2416 hrs 54 mins ago0x2b0a06d322b0e8224cdce6bd111e869bc7039e41 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.000011770.01
0xe3fadec33ead448113f4c35e32592519e6a95f9bc9fa2ef9d56f4694ae41b666Buy From AMM Wit...2026142362024-04-19 11:16:4217 hrs 28 mins ago0xe621009f867d161c52540491c892d4b5595b8f5b IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00000843 0.01
0xd9545222317f8d5021ccf296c6e404355198703ccec9dbc6136812d5779749ccBuy From AMM Wit...2026136782024-04-19 11:14:2217 hrs 30 mins ago0xe621009f867d161c52540491c892d4b5595b8f5b IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00000805 0.01
0x118fa079484d9690709b5694113bef5ce8b8f2fa79825ddf6b7b73a6a68841daBuy From AMM Wit...2026135872024-04-19 11:13:5917 hrs 31 mins ago0xe621009f867d161c52540491c892d4b5595b8f5b IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001434 0.01
0x81c38495e892f4b0dd12b8b405cfe382c79ef826e7e82f152278254622e9cab9Buy From AMM Wit...2026133792024-04-19 11:13:0817 hrs 32 mins ago0xe621009f867d161c52540491c892d4b5595b8f5b IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001424 0.01
0x8eae949cd721de6f515ef68e9ab15309befc62995922c794422972a5b5e38bf4Buy From AMM Wit...2026130802024-04-19 11:11:5317 hrs 33 mins ago0x7ce3172f7588d395b2dedefdf36297c71e80b0a6 IN  0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420 ETH0.00001053 0.01
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xce6a7c2ee7dccec36db7230dd4a70f0476edb9312a1767e8fdff423ddff88fc0715312492023-03-19 19:37:40397 days 9 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420x18ab0bc0c37847a7d5c2dc4132fb49080c4847350 ETH
0xce6a7c2ee7dccec36db7230dd4a70f0476edb9312a1767e8fdff423ddff88fc0715312492023-03-19 19:37:40397 days 9 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420xf2e73a466b415828d2bad62bdccb518cd16616720 ETH
0xce6a7c2ee7dccec36db7230dd4a70f0476edb9312a1767e8fdff423ddff88fc0715312492023-03-19 19:37:40397 days 9 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xce6a7c2ee7dccec36db7230dd4a70f0476edb9312a1767e8fdff423ddff88fc0715312492023-03-19 19:37:40397 days 9 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xcf185abd95dc3fb91c7eaba371411afd3cdee814e38b55fc2b8532393c0184dd708583802023-03-17 20:23:44399 days 8 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0xcf185abd95dc3fb91c7eaba371411afd3cdee814e38b55fc2b8532393c0184dd708583802023-03-17 20:23:44399 days 8 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0x2bb7d689780e7a34dd365359bd7333ab249032680 ETH
0xbc9b685aa3cd53e93f9d9233b545342b1496402b14e08e5e3606e101f271d01c706974982023-03-17 9:14:57399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0xbc9b685aa3cd53e93f9d9233b545342b1496402b14e08e5e3606e101f271d01c706974982023-03-17 9:14:57399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420xe727aba3e26bc2055a5713d1e41d31b8c17f9ffe0 ETH
0xbc9b685aa3cd53e93f9d9233b545342b1496402b14e08e5e3606e101f271d01c706974982023-03-17 9:14:57399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0x7f92deded4d01a9b79699bac1dbc43348fca996b0 ETH
0xbc9b685aa3cd53e93f9d9233b545342b1496402b14e08e5e3606e101f271d01c706974982023-03-17 9:14:57399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xbc9b685aa3cd53e93f9d9233b545342b1496402b14e08e5e3606e101f271d01c706974982023-03-17 9:14:57399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xa0ce3917cb147be6455eab4db85c6586fa588ba7cd8b4b106a57c9ca5693b8d6706971842023-03-17 9:13:54399 days 19 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0x5153d230927daf0623c432d91e2a3a9e1111f0501cc2e900637cec491d64f391704536782023-03-16 15:55:28400 days 12 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0x5153d230927daf0623c432d91e2a3a9e1111f0501cc2e900637cec491d64f391704536782023-03-16 15:55:28400 days 12 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0x2bb7d689780e7a34dd365359bd7333ab249032680 ETH
0x37197a887ad6b5a9c02f667edf105161cbd47e2fd0a96dca25380ea20aceafca703245692023-03-16 6:59:25400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0x37197a887ad6b5a9c02f667edf105161cbd47e2fd0a96dca25380ea20aceafca703245692023-03-16 6:59:25400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420xee64d0d492a2b81114da9097bce3f471c89ea48f0 ETH
0x37197a887ad6b5a9c02f667edf105161cbd47e2fd0a96dca25380ea20aceafca703245692023-03-16 6:59:25400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xb75ef92691ca52b615cd0378d166345c0ba04ab90 ETH
0x37197a887ad6b5a9c02f667edf105161cbd47e2fd0a96dca25380ea20aceafca703245692023-03-16 6:59:25400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0x37197a887ad6b5a9c02f667edf105161cbd47e2fd0a96dca25380ea20aceafca703245692023-03-16 6:59:25400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xa18f2dbd508d905e7df5bf042d16a92918bb5e4b017b8b1655e5b03db1a16bb9703243782023-03-16 6:58:37400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
0xa18f2dbd508d905e7df5bf042d16a92918bb5e4b017b8b1655e5b03db1a16bb9703243782023-03-16 6:58:37400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce420x2f81cab654467de3312d6918f61b28d2cc060c430 ETH
0xa18f2dbd508d905e7df5bf042d16a92918bb5e4b017b8b1655e5b03db1a16bb9703243782023-03-16 6:58:37400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0x75f9e8d377b3c1ef0d5f4a00401c349acc9def800 ETH
0xa18f2dbd508d905e7df5bf042d16a92918bb5e4b017b8b1655e5b03db1a16bb9703243782023-03-16 6:58:37400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xa18f2dbd508d905e7df5bf042d16a92918bb5e4b017b8b1655e5b03db1a16bb9703243782023-03-16 6:58:37400 days 21 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 0xae56177e405929c95e5d4b04c0c87e428cb6432b0 ETH
0xcefb230a93a09977136e0b7f4f248e93556f98decfc10cdf075a71305986c16f702148552023-03-15 23:07:25401 days 5 hrs ago 0x9ee26dcb9a3f1104b37a5dcc8573c8b144c7ce42 Arbitrum: USDC Token0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OvertimeVoucher

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : OvertimeVoucher.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts-4.4.1/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-4.4.1/utils/Counters.sol";
import "@openzeppelin/contracts-4.4.1/access/Ownable.sol";
import "@openzeppelin/contracts-4.4.1/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts-4.4.1/utils/math/SafeMath.sol";
import "@openzeppelin/contracts-4.4.1/token/ERC20/utils/SafeERC20.sol";

import "../../interfaces/ISportsAMM.sol";
import "../../interfaces/IParlayMarketsAMM.sol";
import "../../interfaces/ISportPositionalMarket.sol";
import "../../interfaces/IPosition.sol";

contract OvertimeVoucher is ERC721URIStorage, Ownable {
    /* ========== LIBRARIES ========== */

    using Counters for Counters.Counter;
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    Counters.Counter private _tokenIds;

    string public _name = "Overtime Voucher";
    string public _symbol = "OVER";
    bool public paused = false;
    string public tokenURIFive;
    string public tokenURITen;
    string public tokenURITwenty;
    string public tokenURIFifty;
    string public tokenURIHundred;
    string public tokenURITwoHundred;
    string public tokenURIFiveHundred;
    string public tokenURIThousand;

    ISportsAMM public sportsAMM;
    IParlayMarketsAMM public parlayAMM;

    uint public multiplier;

    IERC20 public sUSD;
    mapping(uint => uint) public amountInVoucher;

    /* ========== CONSTANTS ========== */
    uint private constant ONE = 1;
    uint private constant FIVE = 5;
    uint private constant TEN = 10;
    uint private constant TWENTY = 20;
    uint private constant FIFTY = 50;
    uint private constant HUNDRED = 100;
    uint private constant TWO_HUNDRED = 200;
    uint private constant FIVE_HUNDRED = 500;
    uint private constant THOUSAND = 1000;

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _sUSD,
        string memory _tokenURIFive,
        string memory _tokenURITen,
        string memory _tokenURITwenty,
        string memory _tokenURIFifty,
        string memory _tokenURIHundred,
        string memory _tokenURITwoHundred,
        string memory _tokenURIFiveHundred,
        string memory _tokenURIThousand,
        address _sportsamm,
        address _parlayAMM
    ) ERC721(_name, _symbol) {
        sUSD = IERC20(_sUSD);
        tokenURIFive = _tokenURIFive;
        tokenURITen = _tokenURITen;
        tokenURITwenty = _tokenURITwenty;
        tokenURIFifty = _tokenURIFifty;
        tokenURIHundred = _tokenURIHundred;
        tokenURITwoHundred = _tokenURITwoHundred;
        tokenURIFiveHundred = _tokenURIFiveHundred;
        tokenURIThousand = _tokenURIThousand;
        sportsAMM = ISportsAMM(_sportsamm);
        sUSD.approve(_sportsamm, type(uint256).max);
        parlayAMM = IParlayMarketsAMM(_parlayAMM);
        sUSD.approve(_parlayAMM, type(uint256).max);
    }

    /* ========== TRV ========== */

    function mintBatch(address[] calldata recipients, uint amount) external returns (uint[] memory newItemId) {
        require(!paused, "Cant mint while paused");

        require(_checkAmount(amount), "Invalid amount");

        sUSD.safeTransferFrom(msg.sender, address(this), (recipients.length*amount));
        newItemId = new uint[](recipients.length);
        for(uint i=0; i<recipients.length; i++) {
            _tokenIds.increment();
            newItemId[i] = _tokenIds.current();
            _mint(recipients[i], newItemId[i]);
            _setTokenURI(newItemId[i], _retrieveTokenURI(amount));
            amountInVoucher[newItemId[i]] = amount;
        }
    }

    function mint(address recipient, uint amount) external returns (uint newItemId) {
        require(!paused, "Cant mint while paused");

        require(_checkAmount(amount), "Invalid amount");

        sUSD.safeTransferFrom(msg.sender, address(this), amount);

        _tokenIds.increment();

        newItemId = _tokenIds.current();

        _mint(recipient, newItemId);

        _setTokenURI(newItemId, _retrieveTokenURI(amount));

        amountInVoucher[newItemId] = amount;
    }

    function buyFromAMMWithVoucher(
        address market,
        ISportsAMM.Position position,
        uint amount,
        uint tokenId
    ) external {
        require(!paused, "Cant buy while paused");
        require(ERC721.ownerOf(tokenId) == msg.sender, "You are not the voucher owner!");

        uint quote = sportsAMM.buyFromAmmQuote(market, position, amount);
        require(quote < amountInVoucher[tokenId], "Insufficient amount in voucher");

        sportsAMM.buyFromAMM(market, position, amount, quote, 0);
        amountInVoucher[tokenId] = amountInVoucher[tokenId] - quote;

        (IPosition home, IPosition away, IPosition draw) = ISportPositionalMarket(market).getOptions();
        IPosition target = position == ISportsAMM.Position.Home ? home : position == ISportsAMM.Position.Away ? away : draw;

        IERC20(address(target)).safeTransfer(msg.sender, amount);

        //if less than 1 sUSD, transfer the rest to the owner and burn
        if (amountInVoucher[tokenId] < multiplier) {
            sUSD.safeTransfer(address(msg.sender), amountInVoucher[tokenId]);
            super._burn(tokenId);
        }
        emit BoughtFromAmmWithVoucher(msg.sender, market, position, amount, quote, address(sUSD), address(target));
    }

    function buyFromParlayAMMWithVoucher(
        address[] calldata _sportMarkets,
        uint[] calldata _positions,
        uint _sUSDPaid,
        uint _additionalSlippage,
        uint _expectedPayout,
        uint tokenId
    ) external {
        require(!paused, "Cant buy while paused");
        require(ERC721.ownerOf(tokenId) == msg.sender, "You are not the voucher owner!");

        require(_sUSDPaid <= amountInVoucher[tokenId], "Insufficient amount in voucher");

        parlayAMM.buyFromParlay(_sportMarkets, _positions, _sUSDPaid, _additionalSlippage, _expectedPayout, msg.sender);
        amountInVoucher[tokenId] = amountInVoucher[tokenId] - _sUSDPaid;

        //if less than 1 sUSD, transfer the rest to the owner and burn
        if (amountInVoucher[tokenId] < multiplier) {
            sUSD.safeTransfer(address(msg.sender), amountInVoucher[tokenId]);
            super._burn(tokenId);
        }
        emit BoughtFromParlayWithVoucher(msg.sender, _sportMarkets, _positions, _sUSDPaid, _expectedPayout, address(sUSD));
    }

    /* ========== VIEW ========== */

    /* ========== INTERNALS ========== */

    function _transformConstant(uint value) internal view returns (uint) {
        return value * multiplier;
    }

    function _checkAmount(uint amount) internal view returns (bool) {
        return
            amount == _transformConstant(FIVE) ||
            amount == _transformConstant(TEN) ||
            amount == _transformConstant(TWENTY) ||
            amount == _transformConstant(FIFTY) ||
            amount == _transformConstant(HUNDRED) ||
            amount == _transformConstant(TWO_HUNDRED) ||
            amount == _transformConstant(FIVE_HUNDRED) ||
            amount == _transformConstant(THOUSAND);
    }

    function _retrieveTokenURI(uint amount) internal view returns (string memory) {
        return
            amount == _transformConstant(FIVE) ? tokenURIFive : amount == _transformConstant(TEN)
                ? tokenURITen
                : amount == _transformConstant(TWENTY)
                ? tokenURITwenty
                : amount == _transformConstant(FIFTY)
                ? tokenURIFifty
                : amount == _transformConstant(HUNDRED)
                ? tokenURIHundred
                : amount == _transformConstant(TWO_HUNDRED)
                ? tokenURITwoHundred
                : amount == _transformConstant(FIVE_HUNDRED)
                ? tokenURIFiveHundred
                : tokenURIThousand;
    }

    /* ========== CONTRACT MANAGEMENT ========== */

    /// @notice Retrieve sUSD from the contract
    /// @param account whom to send the sUSD
    /// @param amount how much sUSD to retrieve
    function retrieveSUSDAmount(address payable account, uint amount) external onlyOwner {
        sUSD.safeTransfer(account, amount);
    }

    // function burnToken(uint _tokenId, address _recepient) external onlyOwner {
    //     require(amountInVoucher[_tokenId] > 0, "Amount is zero");
    //     if(_recepient != address(0)) {
    //         sUSD.safeTransfer(_recepient, amountInVoucher[_tokenId]);
    //     }
    //     super._burn(_tokenId);
    // }

    function setTokenUris(
        string memory _tokenURIFive,
        string memory _tokenURITen,
        string memory _tokenURITwenty,
        string memory _tokenURIFifty,
        string memory _tokenURIHundred,
        string memory _tokenURITwoHundred,
        string memory _tokenURIFiveHundred,
        string memory _tokenURIThousand
    ) external onlyOwner {
        tokenURIFive = _tokenURIFive;
        tokenURITen = _tokenURITen;
        tokenURITwenty = _tokenURITwenty;
        tokenURIFifty = _tokenURIFifty;
        tokenURIHundred = _tokenURIHundred;
        tokenURITwoHundred = _tokenURITwoHundred;
        tokenURIFiveHundred = _tokenURIFiveHundred;
        tokenURIThousand = _tokenURIThousand;
    }

    function setPause(bool _state) external onlyOwner {
        paused = _state;
        emit Paused(_state);
    }

    function setParlayAMM(address _parlayAMM) external onlyOwner {
        if (address(_parlayAMM) != address(0)) {
            sUSD.approve(address(sportsAMM), 0);
        }
        parlayAMM = IParlayMarketsAMM(_parlayAMM);
        sUSD.approve(_parlayAMM, type(uint256).max);
        emit NewParlayAMM(_parlayAMM);
    }

    function setSportsAMM(address _sportsAMM) external onlyOwner {
        if (address(_sportsAMM) != address(0)) {
            sUSD.approve(address(sportsAMM), 0);
        }
        sportsAMM = ISportsAMM(_sportsAMM);
        sUSD.approve(_sportsAMM, type(uint256).max);
        emit NewSportsAMM(_sportsAMM);
    }

    function setMultiplier(uint _multiplier) external onlyOwner {
        multiplier = _multiplier;
        emit MultiplierChanged(multiplier);
    }

    /* ========== EVENTS ========== */

    event BoughtFromAmmWithVoucher(
        address buyer,
        address market,
        ISportsAMM.Position position,
        uint amount,
        uint sUSDPaid,
        address susd,
        address asset
    );
    event BoughtFromParlayWithVoucher(
        address buyer,
        address[] _sportMarkets,
        uint[] _positions,
        uint _sUSDPaid,
        uint _expectedPayout,
        address susd
    );
    event NewTokenUri(string _tokenURI);
    event NewSportsAMM(address _sportsAMM);
    event NewParlayAMM(address _parlayAMM);
    event Paused(bool _state);
    event MultiplierChanged(uint multiplier);
}

File 2 of 24 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 24 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 24 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 24 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 6 of 24 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 24 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 8 of 24 : ISportsAMM.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface ISportsAMM {
    /* ========== VIEWS / VARIABLES ========== */

    enum Position {
        Home,
        Away,
        Draw
    }

    struct SellRequirements {
        address user;
        address market;
        Position position;
        uint amount;
        uint expectedPayout;
        uint additionalSlippage;
    }

    function theRundownConsumer() external view returns (address);

    function getMarketDefaultOdds(address _market, bool isSell) external view returns (uint[] memory);

    function isMarketInAMMTrading(address _market) external view returns (bool);

    function availableToBuyFromAMM(address market, Position position) external view returns (uint _available);

    function parlayAMM() external view returns (address);

    function minSupportedOdds() external view returns (uint);

    function maxSupportedOdds() external view returns (uint);

    function min_spread() external view returns (uint);

    function max_spread() external view returns (uint);

    function minimalTimeLeftToMaturity() external view returns (uint);

    function getSpentOnGame(address market) external view returns (uint);

    function safeBoxImpact() external view returns (uint);

    function manager() external view returns (address);

    function buyFromAMM(
        address market,
        Position position,
        uint amount,
        uint expectedPayout,
        uint additionalSlippage
    ) external;

    function buyFromAmmQuote(
        address market,
        Position position,
        uint amount
    ) external view returns (uint);

    function buyFromAmmQuoteForParlayAMM(
        address market,
        Position position,
        uint amount
    ) external view returns (uint);

    function updateParlayVolume(address _account, uint _amount) external;

    function buyPriceImpact(
        address market,
        ISportsAMM.Position position,
        uint amount
    ) external view returns (int impact);

    function obtainOdds(address _market, ISportsAMM.Position _position) external view returns (uint oddsToReturn);
}

File 9 of 24 : IParlayMarketsAMM.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

interface IParlayMarketsAMM {
    /* ========== VIEWS / VARIABLES ========== */

    function parlaySize() external view returns (uint);

    function sUSD() external view returns (IERC20Upgradeable);

    function sportsAmm() external view returns (address);

    function parlayAmmFee() external view returns (uint);

    function maxAllowedRiskPerCombination() external view returns (uint);

    function maxSupportedOdds() external view returns (uint);

    function riskPerCombination(
        address _sportMarkets1,
        uint _position1,
        address _sportMarkets2,
        uint _position2,
        address _sportMarkets3,
        uint _position3,
        address _sportMarkets4,
        uint _position4
    ) external view returns (uint);

    function riskPerGameCombination(
        address _sportMarkets1,
        address _sportMarkets2,
        address _sportMarkets3,
        address _sportMarkets4,
        address _sportMarkets5,
        address _sportMarkets6,
        address _sportMarkets7,
        address _sportMarkets8
    ) external view returns (uint);

    function isActiveParlay(address _parlayMarket) external view returns (bool isActiveParlayMarket);

    function exerciseParlay(address _parlayMarket) external;

    function exerciseSportMarketInParlay(address _parlayMarket, address _sportMarket) external;

    function triggerResolvedEvent(address _account, bool _userWon) external;

    function resolveParlay() external;

    function buyFromParlay(
        address[] calldata _sportMarkets,
        uint[] calldata _positions,
        uint _sUSDPaid,
        uint _additionalSlippage,
        uint _expectedPayout,
        address _differentRecepient
    ) external;
}

File 10 of 24 : ISportPositionalMarket.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.16;

import "../interfaces/IPositionalMarketManager.sol";
import "../interfaces/IPosition.sol";
import "../interfaces/IPriceFeed.sol";

interface ISportPositionalMarket {
    /* ========== TYPES ========== */

    enum Phase {
        Trading,
        Maturity,
        Expiry
    }
    enum Side {
        Cancelled,
        Home,
        Away,
        Draw
    }

    /* ========== VIEWS / VARIABLES ========== */

    function getOptions()
        external
        view
        returns (
            IPosition home,
            IPosition away,
            IPosition draw
        );

    function times() external view returns (uint maturity, uint destruction);

    function initialMint() external view returns (uint);

    function getGameDetails() external view returns (bytes32 gameId, string memory gameLabel);

    function getGameId() external view returns (bytes32);

    function deposited() external view returns (uint);

    function optionsCount() external view returns (uint);

    function creator() external view returns (address);

    function resolved() external view returns (bool);

    function cancelled() external view returns (bool);

    function paused() external view returns (bool);

    function phase() external view returns (Phase);

    function canResolve() external view returns (bool);

    function result() external view returns (Side);

    function isChild() external view returns (bool);

    function tags(uint idx) external view returns (uint);

    function getParentMarketPositions() external view returns (IPosition position1, IPosition position2);

    function getStampedOdds()
        external
        view
        returns (
            uint,
            uint,
            uint
        );

    function balancesOf(address account)
        external
        view
        returns (
            uint home,
            uint away,
            uint draw
        );

    function totalSupplies()
        external
        view
        returns (
            uint home,
            uint away,
            uint draw
        );

    function isDoubleChance() external view returns (bool);

    function parentMarket() external view returns (ISportPositionalMarket);

    /* ========== MUTATIVE FUNCTIONS ========== */

    function setPaused(bool _paused) external;

    function updateDates(uint256 _maturity, uint256 _expiry) external;

    function mint(uint value) external;

    function exerciseOptions() external;

    function restoreInvalidOdds(
        uint _homeOdds,
        uint _awayOdds,
        uint _drawOdds
    ) external;
}

File 11 of 24 : IPosition.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;

import "./IPositionalMarket.sol";

interface IPosition {
    /* ========== VIEWS / VARIABLES ========== */

    function getBalanceOf(address account) external view returns (uint);

    function getTotalSupply() external view returns (uint);

    function exerciseWithAmount(address claimant, uint amount) external;
}

File 12 of 24 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 13 of 24 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 14 of 24 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 15 of 24 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 24 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 17 of 24 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 18 of 24 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 19 of 24 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 20 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 21 of 24 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 22 of 24 : IPositionalMarketManager.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;

import "../interfaces/IPositionalMarket.sol";

interface IPositionalMarketManager {
    /* ========== VIEWS / VARIABLES ========== */

    function durations() external view returns (uint expiryDuration, uint maxTimeToMaturity);

    function capitalRequirement() external view returns (uint);

    function marketCreationEnabled() external view returns (bool);

    function onlyAMMMintingAndBurning() external view returns (bool);

    function transformCollateral(uint value) external view returns (uint);

    function reverseTransformCollateral(uint value) external view returns (uint);

    function totalDeposited() external view returns (uint);

    function numActiveMarkets() external view returns (uint);

    function activeMarkets(uint index, uint pageSize) external view returns (address[] memory);

    function numMaturedMarkets() external view returns (uint);

    function maturedMarkets(uint index, uint pageSize) external view returns (address[] memory);

    function isActiveMarket(address candidate) external view returns (bool);

    function isKnownMarket(address candidate) external view returns (bool);

    function getThalesAMM() external view returns (address);

    /* ========== MUTATIVE FUNCTIONS ========== */

    function createMarket(
        bytes32 oracleKey,
        uint strikePrice,
        uint maturity,
        uint initialMint // initial sUSD to mint options for,
    ) external returns (IPositionalMarket);

    function resolveMarket(address market) external;

    function expireMarkets(address[] calldata market) external;

    function transferSusdTo(
        address sender,
        address receiver,
        uint amount
    ) external;
}

File 23 of 24 : IPriceFeed.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;

interface IPriceFeed {
    // Structs
    struct RateAndUpdatedTime {
        uint216 rate;
        uint40 time;
    }

    // Mutative functions
    function addAggregator(bytes32 currencyKey, address aggregatorAddress) external;

    function removeAggregator(bytes32 currencyKey) external;

    // Views

    function rateForCurrency(bytes32 currencyKey) external view returns (uint);

    function rateAndUpdatedTime(bytes32 currencyKey) external view returns (uint rate, uint time);

    function getRates() external view returns (uint[] memory);

    function getCurrencies() external view returns (bytes32[] memory);
}

File 24 of 24 : IPositionalMarket.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;

import "../interfaces/IPositionalMarketManager.sol";
import "../interfaces/IPosition.sol";
import "../interfaces/IPriceFeed.sol";

interface IPositionalMarket {
    /* ========== TYPES ========== */

    enum Phase {
        Trading,
        Maturity,
        Expiry
    }
    enum Side {
        Up,
        Down
    }

    /* ========== VIEWS / VARIABLES ========== */

    function getOptions() external view returns (IPosition up, IPosition down);

    function times() external view returns (uint maturity, uint destructino);

    function getOracleDetails()
        external
        view
        returns (
            bytes32 key,
            uint strikePrice,
            uint finalPrice
        );

    function fees() external view returns (uint poolFee, uint creatorFee);

    function deposited() external view returns (uint);

    function creator() external view returns (address);

    function resolved() external view returns (bool);

    function phase() external view returns (Phase);

    function oraclePrice() external view returns (uint);

    function oraclePriceAndTimestamp() external view returns (uint price, uint updatedAt);

    function canResolve() external view returns (bool);

    function result() external view returns (Side);

    function balancesOf(address account) external view returns (uint up, uint down);

    function totalSupplies() external view returns (uint up, uint down);

    function getMaximumBurnable(address account) external view returns (uint amount);

    /* ========== MUTATIVE FUNCTIONS ========== */

    function mint(uint value) external;

    function exerciseOptions() external returns (uint);

    function burnOptions(uint amount) external;

    function burnOptionsMaximum() external;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_sUSD","type":"address"},{"internalType":"string","name":"_tokenURIFive","type":"string"},{"internalType":"string","name":"_tokenURITen","type":"string"},{"internalType":"string","name":"_tokenURITwenty","type":"string"},{"internalType":"string","name":"_tokenURIFifty","type":"string"},{"internalType":"string","name":"_tokenURIHundred","type":"string"},{"internalType":"string","name":"_tokenURITwoHundred","type":"string"},{"internalType":"string","name":"_tokenURIFiveHundred","type":"string"},{"internalType":"string","name":"_tokenURIThousand","type":"string"},{"internalType":"address","name":"_sportsamm","type":"address"},{"internalType":"address","name":"_parlayAMM","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"market","type":"address"},{"indexed":false,"internalType":"enum ISportsAMM.Position","name":"position","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sUSDPaid","type":"uint256"},{"indexed":false,"internalType":"address","name":"susd","type":"address"},{"indexed":false,"internalType":"address","name":"asset","type":"address"}],"name":"BoughtFromAmmWithVoucher","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address[]","name":"_sportMarkets","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_positions","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"_sUSDPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_expectedPayout","type":"uint256"},{"indexed":false,"internalType":"address","name":"susd","type":"address"}],"name":"BoughtFromParlayWithVoucher","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"MultiplierChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_parlayAMM","type":"address"}],"name":"NewParlayAMM","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sportsAMM","type":"address"}],"name":"NewSportsAMM","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_tokenURI","type":"string"}],"name":"NewTokenUri","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_state","type":"bool"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"amountInVoucher","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"market","type":"address"},{"internalType":"enum ISportsAMM.Position","name":"position","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buyFromAMMWithVoucher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_sportMarkets","type":"address[]"},{"internalType":"uint256[]","name":"_positions","type":"uint256[]"},{"internalType":"uint256","name":"_sUSDPaid","type":"uint256"},{"internalType":"uint256","name":"_additionalSlippage","type":"uint256"},{"internalType":"uint256","name":"_expectedPayout","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buyFromParlayAMMWithVoucher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"newItemId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintBatch","outputs":[{"internalType":"uint256[]","name":"newItemId","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"multiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"parlayAMM","outputs":[{"internalType":"contract IParlayMarketsAMM","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"retrieveSUSDAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sUSD","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_parlayAMM","type":"address"}],"name":"setParlayAMM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sportsAMM","type":"address"}],"name":"setSportsAMM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURIFive","type":"string"},{"internalType":"string","name":"_tokenURITen","type":"string"},{"internalType":"string","name":"_tokenURITwenty","type":"string"},{"internalType":"string","name":"_tokenURIFifty","type":"string"},{"internalType":"string","name":"_tokenURIHundred","type":"string"},{"internalType":"string","name":"_tokenURITwoHundred","type":"string"},{"internalType":"string","name":"_tokenURIFiveHundred","type":"string"},{"internalType":"string","name":"_tokenURIThousand","type":"string"}],"name":"setTokenUris","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sportsAMM","outputs":[{"internalType":"contract ISportsAMM","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIFifty","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIFive","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIFiveHundred","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIHundred","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURITen","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIThousand","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURITwenty","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURITwoHundred","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052601060808190526f27bb32b93a34b6b2902b37bab1b432b960811b60a090815262000033916009919062000482565b506040805180820190915260048082526327ab22a960e11b60209092019182526200006191600a9162000482565b50600b805460ff191690553480156200007957600080fd5b5060405162003dc138038062003dc18339810160408190526200009c91620005f8565b60098054620000ab90620007e2565b80601f0160208091040260200160405190810160405280929190818152602001828054620000d990620007e2565b80156200012a5780601f10620000fe576101008083540402835291602001916200012a565b820191906000526020600020905b8154815290600101906020018083116200010c57829003601f168201915b5050505050600a80546200013e90620007e2565b80601f01602080910402602001604051908101604052809291908181526020018280546200016c90620007e2565b8015620001bd5780601f106200019157610100808354040283529160200191620001bd565b820191906000526020600020905b8154815290600101906020018083116200019f57829003601f168201915b50508451620001d793506000925060208601915062000482565b508051620001ed90600190602084019062000482565b5050506200020a620002046200042c60201b60201c565b62000430565b601780546001600160a01b0319166001600160a01b038d1617905589516200023a90600c9060208d019062000482565b5088516200025090600d9060208c019062000482565b5087516200026690600e9060208b019062000482565b5086516200027c90600f9060208a019062000482565b5085516200029290601090602089019062000482565b508451620002a890601190602088019062000482565b508351620002be90601290602087019062000482565b508251620002d490601390602086019062000482565b50601480546001600160a01b0319166001600160a01b0384811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b1580156200033c57600080fd5b505af115801562000351573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003779190620007b9565b50601580546001600160a01b0319166001600160a01b0383811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b158015620003df57600080fd5b505af1158015620003f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041a9190620007b9565b50505050505050505050505062000835565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200049090620007e2565b90600052602060002090601f016020900481019282620004b45760008555620004ff565b82601f10620004cf57805160ff1916838001178555620004ff565b82800160010185558215620004ff579182015b82811115620004ff578251825591602001919060010190620004e2565b506200050d92915062000511565b5090565b5b808211156200050d576000815560010162000512565b80516001600160a01b03811681146200054057600080fd5b919050565b600082601f83011262000556578081fd5b81516001600160401b03808211156200057357620005736200081f565b604051601f8301601f19908116603f011681019082821181831017156200059e576200059e6200081f565b81604052838152602092508683858801011115620005ba578485fd5b8491505b83821015620005dd5785820183015181830184015290820190620005be565b83821115620005ee57848385830101525b9695505050505050565b60008060008060008060008060008060006101608c8e0312156200061a578687fd5b620006258c62000528565b60208d0151909b506001600160401b0381111562000641578788fd5b6200064f8e828f0162000545565b60408e0151909b5090506001600160401b038111156200066d578788fd5b6200067b8e828f0162000545565b60608e0151909a5090506001600160401b0381111562000699578788fd5b620006a78e828f0162000545565b60808e015190995090506001600160401b03811115620006c5578788fd5b620006d38e828f0162000545565b60a08e015190985090506001600160401b03811115620006f1578687fd5b620006ff8e828f0162000545565b60c08e015190975090506001600160401b038111156200071d578586fd5b6200072b8e828f0162000545565b60e08e015190965090506001600160401b0381111562000749578485fd5b620007578e828f0162000545565b6101008e015190955090506001600160401b0381111562000776578384fd5b620007848e828f0162000545565b935050620007966101208d0162000528565b9150620007a76101408d0162000528565b90509295989b509295989b9093969950565b600060208284031215620007cb578081fd5b81518015158114620007db578182fd5b9392505050565b600181811c90821680620007f757607f821691505b602082108114156200081957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61357c80620008456000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063b6afc4dc116100c3578063d28d885211610087578063d28d8852146104e8578063e81e52ee146104f0578063e985e9c514610503578063e9e520d61461053f578063efb1fe3514610547578063f2fde38b1461055a57600080fd5b8063b6afc4dc1461047c578063b88d4fde1461049c578063bedb86fb146104af578063c87b56dd146104c2578063c9925288146104d557600080fd5b806395d89b411161010a57806395d89b4114610431578063a22cb46514610439578063aed8fc9e1461044c578063b09f12661461046c578063b540a6751461047457600080fd5b8063715018a6146103ea578063755f388b146103f25780637d550e05146103fa5780638da5cb5b1461040d5780639324cac71461041e57600080fd5b806322da870f116101df57806346acf224116101a357806346acf22414610389578063563dae4e1461039c5780635c975abb146103a45780636352211e146103b1578063641579a6146103c457806370a08231146103d757600080fd5b806322da870f1461033557806323b872dd146103485780633ccdb11f1461035b57806340c10f191461036357806342842e0e1461037657600080fd5b806314ef86fe1161022657806314ef86fe146102e85780631b291c7f146102f05780631b3ed722146103035780631cc285521461031a57806322ba400c1461032d57600080fd5b806301ffc9a71461026357806306fdde031461028b578063081812fc146102a0578063095ea7b3146102cb5780630ec9efd3146102e0575b600080fd5b610276610271366004612e02565b61056d565b60405190151581526020015b60405180910390f35b6102936105bf565b60405161028291906132e8565b6102b36102ae366004612fbd565b610651565b6040516001600160a01b039091168152602001610282565b6102de6102d9366004612ce2565b6106de565b005b6102936107f4565b610293610882565b6102de6102fe366004612cf4565b61088f565b61030c60165481565b604051908152602001610282565b6102de610328366004612b31565b610ac9565b610293610c6b565b6102de610343366004612e86565b610c78565b6102de610356366004612bb0565b610d4c565b610293610d7d565b61030c610371366004612ce2565b610d8a565b6102de610384366004612bb0565b610e7c565b6102de610397366004612c9a565b610e97565b610293611257565b600b546102769060ff1681565b6102b36103bf366004612fbd565b611264565b6102de6103d2366004612fbd565b6112db565b61030c6103e5366004612b31565b61133a565b6102de6113c1565b6102936113f7565b6015546102b3906001600160a01b031681565b6007546001600160a01b03166102b3565b6017546102b3906001600160a01b031681565b610293611404565b6102de610447366004612c6d565b611413565b61030c61045a366004612fbd565b60186020526000908152604090205481565b610293611422565b61029361142f565b61048f61048a366004612d80565b61143c565b60405161028291906132a4565b6102de6104aa366004612bf0565b611682565b6102de6104bd366004612dca565b6116ba565b6102936104d0366004612fbd565b611725565b6014546102b3906001600160a01b031681565b61029361189c565b6102de6104fe366004612b31565b6118a9565b610276610511366004612b78565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610293611a44565b6102de610555366004612b4d565b611a51565b6102de610568366004612b31565b611a92565b60006001600160e01b031982166380ac58cd60e01b148061059e57506001600160e01b03198216635b5e139f60e01b145b806105b957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105ce90613461565b80601f01602080910402602001604051908101604052809291908181526020018280546105fa90613461565b80156106475780601f1061061c57610100808354040283529160200191610647565b820191906000526020600020905b81548152906001019060200180831161062a57829003601f168201915b5050505050905090565b600061065c82611b2d565b6106c25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e982611264565b9050806001600160a01b0316836001600160a01b031614156107575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b9565b336001600160a01b038216148061077357506107738133610511565b6107e55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b9565b6107ef8383611b4a565b505050565b6011805461080190613461565b80601f016020809104026020016040519081016040528092919081815260200182805461082d90613461565b801561087a5780601f1061084f5761010080835404028352916020019161087a565b820191906000526020600020905b81548152906001019060200180831161085d57829003601f168201915b505050505081565b6013805461080190613461565b600b5460ff16156108da5760405162461bcd60e51b815260206004820152601560248201527410d85b9d08189d5e481dda1a5b19481c185d5cd959605a1b60448201526064016106b9565b336108e482611264565b6001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520766f7563686572206f776e657221000060448201526064016106b9565b6000818152601860205260409020548411156109985760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e7420616d6f756e7420696e20766f7563686572000060448201526064016106b9565b60155460405163f9b2c83360e01b81526001600160a01b039091169063f9b2c833906109d6908b908b908b908b908b908b908b90339060040161324c565b600060405180830381600087803b1580156109f057600080fd5b505af1158015610a04573d6000803e3d6000fd5b505050600082815260186020526040902054610a229150859061341e565b60008281526018602052604090208190556016541115610a6e57600081815260186020526040902054601754610a65916001600160a01b03909116903390611bb8565b610a6e81611c1b565b6017546040517f71fb51bcf134e995851a6a160fb77a3e69ef292c12aaf05c8cb49a4b944d4bf291610ab79133918c918c918c918c918c918b916001600160a01b03169061318f565b60405180910390a15050505050505050565b6007546001600160a01b03163314610af35760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b03811615610b8c5760175460145460405163095ea7b360e01b81526001600160a01b0391821660048201526000602482015291169063095ea7b390604401602060405180830381600087803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8a9190612de6565b505b601580546001600160a01b0319166001600160a01b0383811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b158015610bf257600080fd5b505af1158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a9190612de6565b506040516001600160a01b03821681527f85dec884b9d5f668d61f62f842433df60cc0928a0bccbf0dafb98e992f2c4f41906020015b60405180910390a150565b600d805461080190613461565b6007546001600160a01b03163314610ca25760405162461bcd60e51b81526004016106b99061334d565b8751610cb590600c9060208b0190612983565b508651610cc990600d9060208a0190612983565b508551610cdd90600e906020890190612983565b508451610cf190600f906020880190612983565b508351610d05906010906020870190612983565b508251610d19906011906020860190612983565b508151610d2d906012906020850190612983565b508051610d41906013906020840190612983565b505050505050505050565b610d563382611c5b565b610d725760405162461bcd60e51b81526004016106b990613382565b6107ef838383611d41565b6012805461080190613461565b600b5460009060ff1615610dd95760405162461bcd60e51b815260206004820152601660248201527510d85b9d081b5a5b9d081dda1a5b19481c185d5cd95960521b60448201526064016106b9565b610de282611ee1565b610e1f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016106b9565b601754610e37906001600160a01b0316333085611f7b565b610e45600880546001019055565b50600854610e538382611fb3565b610e6581610e60846120e6565b61221d565b600081815260186020526040902091909155919050565b6107ef83838360405180602001604052806000815250611682565b600b5460ff1615610ee25760405162461bcd60e51b815260206004820152601560248201527410d85b9d08189d5e481dda1a5b19481c185d5cd959605a1b60448201526064016106b9565b33610eec82611264565b6001600160a01b031614610f425760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520766f7563686572206f776e657221000060448201526064016106b9565b60145460405163270e13ef60e01b81526000916001600160a01b03169063270e13ef90610f77908890889088906004016131e8565b60206040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc79190612fd5565b60008381526018602052604090205490915081106110275760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e7420616d6f756e7420696e20766f7563686572000060448201526064016106b9565b60145460405163221d7ae160e21b81526001600160a01b0390911690638875eb8490611060908890889088908790600090600401613213565b600060405180830381600087803b15801561107a57600080fd5b505af115801561108e573d6000803e3d6000fd5b5050506000838152601860205260409020546110ac9150829061341e565b60186000848152602001908152602001600020819055506000806000876001600160a01b031663cc2ee1966040518163ffffffff1660e01b815260040160606040518083038186803b15801561110157600080fd5b505afa158015611115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111399190612e3a565b9194509250905060008088600281111561116357634e487b7160e01b600052602160045260246000fd5b1461119b57600188600281111561118a57634e487b7160e01b600052602160045260246000fd5b14611195578161119d565b8261119d565b835b90506111b36001600160a01b0382163389611bb8565b60165460008781526018602052604090205410156111fd576000868152601860205260409020546017546111f4916001600160a01b03909116903390611bb8565b6111fd86611c1b565b6017546040517f5225d682e99fd1872cb0110d60372f8ebb3e5407caf698baed5b26daeafd8292916112449133918d918d918d918c916001600160a01b0316908990613102565b60405180910390a1505050505050505050565b600e805461080190613461565b6000818152600260205260408120546001600160a01b0316806105b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106b9565b6007546001600160a01b031633146113055760405162461bcd60e51b81526004016106b99061334d565b60168190556040518181527f0e17105029b990538e803a7a35f7c4fb0df74fcf27a15b12c46d0c6a59f8276090602001610c60565b60006001600160a01b0382166113a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b9565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146113eb5760405162461bcd60e51b81526004016106b99061334d565b6113f560006122a8565b565b6010805461080190613461565b6060600180546105ce90613461565b61141e3383836122fa565b5050565b600a805461080190613461565b600c805461080190613461565b600b5460609060ff161561148b5760405162461bcd60e51b815260206004820152601660248201527510d85b9d081b5a5b9d081dda1a5b19481c185d5cd95960521b60448201526064016106b9565b61149482611ee1565b6114d15760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016106b9565b6114f433306114e085876133ff565b6017546001600160a01b0316929190611f7b565b8267ffffffffffffffff81111561151b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611544578160200160208202803683370190505b50905060005b8381101561167a57611560600880546001019055565b60085482828151811061158357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506115f48585838181106115b257634e487b7160e01b600052603260045260246000fd5b90506020020160208101906115c79190612b31565b8383815181106115e757634e487b7160e01b600052603260045260246000fd5b6020026020010151611fb3565b61162882828151811061161757634e487b7160e01b600052603260045260246000fd5b6020026020010151610e60856120e6565b826018600084848151811061164d57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806116729061349c565b91505061154a565b509392505050565b61168c3383611c5b565b6116a85760405162461bcd60e51b81526004016106b990613382565b6116b4848484846123c9565b50505050565b6007546001600160a01b031633146116e45760405162461bcd60e51b81526004016106b99061334d565b600b805460ff19168215159081179091556040519081527f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd290602001610c60565b606061173082611b2d565b6117965760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106b9565b600082815260066020526040812080546117af90613461565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90613461565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b50505050509050600061184660408051602081019091526000815290565b9050805160001415611859575092915050565b81511561188b5780826040516020016118739291906130d3565b60405160208183030381529060405292505050919050565b611894846123fc565b949350505050565b6009805461080190613461565b6007546001600160a01b031633146118d35760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b0381161561196c5760175460145460405163095ea7b360e01b81526001600160a01b0391821660048201526000602482015291169063095ea7b390604401602060405180830381600087803b15801561193257600080fd5b505af1158015611946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196a9190612de6565b505b601480546001600160a01b0319166001600160a01b0383811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b1580156119d257600080fd5b505af11580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0a9190612de6565b506040516001600160a01b03821681527ffff8440c271c1df6e96cbb45fef2b4a959501f65ce7e2a6ed01efabb263ea56590602001610c60565b600f805461080190613461565b6007546001600160a01b03163314611a7b5760405162461bcd60e51b81526004016106b99061334d565b60175461141e906001600160a01b03168383611bb8565b6007546001600160a01b03163314611abc5760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b038116611b215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b9565b611b2a816122a8565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b7f82611264565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516001600160a01b0383166024820152604481018290526107ef90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526124d4565b611c24816125a6565b60008181526006602052604090208054611c3d90613461565b159050611b2a576000818152600660205260408120611b2a91612a07565b6000611c6682611b2d565b611cc75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106b9565b6000611cd283611264565b9050806001600160a01b0316846001600160a01b03161480611d0d5750836001600160a01b0316611d0284610651565b6001600160a01b0316145b8061189457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611894565b826001600160a01b0316611d5482611264565b6001600160a01b031614611dbc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b9565b6001600160a01b038216611e1e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b9565b611e29600082611b4a565b6001600160a01b0383166000908152600360205260408120805460019290611e5290849061341e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e809084906133d3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611eed6005612641565b821480611f025750611eff600a612641565b82145b80611f155750611f126014612641565b82145b80611f285750611f256032612641565b82145b80611f3b5750611f386064612641565b82145b80611f4e5750611f4b60c8612641565b82145b80611f625750611f5f6101f4612641565b82145b806105b95750611f736103e8612641565b821492915050565b6040516001600160a01b03808516602483015283166044820152606481018290526116b49085906323b872dd60e01b90608401611be4565b6001600160a01b0382166120095760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b9565b61201281611b2d565b1561205f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b9565b6001600160a01b03821660009081526003602052604081208054600192906120889084906133d3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606120f26005612641565b821461218a57612102600a612641565b8214612183576121126014612641565b821461217c576121226032612641565b8214612175576121326064612641565b821461216e5761214260c8612641565b8214612167576121536101f4612641565b821461216057601361218d565b601261218d565b601161218d565b601061218d565b600f61218d565b600e61218d565b600d61218d565b600c5b805461219890613461565b80601f01602080910402602001604051908101604052809291908181526020018280546121c490613461565b80156122115780601f106121e657610100808354040283529160200191612211565b820191906000526020600020905b8154815290600101906020018083116121f457829003601f168201915b50505050509050919050565b61222682611b2d565b6122895760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106b9565b600082815260066020908152604090912082516107ef92840190612983565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561235c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6123d4848484611d41565b6123e084848484612651565b6116b45760405162461bcd60e51b81526004016106b9906132fb565b606061240782611b2d565b61246b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106b9565b600061248260408051602081019091526000815290565b905060008151116124a257604051806020016040528060008152506124cd565b806124ac8461275e565b6040516020016124bd9291906130d3565b6040516020818303038152906040525b9392505050565b6000612529826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128789092919063ffffffff16565b8051909150156107ef57808060200190518101906125479190612de6565b6107ef5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106b9565b60006125b182611264565b90506125be600083611b4a565b6001600160a01b03811660009081526003602052604081208054600192906125e790849061341e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000601654826105b991906133ff565b60006001600160a01b0384163b1561275357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612695903390899088908890600401613152565b602060405180830381600087803b1580156126af57600080fd5b505af19250505080156126df575060408051601f3d908101601f191682019092526126dc91810190612e1e565b60015b612739573d80801561270d576040519150601f19603f3d011682016040523d82523d6000602084013e612712565b606091505b5080516127315760405162461bcd60e51b81526004016106b9906132fb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611894565b506001949350505050565b6060816127825750506040805180820190915260018152600360fc1b602082015290565b8160005b81156127ac57806127968161349c565b91506127a59050600a836133eb565b9150612786565b60008167ffffffffffffffff8111156127d557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ff576020820181803683370190505b5090505b84156118945761281460018361341e565b9150612821600a866134b7565b61282c9060306133d3565b60f81b81838151811061284f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612871600a866133eb565b9450612803565b6060611894848460008585843b6128d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106b9565b600080866001600160a01b031685876040516128ed91906130b7565b60006040518083038185875af1925050503d806000811461292a576040519150601f19603f3d011682016040523d82523d6000602084013e61292f565b606091505b509150915061293f82828661294a565b979650505050505050565b606083156129595750816124cd565b8251156129695782518084602001fd5b8160405162461bcd60e51b81526004016106b991906132e8565b82805461298f90613461565b90600052602060002090601f0160209004810192826129b157600085556129f7565b82601f106129ca57805160ff19168380011785556129f7565b828001600101855582156129f7579182015b828111156129f75782518255916020019190600101906129dc565b50612a03929150612a3d565b5090565b508054612a1390613461565b6000825580601f10612a23575050565b601f016020900490600052602060002090810190611b2a91905b5b80821115612a035760008155600101612a3e565b600067ffffffffffffffff80841115612a6d57612a6d6134f7565b604051601f8501601f19908116603f01168101908282118183101715612a9557612a956134f7565b81604052809350858152868686011115612aae57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612ad9578182fd5b50813567ffffffffffffffff811115612af0578182fd5b6020830191508360208260051b8501011115612b0b57600080fd5b9250929050565b600082601f830112612b22578081fd5b6124cd83833560208501612a52565b600060208284031215612b42578081fd5b81356124cd8161350d565b60008060408385031215612b5f578081fd5b8235612b6a8161350d565b946020939093013593505050565b60008060408385031215612b8a578182fd5b8235612b958161350d565b91506020830135612ba58161350d565b809150509250929050565b600080600060608486031215612bc4578081fd5b8335612bcf8161350d565b92506020840135612bdf8161350d565b929592945050506040919091013590565b60008060008060808587031215612c05578081fd5b8435612c108161350d565b93506020850135612c208161350d565b925060408501359150606085013567ffffffffffffffff811115612c42578182fd5b8501601f81018713612c52578182fd5b612c6187823560208401612a52565b91505092959194509250565b60008060408385031215612c7f578182fd5b8235612c8a8161350d565b91506020830135612ba581613522565b60008060008060808587031215612caf578384fd5b8435612cba8161350d565b9350602085013560038110612ccd578384fd5b93969395505050506040820135916060013590565b60008060408385031215612b5f578182fd5b60008060008060008060008060c0898b031215612d0f578586fd5b883567ffffffffffffffff80821115612d26578788fd5b612d328c838d01612ac8565b909a50985060208b0135915080821115612d4a578788fd5b50612d578b828c01612ac8565b999c989b5099604081013598606082013598506080820135975060a09091013595509350505050565b600080600060408486031215612d94578081fd5b833567ffffffffffffffff811115612daa578182fd5b612db686828701612ac8565b909790965060209590950135949350505050565b600060208284031215612ddb578081fd5b81356124cd81613522565b600060208284031215612df7578081fd5b81516124cd81613522565b600060208284031215612e13578081fd5b81356124cd81613530565b600060208284031215612e2f578081fd5b81516124cd81613530565b600080600060608486031215612e4e578081fd5b8351612e598161350d565b6020850151909350612e6a8161350d565b6040850151909250612e7b8161350d565b809150509250925092565b600080600080600080600080610100898b031215612ea2578182fd5b883567ffffffffffffffff80821115612eb9578384fd5b612ec58c838d01612b12565b995060208b0135915080821115612eda578384fd5b612ee68c838d01612b12565b985060408b0135915080821115612efb578384fd5b612f078c838d01612b12565b975060608b0135915080821115612f1c578384fd5b612f288c838d01612b12565b965060808b0135915080821115612f3d578384fd5b612f498c838d01612b12565b955060a08b0135915080821115612f5e578384fd5b612f6a8c838d01612b12565b945060c08b0135915080821115612f7f578384fd5b612f8b8c838d01612b12565b935060e08b0135915080821115612fa0578283fd5b50612fad8b828c01612b12565b9150509295985092959890939650565b600060208284031215612fce578081fd5b5035919050565b600060208284031215612fe6578081fd5b5051919050565b81835260006020808501945082825b8581101561302a57813561300f8161350d565b6001600160a01b031687529582019590820190600101612ffc565b509495945050505050565b81835260006001600160fb1b0383111561304d578081fd5b8260051b80836020870137939093016020019283525090919050565b60008151808452613081816020860160208601613435565b601f01601f19169290920160200192915050565b600381106130b357634e487b7160e01b600052602160045260246000fd5b9052565b600082516130c9818460208701613435565b9190910192915050565b600083516130e5818460208801613435565b8351908301906130f9818360208801613435565b01949350505050565b6001600160a01b038881168252878116602083015260e08201906131296040840189613095565b86606084015285608084015280851660a084015280841660c08401525098975050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061318590830184613069565b9695505050505050565b600060018060a01b03808b16835260c060208401526131b260c084018a8c612fed565b83810360408501526131c581898b613035565b606085019790975250608083019490945250911660a09091015295945050505050565b6001600160a01b0384168152606081016132056020830185613095565b826040830152949350505050565b6001600160a01b038616815260a081016132306020830187613095565b8460408301528360608301528260808301529695505050505050565b60c08152600061326060c083018a8c612fed565b828103602084015261327381898b613035565b60408401979097525050606081019390935260808301919091526001600160a01b031660a090910152949350505050565b6020808252825182820181905260009190848201906040850190845b818110156132dc578351835292840192918401916001016132c0565b50909695505050505050565b6020815260006124cd6020830184613069565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156133e6576133e66134cb565b500190565b6000826133fa576133fa6134e1565b500490565b6000816000190483118215151615613419576134196134cb565b500290565b600082821015613430576134306134cb565b500390565b60005b83811015613450578181015183820152602001613438565b838111156116b45750506000910152565b600181811c9082168061347557607f821691505b6020821081141561349657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156134b0576134b06134cb565b5060010190565b6000826134c6576134c66134e1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2a57600080fd5b8015158114611b2a57600080fd5b6001600160e01b031981168114611b2a57600080fdfea26469706673582212200ce26f29a04fdb672945b75d1c6a8b6c96ca8d482fed9b3e1c20a13138128db464736f6c63430008040033000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000ae56177e405929c95e5d4b04c0c87e428cb6432b0000000000000000000000002bb7d689780e7a34dd365359bd7333ab24903268000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d352e706e67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d31302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d32302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d35302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3130302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3230302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3530302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d313030302e706e67000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063b6afc4dc116100c3578063d28d885211610087578063d28d8852146104e8578063e81e52ee146104f0578063e985e9c514610503578063e9e520d61461053f578063efb1fe3514610547578063f2fde38b1461055a57600080fd5b8063b6afc4dc1461047c578063b88d4fde1461049c578063bedb86fb146104af578063c87b56dd146104c2578063c9925288146104d557600080fd5b806395d89b411161010a57806395d89b4114610431578063a22cb46514610439578063aed8fc9e1461044c578063b09f12661461046c578063b540a6751461047457600080fd5b8063715018a6146103ea578063755f388b146103f25780637d550e05146103fa5780638da5cb5b1461040d5780639324cac71461041e57600080fd5b806322da870f116101df57806346acf224116101a357806346acf22414610389578063563dae4e1461039c5780635c975abb146103a45780636352211e146103b1578063641579a6146103c457806370a08231146103d757600080fd5b806322da870f1461033557806323b872dd146103485780633ccdb11f1461035b57806340c10f191461036357806342842e0e1461037657600080fd5b806314ef86fe1161022657806314ef86fe146102e85780631b291c7f146102f05780631b3ed722146103035780631cc285521461031a57806322ba400c1461032d57600080fd5b806301ffc9a71461026357806306fdde031461028b578063081812fc146102a0578063095ea7b3146102cb5780630ec9efd3146102e0575b600080fd5b610276610271366004612e02565b61056d565b60405190151581526020015b60405180910390f35b6102936105bf565b60405161028291906132e8565b6102b36102ae366004612fbd565b610651565b6040516001600160a01b039091168152602001610282565b6102de6102d9366004612ce2565b6106de565b005b6102936107f4565b610293610882565b6102de6102fe366004612cf4565b61088f565b61030c60165481565b604051908152602001610282565b6102de610328366004612b31565b610ac9565b610293610c6b565b6102de610343366004612e86565b610c78565b6102de610356366004612bb0565b610d4c565b610293610d7d565b61030c610371366004612ce2565b610d8a565b6102de610384366004612bb0565b610e7c565b6102de610397366004612c9a565b610e97565b610293611257565b600b546102769060ff1681565b6102b36103bf366004612fbd565b611264565b6102de6103d2366004612fbd565b6112db565b61030c6103e5366004612b31565b61133a565b6102de6113c1565b6102936113f7565b6015546102b3906001600160a01b031681565b6007546001600160a01b03166102b3565b6017546102b3906001600160a01b031681565b610293611404565b6102de610447366004612c6d565b611413565b61030c61045a366004612fbd565b60186020526000908152604090205481565b610293611422565b61029361142f565b61048f61048a366004612d80565b61143c565b60405161028291906132a4565b6102de6104aa366004612bf0565b611682565b6102de6104bd366004612dca565b6116ba565b6102936104d0366004612fbd565b611725565b6014546102b3906001600160a01b031681565b61029361189c565b6102de6104fe366004612b31565b6118a9565b610276610511366004612b78565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610293611a44565b6102de610555366004612b4d565b611a51565b6102de610568366004612b31565b611a92565b60006001600160e01b031982166380ac58cd60e01b148061059e57506001600160e01b03198216635b5e139f60e01b145b806105b957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105ce90613461565b80601f01602080910402602001604051908101604052809291908181526020018280546105fa90613461565b80156106475780601f1061061c57610100808354040283529160200191610647565b820191906000526020600020905b81548152906001019060200180831161062a57829003601f168201915b5050505050905090565b600061065c82611b2d565b6106c25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e982611264565b9050806001600160a01b0316836001600160a01b031614156107575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b9565b336001600160a01b038216148061077357506107738133610511565b6107e55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b9565b6107ef8383611b4a565b505050565b6011805461080190613461565b80601f016020809104026020016040519081016040528092919081815260200182805461082d90613461565b801561087a5780601f1061084f5761010080835404028352916020019161087a565b820191906000526020600020905b81548152906001019060200180831161085d57829003601f168201915b505050505081565b6013805461080190613461565b600b5460ff16156108da5760405162461bcd60e51b815260206004820152601560248201527410d85b9d08189d5e481dda1a5b19481c185d5cd959605a1b60448201526064016106b9565b336108e482611264565b6001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520766f7563686572206f776e657221000060448201526064016106b9565b6000818152601860205260409020548411156109985760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e7420616d6f756e7420696e20766f7563686572000060448201526064016106b9565b60155460405163f9b2c83360e01b81526001600160a01b039091169063f9b2c833906109d6908b908b908b908b908b908b908b90339060040161324c565b600060405180830381600087803b1580156109f057600080fd5b505af1158015610a04573d6000803e3d6000fd5b505050600082815260186020526040902054610a229150859061341e565b60008281526018602052604090208190556016541115610a6e57600081815260186020526040902054601754610a65916001600160a01b03909116903390611bb8565b610a6e81611c1b565b6017546040517f71fb51bcf134e995851a6a160fb77a3e69ef292c12aaf05c8cb49a4b944d4bf291610ab79133918c918c918c918c918c918b916001600160a01b03169061318f565b60405180910390a15050505050505050565b6007546001600160a01b03163314610af35760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b03811615610b8c5760175460145460405163095ea7b360e01b81526001600160a01b0391821660048201526000602482015291169063095ea7b390604401602060405180830381600087803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8a9190612de6565b505b601580546001600160a01b0319166001600160a01b0383811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b158015610bf257600080fd5b505af1158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a9190612de6565b506040516001600160a01b03821681527f85dec884b9d5f668d61f62f842433df60cc0928a0bccbf0dafb98e992f2c4f41906020015b60405180910390a150565b600d805461080190613461565b6007546001600160a01b03163314610ca25760405162461bcd60e51b81526004016106b99061334d565b8751610cb590600c9060208b0190612983565b508651610cc990600d9060208a0190612983565b508551610cdd90600e906020890190612983565b508451610cf190600f906020880190612983565b508351610d05906010906020870190612983565b508251610d19906011906020860190612983565b508151610d2d906012906020850190612983565b508051610d41906013906020840190612983565b505050505050505050565b610d563382611c5b565b610d725760405162461bcd60e51b81526004016106b990613382565b6107ef838383611d41565b6012805461080190613461565b600b5460009060ff1615610dd95760405162461bcd60e51b815260206004820152601660248201527510d85b9d081b5a5b9d081dda1a5b19481c185d5cd95960521b60448201526064016106b9565b610de282611ee1565b610e1f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016106b9565b601754610e37906001600160a01b0316333085611f7b565b610e45600880546001019055565b50600854610e538382611fb3565b610e6581610e60846120e6565b61221d565b600081815260186020526040902091909155919050565b6107ef83838360405180602001604052806000815250611682565b600b5460ff1615610ee25760405162461bcd60e51b815260206004820152601560248201527410d85b9d08189d5e481dda1a5b19481c185d5cd959605a1b60448201526064016106b9565b33610eec82611264565b6001600160a01b031614610f425760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520766f7563686572206f776e657221000060448201526064016106b9565b60145460405163270e13ef60e01b81526000916001600160a01b03169063270e13ef90610f77908890889088906004016131e8565b60206040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc79190612fd5565b60008381526018602052604090205490915081106110275760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e7420616d6f756e7420696e20766f7563686572000060448201526064016106b9565b60145460405163221d7ae160e21b81526001600160a01b0390911690638875eb8490611060908890889088908790600090600401613213565b600060405180830381600087803b15801561107a57600080fd5b505af115801561108e573d6000803e3d6000fd5b5050506000838152601860205260409020546110ac9150829061341e565b60186000848152602001908152602001600020819055506000806000876001600160a01b031663cc2ee1966040518163ffffffff1660e01b815260040160606040518083038186803b15801561110157600080fd5b505afa158015611115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111399190612e3a565b9194509250905060008088600281111561116357634e487b7160e01b600052602160045260246000fd5b1461119b57600188600281111561118a57634e487b7160e01b600052602160045260246000fd5b14611195578161119d565b8261119d565b835b90506111b36001600160a01b0382163389611bb8565b60165460008781526018602052604090205410156111fd576000868152601860205260409020546017546111f4916001600160a01b03909116903390611bb8565b6111fd86611c1b565b6017546040517f5225d682e99fd1872cb0110d60372f8ebb3e5407caf698baed5b26daeafd8292916112449133918d918d918d918c916001600160a01b0316908990613102565b60405180910390a1505050505050505050565b600e805461080190613461565b6000818152600260205260408120546001600160a01b0316806105b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106b9565b6007546001600160a01b031633146113055760405162461bcd60e51b81526004016106b99061334d565b60168190556040518181527f0e17105029b990538e803a7a35f7c4fb0df74fcf27a15b12c46d0c6a59f8276090602001610c60565b60006001600160a01b0382166113a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b9565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146113eb5760405162461bcd60e51b81526004016106b99061334d565b6113f560006122a8565b565b6010805461080190613461565b6060600180546105ce90613461565b61141e3383836122fa565b5050565b600a805461080190613461565b600c805461080190613461565b600b5460609060ff161561148b5760405162461bcd60e51b815260206004820152601660248201527510d85b9d081b5a5b9d081dda1a5b19481c185d5cd95960521b60448201526064016106b9565b61149482611ee1565b6114d15760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016106b9565b6114f433306114e085876133ff565b6017546001600160a01b0316929190611f7b565b8267ffffffffffffffff81111561151b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611544578160200160208202803683370190505b50905060005b8381101561167a57611560600880546001019055565b60085482828151811061158357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506115f48585838181106115b257634e487b7160e01b600052603260045260246000fd5b90506020020160208101906115c79190612b31565b8383815181106115e757634e487b7160e01b600052603260045260246000fd5b6020026020010151611fb3565b61162882828151811061161757634e487b7160e01b600052603260045260246000fd5b6020026020010151610e60856120e6565b826018600084848151811061164d57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806116729061349c565b91505061154a565b509392505050565b61168c3383611c5b565b6116a85760405162461bcd60e51b81526004016106b990613382565b6116b4848484846123c9565b50505050565b6007546001600160a01b031633146116e45760405162461bcd60e51b81526004016106b99061334d565b600b805460ff19168215159081179091556040519081527f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd290602001610c60565b606061173082611b2d565b6117965760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106b9565b600082815260066020526040812080546117af90613461565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90613461565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b50505050509050600061184660408051602081019091526000815290565b9050805160001415611859575092915050565b81511561188b5780826040516020016118739291906130d3565b60405160208183030381529060405292505050919050565b611894846123fc565b949350505050565b6009805461080190613461565b6007546001600160a01b031633146118d35760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b0381161561196c5760175460145460405163095ea7b360e01b81526001600160a01b0391821660048201526000602482015291169063095ea7b390604401602060405180830381600087803b15801561193257600080fd5b505af1158015611946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196a9190612de6565b505b601480546001600160a01b0319166001600160a01b0383811691821790925560175460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b1580156119d257600080fd5b505af11580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0a9190612de6565b506040516001600160a01b03821681527ffff8440c271c1df6e96cbb45fef2b4a959501f65ce7e2a6ed01efabb263ea56590602001610c60565b600f805461080190613461565b6007546001600160a01b03163314611a7b5760405162461bcd60e51b81526004016106b99061334d565b60175461141e906001600160a01b03168383611bb8565b6007546001600160a01b03163314611abc5760405162461bcd60e51b81526004016106b99061334d565b6001600160a01b038116611b215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b9565b611b2a816122a8565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b7f82611264565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516001600160a01b0383166024820152604481018290526107ef90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526124d4565b611c24816125a6565b60008181526006602052604090208054611c3d90613461565b159050611b2a576000818152600660205260408120611b2a91612a07565b6000611c6682611b2d565b611cc75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106b9565b6000611cd283611264565b9050806001600160a01b0316846001600160a01b03161480611d0d5750836001600160a01b0316611d0284610651565b6001600160a01b0316145b8061189457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611894565b826001600160a01b0316611d5482611264565b6001600160a01b031614611dbc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b9565b6001600160a01b038216611e1e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b9565b611e29600082611b4a565b6001600160a01b0383166000908152600360205260408120805460019290611e5290849061341e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e809084906133d3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611eed6005612641565b821480611f025750611eff600a612641565b82145b80611f155750611f126014612641565b82145b80611f285750611f256032612641565b82145b80611f3b5750611f386064612641565b82145b80611f4e5750611f4b60c8612641565b82145b80611f625750611f5f6101f4612641565b82145b806105b95750611f736103e8612641565b821492915050565b6040516001600160a01b03808516602483015283166044820152606481018290526116b49085906323b872dd60e01b90608401611be4565b6001600160a01b0382166120095760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b9565b61201281611b2d565b1561205f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b9565b6001600160a01b03821660009081526003602052604081208054600192906120889084906133d3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606120f26005612641565b821461218a57612102600a612641565b8214612183576121126014612641565b821461217c576121226032612641565b8214612175576121326064612641565b821461216e5761214260c8612641565b8214612167576121536101f4612641565b821461216057601361218d565b601261218d565b601161218d565b601061218d565b600f61218d565b600e61218d565b600d61218d565b600c5b805461219890613461565b80601f01602080910402602001604051908101604052809291908181526020018280546121c490613461565b80156122115780601f106121e657610100808354040283529160200191612211565b820191906000526020600020905b8154815290600101906020018083116121f457829003601f168201915b50505050509050919050565b61222682611b2d565b6122895760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106b9565b600082815260066020908152604090912082516107ef92840190612983565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561235c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6123d4848484611d41565b6123e084848484612651565b6116b45760405162461bcd60e51b81526004016106b9906132fb565b606061240782611b2d565b61246b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106b9565b600061248260408051602081019091526000815290565b905060008151116124a257604051806020016040528060008152506124cd565b806124ac8461275e565b6040516020016124bd9291906130d3565b6040516020818303038152906040525b9392505050565b6000612529826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128789092919063ffffffff16565b8051909150156107ef57808060200190518101906125479190612de6565b6107ef5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106b9565b60006125b182611264565b90506125be600083611b4a565b6001600160a01b03811660009081526003602052604081208054600192906125e790849061341e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000601654826105b991906133ff565b60006001600160a01b0384163b1561275357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612695903390899088908890600401613152565b602060405180830381600087803b1580156126af57600080fd5b505af19250505080156126df575060408051601f3d908101601f191682019092526126dc91810190612e1e565b60015b612739573d80801561270d576040519150601f19603f3d011682016040523d82523d6000602084013e612712565b606091505b5080516127315760405162461bcd60e51b81526004016106b9906132fb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611894565b506001949350505050565b6060816127825750506040805180820190915260018152600360fc1b602082015290565b8160005b81156127ac57806127968161349c565b91506127a59050600a836133eb565b9150612786565b60008167ffffffffffffffff8111156127d557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ff576020820181803683370190505b5090505b84156118945761281460018361341e565b9150612821600a866134b7565b61282c9060306133d3565b60f81b81838151811061284f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612871600a866133eb565b9450612803565b6060611894848460008585843b6128d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106b9565b600080866001600160a01b031685876040516128ed91906130b7565b60006040518083038185875af1925050503d806000811461292a576040519150601f19603f3d011682016040523d82523d6000602084013e61292f565b606091505b509150915061293f82828661294a565b979650505050505050565b606083156129595750816124cd565b8251156129695782518084602001fd5b8160405162461bcd60e51b81526004016106b991906132e8565b82805461298f90613461565b90600052602060002090601f0160209004810192826129b157600085556129f7565b82601f106129ca57805160ff19168380011785556129f7565b828001600101855582156129f7579182015b828111156129f75782518255916020019190600101906129dc565b50612a03929150612a3d565b5090565b508054612a1390613461565b6000825580601f10612a23575050565b601f016020900490600052602060002090810190611b2a91905b5b80821115612a035760008155600101612a3e565b600067ffffffffffffffff80841115612a6d57612a6d6134f7565b604051601f8501601f19908116603f01168101908282118183101715612a9557612a956134f7565b81604052809350858152868686011115612aae57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612ad9578182fd5b50813567ffffffffffffffff811115612af0578182fd5b6020830191508360208260051b8501011115612b0b57600080fd5b9250929050565b600082601f830112612b22578081fd5b6124cd83833560208501612a52565b600060208284031215612b42578081fd5b81356124cd8161350d565b60008060408385031215612b5f578081fd5b8235612b6a8161350d565b946020939093013593505050565b60008060408385031215612b8a578182fd5b8235612b958161350d565b91506020830135612ba58161350d565b809150509250929050565b600080600060608486031215612bc4578081fd5b8335612bcf8161350d565b92506020840135612bdf8161350d565b929592945050506040919091013590565b60008060008060808587031215612c05578081fd5b8435612c108161350d565b93506020850135612c208161350d565b925060408501359150606085013567ffffffffffffffff811115612c42578182fd5b8501601f81018713612c52578182fd5b612c6187823560208401612a52565b91505092959194509250565b60008060408385031215612c7f578182fd5b8235612c8a8161350d565b91506020830135612ba581613522565b60008060008060808587031215612caf578384fd5b8435612cba8161350d565b9350602085013560038110612ccd578384fd5b93969395505050506040820135916060013590565b60008060408385031215612b5f578182fd5b60008060008060008060008060c0898b031215612d0f578586fd5b883567ffffffffffffffff80821115612d26578788fd5b612d328c838d01612ac8565b909a50985060208b0135915080821115612d4a578788fd5b50612d578b828c01612ac8565b999c989b5099604081013598606082013598506080820135975060a09091013595509350505050565b600080600060408486031215612d94578081fd5b833567ffffffffffffffff811115612daa578182fd5b612db686828701612ac8565b909790965060209590950135949350505050565b600060208284031215612ddb578081fd5b81356124cd81613522565b600060208284031215612df7578081fd5b81516124cd81613522565b600060208284031215612e13578081fd5b81356124cd81613530565b600060208284031215612e2f578081fd5b81516124cd81613530565b600080600060608486031215612e4e578081fd5b8351612e598161350d565b6020850151909350612e6a8161350d565b6040850151909250612e7b8161350d565b809150509250925092565b600080600080600080600080610100898b031215612ea2578182fd5b883567ffffffffffffffff80821115612eb9578384fd5b612ec58c838d01612b12565b995060208b0135915080821115612eda578384fd5b612ee68c838d01612b12565b985060408b0135915080821115612efb578384fd5b612f078c838d01612b12565b975060608b0135915080821115612f1c578384fd5b612f288c838d01612b12565b965060808b0135915080821115612f3d578384fd5b612f498c838d01612b12565b955060a08b0135915080821115612f5e578384fd5b612f6a8c838d01612b12565b945060c08b0135915080821115612f7f578384fd5b612f8b8c838d01612b12565b935060e08b0135915080821115612fa0578283fd5b50612fad8b828c01612b12565b9150509295985092959890939650565b600060208284031215612fce578081fd5b5035919050565b600060208284031215612fe6578081fd5b5051919050565b81835260006020808501945082825b8581101561302a57813561300f8161350d565b6001600160a01b031687529582019590820190600101612ffc565b509495945050505050565b81835260006001600160fb1b0383111561304d578081fd5b8260051b80836020870137939093016020019283525090919050565b60008151808452613081816020860160208601613435565b601f01601f19169290920160200192915050565b600381106130b357634e487b7160e01b600052602160045260246000fd5b9052565b600082516130c9818460208701613435565b9190910192915050565b600083516130e5818460208801613435565b8351908301906130f9818360208801613435565b01949350505050565b6001600160a01b038881168252878116602083015260e08201906131296040840189613095565b86606084015285608084015280851660a084015280841660c08401525098975050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061318590830184613069565b9695505050505050565b600060018060a01b03808b16835260c060208401526131b260c084018a8c612fed565b83810360408501526131c581898b613035565b606085019790975250608083019490945250911660a09091015295945050505050565b6001600160a01b0384168152606081016132056020830185613095565b826040830152949350505050565b6001600160a01b038616815260a081016132306020830187613095565b8460408301528360608301528260808301529695505050505050565b60c08152600061326060c083018a8c612fed565b828103602084015261327381898b613035565b60408401979097525050606081019390935260808301919091526001600160a01b031660a090910152949350505050565b6020808252825182820181905260009190848201906040850190845b818110156132dc578351835292840192918401916001016132c0565b50909695505050505050565b6020815260006124cd6020830184613069565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156133e6576133e66134cb565b500190565b6000826133fa576133fa6134e1565b500490565b6000816000190483118215151615613419576134196134cb565b500290565b600082821015613430576134306134cb565b500390565b60005b83811015613450578181015183820152602001613438565b838111156116b45750506000910152565b600181811c9082168061347557607f821691505b6020821081141561349657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156134b0576134b06134cb565b5060010190565b6000826134c6576134c66134e1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2a57600080fd5b8015158114611b2a57600080fd5b6001600160e01b031981168114611b2a57600080fdfea26469706673582212200ce26f29a04fdb672945b75d1c6a8b6c96ca8d482fed9b3e1c20a13138128db464736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000ae56177e405929c95e5d4b04c0c87e428cb6432b0000000000000000000000002bb7d689780e7a34dd365359bd7333ab24903268000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d352e706e67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d31302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d32302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d35302e706e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3130302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3230302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d3530302e706e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d313030302e706e67000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _sUSD (address): 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
Arg [1] : _tokenURIFive (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-5.png
Arg [2] : _tokenURITen (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-10.png
Arg [3] : _tokenURITwenty (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-20.png
Arg [4] : _tokenURIFifty (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-50.png
Arg [5] : _tokenURIHundred (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-100.png
Arg [6] : _tokenURITwoHundred (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-200.png
Arg [7] : _tokenURIFiveHundred (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-500.png
Arg [8] : _tokenURIThousand (string): https://thales-protocol.s3.eu-north-1.amazonaws.com/voucher1-1000.png
Arg [9] : _sportsamm (address): 0xae56177e405929c95E5d4b04C0C87E428cB6432B
Arg [10] : _parlayAMM (address): 0x2Bb7D689780e7a34dD365359bD7333ab24903268

-----Encoded View---------------
43 Constructor Arguments found :
Arg [0] : 000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [4] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000460
Arg [8] : 00000000000000000000000000000000000000000000000000000000000004e0
Arg [9] : 000000000000000000000000ae56177e405929c95e5d4b04c0c87e428cb6432b
Arg [10] : 0000000000000000000000002bb7d689780e7a34dd365359bd7333ab24903268
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [12] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [13] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d352e70
Arg [14] : 6e67000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [16] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [17] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d31302e
Arg [18] : 706e670000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [20] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [21] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d32302e
Arg [22] : 706e670000000000000000000000000000000000000000000000000000000000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [24] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [25] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d35302e
Arg [26] : 706e670000000000000000000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [28] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [29] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d313030
Arg [30] : 2e706e6700000000000000000000000000000000000000000000000000000000
Arg [31] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [32] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [33] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d323030
Arg [34] : 2e706e6700000000000000000000000000000000000000000000000000000000
Arg [35] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [36] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [37] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d353030
Arg [38] : 2e706e6700000000000000000000000000000000000000000000000000000000
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000045
Arg [40] : 68747470733a2f2f7468616c65732d70726f746f636f6c2e73332e65752d6e6f
Arg [41] : 7274682d312e616d617a6f6e6177732e636f6d2f766f7563686572312d313030
Arg [42] : 302e706e67000000000000000000000000000000000000000000000000000000


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