{"sources":{"ProxyERC20.sol":{"content":"/* ===============================================\n* Flattened with Solidifier by Coinage\n* \n* https://solidifier.coina.ge\n* ===============================================\n*/\n\n\n/*\n-----------------------------------------------------------------\nFILE INFORMATION\n-----------------------------------------------------------------\n\nfile:       Owned.sol\nversion:    1.1\nauthor:     Anton Jurisevic\n            Dominic Romanowski\n\ndate:       2018-2-26\n\n-----------------------------------------------------------------\nMODULE DESCRIPTION\n-----------------------------------------------------------------\n\nAn Owned contract, to be inherited by other contracts.\nRequires its owner to be explicitly set in the constructor.\nProvides an onlyOwner access modifier.\n\nTo change owner, the current owner must nominate the next owner,\nwho then has to accept the nomination. The nomination can be\ncancelled before it is accepted by the new owner by having the\nprevious owner change the nomination (setting it to 0).\n\n-----------------------------------------------------------------\n*/\n\npragma solidity 0.4.25;\n\n/**\n * @title A contract with an owner.\n * @notice Contract ownership can be transferred by first nominating the new owner,\n * who must then accept the ownership, which prevents accidental incorrect ownership transfers.\n */\ncontract Owned {\n    address public owner;\n    address public nominatedOwner;\n\n    /**\n     * @dev Owned Constructor\n     */\n    constructor(address _owner)\n        public\n    {\n        require(_owner != address(0), \"Owner address cannot be 0\");\n        owner = _owner;\n        emit OwnerChanged(address(0), _owner);\n    }\n\n    /**\n     * @notice Nominate a new owner of this contract.\n     * @dev Only the current owner may nominate a new owner.\n     */\n    function nominateNewOwner(address _owner)\n        external\n        onlyOwner\n    {\n        nominatedOwner = _owner;\n        emit OwnerNominated(_owner);\n    }\n\n    /**\n     * @notice Accept the nomination to be owner.\n     */\n    function acceptOwnership()\n        external\n    {\n        require(msg.sender == nominatedOwner, \"You must be nominated before you can accept ownership\");\n        emit OwnerChanged(owner, nominatedOwner);\n        owner = nominatedOwner;\n        nominatedOwner = address(0);\n    }\n\n    modifier onlyOwner\n    {\n        require(msg.sender == owner, \"Only the contract owner may perform this action\");\n        _;\n    }\n\n    event OwnerNominated(address newOwner);\n    event OwnerChanged(address oldOwner, address newOwner);\n}\n\n\n/*\n-----------------------------------------------------------------\nFILE INFORMATION\n-----------------------------------------------------------------\n\nfile:       Proxy.sol\nversion:    1.3\nauthor:     Anton Jurisevic\n\ndate:       2018-05-29\n\n-----------------------------------------------------------------\nMODULE DESCRIPTION\n-----------------------------------------------------------------\n\nA proxy contract that, if it does not recognise the function\nbeing called on it, passes all value and call data to an\nunderlying target contract.\n\nThis proxy has the capacity to toggle between DELEGATECALL\nand CALL style proxy functionality.\n\nThe former executes in the proxy's context, and so will preserve \nmsg.sender and store data at the proxy address. The latter will not.\nTherefore, any contract the proxy wraps in the CALL style must\nimplement the Proxyable interface, in order that it can pass msg.sender\ninto the underlying contract as the state parameter, messageSender.\n\n-----------------------------------------------------------------\n*/\n\n\ncontract Proxy is Owned {\n\n    Proxyable public target;\n    bool public useDELEGATECALL;\n\n    constructor(address _owner)\n        Owned(_owner)\n        public\n    {}\n\n    function setTarget(Proxyable _target)\n        external\n        onlyOwner\n    {\n        target = _target;\n        emit TargetUpdated(_target);\n    }\n\n    function setUseDELEGATECALL(bool value) \n        external\n        onlyOwner\n    {\n        useDELEGATECALL = value;\n    }\n\n    function _emit(bytes callData, uint numTopics, bytes32 topic1, bytes32 topic2, bytes32 topic3, bytes32 topic4)\n        external\n        onlyTarget\n    {\n        uint size = callData.length;\n        bytes memory _callData = callData;\n\n        assembly {\n            /* The first 32 bytes of callData contain its length (as specified by the abi). \n             * Length is assumed to be a uint256 and therefore maximum of 32 bytes\n             * in length. It is also leftpadded to be a multiple of 32 bytes.\n             * This means moving call_data across 32 bytes guarantees we correctly access\n             * the data itself. */\n            switch numTopics\n            case 0 {\n                log0(add(_callData, 32), size)\n            } \n            case 1 {\n                log1(add(_callData, 32), size, topic1)\n            }\n            case 2 {\n                log2(add(_callData, 32), size, topic1, topic2)\n            }\n            case 3 {\n                log3(add(_callData, 32), size, topic1, topic2, topic3)\n            }\n            case 4 {\n                log4(add(_callData, 32), size, topic1, topic2, topic3, topic4)\n            }\n        }\n    }\n\n    function()\n        external\n        payable\n    {\n        if (useDELEGATECALL) {\n            assembly {\n                /* Copy call data into free memory region. */\n                let free_ptr := mload(0x40)\n                calldatacopy(free_ptr, 0, calldatasize)\n\n                /* Forward all gas and call data to the target contract. */\n                let result := delegatecall(gas, sload(target_slot), free_ptr, calldatasize, 0, 0)\n                returndatacopy(free_ptr, 0, returndatasize)\n\n                /* Revert if the call failed, otherwise return the result. */\n                if iszero(result) { revert(free_ptr, returndatasize) }\n                return(free_ptr, returndatasize)\n            }\n        } else {\n            /* Here we are as above, but must send the messageSender explicitly \n             * since we are using CALL rather than DELEGATECALL. */\n            target.setMessageSender(msg.sender);\n            assembly {\n                let free_ptr := mload(0x40)\n                calldatacopy(free_ptr, 0, calldatasize)\n\n                /* We must explicitly forward ether to the underlying contract as well. */\n                let result := call(gas, sload(target_slot), callvalue, free_ptr, calldatasize, 0, 0)\n                returndatacopy(free_ptr, 0, returndatasize)\n\n                if iszero(result) { revert(free_ptr, returndatasize) }\n                return(free_ptr, returndatasize)\n            }\n        }\n    }\n\n    modifier onlyTarget {\n        require(Proxyable(msg.sender) == target, \"Must be proxy target\");\n        _;\n    }\n\n    event TargetUpdated(Proxyable newTarget);\n}\n\n\n/*\n-----------------------------------------------------------------\nFILE INFORMATION\n-----------------------------------------------------------------\n\nfile:       Proxyable.sol\nversion:    1.1\nauthor:     Anton Jurisevic\n\ndate:       2018-05-15\n\nchecked:    Mike Spain\napproved:   Samuel Brooks\n\n-----------------------------------------------------------------\nMODULE DESCRIPTION\n-----------------------------------------------------------------\n\nA proxyable contract that works hand in hand with the Proxy contract\nto allow for anyone to interact with the underlying contract both\ndirectly and through the proxy.\n\n-----------------------------------------------------------------\n*/\n\n\n// This contract should be treated like an abstract contract\ncontract Proxyable is Owned {\n    /* The proxy this contract exists behind. */\n    Proxy public proxy;\n    Proxy public integrationProxy;\n\n    /* The caller of the proxy, passed through to this contract.\n     * Note that every function using this member must apply the onlyProxy or\n     * optionalProxy modifiers, otherwise their invocations can use stale values. */\n    address messageSender;\n\n    constructor(address _proxy, address _owner)\n        Owned(_owner)\n        public\n    {\n        proxy = Proxy(_proxy);\n        emit ProxyUpdated(_proxy);\n    }\n\n    function setProxy(address _proxy)\n        external\n        onlyOwner\n    {\n        proxy = Proxy(_proxy);\n        emit ProxyUpdated(_proxy);\n    }\n\n    function setIntegrationProxy(address _integrationProxy)\n        external\n        onlyOwner\n    {\n        integrationProxy = Proxy(_integrationProxy);\n    }\n\n    function setMessageSender(address sender)\n        external\n        onlyProxy\n    {\n        messageSender = sender;\n    }\n\n    modifier onlyProxy {\n        require(Proxy(msg.sender) == proxy || Proxy(msg.sender) == integrationProxy, \"Only the proxy can call\");\n        _;\n    }\n\n    modifier optionalProxy\n    {\n        if (Proxy(msg.sender) != proxy && Proxy(msg.sender) != integrationProxy) {\n            messageSender = msg.sender;\n        }\n        _;\n    }\n\n    modifier optionalProxy_onlyOwner\n    {\n        if (Proxy(msg.sender) != proxy && Proxy(msg.sender) != integrationProxy) {\n            messageSender = msg.sender;\n        }\n        require(messageSender == owner, \"Owner only function\");\n        _;\n    }\n\n    event ProxyUpdated(address proxyAddress);\n}\n\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/20\n */\ncontract IERC20 {\n    function totalSupply() public view returns (uint);\n\n    function balanceOf(address owner) public view returns (uint);\n\n    function allowance(address owner, address spender) public view returns (uint);\n\n    function transfer(address to, uint value) public returns (bool);\n\n    function approve(address spender, uint value) public returns (bool);\n\n    function transferFrom(address from, address to, uint value) public returns (bool);\n\n    // ERC20 Optional\n    function name() public view returns (string);\n    function symbol() public view returns (string);\n    function decimals() public view returns (uint8);\n\n    event Transfer(\n      address indexed from,\n      address indexed to,\n      uint value\n    );\n\n    event Approval(\n      address indexed owner,\n      address indexed spender,\n      uint value\n    );\n}\n\n\n/*\n-----------------------------------------------------------------\nFILE INFORMATION\n-----------------------------------------------------------------\n\nfile:       ProxyERC20.sol\nversion:    1.0\nauthor:     Jackson Chan, Clinton Ennis\n\ndate:       2019-06-19\n\n-----------------------------------------------------------------\nMODULE DESCRIPTION\n-----------------------------------------------------------------\n\nA proxy contract that is ERC20 compliant for the Synthetix Network.\n\nIf it does not recognise a function being called on it, passes all\nvalue and call data to an underlying target contract.\n\nThe ERC20 standard has been explicitly implemented to ensure\ncontract to contract calls are compatable on MAINNET\n\n-----------------------------------------------------------------\n*/\n\n\ncontract ProxyERC20 is Proxy, IERC20 {\n\n    constructor(address _owner)\n        Proxy(_owner)\n        public\n    {}\n\n    // ------------- ERC20 Details ------------- //\n\n    function name() public view returns (string){\n        // Immutable static call from target contract\n        return IERC20(target).name();\n    }\n\n    function symbol() public view returns (string){\n         // Immutable static call from target contract\n        return IERC20(target).symbol();\n    }\n\n    function decimals() public view returns (uint8){\n         // Immutable static call from target contract\n        return IERC20(target).decimals();\n    }\n\n    // ------------- ERC20 Interface ------------- //\n\n    /**\n    * @dev Total number of tokens in existence\n    */\n    function totalSupply() public view returns (uint256) {\n        // Immutable static call from target contract\n        return IERC20(target).totalSupply();\n    }\n\n    /**\n    * @dev Gets the balance of the specified address.\n    * @param owner The address to query the balance of.\n    * @return An uint256 representing the amount owned by the passed address.\n    */\n    function balanceOf(address owner) public view returns (uint256) {\n        // Immutable static call from target contract\n        return IERC20(target).balanceOf(owner);\n    }\n\n    /**\n    * @dev Function to check the amount of tokens that an owner allowed to a spender.\n    * @param owner address The address which owns the funds.\n    * @param spender address The address which will spend the funds.\n    * @return A uint256 specifying the amount of tokens still available for the spender.\n    */\n    function allowance(\n        address owner,\n        address spender\n    )\n        public\n        view\n        returns (uint256)\n    {\n        // Immutable static call from target contract\n        return IERC20(target).allowance(owner, spender);\n    }\n\n    /**\n    * @dev Transfer token for a specified address\n    * @param to The address to transfer to.\n    * @param value The amount to be transferred.\n    */\n    function transfer(address to, uint256 value) public returns (bool) {\n        // Mutable state call requires the proxy to tell the target who the msg.sender is.\n        target.setMessageSender(msg.sender);\n\n        // Forward the ERC20 call to the target contract\n        IERC20(target).transfer(to, value);\n\n        // Event emitting will occur via Synthetix.Proxy._emit()\n        return true;\n    }\n\n    /**\n    * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\n    * Beware that changing an allowance with this method brings the risk that someone may use both the old\n    * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this\n    * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:\n    * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n    * @param spender The address which will spend the funds.\n    * @param value The amount of tokens to be spent.\n    */\n    function approve(address spender, uint256 value) public returns (bool) {\n        // Mutable state call requires the proxy to tell the target who the msg.sender is.\n        target.setMessageSender(msg.sender);\n\n        // Forward the ERC20 call to the target contract\n        IERC20(target).approve(spender, value);\n\n        // Event emitting will occur via Synthetix.Proxy._emit()\n        return true;\n    }\n\n    /**\n    * @dev Transfer tokens from one address to another\n    * @param from address The address which you want to send tokens from\n    * @param to address The address which you want to transfer to\n    * @param value uint256 the amount of tokens to be transferred\n    */\n    function transferFrom(\n        address from,\n        address to,\n        uint256 value\n    )\n        public\n        returns (bool)\n    {\n        // Mutable state call requires the proxy to tell the target who the msg.sender is.\n        target.setMessageSender(msg.sender);\n\n        // Forward the ERC20 call to the target contract\n        IERC20(target).transferFrom(from, to, value);\n\n        // Event emitting will occur via Synthetix.Proxy._emit()\n        return true;\n    }\n}\n\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.4.25+commit.59dbf8f1","compilerSettings":{"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"byzantium","remappings":[]},"name":"ProxyERC20","fullyQualifiedName":"ProxyERC20.sol:ProxyERC20"},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436106100fb5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d0578063095ea7b31461025a5780631627540c1461029257806318160ddd146102b357806323b872dd146102da578063313ce5671461030457806353a47bb71461032f57806370a0823114610360578063776d1a011461038157806379ba5097146103a25780638da5cb5b146103b7578063907dff97146103cc57806395578ebd146103fc57806395d89b4114610411578063a9059cbb14610426578063befff6af1461044a578063d4b8399214610464578063dd62ed3e14610479575b60025474010000000000000000000000000000000000000000900460ff161561014457604051366000823760008036836002545af43d6000833e801515610140573d82fd5b3d82f35b6002546040805160e160020a635e33fc190281523360048201529051600160a060020a039092169163bc67f8329160248082019260009290919082900301818387803b15801561019357600080fd5b505af11580156101a7573d6000803e3d6000fd5b5050505060405136600082376000803683346002545af13d6000833e801515610140573d82fd5b005b3480156101dc57600080fd5b506101e56104a0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021f578181015183820152602001610207565b50505050905090810190601f16801561024c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026657600080fd5b5061027e600160a060020a036004351660243561058c565b604080519115158252519081900360200190f35b34801561029e57600080fd5b506101ce600160a060020a0360043516610696565b3480156102bf57600080fd5b506102c861077f565b60408051918252519081900360200190f35b3480156102e657600080fd5b5061027e600160a060020a036004358116906024351660443561080f565b34801561031057600080fd5b50610319610922565b6040805160ff9092168252519081900360200190f35b34801561033b57600080fd5b50610344610981565b60408051600160a060020a039092168252519081900360200190f35b34801561036c57600080fd5b506102c8600160a060020a0360043516610990565b34801561038d57600080fd5b506101ce600160a060020a0360043516610a2d565b3480156103ae57600080fd5b506101ce610b16565b3480156103c357600080fd5b50610344610c1e565b3480156103d857600080fd5b506101ce60246004803582810192910135903560443560643560843560a435610c2d565b34801561040857600080fd5b5061027e610d42565b34801561041d57600080fd5b506101e5610d63565b34801561043257600080fd5b5061027e600160a060020a0360043516602435610dc2565b34801561045657600080fd5b506101ce6004351515610e97565b34801561047057600080fd5b50610344610f5f565b34801561048557600080fd5b506102c8600160a060020a0360043581169060243516610f6e565b600254604080517f06fdde030000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916306fdde0391600480830192600092919082900301818387803b1580156104ff57600080fd5b505af1158015610513573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561053c57600080fd5b81019080805164010000000081111561055457600080fd5b8201602081018481111561056757600080fd5b815164010000000081118282018710171561058157600080fd5b509094505050505090565b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b1580156105da57600080fd5b505af11580156105ee573d6000803e3d6000fd5b5050600254604080517f095ea7b3000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201889052915191909216935063095ea7b3925060448083019260209291908290030181600087803b15801561066157600080fd5b505af1158015610675573d6000803e3d6000fd5b505050506040513d602081101561068b57600080fd5b506001949350505050565b600054600160a060020a0316331461071e576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b600254604080517f18160ddd0000000000000000000000000000000000000000000000000000000081529051600092600160a060020a0316916318160ddd91600480830192602092919082900301818787803b1580156107de57600080fd5b505af11580156107f2573d6000803e3d6000fd5b505050506040513d602081101561080857600080fd5b5051905090565b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b5050600254604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921693506323b872dd925060648083019260209291908290030181600087803b1580156108ec57600080fd5b505af1158015610900573d6000803e3d6000fd5b505050506040513d602081101561091657600080fd5b50600195945050505050565b600254604080517f313ce5670000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163313ce56791600480830192602092919082900301818787803b1580156107de57600080fd5b600154600160a060020a031681565b600254604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916370a082319160248082019260209290919082900301818787803b1580156109fb57600080fd5b505af1158015610a0f573d6000803e3d6000fd5b505050506040513d6020811015610a2557600080fd5b505192915050565b600054600160a060020a03163314610ab5576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60028054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f814250a3b8c79fcbe2ead2c131c952a278491c8f4322a79fe84b5040a810373e9181900360200190a150565b600154600160a060020a03163314610b9e576040805160e560020a62461bcd02815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e6572736869700000000000000000000000606482015290519081900360840190fd5b60005460015460408051600160a060020a03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a1600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a031681565b600254600090606090600160a060020a03163314610c95576040805160e560020a62461bcd02815260206004820152601460248201527f4d7573742062652070726f787920746172676574000000000000000000000000604482015290519081900360640190fd5b604080516020601f8b01819004810282018101909252898152899350908a9084908190840183828082843782019150505050505090508660008114610cf95760018114610d045760028114610d105760038114610d1d5760048114610d2b57610d36565b8260208301a0610d36565b868360208401a1610d36565b85878460208501a2610d36565b8486888560208601a3610d36565b838587898660208701a45b50505050505050505050565b60025474010000000000000000000000000000000000000000900460ff1681565b600254604080517f95d89b410000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916395d89b4191600480830192600092919082900301818387803b1580156104ff57600080fd5b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b158015610e1057600080fd5b505af1158015610e24573d6000803e3d6000fd5b5050600254604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201889052915191909216935063a9059cbb925060448083019260209291908290030181600087803b15801561066157600080fd5b600054600160a060020a03163314610f1f576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600254600160a060020a031681565b600254604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015284811660248301529151600093929092169163dd62ed3e9160448082019260209290919082900301818787803b158015610fe157600080fd5b505af1158015610ff5573d6000803e3d6000fd5b505050506040513d602081101561100b57600080fd5b505193925050505600a165627a7a72305820f4b49c5795540963e7dbce406d43ed9f5f8ec6390c1ef12755adb14845c0d4cf0029","recompiledBytecode":"0x6080604052600436106100fb5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d0578063095ea7b31461025a5780631627540c1461029257806318160ddd146102b357806323b872dd146102da578063313ce5671461030457806353a47bb71461032f57806370a0823114610360578063776d1a011461038157806379ba5097146103a25780638da5cb5b146103b7578063907dff97146103cc57806395578ebd146103fc57806395d89b4114610411578063a9059cbb14610426578063befff6af1461044a578063d4b8399214610464578063dd62ed3e14610479575b60025474010000000000000000000000000000000000000000900460ff161561014457604051366000823760008036836002545af43d6000833e801515610140573d82fd5b3d82f35b6002546040805160e160020a635e33fc190281523360048201529051600160a060020a039092169163bc67f8329160248082019260009290919082900301818387803b15801561019357600080fd5b505af11580156101a7573d6000803e3d6000fd5b5050505060405136600082376000803683346002545af13d6000833e801515610140573d82fd5b005b3480156101dc57600080fd5b506101e56104a0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021f578181015183820152602001610207565b50505050905090810190601f16801561024c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026657600080fd5b5061027e600160a060020a036004351660243561058c565b604080519115158252519081900360200190f35b34801561029e57600080fd5b506101ce600160a060020a0360043516610696565b3480156102bf57600080fd5b506102c861077f565b60408051918252519081900360200190f35b3480156102e657600080fd5b5061027e600160a060020a036004358116906024351660443561080f565b34801561031057600080fd5b50610319610922565b6040805160ff9092168252519081900360200190f35b34801561033b57600080fd5b50610344610981565b60408051600160a060020a039092168252519081900360200190f35b34801561036c57600080fd5b506102c8600160a060020a0360043516610990565b34801561038d57600080fd5b506101ce600160a060020a0360043516610a2d565b3480156103ae57600080fd5b506101ce610b16565b3480156103c357600080fd5b50610344610c1e565b3480156103d857600080fd5b506101ce60246004803582810192910135903560443560643560843560a435610c2d565b34801561040857600080fd5b5061027e610d42565b34801561041d57600080fd5b506101e5610d63565b34801561043257600080fd5b5061027e600160a060020a0360043516602435610dc2565b34801561045657600080fd5b506101ce6004351515610e97565b34801561047057600080fd5b50610344610f5f565b34801561048557600080fd5b506102c8600160a060020a0360043581169060243516610f6e565b600254604080517f06fdde030000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916306fdde0391600480830192600092919082900301818387803b1580156104ff57600080fd5b505af1158015610513573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561053c57600080fd5b81019080805164010000000081111561055457600080fd5b8201602081018481111561056757600080fd5b815164010000000081118282018710171561058157600080fd5b509094505050505090565b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b1580156105da57600080fd5b505af11580156105ee573d6000803e3d6000fd5b5050600254604080517f095ea7b3000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201889052915191909216935063095ea7b3925060448083019260209291908290030181600087803b15801561066157600080fd5b505af1158015610675573d6000803e3d6000fd5b505050506040513d602081101561068b57600080fd5b506001949350505050565b600054600160a060020a0316331461071e576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b600254604080517f18160ddd0000000000000000000000000000000000000000000000000000000081529051600092600160a060020a0316916318160ddd91600480830192602092919082900301818787803b1580156107de57600080fd5b505af11580156107f2573d6000803e3d6000fd5b505050506040513d602081101561080857600080fd5b5051905090565b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b5050600254604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921693506323b872dd925060648083019260209291908290030181600087803b1580156108ec57600080fd5b505af1158015610900573d6000803e3d6000fd5b505050506040513d602081101561091657600080fd5b50600195945050505050565b600254604080517f313ce5670000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163313ce56791600480830192602092919082900301818787803b1580156107de57600080fd5b600154600160a060020a031681565b600254604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916370a082319160248082019260209290919082900301818787803b1580156109fb57600080fd5b505af1158015610a0f573d6000803e3d6000fd5b505050506040513d6020811015610a2557600080fd5b505192915050565b600054600160a060020a03163314610ab5576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60028054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f814250a3b8c79fcbe2ead2c131c952a278491c8f4322a79fe84b5040a810373e9181900360200190a150565b600154600160a060020a03163314610b9e576040805160e560020a62461bcd02815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e6572736869700000000000000000000000606482015290519081900360840190fd5b60005460015460408051600160a060020a03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a1600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a031681565b600254600090606090600160a060020a03163314610c95576040805160e560020a62461bcd02815260206004820152601460248201527f4d7573742062652070726f787920746172676574000000000000000000000000604482015290519081900360640190fd5b604080516020601f8b01819004810282018101909252898152899350908a9084908190840183828082843782019150505050505090508660008114610cf95760018114610d045760028114610d105760038114610d1d5760048114610d2b57610d36565b8260208301a0610d36565b868360208401a1610d36565b85878460208501a2610d36565b8486888560208601a3610d36565b838587898660208701a45b50505050505050505050565b60025474010000000000000000000000000000000000000000900460ff1681565b600254604080517f95d89b410000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916395d89b4191600480830192600092919082900301818387803b1580156104ff57600080fd5b6002546040805160e160020a635e33fc190281523360048201529051600092600160a060020a03169163bc67f832916024808301928692919082900301818387803b158015610e1057600080fd5b505af1158015610e24573d6000803e3d6000fd5b5050600254604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201889052915191909216935063a9059cbb925060448083019260209291908290030181600087803b15801561066157600080fd5b600054600160a060020a03163314610f1f576040805160e560020a62461bcd02815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e0000000000000000000000000000000000606482015290519081900360840190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600254600160a060020a031681565b600254604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015284811660248301529151600093929092169163dd62ed3e9160448082019260209290919082900301818787803b158015610fe157600080fd5b505af1158015610ff5573d6000803e3d6000fd5b505050506040513d602081101561100b57600080fd5b505193925050505600a165627a7a72305820f4b49c5795540963e7dbce406d43ed9f5f8ec6390c1ef12755adb14845c0d4cf0029","sourceMap":"10951:4225:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5271:15;;;;;;;5267:1391;;;5413:4;5407:11;5461:12;5458:1;5448:8;5435:39;5647:1;5644;5630:12;5620:8;5606:11;5600:18;5595:3;5582:67;5694:14;5691:1;5681:8;5666:43;5815:6;5808:14;5805:2;;;5842:14;5832:8;5825:32;5805:2;5893:14;5883:8;5876:32;5311:611;6101:6;;:35;;;-1:-1:-1;;;;;6101:35:0;;6125:10;6101:35;;;;;;-1:-1:-1;;;;;6101:6:0;;;;:23;;:35;;;;;:6;;:35;;;;;;;;:6;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;6101:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6101:35:0;;;;6199:4;6193:11;6247:12;6244:1;6234:8;6221:39;6451:1;6448;6434:12;6424:8;6413:9;6399:11;6393:18;6388:3;6383:70;6498:14;6495:1;6485:8;6470:43;6541:6;6534:14;6531:2;;;6568:14;6558:8;6551:32;6159:489;10951:4225;11125:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11125:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11125:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14009:407;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14009:407:0;-1:-1:-1;;;;;14009:407:0;;;;;;;;;;;;;;;;;;;;;;;;;1783:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1783:158:0;-1:-1:-1;;;;;1783:158:0;;;;;11702:159;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11702:159:0;;;;;;;;;;;;;;;;;;;;14697:477;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14697:477:0;-1:-1:-1;;;;;14697:477:0;;;;;;;;;;;;11428:151;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11428:151:0;;;;;;;;;;;;;;;;;;;;;;;1371:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1371:29:0;;;;;;;;-1:-1:-1;;;;;1371:29:0;;;;;;;;;;;;;;12070:173;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12070:173:0;-1:-1:-1;;;;;12070:173:0;;;;;3757:147;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3757:147:0;-1:-1:-1;;;;;3757:147:0;;;;;2013:278;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2013:278:0;;;;1345:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1345:20:0;;;;4036:1167;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4036:1167:0;;;;;;;;;;;;;;;;;;;;;;;;3646:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3646:27:0;;;;11274:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11274:148:0;;;;12982:399;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12982:399:0;-1:-1:-1;;;;;12982:399:0;;;;;;;3910:120;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3910:120:0;;;;;;;3617:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3617:23:0;;;;12569:249;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12569:249:0;-1:-1:-1;;;;;12569:249:0;;;;;;;;;;11125:143;11247:6;;11240:21;;;;;;;;11162:6;;-1:-1:-1;;;;;11247:6:0;;11240:19;;:21;;;;;11247:6;;11240:21;;;;;;;11247:6;;11240:21;;;5:2:-1;;;;30:1;27;20:12;5:2;11240:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11240:21:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;11240:21:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;11240:21:0;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;-1:-1;11240:21:0;;-1:-1:-1;;;;;11125:143:0;:::o;14009:407::-;14181:6;;:35;;;-1:-1:-1;;;;;14181:35:0;;14205:10;14181:35;;;;;;14074:4;;-1:-1:-1;;;;;14181:6:0;;:23;;:35;;;;;14074:4;;14181:35;;;;;;;14074:4;14181:6;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;14181:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;14291:6:0;;14284:38;;;;;;-1:-1:-1;;;;;14284:38:0;;;;;;;;;;;;;;;14291:6;;;;;-1:-1:-1;14284:22:0;;-1:-1:-1;14284:38:0;;;;;;;;;;;;;;14291:6;;14284:38;;;5:2:-1;;;;30:1;27;20:12;5:2;14284:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14284:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14405:4:0;;14009:407;-1:-1:-1;;;;14009:407:0:o;1783:158::-;2352:5;;-1:-1:-1;;;;;2352:5:0;2338:10;:19;2330:79;;;;;-1:-1:-1;;;;;2330:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1874:14;:23;;-1:-1:-1;;;;;1874:23:0;;-1:-1:-1;;1874:23:0;;;;;;;;1912:22;;;;;;;;;;;;;;;;1783:158;:::o;11702:159::-;11833:6;;11826:28;;;;;;;;11746:7;;-1:-1:-1;;;;;11833:6:0;;11826:26;;:28;;;;;;;;;;;;;;11746:7;11833:6;11826:28;;;5:2:-1;;;;30:1;27;20:12;5:2;11826:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11826:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11826:28:0;;-1:-1:-1;11702:159:0;:::o;14697:477::-;14933:6;;:35;;;-1:-1:-1;;;;;14933:35:0;;14957:10;14933:35;;;;;;14822:4;;-1:-1:-1;;;;;14933:6:0;;:23;;:35;;;;;14822:4;;14933:35;;;;;;;14822:4;14933:6;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;14933:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;15043:6:0;;15036:44;;;;;;-1:-1:-1;;;;;15036:44:0;;;;;;;;;;;;;;;;;;;;;;15043:6;;;;;-1:-1:-1;15036:27:0;;-1:-1:-1;15036:44:0;;;;;;;;;;;;;;15043:6;;15036:44;;;5:2:-1;;;;30:1;27;20:12;5:2;15036:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15036:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15163:4:0;;14697:477;-1:-1:-1;;;;;14697:477:0:o;11428:151::-;11554:6;;11547:25;;;;;;;;11469:5;;-1:-1:-1;;;;;11554:6:0;;11547:23;;:25;;;;;;;;;;;;;;11469:5;11554:6;11547:25;;;5:2:-1;;;;30:1;27;20:12;1371:29:0;;;-1:-1:-1;;;;;1371:29:0;;:::o;12070:173::-;12212:6;;12205:31;;;;;;-1:-1:-1;;;;;12205:31:0;;;;;;;;;12125:7;;12212:6;;;;;12205:24;;:31;;;;;;;;;;;;;;;12125:7;12212:6;12205:31;;;5:2:-1;;;;30:1;27;20:12;5:2;12205:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12205:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12205:31:0;;12070:173;-1:-1:-1;;12070:173:0:o;3757:147::-;2352:5;;-1:-1:-1;;;;;2352:5:0;2338:10;:19;2330:79;;;;;-1:-1:-1;;;;;2330:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3844:6;:16;;-1:-1:-1;;;;;3844:16:0;;-1:-1:-1;;3844:16:0;;;;;;;;3875:22;;;;;;;;;;;;;;;;3757:147;:::o;2013:278::-;2093:14;;-1:-1:-1;;;;;2093:14:0;2079:10;:28;2071:94;;;;;-1:-1:-1;;;;;2071:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2193:5;;;2200:14;2180:35;;;-1:-1:-1;;;;;2193:5:0;;;2180:35;;2200:14;;;;2180:35;;;;;;;;;;;;;;;;2233:14;;;;2225:22;;-1:-1:-1;;2225:22:0;;;-1:-1:-1;;;;;2233:14:0;;2225:22;;;;2257:27;;;2013:278::o;1345:20::-;;;-1:-1:-1;;;;;1345:20:0;;:::o;4036:1167::-;6733:6;;4197:9;;4234:22;;-1:-1:-1;;;;;6733:6:0;6718:10;6708:31;6700:64;;;;;-1:-1:-1;;;;;6700:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4234:33;;;;;;;;;;;;;;;;;;;;;;4209:8;;-1:-1:-1;4234:33:0;4209:8;;;;;;4234:33;;4209:8;;;;4234:33;;;;;;;;;;;;;4687:9;4714:1;4709:69;;;;4797:1;4792:77;;;;4887:1;4882:85;;;;4985:1;4980:93;;;;5091:1;5086:101;;;;4680:507;;4709:69;4759:4;4754:2;4743:9;4739:18;4734:30;4709:69;;4792:77;4848:6;4842:4;4837:2;4826:9;4822:18;4817:38;4792:77;;4882:85;4946:6;4938;4932:4;4927:2;4916:9;4912:18;4907:46;4882:85;;4980:93;5052:6;5044;5036;5030:4;5025:2;5014:9;5010:18;5005:54;4980:93;;5086:101;5166:6;5158;5150;5142;5136:4;5131:2;5120:9;5116:18;5111:62;4680:507;;4036:1167;;;;;;;;;:::o;3646:27::-;;;;;;;;;:::o;11274:148::-;11399:6;;11392:23;;;;;;;;11313:6;;-1:-1:-1;;;;;11399:6:0;;11392:21;;:23;;;;;11399:6;;11392:23;;;;;;;11399:6;;11392:23;;;5:2:-1;;;;30:1;27;20:12;12982:399:0;13150:6;;:35;;;-1:-1:-1;;;;;13150:35:0;;13174:10;13150:35;;;;;;13043:4;;-1:-1:-1;;;;;13150:6:0;;:23;;:35;;;;;13043:4;;13150:35;;;;;;;13043:4;13150:6;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;13150:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;13260:6:0;;13253:34;;;;;;-1:-1:-1;;;;;13253:34:0;;;;;;;;;;;;;;;13260:6;;;;;-1:-1:-1;13253:23:0;;-1:-1:-1;13253:34:0;;;;;;;;;;;;;;13260:6;;13253:34;;;5:2:-1;;;;30:1;27;20:12;3910:120:0;2352:5;;-1:-1:-1;;;;;2352:5:0;2338:10;:19;2330:79;;;;;-1:-1:-1;;;;;2330:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4000:15;:23;;;;;;;-1:-1:-1;;4000:23:0;;;;;;;;;3910:120::o;3617:23::-;;;-1:-1:-1;;;;;3617:23:0;;:::o;12569:249::-;12778:6;;12771:40;;;;;;-1:-1:-1;;;;;12771:40:0;;;;;;;;;;;;;;;;12687:7;;12778:6;;;;;12771:24;;:40;;;;;;;;;;;;;;;12687:7;12778:6;12771:40;;;5:2:-1;;;;30:1;27;20:12;5:2;12771:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12771:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12771:40:0;;12569:249;-1:-1:-1;;;12569:249:0:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa165627a7a72305820f4b49c5795540963e7dbce406d43ed9f5f8ec6390c1ef12755adb14845c0d4cf0029","offset":4117}},"immutableReferences":null,"transformations":[],"transformationValues":{}},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"deployment":{"transactionHash":"0x034c7f55fa92b432f3bf8d3bace5785b0f2c845a7adcbcf2c179228ef043f58d","blockNumber":"8314597","transactionIndex":"14","deployer":"0xb75503907b1a1432C59f397cab0c9b4410bb98f5"},"matchId":"2064604","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2024-08-08T14:30:06Z","match":"exact_match","chainId":"1","address":"0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"}