Created
June 12, 2019 19:20
-
-
Save Amxx/da1dd7e292b22b3aef14f414b95f42d5 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.9+commit.e560f70d.js&optimize=true&gist=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import "./Ownable.sol"; | |
contract App is Ownable | |
{ | |
/** | |
* Members | |
*/ | |
string public m_appName; | |
string public m_appType; | |
bytes public m_appMultiaddr; | |
bytes32 public m_appChecksum; | |
bytes public m_appMREnclave; | |
/** | |
* Constructor | |
*/ | |
constructor( | |
address _appOwner, | |
string memory _appName, | |
string memory _appType, | |
bytes memory _appMultiaddr, | |
bytes32 _appChecksum, | |
bytes memory _appMREnclave) | |
public | |
{ | |
_transferOwnership(_appOwner); | |
m_appName = _appName; | |
m_appType = _appType; | |
m_appMultiaddr = _appMultiaddr; | |
m_appChecksum = _appChecksum; | |
m_appMREnclave = _appMREnclave; | |
} | |
function transferOwnership(address) public { revert("disabled"); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import './App.sol'; | |
import './RegistryBase.sol'; | |
contract AppRegistry is RegistryBase //, OwnableMutable // is Owned by IexecHub | |
{ | |
event CreateApp(address indexed appOwner, address app); | |
/** | |
* Constructor | |
*/ | |
constructor() | |
public | |
{ | |
} | |
/** | |
* App creation | |
*/ | |
function createApp( | |
address _appOwner, | |
string calldata _appName, | |
string calldata _appType, | |
bytes calldata _appMultiaddr, | |
bytes32 _appChecksum, | |
bytes calldata _appMREnclave) | |
external /* onlyOwner /*owner == IexecHub*/ returns (App) | |
{ | |
App newApp = new App( | |
_appOwner, | |
_appName, | |
_appType, | |
_appMultiaddr, | |
_appChecksum, | |
_appMREnclave | |
); | |
require(insert(address(newApp), _appOwner)); | |
emit CreateApp(_appOwner, address(newApp)); | |
return newApp; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./Ownable.sol"; | |
import "./IexecODBLibCore.sol"; | |
contract CategoryManager is Ownable | |
{ | |
/** | |
* Content | |
*/ | |
IexecODBLibCore.Category[] m_categories; | |
/** | |
* Event | |
*/ | |
event CreateCategory( | |
uint256 catid, | |
string name, | |
string description, | |
uint256 workClockTimeRef); | |
/** | |
* Constructor | |
*/ | |
constructor() | |
public | |
{ | |
} | |
/** | |
* Accessors | |
*/ | |
function viewCategory(uint256 _catid) | |
external view returns (IexecODBLibCore.Category memory category) | |
{ | |
return m_categories[_catid]; | |
} | |
function countCategory() | |
external view returns (uint256 count) | |
{ | |
return m_categories.length; | |
} | |
/** | |
* Methods | |
*/ | |
function createCategory( | |
string calldata name, | |
string calldata description, | |
uint256 workClockTimeRef) | |
external onlyOwner returns (uint256) | |
{ | |
uint256 catid = m_categories.push(IexecODBLibCore.Category( | |
name, | |
description, | |
workClockTimeRef | |
)) - 1; | |
emit CreateCategory( | |
catid, | |
name, | |
description, | |
workClockTimeRef | |
); | |
return catid; | |
} | |
/** | |
* TODO: move to struct based initialization ? | |
* | |
function createCategory(IexecODBLib.Category _category) | |
public onlyOwner returns (uint256) | |
{ | |
uint256 catid = m_categories.push(_category); | |
emit CreateCategory( | |
catid, | |
_category.name, | |
_category.description, | |
_category.workClockTimeRef | |
); | |
return catid; | |
} | |
*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import "./Ownable.sol"; | |
contract Dataset is Ownable | |
{ | |
/** | |
* Members | |
*/ | |
string public m_datasetName; | |
bytes public m_datasetMultiaddr; | |
bytes32 public m_datasetChecksum; | |
/** | |
* Constructor | |
*/ | |
constructor( | |
address _datasetOwner, | |
string memory _datasetName, | |
bytes memory _datasetMultiaddr, | |
bytes32 _datasetChecksum) | |
public | |
{ | |
_transferOwnership(_datasetOwner); | |
m_datasetName = _datasetName; | |
m_datasetMultiaddr = _datasetMultiaddr; | |
m_datasetChecksum = _datasetChecksum; | |
} | |
function transferOwnership(address) public { revert("disabled"); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import './Dataset.sol'; | |
import './RegistryBase.sol'; | |
contract DatasetRegistry is RegistryBase //, OwnableMutable // is Owned by IexecHub | |
{ | |
event CreateDataset(address indexed datasetOwner, address dataset); | |
/** | |
* Constructor | |
*/ | |
constructor() | |
public | |
{ | |
} | |
/** | |
* Dataset creation | |
*/ | |
function createDataset( | |
address _datasetOwner, | |
string calldata _datasetName, | |
bytes calldata _datasetMultiaddr, | |
bytes32 _datasetChecksum) | |
external /* onlyOwner /*owner == IexecHub*/ returns (Dataset) | |
{ | |
Dataset newDataset = new Dataset( | |
_datasetOwner, | |
_datasetName, | |
_datasetMultiaddr, | |
_datasetChecksum | |
); | |
require(insert(address(newDataset), _datasetOwner)); | |
emit CreateDataset(_datasetOwner, address(newDataset)); | |
return newDataset; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
import "./IERC20.sol"; | |
import "./SafeMath.sol"; | |
/** | |
* @title Standard ERC20 token | |
* | |
* @dev Implementation of the basic standard token. | |
* https://eips.ethereum.org/EIPS/eip-20 | |
* Originally based on code by FirstBlood: | |
* https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol | |
* | |
* This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for | |
* all accounts just by listening to said events. Note that this isn't required by the specification, and other | |
* compliant implementations may not do it. | |
*/ | |
contract ERC20 is IERC20 | |
{ | |
using SafeMath for uint256; | |
mapping (address => uint256) private _balances; | |
mapping (address => mapping (address => uint256)) private _allowed; | |
uint256 private _totalSupply; | |
/** | |
* @dev Total number of tokens in existence | |
*/ | |
function totalSupply() | |
public view returns (uint256) | |
{ | |
return _totalSupply; | |
} | |
/** | |
* @dev Gets the balance of the specified address. | |
* @param owner The address to query the balance of. | |
* @return A uint256 representing the amount owned by the passed address. | |
*/ | |
function balanceOf(address owner) | |
public view returns (uint256) | |
{ | |
return _balances[owner]; | |
} | |
/** | |
* @dev Function to check the amount of tokens that an owner allowed to a spender. | |
* @param owner address The address which owns the funds. | |
* @param spender address The address which will spend the funds. | |
* @return A uint256 specifying the amount of tokens still available for the spender. | |
*/ | |
function allowance(address owner, address spender) | |
public view returns (uint256) | |
{ | |
return _allowed[owner][spender]; | |
} | |
/** | |
* @dev Transfer token to a specified address | |
* @param to The address to transfer to. | |
* @param value The amount to be transferred. | |
*/ | |
function transfer(address to, uint256 value) | |
public returns (bool) | |
{ | |
_transfer(msg.sender, to, value); | |
return true; | |
} | |
/** | |
* @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. | |
* 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 | |
* @param spender The address which will spend the funds. | |
* @param value The amount of tokens to be spent. | |
*/ | |
function approve(address spender, uint256 value) | |
public returns (bool) | |
{ | |
_approve(msg.sender, spender, value); | |
return true; | |
} | |
/** | |
* @dev Transfer tokens from one address to another. | |
* Note that while this function emits an Approval event, this is not required as per the specification, | |
* and other compliant implementations may not emit the event. | |
* @param from address The address which you want to send tokens from | |
* @param to address The address which you want to transfer to | |
* @param value uint256 the amount of tokens to be transferred | |
*/ | |
function transferFrom(address from, address to, uint256 value) | |
public returns (bool) | |
{ | |
_transfer(from, to, value); | |
_approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); | |
return true; | |
} | |
/** | |
* @dev Increase the amount of tokens that an owner allowed to a spender. | |
* approve should be called when _allowed[msg.sender][spender] == 0. To increment | |
* allowed value is better to use this function to avoid 2 calls (and wait until | |
* the first transaction is mined) | |
* From MonolithDAO Token.sol | |
* Emits an Approval event. | |
* @param spender The address which will spend the funds. | |
* @param addedValue The amount of tokens to increase the allowance by. | |
*/ | |
function increaseAllowance(address spender, uint256 addedValue) | |
public returns (bool) | |
{ | |
_approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); | |
return true; | |
} | |
/** | |
* @dev Decrease the amount of tokens that an owner allowed to a spender. | |
* approve should be called when _allowed[msg.sender][spender] == 0. To decrement | |
* allowed value is better to use this function to avoid 2 calls (and wait until | |
* the first transaction is mined) | |
* From MonolithDAO Token.sol | |
* Emits an Approval event. | |
* @param spender The address which will spend the funds. | |
* @param subtractedValue The amount of tokens to decrease the allowance by. | |
*/ | |
function decreaseAllowance(address spender, uint256 subtractedValue) | |
public returns (bool) | |
{ | |
_approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); | |
return true; | |
} | |
/** | |
* @dev Transfer token for a specified addresses | |
* @param from The address to transfer from. | |
* @param to The address to transfer to. | |
* @param value The amount to be transferred. | |
*/ | |
function _transfer(address from, address to, uint256 value) | |
internal | |
{ | |
require(to != address(0)); | |
_balances[from] = _balances[from].sub(value); | |
_balances[to] = _balances[to].add(value); | |
emit Transfer(from, to, value); | |
} | |
/** | |
* @dev Internal function that mints an amount of the token and assigns it to | |
* an account. This encapsulates the modification of balances such that the | |
* proper events are emitted. | |
* @param account The account that will receive the created tokens. | |
* @param value The amount that will be created. | |
*/ | |
function _mint(address account, uint256 value) | |
internal | |
{ | |
require(account != address(0)); | |
_totalSupply = _totalSupply.add(value); | |
_balances[account] = _balances[account].add(value); | |
emit Transfer(address(0), account, value); | |
} | |
/** | |
* @dev Internal function that burns an amount of the token of a given | |
* account. | |
* @param account The account whose tokens will be burnt. | |
* @param value The amount that will be burnt. | |
*/ | |
function _burn(address account, uint256 value) | |
internal | |
{ | |
require(account != address(0)); | |
_totalSupply = _totalSupply.sub(value); | |
_balances[account] = _balances[account].sub(value); | |
emit Transfer(account, address(0), value); | |
} | |
/** | |
* @dev Approve an address to spend another addresses' tokens. | |
* @param owner The address that owns the tokens. | |
* @param spender The address that will spend the tokens. | |
* @param value The number of tokens that can be spent. | |
*/ | |
function _approve(address owner, address spender, uint256 value) | |
internal | |
{ | |
require(spender != address(0)); | |
require(owner != address(0)); | |
_allowed[owner][spender] = value; | |
emit Approval(owner, spender, value); | |
} | |
/** | |
* @dev Internal function that burns an amount of the token of a given | |
* account, deducting from the sender's allowance for said account. Uses the | |
* internal burn function. | |
* Emits an Approval event (reflecting the reduced allowance). | |
* @param account The account whose tokens will be burnt. | |
* @param value The amount that will be burnt. | |
*/ | |
function _burnFrom(address account, uint256 value) | |
internal | |
{ | |
_burn(account, value); | |
_approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"allowance(address,address)": "dd62ed3e", | |
"approve(address,uint256)": "095ea7b3", | |
"balanceOf(address)": "70a08231", | |
"decimals()": "313ce567", | |
"name()": "06fdde03", | |
"symbol()": "95d89b41", | |
"totalSupply()": "18160ddd", | |
"transfer(address,uint256)": "a9059cbb", | |
"transferFrom(address,address,uint256)": "23b872dd" | |
} | |
}, | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "decimals", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint8" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "who", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "symbol", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"name": "spender", | |
"type": "address" | |
} | |
], | |
"name": "allowance", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "name", | |
"type": "string" | |
}, | |
{ | |
"name": "symbol", | |
"type": "string" | |
}, | |
{ | |
"name": "decimals", | |
"type": "uint8" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.2; | |
import "./IERC20.sol"; | |
/** | |
* @title ERC20Detailed token | |
* @dev The decimals are only for visualization purposes. | |
* All the operations are done using the smallest and indivisible token unit, | |
* just as on Ethereum all the operations are done in wei. | |
*/ | |
contract ERC20Detailed is IERC20 | |
{ | |
string private _name; | |
string private _symbol; | |
uint8 private _decimals; | |
constructor (string memory name, string memory symbol, uint8 decimals) | |
public | |
{ | |
_name = name; | |
_symbol = symbol; | |
_decimals = decimals; | |
} | |
/** | |
* @return the name of the token. | |
*/ | |
function name() | |
public view returns (string memory) | |
{ | |
return _name; | |
} | |
/** | |
* @return the symbol of the token. | |
*/ | |
function symbol() | |
public view returns (string memory) | |
{ | |
return _symbol; | |
} | |
/** | |
* @return the number of decimals of the token. | |
*/ | |
function decimals() | |
public view returns (uint8) | |
{ | |
return _decimals; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IERC20.sol"; | |
import "./SafeMath.sol"; | |
import "./IexecODBLibCore.sol"; | |
contract Escrow | |
{ | |
using SafeMath for uint256; | |
/** | |
* token contract for transfers. | |
*/ | |
IERC20 public token; | |
/** | |
* Escrow content | |
*/ | |
mapping(address => IexecODBLibCore.Account) m_accounts; | |
/** | |
* Events | |
*/ | |
event Deposit (address owner, uint256 amount); | |
event DepositFor(address owner, uint256 amount, address target); | |
event Withdraw (address owner, uint256 amount); | |
event Reward (address user, uint256 amount, bytes32 ref); | |
event Seize (address user, uint256 amount, bytes32 ref); | |
event Lock (address user, uint256 amount); | |
event Unlock (address user, uint256 amount); | |
/** | |
* Constructor | |
*/ | |
constructor(address _token) | |
public | |
{ | |
token = IERC20(_token); | |
} | |
/** | |
* Accessor | |
*/ | |
function viewAccount(address _user) | |
external view returns (IexecODBLibCore.Account memory account) | |
{ | |
return m_accounts[_user]; | |
} | |
/** | |
* Wallet methods: public | |
*/ | |
function deposit(uint256 _amount) | |
external returns (bool) | |
{ | |
require(token.transferFrom(msg.sender, address(this), _amount)); | |
m_accounts[msg.sender].stake = m_accounts[msg.sender].stake.add(_amount); | |
emit Deposit(msg.sender, _amount); | |
return true; | |
} | |
function depositFor(uint256 _amount, address _target) | |
public returns (bool) | |
{ | |
require(_target != address(0)); | |
require(token.transferFrom(msg.sender, address(this), _amount)); | |
m_accounts[_target].stake = m_accounts[_target].stake.add(_amount); | |
emit DepositFor(msg.sender, _amount, _target); | |
return true; | |
} | |
function depositForArray(uint256[] calldata _amounts, address[] calldata _targets) | |
external returns (bool) | |
{ | |
require(_amounts.length == _targets.length); | |
for (uint i = 0; i < _amounts.length; ++i) | |
{ | |
depositFor(_amounts[i], _targets[i]); | |
} | |
return true; | |
} | |
function withdraw(uint256 _amount) | |
external returns (bool) | |
{ | |
m_accounts[msg.sender].stake = m_accounts[msg.sender].stake.sub(_amount); | |
require(token.transfer(msg.sender, _amount)); | |
emit Withdraw(msg.sender, _amount); | |
return true; | |
} | |
/** | |
* Wallet methods: Internal | |
*/ | |
function reward(address _user, uint256 _amount, bytes32 _reference) internal /* returns (bool) */ | |
{ | |
m_accounts[_user].stake = m_accounts[_user].stake.add(_amount); | |
emit Reward(_user, _amount, _reference); | |
/* return true; */ | |
} | |
function seize(address _user, uint256 _amount, bytes32 _reference) internal /* returns (bool) */ | |
{ | |
m_accounts[_user].locked = m_accounts[_user].locked.sub(_amount); | |
emit Seize(_user, _amount, _reference); | |
/* return true; */ | |
} | |
function lock(address _user, uint256 _amount) internal /* returns (bool) */ | |
{ | |
m_accounts[_user].stake = m_accounts[_user].stake.sub(_amount); | |
m_accounts[_user].locked = m_accounts[_user].locked.add(_amount); | |
emit Lock(_user, _amount); | |
/* return true; */ | |
} | |
function unlock(address _user, uint256 _amount) internal /* returns (bool) */ | |
{ | |
m_accounts[_user].locked = m_accounts[_user].locked.sub(_amount); | |
m_accounts[_user].stake = m_accounts[_user].stake.add(_amount); | |
emit Unlock(_user, _amount); | |
/* return true; */ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
/** | |
* @title EIP1154 interface | |
* @dev see https://eips.ethereum.org/EIPS/eip-1154 | |
*/ | |
interface IOracleConsumer | |
{ | |
function receiveResult(bytes32, bytes calldata) | |
external; | |
} | |
interface IOracle | |
{ | |
function resultFor(bytes32) | |
external view returns (bytes memory); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
contract IERC1271 | |
{ | |
// bytes4(keccak256("isValidSignature(bytes,bytes)") | |
bytes4 constant internal MAGICVALUE = 0x20c13b0b; | |
/** | |
* @dev Should return whether the signature provided is valid for the provided data | |
* @param _data Arbitrary length data signed on the behalf of address(this) | |
* @param _signature Signature byte array associated with _data | |
* | |
* MUST return the bytes4 magic value 0x20c13b0b when function passes. | |
* MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for solc > 0.5) | |
* MUST allow external calls | |
*/ | |
// function isValidSignature( | |
// bytes memory _data, | |
// bytes memory _signature) | |
// public | |
// view | |
// returns (bytes4 magicValue); | |
// Newer version ? From 0x V2 | |
function isValidSignature( | |
bytes32 _data, | |
bytes memory _signature | |
) | |
public | |
view | |
returns (bool isValid); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
/** | |
* @title ERC20 interface | |
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md | |
*/ | |
interface IERC20 | |
{ | |
function totalSupply() | |
external view returns (uint256); | |
function balanceOf(address who) | |
external view returns (uint256); | |
function allowance(address owner, address spender) | |
external view returns (uint256); | |
function transfer(address to, uint256 value) | |
external returns (bool); | |
function approve(address spender, uint256 value) | |
external returns (bool); | |
function transferFrom(address from, address to, uint256 value) | |
external returns (bool); | |
event Transfer( | |
address indexed from, | |
address indexed to, | |
uint256 value | |
); | |
event Approval( | |
address indexed owner, | |
address indexed spender, | |
uint256 value | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
contract IERC734 | |
{ | |
// 1: MANAGEMENT keys, which can manage the identity | |
uint256 public constant MANAGEMENT_KEY = 1; | |
// 2: ACTION keys, which perform actions in this identities name (signing, logins, transactions, etc.) | |
uint256 public constant ACTION_KEY = 2; | |
// 3: CLAIM signer keys, used to sign claims on other identities which need to be revokable. | |
uint256 public constant CLAIM_SIGNER_KEY = 3; | |
// 4: ENCRYPTION keys, used to encrypt data e.g. hold in claims. | |
uint256 public constant ENCRYPTION_KEY = 4; | |
// KeyType | |
uint256 public constant ECDSA_TYPE = 1; | |
// https://medium.com/@alexberegszaszi/lets-bring-the-70s-to-ethereum-48daa16a4b51 | |
uint256 public constant RSA_TYPE = 2; | |
// Events | |
event KeyAdded (bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType); | |
event KeyRemoved (bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType); | |
event ExecutionRequested(uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data); | |
event Executed (uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data); | |
event ExecutionFailed (uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data); | |
event Approved (uint256 indexed executionId, bool approved); | |
// Functions | |
function getKey (bytes32 _key ) external view returns (uint256[] memory purposes, uint256 keyType, bytes32 key); | |
function keyHasPurpose (bytes32 _key, uint256 purpose ) external view returns (bool exists); | |
function getKeysByPurpose(uint256 _purpose ) external view returns (bytes32[] memory keys); | |
function addKey (bytes32 _key, uint256 _purpose, uint256 _keyType ) external returns (bool success); | |
function removeKey (bytes32 _key, uint256 _purpose ) external returns (bool success); | |
function execute (address _to, uint256 _value, bytes calldata _data) external returns (uint256 executionId); | |
function approve (uint256 _id, bool _approve ) external returns (bool success); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./SafeMath.sol"; | |
import "./IexecODBLibCore.sol"; | |
import "./IexecODBLibOrders.sol"; | |
import "./App.sol"; | |
import "./Dataset.sol"; | |
import "./Workerpool.sol"; | |
import "./Escrow.sol"; | |
import "./Relay.sol"; | |
import "./SignatureVerifier.sol"; | |
import "./IexecHubAccessor.sol"; | |
/** | |
* /!\ TEMPORARY LEGACY /!\ | |
*/ | |
import "./IexecClerkABILegacy.sol"; | |
contract IexecClerk is Escrow, Relay, IexecHubAccessor, SignatureVerifier, IexecClerkABILegacy | |
{ | |
using SafeMath for uint256; | |
using IexecODBLibOrders for bytes32; | |
using IexecODBLibOrders for IexecODBLibOrders.EIP712Domain; | |
using IexecODBLibOrders for IexecODBLibOrders.AppOrder; | |
using IexecODBLibOrders for IexecODBLibOrders.DatasetOrder; | |
using IexecODBLibOrders for IexecODBLibOrders.WorkerpoolOrder; | |
using IexecODBLibOrders for IexecODBLibOrders.RequestOrder; | |
/*************************************************************************** | |
* Constants * | |
***************************************************************************/ | |
uint256 public constant WORKERPOOL_STAKE_RATIO = 30; | |
uint256 public constant KITTY_RATIO = 10; | |
uint256 public constant KITTY_MIN = 1000000000; // TODO: 1RLC ? | |
// For authorizations | |
uint256 public constant GROUPMEMBER_PURPOSE = 4; | |
/*************************************************************************** | |
* EIP712 signature * | |
***************************************************************************/ | |
bytes32 public /* immutable */ EIP712DOMAIN_SEPARATOR; | |
/*************************************************************************** | |
* Clerk data * | |
***************************************************************************/ | |
mapping(bytes32 => bytes32[] ) m_requestdeals; | |
mapping(bytes32 => IexecODBLibCore.Deal) m_deals; | |
mapping(bytes32 => uint256 ) m_consumed; | |
mapping(bytes32 => bool ) m_presigned; | |
/*************************************************************************** | |
* Events * | |
***************************************************************************/ | |
event OrdersMatched (bytes32 dealid, bytes32 appHash, bytes32 datasetHash, bytes32 workerpoolHash, bytes32 requestHash, uint256 volume); | |
event ClosedAppOrder (bytes32 appHash); | |
event ClosedDatasetOrder (bytes32 datasetHash); | |
event ClosedWorkerpoolOrder(bytes32 workerpoolHash); | |
event ClosedRequestOrder (bytes32 requestHash); | |
event SchedulerNotice (address indexed workerpool, bytes32 dealid); | |
/*************************************************************************** | |
* Constructor * | |
***************************************************************************/ | |
constructor( | |
address _token, | |
address _iexechub, | |
uint256 _chainid) | |
public | |
Escrow(_token) | |
IexecHubAccessor(_iexechub) | |
{ | |
EIP712DOMAIN_SEPARATOR = IexecODBLibOrders.EIP712Domain({ | |
name: "iExecODB" | |
, version: "3.0-alpha" | |
, chainId: _chainid | |
, verifyingContract: address(this) | |
}).hash(); | |
} | |
/*************************************************************************** | |
* Accessor * | |
***************************************************************************/ | |
function viewRequestDeals(bytes32 _id) | |
external view returns (bytes32[] memory requestdeals) | |
{ | |
return m_requestdeals[_id]; | |
} | |
function viewDeal(bytes32 _id) | |
external view returns (IexecODBLibCore.Deal memory deal) | |
{ | |
return m_deals[_id]; | |
} | |
function viewConsumed(bytes32 _id) | |
external view returns (uint256 consumed) | |
{ | |
return m_consumed[_id]; | |
} | |
function viewPresigned(bytes32 _id) | |
external view returns (bool presigned) | |
{ | |
return m_presigned[_id]; | |
} | |
/*************************************************************************** | |
* pre-signing tools * | |
***************************************************************************/ | |
// should be external | |
function signAppOrder(IexecODBLibOrders.AppOrder memory _apporder) | |
public returns (bool) | |
{ | |
require(msg.sender == App(_apporder.app).owner()); | |
m_presigned[_apporder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR)] = true; | |
return true; | |
} | |
// should be external | |
function signDatasetOrder(IexecODBLibOrders.DatasetOrder memory _datasetorder) | |
public returns (bool) | |
{ | |
require(msg.sender == Dataset(_datasetorder.dataset).owner()); | |
m_presigned[_datasetorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR)] = true; | |
return true; | |
} | |
// should be external | |
function signWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder memory _workerpoolorder) | |
public returns (bool) | |
{ | |
require(msg.sender == Workerpool(_workerpoolorder.workerpool).owner()); | |
m_presigned[_workerpoolorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR)] = true; | |
return true; | |
} | |
// should be external | |
function signRequestOrder(IexecODBLibOrders.RequestOrder memory _requestorder) | |
public returns (bool) | |
{ | |
require(msg.sender == _requestorder.requester); | |
m_presigned[_requestorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR)] = true; | |
return true; | |
} | |
/*************************************************************************** | |
* Clerk methods * | |
***************************************************************************/ | |
struct Identities | |
{ | |
bytes32 appHash; | |
address appOwner; | |
bytes32 datasetHash; | |
address datasetOwner; | |
bytes32 workerpoolHash; | |
address workerpoolOwner; | |
bytes32 requestHash; | |
bool hasDataset; | |
} | |
// should be external | |
function matchOrders( | |
IexecODBLibOrders.AppOrder memory _apporder, | |
IexecODBLibOrders.DatasetOrder memory _datasetorder, | |
IexecODBLibOrders.WorkerpoolOrder memory _workerpoolorder, | |
IexecODBLibOrders.RequestOrder memory _requestorder) | |
public returns (bytes32) | |
{ | |
/** | |
* Check orders compatibility | |
*/ | |
// computation environment & allowed enough funds | |
require(_requestorder.category == _workerpoolorder.category ); | |
require(_requestorder.trust <= _workerpoolorder.trust ); | |
require(_requestorder.appmaxprice >= _apporder.appprice ); | |
require(_requestorder.datasetmaxprice >= _datasetorder.datasetprice ); | |
require(_requestorder.workerpoolmaxprice >= _workerpoolorder.workerpoolprice); | |
require((_apporder.tag | _datasetorder.tag | _requestorder.tag) & ~_workerpoolorder.tag == 0x0); | |
// Check matching and restrictions | |
require(_requestorder.app == _apporder.app ); | |
require(_requestorder.dataset == _datasetorder.dataset); | |
require(_requestorder.workerpool == address(0) || checkIdentity(_requestorder.workerpool, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE)); // requestorder.workerpool is a restriction | |
require(_apporder.datasetrestrict == address(0) || checkIdentity(_apporder.datasetrestrict, _datasetorder.dataset, GROUPMEMBER_PURPOSE)); | |
require(_apporder.workerpoolrestrict == address(0) || checkIdentity(_apporder.workerpoolrestrict, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE)); | |
require(_apporder.requesterrestrict == address(0) || checkIdentity(_apporder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE)); | |
require(_datasetorder.apprestrict == address(0) || checkIdentity(_datasetorder.apprestrict, _apporder.app, GROUPMEMBER_PURPOSE)); | |
require(_datasetorder.workerpoolrestrict == address(0) || checkIdentity(_datasetorder.workerpoolrestrict, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE)); | |
require(_datasetorder.requesterrestrict == address(0) || checkIdentity(_datasetorder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE)); | |
require(_workerpoolorder.apprestrict == address(0) || checkIdentity(_workerpoolorder.apprestrict, _apporder.app, GROUPMEMBER_PURPOSE)); | |
require(_workerpoolorder.datasetrestrict == address(0) || checkIdentity(_workerpoolorder.datasetrestrict, _datasetorder.dataset, GROUPMEMBER_PURPOSE)); | |
require(_workerpoolorder.requesterrestrict == address(0) || checkIdentity(_workerpoolorder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE)); | |
require(iexechub.checkResources(_apporder.app, _datasetorder.dataset, _workerpoolorder.workerpool)); | |
/** | |
* Check orders authenticity | |
*/ | |
Identities memory ids; | |
ids.hasDataset = _datasetorder.dataset != address(0); | |
// app | |
ids.appHash = _apporder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
ids.appOwner = App(_apporder.app).owner(); | |
require(m_presigned[ids.appHash] || verifySignature(ids.appOwner, ids.appHash, _apporder.sign)); | |
// dataset | |
if (ids.hasDataset) // only check if dataset is enabled | |
{ | |
ids.datasetHash = _datasetorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
ids.datasetOwner = Dataset(_datasetorder.dataset).owner(); | |
require(m_presigned[ids.datasetHash] || verifySignature(ids.datasetOwner, ids.datasetHash, _datasetorder.sign)); | |
} | |
// workerpool | |
ids.workerpoolHash = _workerpoolorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
ids.workerpoolOwner = Workerpool(_workerpoolorder.workerpool).owner(); | |
require(m_presigned[ids.workerpoolHash] || verifySignature(ids.workerpoolOwner, ids.workerpoolHash, _workerpoolorder.sign)); | |
// request | |
ids.requestHash = _requestorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
require(m_presigned[ids.requestHash] || verifySignature(_requestorder.requester, ids.requestHash, _requestorder.sign)); | |
/** | |
* Check availability | |
*/ | |
uint256 volume; | |
volume = _apporder.volume.sub (m_consumed[ids.appHash ]); | |
volume = ids.hasDataset ? volume.min(_datasetorder.volume.sub (m_consumed[ids.datasetHash ])) : volume; | |
volume = volume.min(_workerpoolorder.volume.sub(m_consumed[ids.workerpoolHash])); | |
volume = volume.min(_requestorder.volume.sub (m_consumed[ids.requestHash ])); | |
require(volume > 0); | |
/** | |
* Record | |
*/ | |
bytes32 dealid = keccak256(abi.encodePacked( | |
ids.requestHash, // requestHash | |
m_consumed[ids.requestHash] // idx of first subtask | |
)); | |
IexecODBLibCore.Deal storage deal = m_deals[dealid]; | |
deal.app.pointer = _apporder.app; | |
deal.app.owner = ids.appOwner; | |
deal.app.price = _apporder.appprice; | |
deal.dataset.owner = ids.datasetOwner; | |
deal.dataset.pointer = _datasetorder.dataset; | |
deal.dataset.price = ids.hasDataset ? _datasetorder.datasetprice : 0; | |
deal.workerpool.pointer = _workerpoolorder.workerpool; | |
deal.workerpool.owner = ids.workerpoolOwner; | |
deal.workerpool.price = _workerpoolorder.workerpoolprice; | |
deal.trust = _requestorder.trust.max(1); | |
deal.category = _requestorder.category; | |
deal.tag = _apporder.tag | _datasetorder.tag | _requestorder.tag; | |
deal.requester = _requestorder.requester; | |
deal.beneficiary = _requestorder.beneficiary; | |
deal.callback = _requestorder.callback; | |
deal.params = _requestorder.params; | |
deal.startTime = now; | |
deal.botFirst = m_consumed[ids.requestHash]; | |
deal.botSize = volume; | |
deal.workerStake = _workerpoolorder.workerpoolprice.percentage(Workerpool(_workerpoolorder.workerpool).m_workerStakeRatioPolicy()); | |
deal.schedulerRewardRatio = Workerpool(_workerpoolorder.workerpool).m_schedulerRewardRatioPolicy(); | |
m_requestdeals[ids.requestHash].push(dealid); | |
/** | |
* Update consumed | |
*/ | |
m_consumed[ids.appHash ] = m_consumed[ids.appHash ].add( volume ); | |
m_consumed[ids.datasetHash ] = m_consumed[ids.datasetHash ].add(ids.hasDataset ? volume : 0); | |
m_consumed[ids.workerpoolHash] = m_consumed[ids.workerpoolHash].add( volume ); | |
m_consumed[ids.requestHash ] = m_consumed[ids.requestHash ].add( volume ); | |
/** | |
* Lock | |
*/ | |
lock( | |
deal.requester, | |
deal.app.price | |
.add(deal.dataset.price) | |
.add(deal.workerpool.price) | |
.mul(volume) | |
); | |
lock( | |
deal.workerpool.owner, | |
deal.workerpool.price | |
.percentage(WORKERPOOL_STAKE_RATIO) // ORDER IS IMPORTANT HERE! | |
.mul(volume) // ORDER IS IMPORTANT HERE! | |
); | |
/** | |
* Advertize deal | |
*/ | |
emit SchedulerNotice(deal.workerpool.pointer, dealid); | |
/** | |
* Advertize consumption | |
*/ | |
emit OrdersMatched( | |
dealid, | |
ids.appHash, | |
ids.datasetHash, | |
ids.workerpoolHash, | |
ids.requestHash, | |
volume | |
); | |
return dealid; | |
} | |
// should be external | |
function cancelAppOrder(IexecODBLibOrders.AppOrder memory _apporder) | |
public returns (bool) | |
{ | |
bytes32 dapporderHash = _apporder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
require(msg.sender == App(_apporder.app).owner()); | |
m_consumed[dapporderHash] = _apporder.volume; | |
emit ClosedAppOrder(dapporderHash); | |
return true; | |
} | |
// should be external | |
function cancelDatasetOrder(IexecODBLibOrders.DatasetOrder memory _datasetorder) | |
public returns (bool) | |
{ | |
bytes32 dataorderHash = _datasetorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
require(msg.sender == Dataset(_datasetorder.dataset).owner()); | |
m_consumed[dataorderHash] = _datasetorder.volume; | |
emit ClosedDatasetOrder(dataorderHash); | |
return true; | |
} | |
// should be external | |
function cancelWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder memory _workerpoolorder) | |
public returns (bool) | |
{ | |
bytes32 poolorderHash = _workerpoolorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
require(msg.sender == Workerpool(_workerpoolorder.workerpool).owner()); | |
m_consumed[poolorderHash] = _workerpoolorder.volume; | |
emit ClosedWorkerpoolOrder(poolorderHash); | |
return true; | |
} | |
// should be external | |
function cancelRequestOrder(IexecODBLibOrders.RequestOrder memory _requestorder) | |
public returns (bool) | |
{ | |
bytes32 requestorderHash = _requestorder.hash().toEthTypedStructHash(EIP712DOMAIN_SEPARATOR); | |
require(msg.sender == _requestorder.requester); | |
m_consumed[requestorderHash] = _requestorder.volume; | |
emit ClosedRequestOrder(requestorderHash); | |
return true; | |
} | |
/*************************************************************************** | |
* Escrow overhead for contribution * | |
***************************************************************************/ | |
function lockContribution(bytes32 _dealid, address _worker) | |
external onlyIexecHub | |
{ | |
lock(_worker, m_deals[_dealid].workerStake); | |
} | |
function unlockContribution(bytes32 _dealid, address _worker) | |
external onlyIexecHub | |
{ | |
unlock(_worker, m_deals[_dealid].workerStake); | |
} | |
function unlockAndRewardForContribution(bytes32 _dealid, address _worker, uint256 _amount, bytes32 _taskid) | |
external onlyIexecHub | |
{ | |
unlock(_worker, m_deals[_dealid].workerStake); | |
reward(_worker, _amount, _taskid); | |
} | |
function seizeContribution(bytes32 _dealid, address _worker, bytes32 _taskid) | |
external onlyIexecHub | |
{ | |
seize(_worker, m_deals[_dealid].workerStake, _taskid); | |
} | |
function rewardForScheduling(bytes32 _dealid, uint256 _amount, bytes32 _taskid) | |
external onlyIexecHub | |
{ | |
reward(m_deals[_dealid].workerpool.owner, _amount, _taskid); | |
} | |
function successWork(bytes32 _dealid, bytes32 _taskid) | |
external onlyIexecHub | |
{ | |
IexecODBLibCore.Deal storage deal = m_deals[_dealid]; | |
uint256 requesterstake = deal.app.price | |
.add(deal.dataset.price) | |
.add(deal.workerpool.price); | |
uint256 poolstake = deal.workerpool.price | |
.percentage(WORKERPOOL_STAKE_RATIO); | |
// seize requester funds | |
seize(deal.requester, requesterstake, _taskid); | |
// dapp reward | |
if (deal.app.price > 0) | |
{ | |
reward(deal.app.owner, deal.app.price, _taskid); | |
} | |
// data reward | |
if (deal.dataset.price > 0 && deal.dataset.pointer != address(0)) | |
{ | |
reward(deal.dataset.owner, deal.dataset.price, _taskid); | |
} | |
// unlock pool stake | |
unlock(deal.workerpool.owner, poolstake); | |
// pool reward performed by consensus manager | |
/** | |
* Retrieve part of the kitty | |
* TODO: remove / keep ? | |
*/ | |
uint256 kitty = m_accounts[address(0)].locked; | |
if (kitty > 0) | |
{ | |
kitty = kitty | |
.percentage(KITTY_RATIO) // fraction | |
.max(KITTY_MIN) // at least this | |
.min(kitty); // but not more than available | |
seize (address(0), kitty, _taskid); | |
reward(deal.workerpool.owner, kitty, _taskid); | |
} | |
} | |
function failedWork(bytes32 _dealid, bytes32 _taskid) | |
external onlyIexecHub | |
{ | |
IexecODBLibCore.Deal storage deal = m_deals[_dealid]; | |
uint256 requesterstake = deal.app.price | |
.add(deal.dataset.price) | |
.add(deal.workerpool.price); | |
uint256 poolstake = deal.workerpool.price | |
.percentage(WORKERPOOL_STAKE_RATIO); | |
unlock(deal.requester, requesterstake ); | |
seize (deal.workerpool.owner, poolstake, _taskid); | |
reward(address(0), poolstake, _taskid); // → Kitty / Burn | |
lock (address(0), poolstake ); // → Kitty / Burn | |
} | |
/** | |
* /!\ TEMPORARY LEGACY /!\ | |
*/ | |
function viewDealABILegacy_pt1(bytes32 _id) | |
external view returns | |
( address | |
, address | |
, uint256 | |
, address | |
, address | |
, uint256 | |
, address | |
, address | |
, uint256 | |
) | |
{ | |
IexecODBLibCore.Deal memory deal = m_deals[_id]; | |
return ( | |
deal.app.pointer, | |
deal.app.owner, | |
deal.app.price, | |
deal.dataset.pointer, | |
deal.dataset.owner, | |
deal.dataset.price, | |
deal.workerpool.pointer, | |
deal.workerpool.owner, | |
deal.workerpool.price | |
); | |
} | |
function viewDealABILegacy_pt2(bytes32 _id) | |
external view returns | |
( uint256 | |
, bytes32 | |
, address | |
, address | |
, address | |
, string memory | |
) | |
{ | |
IexecODBLibCore.Deal memory deal = m_deals[_id]; | |
return ( | |
deal.trust, | |
deal.tag, | |
deal.requester, | |
deal.beneficiary, | |
deal.callback, | |
deal.params | |
); | |
} | |
function viewConfigABILegacy(bytes32 _id) | |
external view returns | |
( uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
) | |
{ | |
IexecODBLibCore.Deal memory deal = m_deals[_id]; | |
return ( | |
deal.category, | |
deal.startTime, | |
deal.botFirst, | |
deal.botSize, | |
deal.workerStake, | |
deal.schedulerRewardRatio | |
); | |
} | |
function viewAccountABILegacy(address _user) | |
external view returns (uint256, uint256) | |
{ | |
IexecODBLibCore.Account memory account = m_accounts[_user]; | |
return ( account.stake, account.locked ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
contract IexecClerkABILegacy | |
{ | |
uint256 public constant POOL_STAKE_RATIO = 30; | |
uint256 public constant KITTY_RATIO = 10; | |
uint256 public constant KITTY_MIN = 1000000000; // TODO: 1RLC ? | |
bytes32 public /* immutable */ EIP712DOMAIN_SEPARATOR; | |
mapping(bytes32 => bytes32[]) public m_requestdeals; | |
mapping(bytes32 => uint256 ) public m_consumed; | |
mapping(bytes32 => bool ) public m_presigned; | |
event OrdersMatched (bytes32 dealid, bytes32 appHash, bytes32 datasetHash, bytes32 workerpoolHash, bytes32 requestHash, uint256 volume); | |
event ClosedAppOrder (bytes32 appHash); | |
event ClosedDatasetOrder (bytes32 datasetHash); | |
event ClosedWorkerpoolOrder(bytes32 workerpoolHash); | |
event ClosedRequestOrder (bytes32 requestHash); | |
event SchedulerNotice (address indexed workerpool, bytes32 dealid); | |
function viewRequestDeals(bytes32 _id) | |
external view returns (bytes32[] memory); | |
function viewConsumed(bytes32 _id) | |
external view returns (uint256); | |
function lockContribution(bytes32 _dealid, address _worker) | |
external; | |
function unlockContribution(bytes32 _dealid, address _worker) | |
external; | |
function unlockAndRewardForContribution(bytes32 _dealid, address _worker, uint256 _amount, bytes32 _taskid) | |
external; | |
function seizeContribution(bytes32 _dealid, address _worker, bytes32 _taskid) | |
external; | |
function rewardForScheduling(bytes32 _dealid, uint256 _amount, bytes32 _taskid) | |
external; | |
function successWork(bytes32 _dealid, bytes32 _taskid) | |
external; | |
function failedWork(bytes32 _dealid, bytes32 _taskid) | |
external; | |
function viewDealABILegacy_pt1(bytes32 _id) | |
external view returns | |
( address | |
, address | |
, uint256 | |
, address | |
, address | |
, uint256 | |
, address | |
, address | |
, uint256 | |
); | |
function viewDealABILegacy_pt2(bytes32 _id) | |
external view returns | |
( uint256 | |
, bytes32 | |
, address | |
, address | |
, address | |
, string memory | |
); | |
function viewConfigABILegacy(bytes32 _id) | |
external view returns | |
( uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
); | |
function viewAccountABILegacy(address _user) | |
external view returns (uint256, uint256); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IERC1154.sol"; | |
import "./SafeMath.sol"; | |
import "./IexecODBLibCore.sol"; | |
import "./RegistryBase.sol"; | |
import "./CategoryManager.sol"; | |
import "./SignatureVerifier.sol"; | |
import "./IexecClerk.sol"; | |
/** | |
* /!\ TEMPORARY LEGACY /!\ | |
*/ | |
import "./IexecHubABILegacy.sol"; | |
contract IexecHub is CategoryManager, IOracle, SignatureVerifier, IexecHubABILegacy | |
{ | |
using SafeMath for uint256; | |
/*************************************************************************** | |
* Constants * | |
***************************************************************************/ | |
uint256 public constant CONTRIBUTION_DEADLINE_RATIO = 7; | |
uint256 public constant REVEAL_DEADLINE_RATIO = 2; | |
uint256 public constant FINAL_DEADLINE_RATIO = 10; | |
/*************************************************************************** | |
* Other contracts * | |
***************************************************************************/ | |
IexecClerk public iexecclerk; | |
RegistryBase public appregistry; | |
RegistryBase public datasetregistry; | |
RegistryBase public workerpoolregistry; | |
/*************************************************************************** | |
* Consensuses & Workers * | |
***************************************************************************/ | |
mapping(bytes32 => IexecODBLibCore.Task ) m_tasks; | |
mapping(bytes32 => mapping(address => IexecODBLibCore.Contribution)) m_contributions; | |
mapping(address => uint256 ) m_workerScores; | |
mapping(bytes32 => mapping(address => uint256 )) m_logweight; | |
mapping(bytes32 => mapping(bytes32 => uint256 )) m_groupweight; | |
mapping(bytes32 => uint256 ) m_totalweight; | |
/*************************************************************************** | |
* Events * | |
***************************************************************************/ | |
event TaskInitialize(bytes32 indexed taskid, address indexed workerpool ); | |
event TaskContribute(bytes32 indexed taskid, address indexed worker, bytes32 hash ); | |
event TaskConsensus (bytes32 indexed taskid, bytes32 consensus); | |
event TaskReveal (bytes32 indexed taskid, address indexed worker, bytes32 digest ); | |
event TaskReopen (bytes32 indexed taskid ); | |
event TaskFinalize (bytes32 indexed taskid, bytes results ); | |
event TaskClaimed (bytes32 indexed taskid ); | |
event AccurateContribution(address indexed worker, bytes32 indexed taskid); | |
event FaultyContribution (address indexed worker, bytes32 indexed taskid); | |
/*************************************************************************** | |
* Modifiers * | |
***************************************************************************/ | |
modifier onlyScheduler(bytes32 _taskid) | |
{ | |
require(msg.sender == iexecclerk.viewDeal(m_tasks[_taskid].dealid).workerpool.owner); | |
_; | |
} | |
/*************************************************************************** | |
* Constructor * | |
***************************************************************************/ | |
constructor() | |
public | |
{ | |
} | |
function attachContracts( | |
address _iexecclerkAddress, | |
address _appregistryAddress, | |
address _datasetregistryAddress, | |
address _workerpoolregistryAddress) | |
external onlyOwner | |
{ | |
require(address(iexecclerk) == address(0)); | |
iexecclerk = IexecClerk (_iexecclerkAddress ); | |
appregistry = RegistryBase(_appregistryAddress); | |
datasetregistry = RegistryBase(_datasetregistryAddress); | |
workerpoolregistry = RegistryBase(_workerpoolregistryAddress); | |
} | |
/*************************************************************************** | |
* Accessors * | |
***************************************************************************/ | |
function viewTask(bytes32 _taskid) | |
external view returns (IexecODBLibCore.Task memory) | |
{ | |
return m_tasks[_taskid]; | |
} | |
function viewContribution(bytes32 _taskid, address _worker) | |
external view returns (IexecODBLibCore.Contribution memory) | |
{ | |
return m_contributions[_taskid][_worker]; | |
} | |
function viewScore(address _worker) | |
external view returns (uint256) | |
{ | |
return m_workerScores[_worker]; | |
} | |
function checkResources(address app, address dataset, address workerpool) | |
external view returns (bool) | |
{ | |
require( appregistry.isRegistered(app)); | |
require(dataset == address(0) || datasetregistry.isRegistered(dataset)); | |
require( workerpoolregistry.isRegistered(workerpool)); | |
return true; | |
} | |
/*************************************************************************** | |
* EIP 1154 PULL INTERFACE * | |
***************************************************************************/ | |
function resultFor(bytes32 id) | |
external view returns (bytes memory) | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[id]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.COMPLETED); | |
return task.results; | |
} | |
/*************************************************************************** | |
* Consensus methods * | |
***************************************************************************/ | |
function initialize(bytes32 _dealid, uint256 idx) | |
public returns (bytes32) | |
{ | |
IexecODBLibCore.Deal memory deal = iexecclerk.viewDeal(_dealid); | |
require(idx >= deal.botFirst ); | |
require(idx < deal.botFirst.add(deal.botSize)); | |
bytes32 taskid = keccak256(abi.encodePacked(_dealid, idx)); | |
IexecODBLibCore.Task storage task = m_tasks[taskid]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.UNSET); | |
task.status = IexecODBLibCore.TaskStatusEnum.ACTIVE; | |
task.dealid = _dealid; | |
task.idx = idx; | |
task.timeref = m_categories[deal.category].workClockTimeRef; | |
task.contributionDeadline = task.timeref.mul(CONTRIBUTION_DEADLINE_RATIO).add(deal.startTime); | |
task.finalDeadline = task.timeref.mul( FINAL_DEADLINE_RATIO).add(deal.startTime); | |
// setup denominator | |
m_totalweight[taskid] = 1; | |
emit TaskInitialize(taskid, iexecclerk.viewDeal(_dealid).workerpool.pointer); | |
return taskid; | |
} | |
// TODO: make external w/ calldata | |
function contribute( | |
bytes32 _taskid, | |
bytes32 _resultHash, | |
bytes32 _resultSeal, | |
address _enclaveChallenge, | |
bytes memory _enclaveSign, | |
bytes memory _workerpoolSign) | |
public | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
IexecODBLibCore.Contribution storage contribution = m_contributions[_taskid][msg.sender]; | |
IexecODBLibCore.Deal memory deal = iexecclerk.viewDeal(task.dealid); | |
require(task.status == IexecODBLibCore.TaskStatusEnum.ACTIVE ); | |
require(task.contributionDeadline > now ); | |
require(contribution.status == IexecODBLibCore.ContributionStatusEnum.UNSET); | |
// Check that the worker + taskid + enclave combo is authorized to contribute (scheduler signature) | |
require(verifySignature( | |
deal.workerpool.owner, | |
toEthSignedMessageHash( | |
keccak256(abi.encodePacked( | |
msg.sender, | |
_taskid, | |
_enclaveChallenge | |
)) | |
), | |
_workerpoolSign | |
)); | |
// need enclave challenge if tag is set | |
require(_enclaveChallenge != address(0) || (deal.tag[31] & 0x01 == 0)); | |
// Check enclave signature | |
require(_enclaveChallenge == address(0) || verifySignature( | |
_enclaveChallenge, | |
toEthSignedMessageHash( | |
keccak256(abi.encodePacked( | |
_resultHash, | |
_resultSeal | |
)) | |
), | |
_enclaveSign | |
)); | |
// Update contribution entry | |
contribution.status = IexecODBLibCore.ContributionStatusEnum.CONTRIBUTED; | |
contribution.resultHash = _resultHash; | |
contribution.resultSeal = _resultSeal; | |
contribution.enclaveChallenge = _enclaveChallenge; | |
task.contributors.push(msg.sender); | |
iexecclerk.lockContribution(task.dealid, msg.sender); | |
emit TaskContribute(_taskid, msg.sender, _resultHash); | |
// Contribution done → updating and checking concensus | |
/************************************************************************* | |
* SCORE POLICY 1/3 * | |
* * | |
* see documentation! * | |
*************************************************************************/ | |
// k = 3 | |
uint256 weight = m_workerScores[msg.sender].div(3).max(3).sub(1); | |
uint256 group = m_groupweight[_taskid][_resultHash]; | |
uint256 delta = group.max(1).mul(weight).sub(group); | |
m_logweight [_taskid][msg.sender ] = weight.log(); | |
m_groupweight[_taskid][_resultHash] = m_groupweight[_taskid][_resultHash].add(delta); | |
m_totalweight[_taskid] = m_totalweight[_taskid].add(delta); | |
// Check consensus | |
checkConsensus(_taskid, _resultHash); | |
} | |
function checkConsensus( | |
bytes32 _taskid, | |
bytes32 _consensus) | |
private | |
{ | |
uint256 trust = iexecclerk.viewDeal(m_tasks[_taskid].dealid).trust; | |
if (m_groupweight[_taskid][_consensus].mul(trust) > m_totalweight[_taskid].mul(trust.sub(1))) | |
{ | |
// Preliminary checks done in "contribute()" | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
uint256 winnerCounter = 0; | |
for (uint256 i = 0; i < task.contributors.length; ++i) | |
{ | |
address w = task.contributors[i]; | |
if | |
( | |
m_contributions[_taskid][w].resultHash == _consensus | |
&& | |
m_contributions[_taskid][w].status == IexecODBLibCore.ContributionStatusEnum.CONTRIBUTED // REJECTED contribution must not be count | |
) | |
{ | |
winnerCounter = winnerCounter.add(1); | |
} | |
} | |
// msg.sender is a contributor: no need to check | |
// require(winnerCounter > 0); | |
task.status = IexecODBLibCore.TaskStatusEnum.REVEALING; | |
task.consensusValue = _consensus; | |
task.revealDeadline = task.timeref.mul(REVEAL_DEADLINE_RATIO).add(now); | |
task.revealCounter = 0; | |
task.winnerCounter = winnerCounter; | |
emit TaskConsensus(_taskid, _consensus); | |
} | |
} | |
function reveal( | |
bytes32 _taskid, | |
bytes32 _resultDigest) | |
external // worker | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
IexecODBLibCore.Contribution storage contribution = m_contributions[_taskid][msg.sender]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.REVEALING ); | |
require(task.revealDeadline > now ); | |
require(contribution.status == IexecODBLibCore.ContributionStatusEnum.CONTRIBUTED ); | |
require(contribution.resultHash == task.consensusValue ); | |
require(contribution.resultHash == keccak256(abi.encodePacked( _taskid, _resultDigest))); | |
require(contribution.resultSeal == keccak256(abi.encodePacked(msg.sender, _taskid, _resultDigest))); | |
contribution.status = IexecODBLibCore.ContributionStatusEnum.PROVED; | |
task.revealCounter = task.revealCounter.add(1); | |
task.resultDigest = _resultDigest; | |
emit TaskReveal(_taskid, msg.sender, _resultDigest); | |
} | |
function reopen( | |
bytes32 _taskid) | |
external onlyScheduler(_taskid) | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.REVEALING); | |
require(task.finalDeadline > now ); | |
require(task.revealDeadline <= now | |
&& task.revealCounter == 0 ); | |
for (uint256 i = 0; i < task.contributors.length; ++i) | |
{ | |
address worker = task.contributors[i]; | |
if (m_contributions[_taskid][worker].resultHash == task.consensusValue) | |
{ | |
m_contributions[_taskid][worker].status = IexecODBLibCore.ContributionStatusEnum.REJECTED; | |
} | |
} | |
m_totalweight[_taskid] = m_totalweight[_taskid].sub(m_groupweight[_taskid][task.consensusValue]); | |
m_groupweight[_taskid][task.consensusValue] = 0; | |
task.status = IexecODBLibCore.TaskStatusEnum.ACTIVE; | |
task.consensusValue = 0x0; | |
task.revealDeadline = 0; | |
task.winnerCounter = 0; | |
emit TaskReopen(_taskid); | |
} | |
function finalize( | |
bytes32 _taskid, | |
bytes calldata _results) | |
external onlyScheduler(_taskid) | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.REVEALING); | |
require(task.finalDeadline > now ); | |
require(task.revealCounter == task.winnerCounter | |
|| (task.revealCounter > 0 && task.revealDeadline <= now) ); | |
task.status = IexecODBLibCore.TaskStatusEnum.COMPLETED; | |
task.results = _results; | |
/** | |
* Stake and reward management | |
*/ | |
iexecclerk.successWork(task.dealid, _taskid); | |
distributeRewards(_taskid); | |
/** | |
* Event | |
*/ | |
emit TaskFinalize(_taskid, _results); | |
/** | |
* Callback for smartcontracts using EIP1154 | |
*/ | |
address callbackTarget = iexecclerk.viewDeal(task.dealid).callback; | |
if (callbackTarget != address(0)) | |
{ | |
/** | |
* Call does not revert if the target smart contract is incompatible or reverts | |
* | |
* ATTENTION! | |
* This call is dangerous and target smart contract can charge the stack. | |
* Assume invalid state after the call. | |
* See: https://solidity.readthedocs.io/en/develop/types.html#members-of-addresses | |
* | |
* TODO: gas provided? | |
*/ | |
require(gasleft() > 100000); | |
bool success; | |
(success,) = callbackTarget.call.gas(100000)(abi.encodeWithSignature( | |
"receiveResult(bytes32,bytes)", | |
_taskid, | |
_results | |
)); | |
} | |
} | |
function distributeRewards(bytes32 _taskid) | |
private | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
IexecODBLibCore.Deal memory deal = iexecclerk.viewDeal(task.dealid); | |
uint256 i; | |
address worker; | |
uint256 totalLogWeight = 0; | |
uint256 totalReward = iexecclerk.viewDeal(task.dealid).workerpool.price; | |
for (i = 0; i < task.contributors.length; ++i) | |
{ | |
worker = task.contributors[i]; | |
if (m_contributions[_taskid][worker].status == IexecODBLibCore.ContributionStatusEnum.PROVED) | |
{ | |
totalLogWeight = totalLogWeight.add(m_logweight[_taskid][worker]); | |
} | |
else // ContributionStatusEnum.REJECT or ContributionStatusEnum.CONTRIBUTED (not revealed) | |
{ | |
totalReward = totalReward.add(deal.workerStake); | |
} | |
} | |
require(totalLogWeight > 0); | |
// compute how much is going to the workers | |
uint256 workersReward = totalReward.percentage(uint256(100).sub(deal.schedulerRewardRatio)); | |
for (i = 0; i < task.contributors.length; ++i) | |
{ | |
worker = task.contributors[i]; | |
if (m_contributions[_taskid][worker].status == IexecODBLibCore.ContributionStatusEnum.PROVED) | |
{ | |
uint256 workerReward = workersReward.mulByFraction(m_logweight[_taskid][worker], totalLogWeight); | |
totalReward = totalReward.sub(workerReward); | |
iexecclerk.unlockAndRewardForContribution(task.dealid, worker, workerReward, _taskid); | |
// Only reward if replication happened | |
if (task.contributors.length > 1) | |
{ | |
/******************************************************************* | |
* SCORE POLICY 2/3 * | |
* * | |
* see documentation! * | |
*******************************************************************/ | |
m_workerScores[worker] = m_workerScores[worker].add(1); | |
emit AccurateContribution(worker, _taskid); | |
} | |
} | |
else // WorkStatusEnum.POCO_REJECT or ContributionStatusEnum.CONTRIBUTED (not revealed) | |
{ | |
// No Reward | |
iexecclerk.seizeContribution(task.dealid, worker, _taskid); | |
// Always punish bad contributors | |
{ | |
/******************************************************************* | |
* SCORE POLICY 3/3 * | |
* * | |
* see documentation! * | |
*******************************************************************/ | |
// k = 3 | |
m_workerScores[worker] = m_workerScores[worker].mulByFraction(2,3); | |
emit FaultyContribution(worker, _taskid); | |
} | |
} | |
} | |
// totalReward now contains the scheduler share | |
iexecclerk.rewardForScheduling(task.dealid, totalReward, _taskid); | |
} | |
function claim( | |
bytes32 _taskid) | |
public | |
{ | |
IexecODBLibCore.Task storage task = m_tasks[_taskid]; | |
require(task.status == IexecODBLibCore.TaskStatusEnum.ACTIVE | |
|| task.status == IexecODBLibCore.TaskStatusEnum.REVEALING); | |
require(task.finalDeadline <= now); | |
task.status = IexecODBLibCore.TaskStatusEnum.FAILLED; | |
/** | |
* Stake management | |
*/ | |
iexecclerk.failedWork(task.dealid, _taskid); | |
for (uint256 i = 0; i < task.contributors.length; ++i) | |
{ | |
address worker = task.contributors[i]; | |
iexecclerk.unlockContribution(task.dealid, worker); | |
} | |
emit TaskClaimed(_taskid); | |
} | |
/*************************************************************************** | |
* Array operations * | |
***************************************************************************/ | |
function initializeArray( | |
bytes32[] calldata _dealid, | |
uint256[] calldata _idx) | |
external returns (bool) | |
{ | |
require(_dealid.length == _idx.length); | |
for (uint i = 0; i < _dealid.length; ++i) | |
{ | |
initialize(_dealid[i], _idx[i]); | |
} | |
return true; | |
} | |
function claimArray( | |
bytes32[] calldata _taskid) | |
external returns (bool) | |
{ | |
for (uint i = 0; i < _taskid.length; ++i) | |
{ | |
claim(_taskid[i]); | |
} | |
return true; | |
} | |
function initializeAndClaimArray( | |
bytes32[] calldata _dealid, | |
uint256[] calldata _idx) | |
external returns (bool) | |
{ | |
require(_dealid.length == _idx.length); | |
for (uint i = 0; i < _dealid.length; ++i) | |
{ | |
claim(initialize(_dealid[i], _idx[i])); | |
} | |
return true; | |
} | |
/** | |
* /!\ TEMPORARY LEGACY /!\ | |
*/ | |
function viewTaskABILegacy(bytes32 _taskid) | |
external view returns | |
( IexecODBLibCore.TaskStatusEnum | |
, bytes32 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, bytes32 | |
, uint256 | |
, uint256 | |
, address[] memory | |
, bytes memory | |
) | |
{ | |
IexecODBLibCore.Task memory task = m_tasks[_taskid]; | |
return ( | |
task.status, | |
task.dealid, | |
task.idx, | |
task.timeref, | |
task.contributionDeadline, | |
task.revealDeadline, | |
task.finalDeadline, | |
task.consensusValue, | |
task.revealCounter, | |
task.winnerCounter, | |
task.contributors, | |
task.results | |
); | |
} | |
function viewContributionABILegacy(bytes32 _taskid, address _worker) | |
external view returns | |
( IexecODBLibCore.ContributionStatusEnum | |
, bytes32 | |
, bytes32 | |
, address | |
) | |
{ | |
IexecODBLibCore.Contribution memory contribution = m_contributions[_taskid][_worker]; | |
return ( | |
contribution.status, | |
contribution.resultHash, | |
contribution.resultSeal, | |
contribution.enclaveChallenge | |
); | |
} | |
function viewCategoryABILegacy(uint256 _catid) | |
external view returns (string memory, string memory, uint256) | |
{ | |
IexecODBLibCore.Category memory category = m_categories[_catid]; | |
return ( category.name, category.description, category.workClockTimeRef ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IexecODBLibCore.sol"; | |
import "./RegistryBase.sol"; | |
import "./IexecClerk.sol"; | |
contract IexecHubABILegacy | |
{ | |
uint256 public constant CONSENSUS_DURATION_RATIO = 10; | |
uint256 public constant REVEAL_DURATION_RATIO = 2; | |
IexecClerk public iexecclerk; | |
RegistryBase public appregistry; | |
RegistryBase public datasetregistry; | |
RegistryBase public workerpoolregistry; | |
event TaskInitialize(bytes32 indexed taskid, address indexed workerpool ); | |
event TaskContribute(bytes32 indexed taskid, address indexed worker, bytes32 hash ); | |
event TaskConsensus (bytes32 indexed taskid, bytes32 consensus); | |
event TaskReveal (bytes32 indexed taskid, address indexed worker, bytes32 digest ); | |
event TaskReopen (bytes32 indexed taskid ); | |
event TaskFinalize (bytes32 indexed taskid, bytes results ); | |
event TaskClaimed (bytes32 indexed taskid ); | |
event AccurateContribution(address indexed worker, bytes32 indexed taskid); | |
event FaultyContribution (address indexed worker, bytes32 indexed taskid); | |
function attachContracts( | |
address _iexecclerkAddress, | |
address _appregistryAddress, | |
address _datasetregistryAddress, | |
address _workerpoolregistryAddress) | |
external; | |
function viewScore(address _worker) | |
external view returns (uint256); | |
function checkResources(address aap, address dataset, address workerpool) | |
external view returns (bool); | |
function resultFor(bytes32 id) | |
external view returns (bytes memory); | |
function initialize( | |
bytes32 _dealid, | |
uint256 idx) | |
public returns (bytes32); | |
function contribute( | |
bytes32 _taskid, | |
bytes32 _resultHash, | |
bytes32 _resultSeal, | |
address _enclaveChallenge, | |
bytes memory _enclaveSign, | |
bytes memory _workerpoolSign) | |
public; | |
function reveal( | |
bytes32 _taskid, | |
bytes32 _resultDigest) | |
external; | |
function reopen( | |
bytes32 _taskid) | |
external; | |
function finalize( | |
bytes32 _taskid, | |
bytes calldata _results) | |
external; | |
function claim( | |
bytes32 _taskid) | |
public; | |
function initializeArray( | |
bytes32[] calldata _dealid, | |
uint256[] calldata _idx) | |
external returns (bool); | |
function claimArray( | |
bytes32[] calldata _taskid) | |
external returns (bool); | |
function initializeAndClaimArray( | |
bytes32[] calldata _dealid, | |
uint256[] calldata _idx) | |
external returns (bool); | |
function viewTaskABILegacy(bytes32 _taskid) | |
external view returns | |
( IexecODBLibCore.TaskStatusEnum | |
, bytes32 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, uint256 | |
, bytes32 | |
, uint256 | |
, uint256 | |
, address[] memory | |
, bytes memory | |
); | |
function viewContributionABILegacy(bytes32 _taskid, address _worker) | |
external view returns | |
( IexecODBLibCore.ContributionStatusEnum | |
, bytes32 | |
, bytes32 | |
, address | |
); | |
function viewCategoryABILegacy(uint256 _catid) | |
external view returns (string memory, string memory, uint256); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import "./IexecHubInterface.sol"; | |
contract IexecHubAccessor | |
{ | |
IexecHubInterface public iexechub; | |
modifier onlyIexecHub() | |
{ | |
require(msg.sender == address(iexechub)); | |
_; | |
} | |
constructor(address _iexechub) | |
public | |
{ | |
require(_iexechub != address(0)); | |
iexechub = IexecHubInterface(_iexechub); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
interface IexecHubInterface | |
{ | |
function checkResources(address, address, address) | |
external view returns (bool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506040516104af3803806104af83398101604081905261002f916102d8565b6000610043826001600160e01b036102b816565b111561006957600080546001600160a01b0319166001600160a01b03831617905561020d565b6000610091731383c16c927c4a853684d1a9c676986f25e221116001600160e01b036102b816565b11156100c257600080546001600160a01b031916731383c16c927c4a853684d1a9c676986f25e2211117905561020d565b60006100ea73dbe30645ea7d216c31d09f8c5736fe74de774e636001600160e01b036102b816565b111561011b57600080546001600160a01b03191673dbe30645ea7d216c31d09f8c5736fe74de774e6317905561020d565b600061012f816001600160e01b036102b816565b111561014a57600080546001600160a01b031916905561020d565b600061017273b3901d04cf645747b99dbbe8f2ee9cb41a89cebf6001600160e01b036102b816565b11156101a357600080546001600160a01b03191673b3901d04cf645747b99dbbe8f2ee9cb41a89cebf17905561020d565b60006101b7816001600160e01b036102b816565b11156101d257600080546001600160a01b031916905561020d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020490610355565b60405180910390fd5b6000809054906101000a90046001600160a01b03166001600160a01b031663b01c68466040518163ffffffff1660e01b815260040160206040518083038186803b15801561025a57600080fd5b505afa15801561026e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061029291908101906102fe565b600180546001600160a01b0319166001600160a01b0392909216919091179055506103b0565b3b90565b80516102c781610390565b92915050565b80516102c7816103a7565b6000602082840312156102ea57600080fd5b60006102f684846102bc565b949350505050565b60006020828403121561031057600080fd5b60006102f684846102cd565b6000610329601383610365565b7f696e76616c69642d6875622d6164647265737300000000000000000000000000815260200192915050565b602080825281016102c78161031c565b90815260200190565b60006102c782610384565b60006102c78261036e565b6001600160a01b031690565b6103998161036e565b81146103a457600080fd5b50565b61039981610379565b60f1806103be6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80631ce3aa0d146037578063a41f45e9146051575b600080fd5b603d6057565b604051604891906082565b60405180910390f35b603d6066565b6001546001600160a01b031681565b6000546001600160a01b031681565b607c8160a0565b82525050565b60208101608e82846075565b92915050565b6001600160a01b031690565b6000608e826000608e82609456fea365627a7a72305820eb7e2db1c695c7ea42674e7cbad5924d85f2c5ae76d614f5cbeeeb71603a859b6c6578706572696d656e74616cf564736f6c63430005090040", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x4AF CODESIZE SUB DUP1 PUSH2 0x4AF DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x2D8 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x43 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0x69 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x91 PUSH20 0x1383C16C927C4A853684D1A9C676986F25E22111 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0xC2 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0x1383C16C927C4A853684D1A9C676986F25E22111 OR SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEA PUSH20 0xDBE30645EA7D216C31D09F8C5736FE74DE774E63 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0x11B JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0xDBE30645EA7D216C31D09F8C5736FE74DE774E63 OR SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12F DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0x14A JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x172 PUSH20 0xB3901D04CF645747B99DBBE8F2EE9CB41A89CEBF PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0x1A3 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0xB3901D04CF645747B99DBBE8F2EE9CB41A89CEBF OR SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B7 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH2 0x2B8 AND JUMP JUMPDEST GT ISZERO PUSH2 0x1D2 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE PUSH2 0x20D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x204 SWAP1 PUSH2 0x355 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB01C6846 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x25A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x26E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x292 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x2FE JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH2 0x3B0 JUMP JUMPDEST EXTCODESIZE SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x2C7 DUP2 PUSH2 0x390 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH2 0x2C7 DUP2 PUSH2 0x3A7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2F6 DUP5 DUP5 PUSH2 0x2BC JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x310 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2F6 DUP5 DUP5 PUSH2 0x2CD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x329 PUSH1 0x13 DUP4 PUSH2 0x365 JUMP JUMPDEST PUSH32 0x696E76616C69642D6875622D6164647265737300000000000000000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x2C7 DUP2 PUSH2 0x31C JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2C7 DUP3 PUSH2 0x384 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2C7 DUP3 PUSH2 0x36E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x399 DUP2 PUSH2 0x36E JUMP JUMPDEST DUP2 EQ PUSH2 0x3A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x399 DUP2 PUSH2 0x379 JUMP JUMPDEST PUSH1 0xF1 DUP1 PUSH2 0x3BE PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1CE3AA0D EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0xA41F45E9 EQ PUSH1 0x51 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3D PUSH1 0x57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x48 SWAP2 SWAP1 PUSH1 0x82 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x3D PUSH1 0x66 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x7C DUP2 PUSH1 0xA0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH1 0x8E DUP3 DUP5 PUSH1 0x75 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8E DUP3 PUSH1 0x0 PUSH1 0x8E DUP3 PUSH1 0x94 JUMP INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0xeb PUSH31 0x2DB1C695C7EA42674E7CBAD5924D85F2C5AE76D614F5CBEEEB71603A859B6C PUSH6 0x78706572696D PUSH6 0x6E74616CF564 PUSH20 0x6F6C634300050900400000000000000000000000 ", | |
"sourceMap": "112:1347:14:-;;;611:723;8:9:-1;5:2;;;30:1;27;20:12;5:2;611:723:14;;;;;;;;;;;;;;;;;;;;;701:1;668:30;680:13;-1:-1:-1;;;;;668:11:14;:30;:::i;:::-;:34;659:634;;;706:8;:38;;-1:-1:-1;;;;;;706:38:14;-1:-1:-1;;;;;706:38:14;;;;;659:634;;;792:1;759:30;176:42;-1:-1:-1;;;;;759:11:14;:30;:::i;:::-;:34;755:538;;;797:8;:38;;-1:-1:-1;;;;;;797:38:14;176:42;797:38;;;755:538;;;883:1;850:30;258:42;-1:-1:-1;;;;;850:11:14;:30;:::i;:::-;:34;846:447;;;888:8;:38;;-1:-1:-1;;;;;;888:38:14;258:42;888:38;;;846:447;;;974:1;941:30;974:1;-1:-1:-1;;;;;941:11:14;:30;:::i;:::-;:34;937:356;;;340:42;979:38;;-1:-1:-1;;;;;;979:38:14;;;937:356;;;1065:1;1032:30;422:42;-1:-1:-1;;;;;1032:11:14;:30;:::i;:::-;:34;1028:265;;;1070:8;:38;;-1:-1:-1;;;;;;1070:38:14;422:42;1070:38;;;1028:265;;;1156:1;1123:30;1156:1;-1:-1:-1;;;;;1123:11:14;:30;:::i;:::-;:34;1119:174;;;504:42;1161:38;;-1:-1:-1;;;;;;1161:38:14;;;1119:174;;;1252:29;;;;;;;;;;;;;;;;;;;1119:174;1309:8;;;;;;;;;-1:-1:-1;;;;;1309:8:14;-1:-1:-1;;;;;1309:19:14;;:21;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1309:21:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1309:21:14;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1309:21:14;;;;;;;;;1296:10;:34;;-1:-1:-1;;;;;;1296:34:14;-1:-1:-1;;;;;1296:34:14;;;;;;;;;;-1:-1:-1;112:1347:14;;1337:120;1434:18;;1423:31::o;5:134:-1:-;83:13;;101:33;83:13;101:33;;;68:71;;;;;146:172;243:13;;261:52;243:13;261:52;;325:263;;440:2;428:9;419:7;415:23;411:32;408:2;;;456:1;453;446:12;408:2;491:1;508:64;564:7;544:9;508:64;;;498:74;402:186;-1:-1;;;;402:186;595:301;;729:2;717:9;708:7;704:23;700:32;697:2;;;745:1;742;735:12;697:2;780:1;797:83;872:7;852:9;797:83;;904:364;;1064:67;1128:2;1123:3;1064:67;;;1164:66;1144:87;;1259:2;1250:12;;1050:218;-1:-1;;1050:218;1276:407;1467:2;1481:47;;;1452:18;;1542:131;1452:18;1542:131;;1691:163;1794:19;;;1843:4;1834:14;;1787:67;1862:91;;1924:24;1942:5;1924:24;;1960:110;;2041:24;2059:5;2041:24;;2077:121;-1:-1;;;;;2139:54;;2122:76;2205:117;2274:24;2292:5;2274:24;;;2267:5;2264:35;2254:2;;2313:1;2310;2303:12;2254:2;2248:74;;2329:155;2417:43;2454:5;2417:43;;2391:93;112:1347:14;;;;;;" | |
}, | |
"deployedBytecode": { | |
"linkReferences": {}, | |
"object": "6080604052348015600f57600080fd5b506004361060325760003560e01c80631ce3aa0d146037578063a41f45e9146051575b600080fd5b603d6057565b604051604891906082565b60405180910390f35b603d6066565b6001546001600160a01b031681565b6000546001600160a01b031681565b607c8160a0565b82525050565b60208101608e82846075565b92915050565b6001600160a01b031690565b6000608e826000608e82609456fea365627a7a72305820eb7e2db1c695c7ea42674e7cbad5924d85f2c5ae76d614f5cbeeeb71603a859b6c6578706572696d656e74616cf564736f6c63430005090040", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1CE3AA0D EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0xA41F45E9 EQ PUSH1 0x51 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3D PUSH1 0x57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x48 SWAP2 SWAP1 PUSH1 0x82 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x3D PUSH1 0x66 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x7C DUP2 PUSH1 0xA0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH1 0x8E DUP3 DUP5 PUSH1 0x75 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8E DUP3 PUSH1 0x0 PUSH1 0x8E DUP3 PUSH1 0x94 JUMP INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0xeb PUSH31 0x2DB1C695C7EA42674E7CBAD5924D85F2C5AE76D614F5CBEEEB71603A859B6C PUSH6 0x78706572696D PUSH6 0x6E74616CF564 PUSH20 0x6F6C634300050900400000000000000000000000 ", | |
"sourceMap": "112:1347:14:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112:1347:14;;;;;;;;;;;;;;;;;;;;;;;;579:28;;;:::i;:::-;;;;;;;;;;;;;;;;550:26;;;:::i;579:28::-;;;-1:-1:-1;;;;;579:28:14;;:::o;550:26::-;;;-1:-1:-1;;;;;550:26:14;;:::o;5:164:-1:-;107:56;157:5;107:56;;;102:3;95:69;89:80;;;343:251;480:2;465:18;;494:90;469:9;557:6;494:90;;;451:143;;;;;855:121;-1:-1;;;;;917:54;;900:76;983:159;;1081:56;1131:5;1149:127;1247:24;1265:5;1247:24;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "48200", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"iexecClerk()": "infinite", | |
"iexecHub()": "infinite" | |
}, | |
"internal": { | |
"getCodeSize(address)": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"iexecClerk()": "1ce3aa0d", | |
"iexecHub()": "a41f45e9" | |
} | |
}, | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "iexecClerk", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "iexecHub", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_iexecHubAddr", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IexecHub.sol"; | |
import "./IexecClerk.sol"; | |
contract IexecInterface | |
{ | |
address constant IEXEC_HUB_MAINNET = 0x1383c16c927c4A853684d1a9c676986f25E22111; | |
address constant IEXEC_HUB_ROPSTEN = 0xDbe30645EA7d216c31D09f8c5736FE74de774e63; | |
address constant IEXEC_HUB_RINKEBY = 0x0000000000000000000000000000000000000000; | |
address constant IEXEC_HUB_KOVAN = 0xb3901d04CF645747b99DBbe8f2eE9cb41A89CeBF; | |
address constant IEXEC_HUB_GOERLI = 0x0000000000000000000000000000000000000000; | |
IexecHub public iexecHub; | |
IexecClerk public iexecClerk; | |
constructor(address _iexecHubAddr) | |
public | |
{ | |
if (getCodeSize(_iexecHubAddr ) > 0) { iexecHub = IexecHub(_iexecHubAddr ); } | |
else if (getCodeSize(IEXEC_HUB_MAINNET) > 0) { iexecHub = IexecHub(IEXEC_HUB_MAINNET); } | |
else if (getCodeSize(IEXEC_HUB_ROPSTEN) > 0) { iexecHub = IexecHub(IEXEC_HUB_ROPSTEN); } | |
else if (getCodeSize(IEXEC_HUB_RINKEBY) > 0) { iexecHub = IexecHub(IEXEC_HUB_RINKEBY); } | |
else if (getCodeSize(IEXEC_HUB_KOVAN ) > 0) { iexecHub = IexecHub(IEXEC_HUB_KOVAN ); } | |
else if (getCodeSize(IEXEC_HUB_GOERLI ) > 0) { iexecHub = IexecHub(IEXEC_HUB_GOERLI ); } | |
else { revert("invalid-hub-address"); } | |
iexecClerk = iexecHub.iexecclerk(); | |
} | |
function getCodeSize(address _addr) | |
internal view returns (uint _size) | |
{ | |
assembly { _size := extcodesize(_addr) } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
library IexecODBLibCore | |
{ | |
/** | |
* Tools | |
*/ | |
struct Account | |
{ | |
uint256 stake; | |
uint256 locked; | |
} | |
struct Category | |
{ | |
string name; | |
string description; | |
uint256 workClockTimeRef; | |
} | |
/** | |
* Clerk - Deals | |
*/ | |
struct Resource | |
{ | |
address pointer; | |
address owner; | |
uint256 price; | |
} | |
struct Deal | |
{ | |
// Ressources | |
Resource app; | |
Resource dataset; | |
Resource workerpool; | |
uint256 trust; | |
uint256 category; | |
bytes32 tag; | |
// execution details | |
address requester; | |
address beneficiary; | |
address callback; | |
string params; | |
// execution settings | |
uint256 startTime; | |
uint256 botFirst; | |
uint256 botSize; | |
// consistency | |
uint256 workerStake; | |
uint256 schedulerRewardRatio; | |
} | |
/** | |
* Tasks | |
// TODO: rename Workorder → Task | |
*/ | |
enum TaskStatusEnum | |
{ | |
UNSET, // Work order not yet initialized (invalid address) | |
ACTIVE, // Marketed → constributions are open | |
REVEALING, // Starting consensus reveal | |
COMPLETED, // Concensus achieved | |
FAILLED // Failled consensus | |
} | |
struct Task | |
{ | |
TaskStatusEnum status; | |
bytes32 dealid; | |
uint256 idx; | |
uint256 timeref; | |
uint256 contributionDeadline; | |
uint256 revealDeadline; | |
uint256 finalDeadline; | |
bytes32 consensusValue; | |
uint256 revealCounter; | |
uint256 winnerCounter; | |
address[] contributors; | |
bytes32 resultDigest; | |
bytes results; | |
} | |
/** | |
* Consensus | |
*/ | |
enum ContributionStatusEnum | |
{ | |
UNSET, | |
CONTRIBUTED, | |
PROVED, | |
REJECTED | |
} | |
struct Contribution | |
{ | |
ContributionStatusEnum status; | |
bytes32 resultHash; | |
bytes32 resultSeal; | |
address enclaveChallenge; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
library IexecODBLibOrders | |
{ | |
// bytes32 public constant EIP712DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); | |
// bytes32 public constant APPORDER_TYPEHASH = keccak256("AppOrder(address app,uint256 appprice,uint256 volume,bytes32 tag,address datasetrestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)"); | |
// bytes32 public constant DATASETORDER_TYPEHASH = keccak256("DatasetOrder(address dataset,uint256 datasetprice,uint256 volume,bytes32 tag,address apprestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)"); | |
// bytes32 public constant WORKERPOOLORDER_TYPEHASH = keccak256("WorkerpoolOrder(address workerpool,uint256 workerpoolprice,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address apprestrict,address datasetrestrict,address requesterrestrict,bytes32 salt)"); | |
// bytes32 public constant REQUESTORDER_TYPEHASH = keccak256("RequestOrder(address app,uint256 appmaxprice,address dataset,uint256 datasetmaxprice,address workerpool,uint256 workerpoolmaxprice,address requester,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address beneficiary,address callback,string params,bytes32 salt)"); | |
bytes32 public constant EIP712DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f; | |
bytes32 public constant APPORDER_TYPEHASH = 0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008; | |
bytes32 public constant DATASETORDER_TYPEHASH = 0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c; | |
bytes32 public constant WORKERPOOLORDER_TYPEHASH = 0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb; | |
bytes32 public constant REQUESTORDER_TYPEHASH = 0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0; | |
struct EIP712Domain | |
{ | |
string name; | |
string version; | |
uint256 chainId; | |
address verifyingContract; | |
} | |
struct AppOrder | |
{ | |
address app; | |
uint256 appprice; | |
uint256 volume; | |
bytes32 tag; | |
address datasetrestrict; | |
address workerpoolrestrict; | |
address requesterrestrict; | |
bytes32 salt; | |
bytes sign; | |
} | |
struct DatasetOrder | |
{ | |
address dataset; | |
uint256 datasetprice; | |
uint256 volume; | |
bytes32 tag; | |
address apprestrict; | |
address workerpoolrestrict; | |
address requesterrestrict; | |
bytes32 salt; | |
bytes sign; | |
} | |
struct WorkerpoolOrder | |
{ | |
address workerpool; | |
uint256 workerpoolprice; | |
uint256 volume; | |
bytes32 tag; | |
uint256 category; | |
uint256 trust; | |
address apprestrict; | |
address datasetrestrict; | |
address requesterrestrict; | |
bytes32 salt; | |
bytes sign; | |
} | |
struct RequestOrder | |
{ | |
address app; | |
uint256 appmaxprice; | |
address dataset; | |
uint256 datasetmaxprice; | |
address workerpool; | |
uint256 workerpoolmaxprice; | |
address requester; | |
uint256 volume; | |
bytes32 tag; | |
uint256 category; | |
uint256 trust; | |
address beneficiary; | |
address callback; | |
string params; | |
bytes32 salt; | |
bytes sign; | |
} | |
function hash(EIP712Domain memory _domain) | |
public pure returns (bytes32 domainhash) | |
{ | |
/** | |
* Readeable but expensive | |
*/ | |
// return keccak256(abi.encode( | |
// EIP712DOMAIN_TYPEHASH | |
// , keccak256(bytes(_domain.name)) | |
// , keccak256(bytes(_domain.version)) | |
// , _domain.chainId | |
// , _domain.verifyingContract | |
// )); | |
// Compute sub-hashes | |
bytes32 typeHash = EIP712DOMAIN_TYPEHASH; | |
bytes32 nameHash = keccak256(bytes(_domain.name)); | |
bytes32 versionHash = keccak256(bytes(_domain.version)); | |
assembly { | |
// Back up select memory | |
let temp1 := mload(sub(_domain, 0x20)) | |
let temp2 := mload(add(_domain, 0x00)) | |
let temp3 := mload(add(_domain, 0x20)) | |
// Write typeHash and sub-hashes | |
mstore(sub(_domain, 0x20), typeHash) | |
mstore(add(_domain, 0x00), nameHash) | |
mstore(add(_domain, 0x20), versionHash) | |
// Compute hash | |
domainhash := keccak256(sub(_domain, 0x20), 0xA0) // 160 = 32 + 128 | |
// Restore memory | |
mstore(sub(_domain, 0x20), temp1) | |
mstore(add(_domain, 0x00), temp2) | |
mstore(add(_domain, 0x20), temp3) | |
} | |
} | |
function hash(AppOrder memory _apporder) | |
public pure returns (bytes32 apphash) | |
{ | |
/** | |
* Readeable but expensive | |
*/ | |
// return keccak256(abi.encode( | |
// APPORDER_TYPEHASH | |
// , _apporder.app | |
// , _apporder.appprice | |
// , _apporder.volume | |
// , _apporder.tag | |
// , _apporder.datasetrestrict | |
// , _apporder.workerpoolrestrict | |
// , _apporder.requesterrestrict | |
// , _apporder.salt | |
// )); | |
// Compute sub-hashes | |
bytes32 typeHash = APPORDER_TYPEHASH; | |
assembly { | |
// Back up select memory | |
let temp1 := mload(sub(_apporder, 0x20)) | |
// Write typeHash and sub-hashes | |
mstore(sub(_apporder, 0x20), typeHash) | |
// Compute hash | |
apphash := keccak256(sub(_apporder, 0x20), 0x120) // 288 = 32 + 256 | |
// Restore memory | |
mstore(sub(_apporder, 0x20), temp1) | |
} | |
} | |
function hash(DatasetOrder memory _datasetorder) | |
public pure returns (bytes32 datasethash) | |
{ | |
/** | |
* Readeable but expensive | |
*/ | |
// return keccak256(abi.encode( | |
// DATASETORDER_TYPEHASH | |
// , _datasetorder.dataset | |
// , _datasetorder.datasetprice | |
// , _datasetorder.volume | |
// , _datasetorder.tag | |
// , _datasetorder.apprestrict | |
// , _datasetorder.workerpoolrestrict | |
// , _datasetorder.requesterrestrict | |
// , _datasetorder.salt | |
// )); | |
// Compute sub-hashes | |
bytes32 typeHash = DATASETORDER_TYPEHASH; | |
assembly { | |
// Back up select memory | |
let temp1 := mload(sub(_datasetorder, 0x20)) | |
// Write typeHash and sub-hashes | |
mstore(sub(_datasetorder, 0x20), typeHash) | |
// Compute hash | |
datasethash := keccak256(sub(_datasetorder, 0x20), 0x120) // 288 = 32 + 256 | |
// Restore memory | |
mstore(sub(_datasetorder, 0x20), temp1) | |
} | |
} | |
function hash(WorkerpoolOrder memory _workerpoolorder) | |
public pure returns (bytes32 workerpoolhash) | |
{ | |
/** | |
* Readeable but expensive | |
*/ | |
// return keccak256(abi.encode( | |
// WORKERPOOLORDER_TYPEHASH | |
// , _workerpoolorder.workerpool | |
// , _workerpoolorder.workerpoolprice | |
// , _workerpoolorder.volume | |
// , _workerpoolorder.tag | |
// , _workerpoolorder.category | |
// , _workerpoolorder.trust | |
// , _workerpoolorder.apprestrict | |
// , _workerpoolorder.datasetrestrict | |
// , _workerpoolorder.requesterrestrict | |
// , _workerpoolorder.salt | |
// )); | |
// Compute sub-hashes | |
bytes32 typeHash = WORKERPOOLORDER_TYPEHASH; | |
assembly { | |
// Back up select memory | |
let temp1 := mload(sub(_workerpoolorder, 0x20)) | |
// Write typeHash and sub-hashes | |
mstore(sub(_workerpoolorder, 0x20), typeHash) | |
// Compute hash | |
workerpoolhash := keccak256(sub(_workerpoolorder, 0x20), 0x160) // 352 = 32 + 320 | |
// Restore memory | |
mstore(sub(_workerpoolorder, 0x20), temp1) | |
} | |
} | |
function hash(RequestOrder memory _requestorder) | |
public pure returns (bytes32 requesthash) | |
{ | |
/** | |
* Readeable but expensive | |
*/ | |
//return keccak256(abi.encodePacked( | |
// abi.encode( | |
// REQUESTORDER_TYPEHASH | |
// , _requestorder.app | |
// , _requestorder.appmaxprice | |
// , _requestorder.dataset | |
// , _requestorder.datasetmaxprice | |
// , _requestorder.workerpool | |
// , _requestorder.workerpoolmaxprice | |
// , _requestorder.requester | |
// , _requestorder.volume | |
// , _requestorder.tag | |
// , _requestorder.category | |
// , _requestorder.trust | |
// , _requestorder.beneficiary | |
// , _requestorder.callback | |
// , keccak256(bytes(_requestorder.params)) | |
// , _requestorder.salt | |
// ) | |
//)); | |
// Compute sub-hashes | |
bytes32 typeHash = REQUESTORDER_TYPEHASH; | |
bytes32 paramsHash = keccak256(bytes(_requestorder.params)); | |
assembly { | |
// Back up select memory | |
let temp1 := mload(sub(_requestorder, 0x020)) | |
let temp2 := mload(add(_requestorder, 0x1A0)) | |
// Write typeHash and sub-hashes | |
mstore(sub(_requestorder, 0x020), typeHash) | |
mstore(add(_requestorder, 0x1A0), paramsHash) | |
// Compute hash | |
requesthash := keccak256(sub(_requestorder, 0x20), 0x200) // 512 = 32 + 480 | |
// Restore memory | |
mstore(sub(_requestorder, 0x020), temp1) | |
mstore(add(_requestorder, 0x1A0), temp2) | |
} | |
} | |
function toEthTypedStructHash(bytes32 _structHash, bytes32 _domainHash) | |
public pure returns (bytes32 typedStructHash) | |
{ | |
return keccak256(abi.encodePacked("\x19\x01", _domainHash, _structHash)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60806040523480156200001157600080fd5b5060405162002caf38038062002caf8339810160408190526200003491620003e6565b8060006200004b826001600160e01b03620003c216565b11156200007357600080546001600160a01b0319166001600160a01b0383161790556200022d565b60006200009d731383c16c927c4a853684d1a9c676986f25e221116001600160e01b03620003c216565b1115620000d057600080546001600160a01b031916731383c16c927c4a853684d1a9c676986f25e221111790556200022d565b6000620000fa73dbe30645ea7d216c31d09f8c5736fe74de774e636001600160e01b03620003c216565b11156200012d57600080546001600160a01b03191673dbe30645ea7d216c31d09f8c5736fe74de774e631790556200022d565b600062000143816001600160e01b03620003c216565b11156200016057600080546001600160a01b03191690556200022d565b60006200018a73b3901d04cf645747b99dbbe8f2ee9cb41a89cebf6001600160e01b03620003c216565b1115620001bd57600080546001600160a01b03191673b3901d04cf645747b99dbbe8f2ee9cb41a89cebf1790556200022d565b6000620001d3816001600160e01b03620003c216565b1115620001f057600080546001600160a01b03191690556200022d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000224906200046b565b60405180910390fd5b6000809054906101000a90046001600160a01b03166001600160a01b031663b01c68466040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027b57600080fd5b505afa15801562000290573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250620002b691908101906200040f565b600180546001600160a01b039283166001600160a01b03199182161790915560058054909116331790819055604051911691506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600160009054906101000a90046001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200036057600080fd5b505afa15801562000375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506200039b91908101906200040f565b600680546001600160a01b0319166001600160a01b039290921691909117905550620004d1565b3b90565b8051620003d381620004ac565b92915050565b8051620003d381620004c6565b600060208284031215620003f957600080fd5b6000620004078484620003c6565b949350505050565b6000602082840312156200042257600080fd5b6000620004078484620003d9565b60006200043f6013836200047d565b7f696e76616c69642d6875622d6164647265737300000000000000000000000000815260200192915050565b60208082528101620003d38162000430565b90815260200190565b6000620003d382620004a0565b6000620003d38262000486565b6001600160a01b031690565b620004b78162000486565b8114620004c357600080fd5b50565b620004b78162000493565b6127ce80620004e16000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063b6b55f2511610097578063dd62ed3e11610071578063dd62ed3e14610362578063efef431f14610375578063f2fde38b14610388578063fce3345b1461039b576101c4565b8063b6b55f2514610334578063c55dae6314610347578063db7b27161461034f576101c4565b8063a41f45e9116100d3578063a41f45e9146102f3578063a457c2d7146102fb578063a9059cbb1461030e578063b1cbf88814610321576101c4565b80638da5cb5b146102db5780638f32d59b146102e357806398cb3316146102eb576101c4565b80632e1a7d4d1161016657806357aabe911161014057806357aabe91146102a357806370a08231146102b8578063715018a6146102cb57806380e9071b146102d3576101c4565b80632e1a7d4d1461026a57806336efd16f1461027d5780633950935114610290576101c4565b8063156194d4116101a2578063156194d41461021a57806318160ddd1461023a5780631ce3aa0d1461024257806323b872dd14610257576101c4565b806301751998146101c9578063095ea7b3146101f257806313de360214610205575b600080fd5b6101dc6101d7366004611f13565b6103a3565b6040516101e99190612575565b60405180910390f35b6101dc610200366004611f6d565b61043e565b61020d610455565b6040516101e99190612516565b61022d610228366004611ff7565b610464565b6040516101e99190612583565b61022d61090c565b61024a610912565b6040516101e991906125f4565b6101dc610265366004611ed0565b610921565b6101dc6102783660046120e7565b610978565b6101dc61028b366004612105565b6109a7565b6101dc61029e366004611f6d565b6109ce565b6102b66102b1366004611e83565b610a0a565b005b61022d6102c6366004611e2b565b610a5a565b6102b6610a75565b6101dc610ad0565b61020d610b89565b6101dc610b98565b61020d610ba9565b61024a610bb8565b6101dc610309366004611f6d565b610bc7565b6101dc61031c366004611f6d565b610c03565b6101dc61032f366004612105565b610c10565b6101dc6103423660046120e7565b610c37565b61024a610c5e565b6102b661035d366004611e2b565b610c6d565b61022d610370366004611e49565b610f0d565b6101dc610383366004611ed0565b610f38565b6102b6610396366004611e2b565b610f60565b61020d610f7d565b60006103b0848484610f8c565b806104345750604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906103e49086908690600401612591565b60206040518083038186803b1580156103fc57600080fd5b505afa158015610410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506104349190810190611f9d565b90505b9392505050565b600061044b338484611061565b5060015b92915050565b6007546001600160a01b031681565b6007546000906001600160a01b031615806105075750600754855160015460408051631a2a7bc760e21b81529051610507946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b505afa1580156104de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506105029190810190611fbb565b6110ef565b61052c5760405162461bcd60e51b815260040161052390612602565b60405180910390fd5b6008546001600160a01b0316158061058f5750600854845160015460408051631a2a7bc760e21b8152905161058f946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b6105ab5760405162461bcd60e51b815260040161052390612612565b6009546001600160a01b0316158061060e5750600954835160015460408051631a2a7bc760e21b8152905161060e946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b61062a5760405162461bcd60e51b815260040161052390612622565b3060c083015260015460405163732e498d60e01b81526001600160a01b039091169063732e498d90610660908590600401612689565b602060405180830381600087803b15801561067a57600080fd5b505af115801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106b29190810190611f9d565b6106bb57600080fd5b600154604051630558653560e21b81526000916001600160a01b03169063156194d4906106f2908990899089908990600401612632565b602060405180830381600087803b15801561070c57600080fd5b505af1158015610720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107449190810190611fbb565b905061074e6116d4565b600154604051635ba430d960e11b81526001600160a01b039091169063b74861b29061077e908590600401612583565b60006040518083038186803b15801561079657600080fd5b505afa1580156107aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107d291908101906120b3565b9050600061082682610180015161081a84604001516040015161080e86602001516040015187600001516040015161114290919063ffffffff16565b9063ffffffff61114216565b9063ffffffff61115416565b9050610832338261117b565b8460e0015182610180015110156108c757600154604051630e29d52d60e21b81526001600160a01b03909116906338a754b490610873908890600401612689565b602060405180830381600087803b15801561088d57600080fd5b505af11580156108a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108c59190810190611f9d565b505b7f0962211fdd8bae00324df1e7f067e248569f92820b635d0dc5c6f5801f01e8fb836040516108f69190612583565b60405180910390a150909150505b949350505050565b60045490565b6001546001600160a01b031681565b600061092e848484611225565b6001600160a01b03841660009081526003602090815260408083203380855292529091205461096e918691610969908663ffffffff6112e816565b611061565b5060019392505050565b6000610982610b98565b61098b57600080fd5b610995338361117b565b61099f33836112fd565b506001919050565b60006109b1610b98565b6109ba57600080fd5b6109c43384611409565b61044b82846115b8565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161044b918590610969908663ffffffff61114216565b610a12610b98565b610a1b57600080fd5b600780546001600160a01b039485166001600160a01b031991821617909155600880549385169382169390931790925560098054919093169116179055565b6001600160a01b031660009081526002602052604090205490565b610a7d610b98565b610a8657600080fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6000610ada610b98565b610ae357600080fd5b610b8333610b7e610af261090c565b600154604051636b55f4a560e01b81526001600160a01b0390911690636b55f4a590610b22903090600401612516565b604080518083038186803b158015610b3957600080fd5b505afa158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b719190810190611fd9565b519063ffffffff6112e816565b6115b8565b50600190565b6005546001600160a01b031690565b6005546001600160a01b0316331490565b6009546001600160a01b031681565b6000546001600160a01b031681565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161044b918590610969908663ffffffff6112e816565b600061044b338484611225565b6000610c1a610b98565b610c2357600080fd5b610c2d828461117b565b61044b33846112fd565b6000610c41610b98565b610c4a57600080fd5b610c543383611409565b61099f33836115b8565b6006546001600160a01b031681565b610c75610b98565b610c7e57600080fd5b600154604051636b55f4a560e01b81526001600160a01b0390911690636b55f4a590610cae903090600401612516565b604080518083038186803b158015610cc557600080fd5b505afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610cfd9190810190611fd9565b6020015115610d0b57600080fd5b600154604051636b55f4a560e01b81526001600160a01b0390911690632e1a7d4d908290636b55f4a590610d43903090600401612516565b604080518083038186803b158015610d5a57600080fd5b505afa158015610d6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610d929190810190611fd9565b516040516001600160e01b031960e084901b168152610db49190600401612583565b602060405180830381600087803b158015610dce57600080fd5b505af1158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610e069190810190611f9d565b506006546040516370a0823160e01b81526001600160a01b039091169063a9059cbb90839083906370a0823190610e41903090600401612516565b60206040518083038186803b158015610e5957600080fd5b505afa158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610e919190810190611fbb565b6040518363ffffffff1660e01b8152600401610eae929190612524565b602060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610f009190810190611f9d565b50806001600160a01b0316ff5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000610f42610b98565b610f4b57600080fd5b610f56848484611225565b5060009392505050565b610f68610b98565b610f7157600080fd5b610f7a81611659565b50565b6008546001600160a01b031681565b6000806000808451604114610fa75760009350505050610437565b50505060208201516040830151606084015160001a601b811015610fc957601b015b8060ff16601b14158015610fe157508060ff16601c14155b15610ff25760009350505050610437565b6001868285856040516000815260200160405260405161101594939291906125bf565b6020604051602081039080840390855afa158015611037573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161493505050509392505050565b6001600160a01b03821661107457600080fd5b6001600160a01b03831661108757600080fd5b6001600160a01b0380841660008181526003602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906110e2908590612583565b60405180910390a3505050565b6000826001600160a01b0316846001600160a01b031614806104345750836001600160a01b031663d202158d611124856116c8565b846040518363ffffffff1660e01b81526004016103e49291906125b1565b60008282018381101561043757600080fd5b6000826111635750600061044f565b8282028284828161117057fe5b041461043757600080fd5b6001600160a01b03821661118e57600080fd5b6004546111a1908263ffffffff6112e816565b6004556001600160a01b0382166000908152600260205260409020546111cd908263ffffffff6112e816565b6001600160a01b0383166000818152600260205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611219908590612583565b60405180910390a35050565b6001600160a01b03821661123857600080fd5b6001600160a01b038316600090815260026020526040902054611261908263ffffffff6112e816565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611296908263ffffffff61114216565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110e2908590612583565b6000828211156112f757600080fd5b50900390565b600154604051632e1a7d4d60e01b81526001600160a01b0390911690632e1a7d4d9061132d908490600401612583565b602060405180830381600087803b15801561134757600080fd5b505af115801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061137f9190810190611f9d565b5060065460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906113b29085908590600401612567565b602060405180830381600087803b1580156113cc57600080fd5b505af11580156113e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506114049190810190611f9d565b505050565b6006546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061143d9085903090869060040161253f565b602060405180830381600087803b15801561145757600080fd5b505af115801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061148f9190810190611f9d565b61149857600080fd5b60065460015460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926114ce929116908590600401612567565b602060405180830381600087803b1580156114e857600080fd5b505af11580156114fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115209190810190611f9d565b61152957600080fd5b60015460405163b6b55f2560e01b81526001600160a01b039091169063b6b55f2590611559908490600401612583565b602060405180830381600087803b15801561157357600080fd5b505af1158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115ab9190810190611f9d565b6115b457600080fd5b5050565b6001600160a01b0382166115cb57600080fd5b6004546115de908263ffffffff61114216565b6004556001600160a01b03821660009081526002602052604090205461160a908263ffffffff61114216565b6001600160a01b0383166000818152600260205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611219908590612583565b6001600160a01b03811661166c57600080fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031690565b604051806102a001604052806116e861177a565b81526020016116f561177a565b815260200161170261177a565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b803561044f81612765565b805161044f81612765565b805161044f81612779565b803561044f81612782565b805161044f81612782565b600082601f8301126117e257600080fd5b81356117f56117f0826126c0565b61269a565b9150808252602083016020830185838301111561181157600080fd5b61181c83828461271f565b50505092915050565b600082601f83011261183657600080fd5b81516118446117f0826126c0565b9150808252602083016020830185838301111561186057600080fd5b61181c83828461272b565b60006040828403121561187d57600080fd5b611887604061269a565b9050600061189584846117c6565b82525060206118a6848483016117c6565b60208301525092915050565b600061012082840312156118c557600080fd5b6118d061012061269a565b905060006118de848461179a565b82525060206118ef848483016117bb565b6020830152506040611903848285016117bb565b6040830152506060611917848285016117bb565b606083015250608061192b8482850161179a565b60808301525060a061193f8482850161179a565b60a08301525060c06119538482850161179a565b60c08301525060e0611967848285016117bb565b60e0830152506101008201356001600160401b0381111561198757600080fd5b611993848285016117d1565b6101008301525092915050565b60006102a082840312156119b357600080fd5b6119be6101e061269a565b905060006119cc8484611cb6565b82525060606119dd84848301611cb6565b60208301525060c06119f184828501611cb6565b604083015250610120611a06848285016117c6565b606083015250610140611a1b848285016117c6565b608083015250610160611a30848285016117c6565b60a083015250610180611a45848285016117a5565b60c0830152506101a0611a5a848285016117a5565b60e0830152506101c0611a6f848285016117a5565b610100830152506101e08201516001600160401b03811115611a9057600080fd5b611a9c84828501611825565b61012083015250610200611ab2848285016117c6565b61014083015250610220611ac8848285016117c6565b61016083015250610240611ade848285016117c6565b61018083015250610260611af4848285016117c6565b6101a083015250610280611b0a848285016117c6565b6101c08301525092915050565b60006102008284031215611b2a57600080fd5b611b3561020061269a565b90506000611b43848461179a565b8252506020611b54848483016117bb565b6020830152506040611b688482850161179a565b6040830152506060611b7c848285016117bb565b6060830152506080611b908482850161179a565b60808301525060a0611ba4848285016117bb565b60a08301525060c0611bb88482850161179a565b60c08301525060e0611bcc848285016117bb565b60e083015250610100611be1848285016117bb565b61010083015250610120611bf7848285016117bb565b61012083015250610140611c0d848285016117bb565b61014083015250610160611c238482850161179a565b61016083015250610180611c398482850161179a565b610180830152506101a08201356001600160401b03811115611c5a57600080fd5b611c66848285016117d1565b6101a0830152506101c0611c7c848285016117bb565b6101c0830152506101e08201356001600160401b03811115611c9d57600080fd5b611ca9848285016117d1565b6101e08301525092915050565b600060608284031215611cc857600080fd5b611cd2606061269a565b90506000611ce084846117a5565b8252506020611cf1848483016117a5565b6020830152506040611d05848285016117c6565b60408301525092915050565b60006101608284031215611d2457600080fd5b611d2f61016061269a565b90506000611d3d848461179a565b8252506020611d4e848483016117bb565b6020830152506040611d62848285016117bb565b6040830152506060611d76848285016117bb565b6060830152506080611d8a848285016117bb565b60808301525060a0611d9e848285016117bb565b60a08301525060c0611db28482850161179a565b60c08301525060e0611dc68482850161179a565b60e083015250610100611ddb8482850161179a565b61010083015250610120611df1848285016117bb565b610120830152506101408201356001600160401b03811115611e1257600080fd5b611e1e848285016117d1565b6101408301525092915050565b600060208284031215611e3d57600080fd5b6000610904848461179a565b60008060408385031215611e5c57600080fd5b6000611e68858561179a565b9250506020611e798582860161179a565b9150509250929050565b600080600060608486031215611e9857600080fd5b6000611ea4868661179a565b9350506020611eb58682870161179a565b9250506040611ec68682870161179a565b9150509250925092565b600080600060608486031215611ee557600080fd5b6000611ef1868661179a565b9350506020611f028682870161179a565b9250506040611ec6868287016117bb565b600080600060608486031215611f2857600080fd5b6000611f34868661179a565b9350506020611f45868287016117bb565b92505060408401356001600160401b03811115611f6157600080fd5b611ec6868287016117d1565b60008060408385031215611f8057600080fd5b6000611f8c858561179a565b9250506020611e79858286016117bb565b600060208284031215611faf57600080fd5b600061090484846117b0565b600060208284031215611fcd57600080fd5b600061090484846117c6565b600060408284031215611feb57600080fd5b6000610904848461186b565b6000806000806080858703121561200d57600080fd5b84356001600160401b0381111561202357600080fd5b61202f878288016118b2565b94505060208501356001600160401b0381111561204b57600080fd5b612057878288016118b2565b93505060408501356001600160401b0381111561207357600080fd5b61207f87828801611d11565b92505060608501356001600160401b0381111561209b57600080fd5b6120a787828801611b17565b91505092959194509250565b6000602082840312156120c557600080fd5b81516001600160401b038111156120db57600080fd5b610904848285016119a0565b6000602082840312156120f957600080fd5b600061090484846117bb565b6000806040838503121561211857600080fd5b6000611e6885856117bb565b61212d8161270d565b82525050565b61212d816126f4565b61212d816126ff565b61212d81612704565b6000612159826126e7565b61216381856126eb565b935061217381856020860161272b565b61217c8161275b565b9093019392505050565b61212d81612714565b600061219c6010836126eb565b6f0756e617574686f72697a65642d6170760841b815260200192915050565b60006121c86014836126eb565b731d5b985d5d1a1bdc9a5e99590b59185d185cd95d60621b815260200192915050565b60006121f86017836126eb565b7f756e617574686f72697a65642d776f726b6572706f6f6c000000000000000000815260200192915050565b80516000906101208401906122398582612133565b50602083015161224c6020860182612145565b50604083015161225f6040860182612145565b5060608301516122726060860182612145565b5060808301516122856080860182612133565b5060a083015161229860a0860182612133565b5060c08301516122ab60c0860182612133565b5060e08301516122be60e0860182612145565b506101008301518482036101008601526122d8828261214e565b95945050505050565b80516000906102008401906122f68582612133565b5060208301516123096020860182612145565b50604083015161231c6040860182612133565b50606083015161232f6060860182612145565b5060808301516123426080860182612133565b5060a083015161235560a0860182612145565b5060c083015161236860c0860182612133565b5060e083015161237b60e0860182612145565b50610100830151612390610100860182612145565b506101208301516123a5610120860182612145565b506101408301516123ba610140860182612145565b506101608301516123cf610160860182612133565b506101808301516123e4610180860182612133565b506101a08301518482036101a08601526123fe828261214e565b9150506101c08301516124156101c0860182612145565b506101e08301518482036101e08601526122d8828261214e565b80516000906101608401906124448582612133565b5060208301516124576020860182612145565b50604083015161246a6040860182612145565b50606083015161247d6060860182612145565b5060808301516124906080860182612145565b5060a08301516124a360a0860182612145565b5060c08301516124b660c0860182612133565b5060e08301516124c960e0860182612133565b506101008301516124de610100860182612133565b506101208301516124f3610120860182612145565b506101408301518482036101408601526122d8828261214e565b61212d81612707565b6020810161044f8284612133565b604081016125328285612124565b6104376020830184612145565b6060810161254d8286612133565b61255a6020830185612133565b6109046040830184612145565b604081016125328285612133565b6020810161044f828461213c565b6020810161044f8284612145565b6040810161259f8285612145565b8181036020830152610434818461214e565b604081016125328285612145565b608081016125cd8287612145565b6125da602083018661250d565b6125e76040830185612145565b6122d86060830184612145565b6020810161044f8284612186565b6020808252810161044f8161218f565b6020808252810161044f816121bb565b6020808252810161044f816121eb565b608080825281016126438187612224565b905081810360208301526126578186612224565b9050818103604083015261266b818561242f565b9050818103606083015261267f81846122e1565b9695505050505050565b6020808252810161043781846122e1565b6040518181016001600160401b03811182821017156126b857600080fd5b604052919050565b60006001600160401b038211156126d657600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b600061044f826116c8565b151590565b90565b60ff1690565b600061044f825b600061044f826126f4565b82818337506000910152565b60005b8381101561274657818101518382015260200161272e565b83811115612755576000848401525b50505050565b601f01601f191690565b61276e816126f4565b8114610f7a57600080fd5b61276e816126ff565b61276e8161270456fea365627a7a72305820acc3bb9f3cbe27aded423fac704d2d5e876cfabacb4f10f0d13457ed92fef0146c6578706572696d656e74616cf564736f6c63430005090040", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x2CAF CODESIZE SUB DUP1 PUSH3 0x2CAF DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x3E6 JUMP JUMPDEST DUP1 PUSH1 0x0 PUSH3 0x4B DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0x73 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x0 PUSH3 0x9D PUSH20 0x1383C16C927C4A853684D1A9C676986F25E22111 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0xD0 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0x1383C16C927C4A853684D1A9C676986F25E22111 OR SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x0 PUSH3 0xFA PUSH20 0xDBE30645EA7D216C31D09F8C5736FE74DE774E63 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0x12D JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0xDBE30645EA7D216C31D09F8C5736FE74DE774E63 OR SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x0 PUSH3 0x143 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0x160 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x0 PUSH3 0x18A PUSH20 0xB3901D04CF645747B99DBBE8F2EE9CB41A89CEBF PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0x1BD JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH20 0xB3901D04CF645747B99DBBE8F2EE9CB41A89CEBF OR SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x0 PUSH3 0x1D3 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x3C2 AND JUMP JUMPDEST GT ISZERO PUSH3 0x1F0 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE PUSH3 0x22D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x224 SWAP1 PUSH3 0x46B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB01C6846 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x27B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x290 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH3 0x2B6 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH3 0x40F JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP2 DUP3 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x5 DUP1 SLOAD SWAP1 SWAP2 AND CALLER OR SWAP1 DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 POP PUSH1 0x0 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP3 SWAP1 LOG3 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xFC0C546A PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x360 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x375 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH3 0x39B SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH3 0x40F JUMP JUMPDEST PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x4D1 JUMP JUMPDEST EXTCODESIZE SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH3 0x3D3 DUP2 PUSH3 0x4AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH3 0x3D3 DUP2 PUSH3 0x4C6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x3F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH3 0x407 DUP5 DUP5 PUSH3 0x3C6 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x422 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH3 0x407 DUP5 DUP5 PUSH3 0x3D9 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x43F PUSH1 0x13 DUP4 PUSH3 0x47D JUMP JUMPDEST PUSH32 0x696E76616C69642D6875622D6164647265737300000000000000000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH3 0x3D3 DUP2 PUSH3 0x430 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3D3 DUP3 PUSH3 0x4A0 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3D3 DUP3 PUSH3 0x486 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH3 0x4B7 DUP2 PUSH3 0x486 JUMP JUMPDEST DUP2 EQ PUSH3 0x4C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH3 0x4B7 DUP2 PUSH3 0x493 JUMP JUMPDEST PUSH2 0x27CE DUP1 PUSH3 0x4E1 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1C4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xB6B55F25 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xDD62ED3E GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x362 JUMPI DUP1 PUSH4 0xEFEF431F EQ PUSH2 0x375 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x388 JUMPI DUP1 PUSH4 0xFCE3345B EQ PUSH2 0x39B JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0xB6B55F25 EQ PUSH2 0x334 JUMPI DUP1 PUSH4 0xC55DAE63 EQ PUSH2 0x347 JUMPI DUP1 PUSH4 0xDB7B2716 EQ PUSH2 0x34F JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0xA41F45E9 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0xA41F45E9 EQ PUSH2 0x2F3 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x2FB JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x30E JUMPI DUP1 PUSH4 0xB1CBF888 EQ PUSH2 0x321 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0x8F32D59B EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0x98CB3316 EQ PUSH2 0x2EB JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x166 JUMPI DUP1 PUSH4 0x57AABE91 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0x57AABE91 EQ PUSH2 0x2A3 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x2B8 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x2CB JUMPI DUP1 PUSH4 0x80E9071B EQ PUSH2 0x2D3 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x26A JUMPI DUP1 PUSH4 0x36EFD16F EQ PUSH2 0x27D JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x290 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x156194D4 GT PUSH2 0x1A2 JUMPI DUP1 PUSH4 0x156194D4 EQ PUSH2 0x21A JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x1CE3AA0D EQ PUSH2 0x242 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x257 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x1751998 EQ PUSH2 0x1C9 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x1F2 JUMPI DUP1 PUSH4 0x13DE3602 EQ PUSH2 0x205 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1DC PUSH2 0x1D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F13 JUMP JUMPDEST PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2575 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DC PUSH2 0x200 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0x43E JUMP JUMPDEST PUSH2 0x20D PUSH2 0x455 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2516 JUMP JUMPDEST PUSH2 0x22D PUSH2 0x228 CALLDATASIZE PUSH1 0x4 PUSH2 0x1FF7 JUMP JUMPDEST PUSH2 0x464 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH2 0x22D PUSH2 0x90C JUMP JUMPDEST PUSH2 0x24A PUSH2 0x912 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x25F4 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x265 CALLDATASIZE PUSH1 0x4 PUSH2 0x1ED0 JUMP JUMPDEST PUSH2 0x921 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x278 CALLDATASIZE PUSH1 0x4 PUSH2 0x20E7 JUMP JUMPDEST PUSH2 0x978 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x28B CALLDATASIZE PUSH1 0x4 PUSH2 0x2105 JUMP JUMPDEST PUSH2 0x9A7 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x29E CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0x9CE JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x2B1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E83 JUMP JUMPDEST PUSH2 0xA0A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x22D PUSH2 0x2C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xA5A JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0xA75 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0xAD0 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xB89 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xBA9 JUMP JUMPDEST PUSH2 0x24A PUSH2 0xBB8 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x309 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0xBC7 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x31C CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0xC03 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x32F CALLDATASIZE PUSH1 0x4 PUSH2 0x2105 JUMP JUMPDEST PUSH2 0xC10 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x342 CALLDATASIZE PUSH1 0x4 PUSH2 0x20E7 JUMP JUMPDEST PUSH2 0xC37 JUMP JUMPDEST PUSH2 0x24A PUSH2 0xC5E JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x35D CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xC6D JUMP JUMPDEST PUSH2 0x22D PUSH2 0x370 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E49 JUMP JUMPDEST PUSH2 0xF0D JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x383 CALLDATASIZE PUSH1 0x4 PUSH2 0x1ED0 JUMP JUMPDEST PUSH2 0xF38 JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x396 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xF60 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xF7D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B0 DUP5 DUP5 DUP5 PUSH2 0xF8C JUMP JUMPDEST DUP1 PUSH2 0x434 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0xB135D3F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x1626BA7E SWAP1 PUSH2 0x3E4 SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x2591 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x434 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44B CALLER DUP5 DUP5 PUSH2 0x1061 JUMP JUMPDEST POP PUSH1 0x1 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x7 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x7 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x507 JUMPI POP PUSH1 0x7 SLOAD DUP6 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x507 SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4DE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x502 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST PUSH2 0x10EF JUMP JUMPDEST PUSH2 0x52C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2602 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x58F JUMPI POP PUSH1 0x8 SLOAD DUP5 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x58F SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2612 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x60E JUMPI POP PUSH1 0x9 SLOAD DUP4 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x60E SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x62A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2622 JUMP JUMPDEST ADDRESS PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x732E498D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x732E498D SWAP1 PUSH2 0x660 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2689 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x67A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x68E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x6B2 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x6BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5586535 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x156194D4 SWAP1 PUSH2 0x6F2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x2632 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x70C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x720 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x744 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST SWAP1 POP PUSH2 0x74E PUSH2 0x16D4 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BA430D9 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xB74861B2 SWAP1 PUSH2 0x77E SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x796 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7AA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x7D2 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x20B3 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x826 DUP3 PUSH2 0x180 ADD MLOAD PUSH2 0x81A DUP5 PUSH1 0x40 ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x80E DUP7 PUSH1 0x20 ADD MLOAD PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x0 ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x1142 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1154 AND JUMP JUMPDEST SWAP1 POP PUSH2 0x832 CALLER DUP3 PUSH2 0x117B JUMP JUMPDEST DUP5 PUSH1 0xE0 ADD MLOAD DUP3 PUSH2 0x180 ADD MLOAD LT ISZERO PUSH2 0x8C7 JUMPI PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0xE29D52D PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x38A754B4 SWAP1 PUSH2 0x873 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x2689 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x88D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x8A1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x8C5 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP JUMPDEST PUSH32 0x962211FDD8BAE00324DF1E7F067E248569F92820B635D0DC5C6F5801F01E8FB DUP4 PUSH1 0x40 MLOAD PUSH2 0x8F6 SWAP2 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP SWAP1 SWAP2 POP POP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x4 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x92E DUP5 DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP1 DUP6 MSTORE SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH2 0x96E SWAP2 DUP7 SWAP2 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH2 0x1061 JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x982 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x98B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x995 CALLER DUP4 PUSH2 0x117B JUMP JUMPDEST PUSH2 0x99F CALLER DUP4 PUSH2 0x12FD JUMP JUMPDEST POP PUSH1 0x1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9B1 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x9BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9C4 CALLER DUP5 PUSH2 0x1409 JUMP JUMPDEST PUSH2 0x44B DUP3 DUP5 PUSH2 0x15B8 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 PUSH2 0x44B SWAP2 DUP6 SWAP1 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH2 0xA12 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xA1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x7 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP2 DUP3 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x8 DUP1 SLOAD SWAP4 DUP6 AND SWAP4 DUP3 AND SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE PUSH1 0x9 DUP1 SLOAD SWAP2 SWAP1 SWAP4 AND SWAP2 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xA7D PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xA86 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0xADA PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xAE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB83 CALLER PUSH2 0xB7E PUSH2 0xAF2 PUSH2 0x90C JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xB22 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB39 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB4D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xB71 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST MLOAD SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH2 0x15B8 JUMP JUMPDEST POP PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ SWAP1 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 PUSH2 0x44B SWAP2 DUP6 SWAP1 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44B CALLER DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC1A PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC2D DUP3 DUP5 PUSH2 0x117B JUMP JUMPDEST PUSH2 0x44B CALLER DUP5 PUSH2 0x12FD JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC41 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC4A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC54 CALLER DUP4 PUSH2 0x1409 JUMP JUMPDEST PUSH2 0x99F CALLER DUP4 PUSH2 0x15B8 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH2 0xC75 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC7E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xCAE SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCC5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCD9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xCFD SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST PUSH1 0x20 ADD MLOAD ISZERO PUSH2 0xD0B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2E1A7D4D SWAP1 DUP3 SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xD43 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD5A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD6E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xD92 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST MLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP2 MSTORE PUSH2 0xDB4 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDCE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xE06 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xA9059CBB SWAP1 DUP4 SWAP1 DUP4 SWAP1 PUSH4 0x70A08231 SWAP1 PUSH2 0xE41 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE6D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xE91 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEAE SWAP3 SWAP2 SWAP1 PUSH2 0x2524 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xF00 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SELFDESTRUCT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF42 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xF4B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF56 DUP5 DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST POP PUSH1 0x0 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xF68 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xF71 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7A DUP2 PUSH2 0x1659 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 MLOAD PUSH1 0x41 EQ PUSH2 0xFA7 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x437 JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 DUP4 ADD MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x0 BYTE PUSH1 0x1B DUP2 LT ISZERO PUSH2 0xFC9 JUMPI PUSH1 0x1B ADD JUMPDEST DUP1 PUSH1 0xFF AND PUSH1 0x1B EQ ISZERO DUP1 ISZERO PUSH2 0xFE1 JUMPI POP DUP1 PUSH1 0xFF AND PUSH1 0x1C EQ ISZERO JUMPDEST ISZERO PUSH2 0xFF2 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x437 JUMP JUMPDEST PUSH1 0x1 DUP7 DUP3 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x1015 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x25BF JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1037 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP8 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP4 POP POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1074 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1087 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE SWAP1 DUP2 SWAP1 KECCAK256 DUP5 SWAP1 SSTORE MLOAD PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x10E2 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x434 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xD202158D PUSH2 0x1124 DUP6 PUSH2 0x16C8 JUMP JUMPDEST DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E4 SWAP3 SWAP2 SWAP1 PUSH2 0x25B1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 ADD DUP4 DUP2 LT ISZERO PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1163 JUMPI POP PUSH1 0x0 PUSH2 0x44F JUMP JUMPDEST DUP3 DUP3 MUL DUP3 DUP5 DUP3 DUP2 PUSH2 0x1170 JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x118E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x11A1 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x4 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x11CD SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x1219 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1238 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x1261 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP1 DUP5 AND DUP2 MSTORE KECCAK256 SLOAD PUSH2 0x1296 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD SWAP1 DUP6 AND SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x10E2 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 GT ISZERO PUSH2 0x12F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2E1A7D4D SWAP1 PUSH2 0x132D SWAP1 DUP5 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x135B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x137F SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH2 0x13B2 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2567 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x13CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x13E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x1404 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH2 0x143D SWAP1 DUP6 SWAP1 ADDRESS SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x253F JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1457 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x146B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x148F SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x1498 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP3 PUSH4 0x95EA7B3 SWAP3 PUSH2 0x14CE SWAP3 SWAP2 AND SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2567 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x14FC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x1520 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x1529 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0xB6B55F25 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xB6B55F25 SWAP1 PUSH2 0x1559 SWAP1 DUP5 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1573 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1587 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x15AB SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x15B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x15CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x15DE SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x4 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x160A SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD SWAP1 SWAP2 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x1219 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x166C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x2A0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x16E8 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x16F5 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1702 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP1 NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x44F DUP2 PUSH2 0x2765 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2765 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2779 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x44F DUP2 PUSH2 0x2782 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2782 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x17E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x17F5 PUSH2 0x17F0 DUP3 PUSH2 0x26C0 JUMP JUMPDEST PUSH2 0x269A JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x1811 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x181C DUP4 DUP3 DUP5 PUSH2 0x271F JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1836 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1844 PUSH2 0x17F0 DUP3 PUSH2 0x26C0 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x1860 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x181C DUP4 DUP3 DUP5 PUSH2 0x272B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x187D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1887 PUSH1 0x40 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1895 DUP5 DUP5 PUSH2 0x17C6 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x18A6 DUP5 DUP5 DUP4 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x120 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x18C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18D0 PUSH2 0x120 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x18DE DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x18EF DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1903 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1917 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x192B DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x193F DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1953 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1967 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1987 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1993 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2A0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x19BE PUSH2 0x1E0 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x19CC DUP5 DUP5 PUSH2 0x1CB6 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x60 PUSH2 0x19DD DUP5 DUP5 DUP4 ADD PUSH2 0x1CB6 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x19F1 DUP5 DUP3 DUP6 ADD PUSH2 0x1CB6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1A06 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH2 0x140 PUSH2 0x1A1B DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH2 0x160 PUSH2 0x1A30 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH2 0x180 PUSH2 0x1A45 DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH2 0x1A0 PUSH2 0x1A5A DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x1C0 PUSH2 0x1A6F DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x1E0 DUP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1A90 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A9C DUP5 DUP3 DUP6 ADD PUSH2 0x1825 JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x200 PUSH2 0x1AB2 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP PUSH2 0x220 PUSH2 0x1AC8 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x160 DUP4 ADD MSTORE POP PUSH2 0x240 PUSH2 0x1ADE DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x180 DUP4 ADD MSTORE POP PUSH2 0x260 PUSH2 0x1AF4 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x1A0 DUP4 ADD MSTORE POP PUSH2 0x280 PUSH2 0x1B0A DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x1C0 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x200 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B2A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1B35 PUSH2 0x200 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1B43 DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1B54 DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1B68 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1B7C DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x1B90 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x1BA4 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1BB8 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1BCC DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 PUSH2 0x1BE1 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1BF7 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x140 PUSH2 0x1C0D DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP PUSH2 0x160 PUSH2 0x1C23 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x160 DUP4 ADD MSTORE POP PUSH2 0x180 PUSH2 0x1C39 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x180 DUP4 ADD MSTORE POP PUSH2 0x1A0 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1C5A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1C66 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x1A0 DUP4 ADD MSTORE POP PUSH2 0x1C0 PUSH2 0x1C7C DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x1C0 DUP4 ADD MSTORE POP PUSH2 0x1E0 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1C9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1CA9 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x1E0 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1CD2 PUSH1 0x60 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1CE0 DUP5 DUP5 PUSH2 0x17A5 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1CF1 DUP5 DUP5 DUP4 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1D05 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x160 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1D24 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1D2F PUSH2 0x160 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1D3D DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1D4E DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1D62 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1D76 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x1D8A DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x1D9E DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1DB2 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1DC6 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 PUSH2 0x1DDB DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1DF1 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x140 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1E12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1E1E DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1E3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1E5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1E68 DUP6 DUP6 PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1E79 DUP6 DUP3 DUP7 ADD PUSH2 0x179A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1E98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1EA4 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1EB5 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1EE5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1EF1 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1F02 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1F28 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1F34 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1F45 DUP7 DUP3 DUP8 ADD PUSH2 0x17BB JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1F61 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1F80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1F8C DUP6 DUP6 PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1E79 DUP6 DUP3 DUP7 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FAF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17B0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x186B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x200D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2023 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x202F DUP8 DUP3 DUP9 ADD PUSH2 0x18B2 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x204B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2057 DUP8 DUP3 DUP9 ADD PUSH2 0x18B2 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2073 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x207F DUP8 DUP3 DUP9 ADD PUSH2 0x1D11 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x209B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x20A7 DUP8 DUP3 DUP9 ADD PUSH2 0x1B17 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x20C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x20DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x904 DUP5 DUP3 DUP6 ADD PUSH2 0x19A0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x20F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2118 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1E68 DUP6 DUP6 PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x270D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x26F4 JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x26FF JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2704 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2159 DUP3 PUSH2 0x26E7 JUMP JUMPDEST PUSH2 0x2163 DUP2 DUP6 PUSH2 0x26EB JUMP JUMPDEST SWAP4 POP PUSH2 0x2173 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x272B JUMP JUMPDEST PUSH2 0x217C DUP2 PUSH2 0x275B JUMP JUMPDEST SWAP1 SWAP4 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2714 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x219C PUSH1 0x10 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH16 0x756E617574686F72697A65642D61707 PUSH1 0x84 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21C8 PUSH1 0x14 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH20 0x1D5B985D5D1A1BDC9A5E99590B59185D185CD95D PUSH1 0x62 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21F8 PUSH1 0x17 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH32 0x756E617574686F72697A65642D776F726B6572706F6F6C000000000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x120 DUP5 ADD SWAP1 PUSH2 0x2239 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x224C PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x225F PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x2272 PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2285 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x2298 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x22AB PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x22BE PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x100 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x200 DUP5 ADD SWAP1 PUSH2 0x22F6 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x2309 PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x231C PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x232F PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2342 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x2355 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x2368 PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x237B PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD PUSH2 0x2390 PUSH2 0x100 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x120 DUP4 ADD MLOAD PUSH2 0x23A5 PUSH2 0x120 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x140 DUP4 ADD MLOAD PUSH2 0x23BA PUSH2 0x140 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x160 DUP4 ADD MLOAD PUSH2 0x23CF PUSH2 0x160 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x180 DUP4 ADD MLOAD PUSH2 0x23E4 PUSH2 0x180 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x1A0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x1A0 DUP7 ADD MSTORE PUSH2 0x23FE DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST SWAP2 POP POP PUSH2 0x1C0 DUP4 ADD MLOAD PUSH2 0x2415 PUSH2 0x1C0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x1E0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x1E0 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x160 DUP5 ADD SWAP1 PUSH2 0x2444 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x2457 PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x246A PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x247D PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2490 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x24A3 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x24B6 PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x24C9 PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD PUSH2 0x24DE PUSH2 0x100 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x120 DUP4 ADD MLOAD PUSH2 0x24F3 PUSH2 0x120 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x140 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x140 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2707 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2133 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2124 JUMP JUMPDEST PUSH2 0x437 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x254D DUP3 DUP7 PUSH2 0x2133 JUMP JUMPDEST PUSH2 0x255A PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x2133 JUMP JUMPDEST PUSH2 0x904 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2133 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x213C JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x259F DUP3 DUP6 PUSH2 0x2145 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x434 DUP2 DUP5 PUSH2 0x214E JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD PUSH2 0x25CD DUP3 DUP8 PUSH2 0x2145 JUMP JUMPDEST PUSH2 0x25DA PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x250D JUMP JUMPDEST PUSH2 0x25E7 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x2145 JUMP JUMPDEST PUSH2 0x22D8 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2186 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x218F JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x21BB JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x21EB JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x2643 DUP2 DUP8 PUSH2 0x2224 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x2657 DUP2 DUP7 PUSH2 0x2224 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x266B DUP2 DUP6 PUSH2 0x242F JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x267F DUP2 DUP5 PUSH2 0x22E1 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x437 DUP2 DUP5 PUSH2 0x22E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x26B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH2 0x26D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 PUSH2 0x16C8 JUMP JUMPDEST ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 PUSH2 0x26F4 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2746 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x272E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x2755 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x26F4 JUMP JUMPDEST DUP2 EQ PUSH2 0xF7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x26FF JUMP JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x2704 JUMP INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0xac 0xc3 0xbb SWAP16 EXTCODECOPY 0xbe 0x27 0xad 0xed TIMESTAMP EXTCODEHASH 0xac PUSH17 0x4D2D5E876CFABACB4F10F0D13457ED92FE CREATE EQ PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV MULMOD STOP BLOCKHASH ", | |
"sourceMap": "169:4373:18:-;;;554:156;8:9:-1;5:2;;;30:1;27;20:12;5:2;554:156:18;;;;;;;;;;;;;;;;;;;;;615:13;701:1:15;668:30;615:13:18;-1:-1:-1;;;;;668:11:15;:30;:::i;:::-;:34;659:634;;;706:8;:38;;-1:-1:-1;;;;;;706:38:15;-1:-1:-1;;;;;706:38:15;;;;;659:634;;;792:1;759:30;176:42;-1:-1:-1;;;;;759:11:15;:30;:::i;:::-;:34;755:538;;;797:8;:38;;-1:-1:-1;;;;;;797:38:15;176:42;797:38;;;755:538;;;883:1;850:30;258:42;-1:-1:-1;;;;;850:11:15;:30;:::i;:::-;:34;846:447;;;888:8;:38;;-1:-1:-1;;;;;;888:38:15;258:42;888:38;;;846:447;;;974:1;941:30;974:1;-1:-1:-1;;;;;941:11:15;:30;:::i;:::-;:34;937:356;;;340:42;979:38;;-1:-1:-1;;;;;;979:38:15;;;937:356;;;1065:1;1032:30;422:42;-1:-1:-1;;;;;1032:11:15;:30;:::i;:::-;:34;1028:265;;;1070:8;:38;;-1:-1:-1;;;;;;1070:38:15;422:42;1070:38;;;1028:265;;;1156:1;1123:30;1156:1;-1:-1:-1;;;;;1123:11:15;:30;:::i;:::-;:34;1119:174;;;504:42;1161:38;;-1:-1:-1;;;;;;1161:38:15;;;1119:174;;;1252:29;;;;;;;;;;;;;;;;;;;1119:174;1309:8;;;;;;;;;-1:-1:-1;;;;;1309:8:15;-1:-1:-1;;;;;1309:19:15;;:21;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1309:21:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1309:21:15;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1309:21:15;;;;;;;;;1296:10;:34;;-1:-1:-1;;;;;1296:34:15;;;-1:-1:-1;;;;;;1296:34:15;;;;;;;515:6:19;:19;;;;;524:10;515:19;;;;;549:40;;582:6;;;-1:-1:-1;1296:10:15;;549:40:19;;1296:10:15;;549:40:19;688:10:18;;;;;;;;;-1:-1:-1;;;;;688:10:18;-1:-1:-1;;;;;688:16:18;;:18;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;688:18:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;688:18:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;688:18:18;;;;;;;;;676:9;:30;;-1:-1:-1;;;;;;676:30:18;-1:-1:-1;;;;;676:30:18;;;;;;;;;;-1:-1:-1;169:4373:18;;1337:120:15;1434:18;;1423:31::o;5:134:-1:-;83:13;;101:33;83:13;101:33;;;68:71;;;;;146:164;239:13;;257:48;239:13;257:48;;496:263;;611:2;599:9;590:7;586:23;582:32;579:2;;;627:1;624;617:12;579:2;662:1;679:64;735:7;715:9;679:64;;;669:74;573:186;-1:-1;;;;573:186;766:293;;896:2;884:9;875:7;871:23;867:32;864:2;;;912:1;909;902:12;864:2;947:1;964:79;1035:7;1015:9;964:79;;1375:364;;1535:67;1599:2;1594:3;1535:67;;;1635:66;1615:87;;1730:2;1721:12;;1521:218;-1:-1;;1521:218;1747:407;1938:2;1952:47;;;1923:18;;2013:131;1923:18;2013:131;;2162:163;2265:19;;;2314:4;2305:14;;2258:67;2333:91;;2395:24;2413:5;2395:24;;2431:106;;2508:24;2526:5;2508:24;;2661:121;-1:-1;;;;;2723:54;;2706:76;2789:117;2858:24;2876:5;2858:24;;;2851:5;2848:35;2838:2;;2897:1;2894;2887:12;2838:2;2832:74;;2913:147;2997:39;3030:5;2997:39;;2971:89;169:4373:18;;;;;;" | |
}, | |
"deployedBytecode": { | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063b6b55f2511610097578063dd62ed3e11610071578063dd62ed3e14610362578063efef431f14610375578063f2fde38b14610388578063fce3345b1461039b576101c4565b8063b6b55f2514610334578063c55dae6314610347578063db7b27161461034f576101c4565b8063a41f45e9116100d3578063a41f45e9146102f3578063a457c2d7146102fb578063a9059cbb1461030e578063b1cbf88814610321576101c4565b80638da5cb5b146102db5780638f32d59b146102e357806398cb3316146102eb576101c4565b80632e1a7d4d1161016657806357aabe911161014057806357aabe91146102a357806370a08231146102b8578063715018a6146102cb57806380e9071b146102d3576101c4565b80632e1a7d4d1461026a57806336efd16f1461027d5780633950935114610290576101c4565b8063156194d4116101a2578063156194d41461021a57806318160ddd1461023a5780631ce3aa0d1461024257806323b872dd14610257576101c4565b806301751998146101c9578063095ea7b3146101f257806313de360214610205575b600080fd5b6101dc6101d7366004611f13565b6103a3565b6040516101e99190612575565b60405180910390f35b6101dc610200366004611f6d565b61043e565b61020d610455565b6040516101e99190612516565b61022d610228366004611ff7565b610464565b6040516101e99190612583565b61022d61090c565b61024a610912565b6040516101e991906125f4565b6101dc610265366004611ed0565b610921565b6101dc6102783660046120e7565b610978565b6101dc61028b366004612105565b6109a7565b6101dc61029e366004611f6d565b6109ce565b6102b66102b1366004611e83565b610a0a565b005b61022d6102c6366004611e2b565b610a5a565b6102b6610a75565b6101dc610ad0565b61020d610b89565b6101dc610b98565b61020d610ba9565b61024a610bb8565b6101dc610309366004611f6d565b610bc7565b6101dc61031c366004611f6d565b610c03565b6101dc61032f366004612105565b610c10565b6101dc6103423660046120e7565b610c37565b61024a610c5e565b6102b661035d366004611e2b565b610c6d565b61022d610370366004611e49565b610f0d565b6101dc610383366004611ed0565b610f38565b6102b6610396366004611e2b565b610f60565b61020d610f7d565b60006103b0848484610f8c565b806104345750604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906103e49086908690600401612591565b60206040518083038186803b1580156103fc57600080fd5b505afa158015610410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506104349190810190611f9d565b90505b9392505050565b600061044b338484611061565b5060015b92915050565b6007546001600160a01b031681565b6007546000906001600160a01b031615806105075750600754855160015460408051631a2a7bc760e21b81529051610507946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b505afa1580156104de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506105029190810190611fbb565b6110ef565b61052c5760405162461bcd60e51b815260040161052390612602565b60405180910390fd5b6008546001600160a01b0316158061058f5750600854845160015460408051631a2a7bc760e21b8152905161058f946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b6105ab5760405162461bcd60e51b815260040161052390612612565b6009546001600160a01b0316158061060e5750600954835160015460408051631a2a7bc760e21b8152905161060e946001600160a01b03908116949316916368a9ef1c916004808301926020929190829003018186803b1580156104ca57600080fd5b61062a5760405162461bcd60e51b815260040161052390612622565b3060c083015260015460405163732e498d60e01b81526001600160a01b039091169063732e498d90610660908590600401612689565b602060405180830381600087803b15801561067a57600080fd5b505af115801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106b29190810190611f9d565b6106bb57600080fd5b600154604051630558653560e21b81526000916001600160a01b03169063156194d4906106f2908990899089908990600401612632565b602060405180830381600087803b15801561070c57600080fd5b505af1158015610720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107449190810190611fbb565b905061074e6116d4565b600154604051635ba430d960e11b81526001600160a01b039091169063b74861b29061077e908590600401612583565b60006040518083038186803b15801561079657600080fd5b505afa1580156107aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107d291908101906120b3565b9050600061082682610180015161081a84604001516040015161080e86602001516040015187600001516040015161114290919063ffffffff16565b9063ffffffff61114216565b9063ffffffff61115416565b9050610832338261117b565b8460e0015182610180015110156108c757600154604051630e29d52d60e21b81526001600160a01b03909116906338a754b490610873908890600401612689565b602060405180830381600087803b15801561088d57600080fd5b505af11580156108a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108c59190810190611f9d565b505b7f0962211fdd8bae00324df1e7f067e248569f92820b635d0dc5c6f5801f01e8fb836040516108f69190612583565b60405180910390a150909150505b949350505050565b60045490565b6001546001600160a01b031681565b600061092e848484611225565b6001600160a01b03841660009081526003602090815260408083203380855292529091205461096e918691610969908663ffffffff6112e816565b611061565b5060019392505050565b6000610982610b98565b61098b57600080fd5b610995338361117b565b61099f33836112fd565b506001919050565b60006109b1610b98565b6109ba57600080fd5b6109c43384611409565b61044b82846115b8565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161044b918590610969908663ffffffff61114216565b610a12610b98565b610a1b57600080fd5b600780546001600160a01b039485166001600160a01b031991821617909155600880549385169382169390931790925560098054919093169116179055565b6001600160a01b031660009081526002602052604090205490565b610a7d610b98565b610a8657600080fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6000610ada610b98565b610ae357600080fd5b610b8333610b7e610af261090c565b600154604051636b55f4a560e01b81526001600160a01b0390911690636b55f4a590610b22903090600401612516565b604080518083038186803b158015610b3957600080fd5b505afa158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b719190810190611fd9565b519063ffffffff6112e816565b6115b8565b50600190565b6005546001600160a01b031690565b6005546001600160a01b0316331490565b6009546001600160a01b031681565b6000546001600160a01b031681565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161044b918590610969908663ffffffff6112e816565b600061044b338484611225565b6000610c1a610b98565b610c2357600080fd5b610c2d828461117b565b61044b33846112fd565b6000610c41610b98565b610c4a57600080fd5b610c543383611409565b61099f33836115b8565b6006546001600160a01b031681565b610c75610b98565b610c7e57600080fd5b600154604051636b55f4a560e01b81526001600160a01b0390911690636b55f4a590610cae903090600401612516565b604080518083038186803b158015610cc557600080fd5b505afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610cfd9190810190611fd9565b6020015115610d0b57600080fd5b600154604051636b55f4a560e01b81526001600160a01b0390911690632e1a7d4d908290636b55f4a590610d43903090600401612516565b604080518083038186803b158015610d5a57600080fd5b505afa158015610d6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610d929190810190611fd9565b516040516001600160e01b031960e084901b168152610db49190600401612583565b602060405180830381600087803b158015610dce57600080fd5b505af1158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610e069190810190611f9d565b506006546040516370a0823160e01b81526001600160a01b039091169063a9059cbb90839083906370a0823190610e41903090600401612516565b60206040518083038186803b158015610e5957600080fd5b505afa158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610e919190810190611fbb565b6040518363ffffffff1660e01b8152600401610eae929190612524565b602060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610f009190810190611f9d565b50806001600160a01b0316ff5b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000610f42610b98565b610f4b57600080fd5b610f56848484611225565b5060009392505050565b610f68610b98565b610f7157600080fd5b610f7a81611659565b50565b6008546001600160a01b031681565b6000806000808451604114610fa75760009350505050610437565b50505060208201516040830151606084015160001a601b811015610fc957601b015b8060ff16601b14158015610fe157508060ff16601c14155b15610ff25760009350505050610437565b6001868285856040516000815260200160405260405161101594939291906125bf565b6020604051602081039080840390855afa158015611037573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161493505050509392505050565b6001600160a01b03821661107457600080fd5b6001600160a01b03831661108757600080fd5b6001600160a01b0380841660008181526003602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906110e2908590612583565b60405180910390a3505050565b6000826001600160a01b0316846001600160a01b031614806104345750836001600160a01b031663d202158d611124856116c8565b846040518363ffffffff1660e01b81526004016103e49291906125b1565b60008282018381101561043757600080fd5b6000826111635750600061044f565b8282028284828161117057fe5b041461043757600080fd5b6001600160a01b03821661118e57600080fd5b6004546111a1908263ffffffff6112e816565b6004556001600160a01b0382166000908152600260205260409020546111cd908263ffffffff6112e816565b6001600160a01b0383166000818152600260205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611219908590612583565b60405180910390a35050565b6001600160a01b03821661123857600080fd5b6001600160a01b038316600090815260026020526040902054611261908263ffffffff6112e816565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611296908263ffffffff61114216565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110e2908590612583565b6000828211156112f757600080fd5b50900390565b600154604051632e1a7d4d60e01b81526001600160a01b0390911690632e1a7d4d9061132d908490600401612583565b602060405180830381600087803b15801561134757600080fd5b505af115801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061137f9190810190611f9d565b5060065460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906113b29085908590600401612567565b602060405180830381600087803b1580156113cc57600080fd5b505af11580156113e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506114049190810190611f9d565b505050565b6006546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061143d9085903090869060040161253f565b602060405180830381600087803b15801561145757600080fd5b505af115801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061148f9190810190611f9d565b61149857600080fd5b60065460015460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926114ce929116908590600401612567565b602060405180830381600087803b1580156114e857600080fd5b505af11580156114fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115209190810190611f9d565b61152957600080fd5b60015460405163b6b55f2560e01b81526001600160a01b039091169063b6b55f2590611559908490600401612583565b602060405180830381600087803b15801561157357600080fd5b505af1158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115ab9190810190611f9d565b6115b457600080fd5b5050565b6001600160a01b0382166115cb57600080fd5b6004546115de908263ffffffff61114216565b6004556001600160a01b03821660009081526002602052604090205461160a908263ffffffff61114216565b6001600160a01b0383166000818152600260205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611219908590612583565b6001600160a01b03811661166c57600080fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031690565b604051806102a001604052806116e861177a565b81526020016116f561177a565b815260200161170261177a565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b803561044f81612765565b805161044f81612765565b805161044f81612779565b803561044f81612782565b805161044f81612782565b600082601f8301126117e257600080fd5b81356117f56117f0826126c0565b61269a565b9150808252602083016020830185838301111561181157600080fd5b61181c83828461271f565b50505092915050565b600082601f83011261183657600080fd5b81516118446117f0826126c0565b9150808252602083016020830185838301111561186057600080fd5b61181c83828461272b565b60006040828403121561187d57600080fd5b611887604061269a565b9050600061189584846117c6565b82525060206118a6848483016117c6565b60208301525092915050565b600061012082840312156118c557600080fd5b6118d061012061269a565b905060006118de848461179a565b82525060206118ef848483016117bb565b6020830152506040611903848285016117bb565b6040830152506060611917848285016117bb565b606083015250608061192b8482850161179a565b60808301525060a061193f8482850161179a565b60a08301525060c06119538482850161179a565b60c08301525060e0611967848285016117bb565b60e0830152506101008201356001600160401b0381111561198757600080fd5b611993848285016117d1565b6101008301525092915050565b60006102a082840312156119b357600080fd5b6119be6101e061269a565b905060006119cc8484611cb6565b82525060606119dd84848301611cb6565b60208301525060c06119f184828501611cb6565b604083015250610120611a06848285016117c6565b606083015250610140611a1b848285016117c6565b608083015250610160611a30848285016117c6565b60a083015250610180611a45848285016117a5565b60c0830152506101a0611a5a848285016117a5565b60e0830152506101c0611a6f848285016117a5565b610100830152506101e08201516001600160401b03811115611a9057600080fd5b611a9c84828501611825565b61012083015250610200611ab2848285016117c6565b61014083015250610220611ac8848285016117c6565b61016083015250610240611ade848285016117c6565b61018083015250610260611af4848285016117c6565b6101a083015250610280611b0a848285016117c6565b6101c08301525092915050565b60006102008284031215611b2a57600080fd5b611b3561020061269a565b90506000611b43848461179a565b8252506020611b54848483016117bb565b6020830152506040611b688482850161179a565b6040830152506060611b7c848285016117bb565b6060830152506080611b908482850161179a565b60808301525060a0611ba4848285016117bb565b60a08301525060c0611bb88482850161179a565b60c08301525060e0611bcc848285016117bb565b60e083015250610100611be1848285016117bb565b61010083015250610120611bf7848285016117bb565b61012083015250610140611c0d848285016117bb565b61014083015250610160611c238482850161179a565b61016083015250610180611c398482850161179a565b610180830152506101a08201356001600160401b03811115611c5a57600080fd5b611c66848285016117d1565b6101a0830152506101c0611c7c848285016117bb565b6101c0830152506101e08201356001600160401b03811115611c9d57600080fd5b611ca9848285016117d1565b6101e08301525092915050565b600060608284031215611cc857600080fd5b611cd2606061269a565b90506000611ce084846117a5565b8252506020611cf1848483016117a5565b6020830152506040611d05848285016117c6565b60408301525092915050565b60006101608284031215611d2457600080fd5b611d2f61016061269a565b90506000611d3d848461179a565b8252506020611d4e848483016117bb565b6020830152506040611d62848285016117bb565b6040830152506060611d76848285016117bb565b6060830152506080611d8a848285016117bb565b60808301525060a0611d9e848285016117bb565b60a08301525060c0611db28482850161179a565b60c08301525060e0611dc68482850161179a565b60e083015250610100611ddb8482850161179a565b61010083015250610120611df1848285016117bb565b610120830152506101408201356001600160401b03811115611e1257600080fd5b611e1e848285016117d1565b6101408301525092915050565b600060208284031215611e3d57600080fd5b6000610904848461179a565b60008060408385031215611e5c57600080fd5b6000611e68858561179a565b9250506020611e798582860161179a565b9150509250929050565b600080600060608486031215611e9857600080fd5b6000611ea4868661179a565b9350506020611eb58682870161179a565b9250506040611ec68682870161179a565b9150509250925092565b600080600060608486031215611ee557600080fd5b6000611ef1868661179a565b9350506020611f028682870161179a565b9250506040611ec6868287016117bb565b600080600060608486031215611f2857600080fd5b6000611f34868661179a565b9350506020611f45868287016117bb565b92505060408401356001600160401b03811115611f6157600080fd5b611ec6868287016117d1565b60008060408385031215611f8057600080fd5b6000611f8c858561179a565b9250506020611e79858286016117bb565b600060208284031215611faf57600080fd5b600061090484846117b0565b600060208284031215611fcd57600080fd5b600061090484846117c6565b600060408284031215611feb57600080fd5b6000610904848461186b565b6000806000806080858703121561200d57600080fd5b84356001600160401b0381111561202357600080fd5b61202f878288016118b2565b94505060208501356001600160401b0381111561204b57600080fd5b612057878288016118b2565b93505060408501356001600160401b0381111561207357600080fd5b61207f87828801611d11565b92505060608501356001600160401b0381111561209b57600080fd5b6120a787828801611b17565b91505092959194509250565b6000602082840312156120c557600080fd5b81516001600160401b038111156120db57600080fd5b610904848285016119a0565b6000602082840312156120f957600080fd5b600061090484846117bb565b6000806040838503121561211857600080fd5b6000611e6885856117bb565b61212d8161270d565b82525050565b61212d816126f4565b61212d816126ff565b61212d81612704565b6000612159826126e7565b61216381856126eb565b935061217381856020860161272b565b61217c8161275b565b9093019392505050565b61212d81612714565b600061219c6010836126eb565b6f0756e617574686f72697a65642d6170760841b815260200192915050565b60006121c86014836126eb565b731d5b985d5d1a1bdc9a5e99590b59185d185cd95d60621b815260200192915050565b60006121f86017836126eb565b7f756e617574686f72697a65642d776f726b6572706f6f6c000000000000000000815260200192915050565b80516000906101208401906122398582612133565b50602083015161224c6020860182612145565b50604083015161225f6040860182612145565b5060608301516122726060860182612145565b5060808301516122856080860182612133565b5060a083015161229860a0860182612133565b5060c08301516122ab60c0860182612133565b5060e08301516122be60e0860182612145565b506101008301518482036101008601526122d8828261214e565b95945050505050565b80516000906102008401906122f68582612133565b5060208301516123096020860182612145565b50604083015161231c6040860182612133565b50606083015161232f6060860182612145565b5060808301516123426080860182612133565b5060a083015161235560a0860182612145565b5060c083015161236860c0860182612133565b5060e083015161237b60e0860182612145565b50610100830151612390610100860182612145565b506101208301516123a5610120860182612145565b506101408301516123ba610140860182612145565b506101608301516123cf610160860182612133565b506101808301516123e4610180860182612133565b506101a08301518482036101a08601526123fe828261214e565b9150506101c08301516124156101c0860182612145565b506101e08301518482036101e08601526122d8828261214e565b80516000906101608401906124448582612133565b5060208301516124576020860182612145565b50604083015161246a6040860182612145565b50606083015161247d6060860182612145565b5060808301516124906080860182612145565b5060a08301516124a360a0860182612145565b5060c08301516124b660c0860182612133565b5060e08301516124c960e0860182612133565b506101008301516124de610100860182612133565b506101208301516124f3610120860182612145565b506101408301518482036101408601526122d8828261214e565b61212d81612707565b6020810161044f8284612133565b604081016125328285612124565b6104376020830184612145565b6060810161254d8286612133565b61255a6020830185612133565b6109046040830184612145565b604081016125328285612133565b6020810161044f828461213c565b6020810161044f8284612145565b6040810161259f8285612145565b8181036020830152610434818461214e565b604081016125328285612145565b608081016125cd8287612145565b6125da602083018661250d565b6125e76040830185612145565b6122d86060830184612145565b6020810161044f8284612186565b6020808252810161044f8161218f565b6020808252810161044f816121bb565b6020808252810161044f816121eb565b608080825281016126438187612224565b905081810360208301526126578186612224565b9050818103604083015261266b818561242f565b9050818103606083015261267f81846122e1565b9695505050505050565b6020808252810161043781846122e1565b6040518181016001600160401b03811182821017156126b857600080fd5b604052919050565b60006001600160401b038211156126d657600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b600061044f826116c8565b151590565b90565b60ff1690565b600061044f825b600061044f826126f4565b82818337506000910152565b60005b8381101561274657818101518382015260200161272e565b83811115612755576000848401525b50505050565b601f01601f191690565b61276e816126f4565b8114610f7a57600080fd5b61276e816126ff565b61276e8161270456fea365627a7a72305820acc3bb9f3cbe27aded423fac704d2d5e876cfabacb4f10f0d13457ed92fef0146c6578706572696d656e74616cf564736f6c63430005090040", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1C4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xB6B55F25 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xDD62ED3E GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x362 JUMPI DUP1 PUSH4 0xEFEF431F EQ PUSH2 0x375 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x388 JUMPI DUP1 PUSH4 0xFCE3345B EQ PUSH2 0x39B JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0xB6B55F25 EQ PUSH2 0x334 JUMPI DUP1 PUSH4 0xC55DAE63 EQ PUSH2 0x347 JUMPI DUP1 PUSH4 0xDB7B2716 EQ PUSH2 0x34F JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0xA41F45E9 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0xA41F45E9 EQ PUSH2 0x2F3 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x2FB JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x30E JUMPI DUP1 PUSH4 0xB1CBF888 EQ PUSH2 0x321 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0x8F32D59B EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0x98CB3316 EQ PUSH2 0x2EB JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x166 JUMPI DUP1 PUSH4 0x57AABE91 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0x57AABE91 EQ PUSH2 0x2A3 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x2B8 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x2CB JUMPI DUP1 PUSH4 0x80E9071B EQ PUSH2 0x2D3 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x26A JUMPI DUP1 PUSH4 0x36EFD16F EQ PUSH2 0x27D JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x290 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x156194D4 GT PUSH2 0x1A2 JUMPI DUP1 PUSH4 0x156194D4 EQ PUSH2 0x21A JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x1CE3AA0D EQ PUSH2 0x242 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x257 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x1751998 EQ PUSH2 0x1C9 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x1F2 JUMPI DUP1 PUSH4 0x13DE3602 EQ PUSH2 0x205 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1DC PUSH2 0x1D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F13 JUMP JUMPDEST PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2575 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DC PUSH2 0x200 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0x43E JUMP JUMPDEST PUSH2 0x20D PUSH2 0x455 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2516 JUMP JUMPDEST PUSH2 0x22D PUSH2 0x228 CALLDATASIZE PUSH1 0x4 PUSH2 0x1FF7 JUMP JUMPDEST PUSH2 0x464 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH2 0x22D PUSH2 0x90C JUMP JUMPDEST PUSH2 0x24A PUSH2 0x912 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x25F4 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x265 CALLDATASIZE PUSH1 0x4 PUSH2 0x1ED0 JUMP JUMPDEST PUSH2 0x921 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x278 CALLDATASIZE PUSH1 0x4 PUSH2 0x20E7 JUMP JUMPDEST PUSH2 0x978 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x28B CALLDATASIZE PUSH1 0x4 PUSH2 0x2105 JUMP JUMPDEST PUSH2 0x9A7 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x29E CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0x9CE JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x2B1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E83 JUMP JUMPDEST PUSH2 0xA0A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x22D PUSH2 0x2C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xA5A JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0xA75 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0xAD0 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xB89 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xBA9 JUMP JUMPDEST PUSH2 0x24A PUSH2 0xBB8 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x309 CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0xBC7 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x31C CALLDATASIZE PUSH1 0x4 PUSH2 0x1F6D JUMP JUMPDEST PUSH2 0xC03 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x32F CALLDATASIZE PUSH1 0x4 PUSH2 0x2105 JUMP JUMPDEST PUSH2 0xC10 JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x342 CALLDATASIZE PUSH1 0x4 PUSH2 0x20E7 JUMP JUMPDEST PUSH2 0xC37 JUMP JUMPDEST PUSH2 0x24A PUSH2 0xC5E JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x35D CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xC6D JUMP JUMPDEST PUSH2 0x22D PUSH2 0x370 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E49 JUMP JUMPDEST PUSH2 0xF0D JUMP JUMPDEST PUSH2 0x1DC PUSH2 0x383 CALLDATASIZE PUSH1 0x4 PUSH2 0x1ED0 JUMP JUMPDEST PUSH2 0xF38 JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x396 CALLDATASIZE PUSH1 0x4 PUSH2 0x1E2B JUMP JUMPDEST PUSH2 0xF60 JUMP JUMPDEST PUSH2 0x20D PUSH2 0xF7D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B0 DUP5 DUP5 DUP5 PUSH2 0xF8C JUMP JUMPDEST DUP1 PUSH2 0x434 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0xB135D3F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x1626BA7E SWAP1 PUSH2 0x3E4 SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x2591 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x434 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44B CALLER DUP5 DUP5 PUSH2 0x1061 JUMP JUMPDEST POP PUSH1 0x1 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x7 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x7 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x507 JUMPI POP PUSH1 0x7 SLOAD DUP6 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x507 SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4DE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x502 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST PUSH2 0x10EF JUMP JUMPDEST PUSH2 0x52C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2602 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x58F JUMPI POP PUSH1 0x8 SLOAD DUP5 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x58F SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2612 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO DUP1 PUSH2 0x60E JUMPI POP PUSH1 0x9 SLOAD DUP4 MLOAD PUSH1 0x1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x1A2A7BC7 PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 MLOAD PUSH2 0x60E SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP5 SWAP4 AND SWAP2 PUSH4 0x68A9EF1C SWAP2 PUSH1 0x4 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x62A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP1 PUSH2 0x2622 JUMP JUMPDEST ADDRESS PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x732E498D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x732E498D SWAP1 PUSH2 0x660 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2689 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x67A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x68E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x6B2 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x6BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5586535 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x156194D4 SWAP1 PUSH2 0x6F2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x2632 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x70C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x720 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x744 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST SWAP1 POP PUSH2 0x74E PUSH2 0x16D4 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BA430D9 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xB74861B2 SWAP1 PUSH2 0x77E SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x796 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7AA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x7D2 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x20B3 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x826 DUP3 PUSH2 0x180 ADD MLOAD PUSH2 0x81A DUP5 PUSH1 0x40 ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x80E DUP7 PUSH1 0x20 ADD MLOAD PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x0 ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x1142 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1154 AND JUMP JUMPDEST SWAP1 POP PUSH2 0x832 CALLER DUP3 PUSH2 0x117B JUMP JUMPDEST DUP5 PUSH1 0xE0 ADD MLOAD DUP3 PUSH2 0x180 ADD MLOAD LT ISZERO PUSH2 0x8C7 JUMPI PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0xE29D52D PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x38A754B4 SWAP1 PUSH2 0x873 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x2689 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x88D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x8A1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x8C5 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP JUMPDEST PUSH32 0x962211FDD8BAE00324DF1E7F067E248569F92820B635D0DC5C6F5801F01E8FB DUP4 PUSH1 0x40 MLOAD PUSH2 0x8F6 SWAP2 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP SWAP1 SWAP2 POP POP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x4 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x92E DUP5 DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP1 DUP6 MSTORE SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH2 0x96E SWAP2 DUP7 SWAP2 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH2 0x1061 JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x982 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x98B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x995 CALLER DUP4 PUSH2 0x117B JUMP JUMPDEST PUSH2 0x99F CALLER DUP4 PUSH2 0x12FD JUMP JUMPDEST POP PUSH1 0x1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9B1 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0x9BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9C4 CALLER DUP5 PUSH2 0x1409 JUMP JUMPDEST PUSH2 0x44B DUP3 DUP5 PUSH2 0x15B8 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 PUSH2 0x44B SWAP2 DUP6 SWAP1 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH2 0xA12 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xA1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x7 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP2 DUP3 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x8 DUP1 SLOAD SWAP4 DUP6 AND SWAP4 DUP3 AND SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE PUSH1 0x9 DUP1 SLOAD SWAP2 SWAP1 SWAP4 AND SWAP2 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xA7D PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xA86 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0xADA PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xAE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB83 CALLER PUSH2 0xB7E PUSH2 0xAF2 PUSH2 0x90C JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xB22 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB39 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB4D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xB71 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST MLOAD SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH2 0x15B8 JUMP JUMPDEST POP PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ SWAP1 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 PUSH2 0x44B SWAP2 DUP6 SWAP1 PUSH2 0x969 SWAP1 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44B CALLER DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC1A PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC2D DUP3 DUP5 PUSH2 0x117B JUMP JUMPDEST PUSH2 0x44B CALLER DUP5 PUSH2 0x12FD JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC41 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC4A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC54 CALLER DUP4 PUSH2 0x1409 JUMP JUMPDEST PUSH2 0x99F CALLER DUP4 PUSH2 0x15B8 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH2 0xC75 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xC7E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xCAE SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCC5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCD9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xCFD SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST PUSH1 0x20 ADD MLOAD ISZERO PUSH2 0xD0B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x6B55F4A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2E1A7D4D SWAP1 DUP3 SWAP1 PUSH4 0x6B55F4A5 SWAP1 PUSH2 0xD43 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD5A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD6E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xD92 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FD9 JUMP JUMPDEST MLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP2 MSTORE PUSH2 0xDB4 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDCE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xE06 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xA9059CBB SWAP1 DUP4 SWAP1 DUP4 SWAP1 PUSH4 0x70A08231 SWAP1 PUSH2 0xE41 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x2516 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE6D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xE91 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1FBB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEAE SWAP3 SWAP2 SWAP1 PUSH2 0x2524 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0xF00 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SELFDESTRUCT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF42 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xF4B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF56 DUP5 DUP5 DUP5 PUSH2 0x1225 JUMP JUMPDEST POP PUSH1 0x0 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xF68 PUSH2 0xB98 JUMP JUMPDEST PUSH2 0xF71 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7A DUP2 PUSH2 0x1659 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 MLOAD PUSH1 0x41 EQ PUSH2 0xFA7 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x437 JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 DUP4 ADD MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x0 BYTE PUSH1 0x1B DUP2 LT ISZERO PUSH2 0xFC9 JUMPI PUSH1 0x1B ADD JUMPDEST DUP1 PUSH1 0xFF AND PUSH1 0x1B EQ ISZERO DUP1 ISZERO PUSH2 0xFE1 JUMPI POP DUP1 PUSH1 0xFF AND PUSH1 0x1C EQ ISZERO JUMPDEST ISZERO PUSH2 0xFF2 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x437 JUMP JUMPDEST PUSH1 0x1 DUP7 DUP3 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x1015 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x25BF JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1037 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP8 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP4 POP POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1074 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1087 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE SWAP1 DUP2 SWAP1 KECCAK256 DUP5 SWAP1 SSTORE MLOAD PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x10E2 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x434 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xD202158D PUSH2 0x1124 DUP6 PUSH2 0x16C8 JUMP JUMPDEST DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E4 SWAP3 SWAP2 SWAP1 PUSH2 0x25B1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 ADD DUP4 DUP2 LT ISZERO PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1163 JUMPI POP PUSH1 0x0 PUSH2 0x44F JUMP JUMPDEST DUP3 DUP3 MUL DUP3 DUP5 DUP3 DUP2 PUSH2 0x1170 JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x118E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x11A1 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x4 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x11CD SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x1219 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1238 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x1261 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x12E8 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP1 DUP5 AND DUP2 MSTORE KECCAK256 SLOAD PUSH2 0x1296 SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD SWAP1 DUP6 AND SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x10E2 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 GT ISZERO PUSH2 0x12F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2E1A7D4D SWAP1 PUSH2 0x132D SWAP1 DUP5 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x135B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x137F SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH2 0x13B2 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2567 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x13CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x13E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x1404 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH2 0x143D SWAP1 DUP6 SWAP1 ADDRESS SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x253F JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1457 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x146B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x148F SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x1498 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP3 PUSH4 0x95EA7B3 SWAP3 PUSH2 0x14CE SWAP3 SWAP2 AND SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x2567 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x14FC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x1520 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x1529 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH4 0xB6B55F25 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xB6B55F25 SWAP1 PUSH2 0x1559 SWAP1 DUP5 SWAP1 PUSH1 0x4 ADD PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1573 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1587 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x15AB SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x1F9D JUMP JUMPDEST PUSH2 0x15B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x15CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x15DE SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x4 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x160A SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1142 AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP4 SWAP1 SWAP4 SSTORE SWAP2 MLOAD SWAP1 SWAP2 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH2 0x1219 SWAP1 DUP6 SWAP1 PUSH2 0x2583 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x166C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x2A0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x16E8 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x16F5 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1702 PUSH2 0x177A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP1 NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x44F DUP2 PUSH2 0x2765 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2765 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2779 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x44F DUP2 PUSH2 0x2782 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x44F DUP2 PUSH2 0x2782 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x17E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x17F5 PUSH2 0x17F0 DUP3 PUSH2 0x26C0 JUMP JUMPDEST PUSH2 0x269A JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x1811 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x181C DUP4 DUP3 DUP5 PUSH2 0x271F JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1836 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1844 PUSH2 0x17F0 DUP3 PUSH2 0x26C0 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x1860 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x181C DUP4 DUP3 DUP5 PUSH2 0x272B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x187D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1887 PUSH1 0x40 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1895 DUP5 DUP5 PUSH2 0x17C6 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x18A6 DUP5 DUP5 DUP4 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x120 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x18C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18D0 PUSH2 0x120 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x18DE DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x18EF DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1903 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1917 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x192B DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x193F DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1953 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1967 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1987 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1993 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2A0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x19BE PUSH2 0x1E0 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x19CC DUP5 DUP5 PUSH2 0x1CB6 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x60 PUSH2 0x19DD DUP5 DUP5 DUP4 ADD PUSH2 0x1CB6 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x19F1 DUP5 DUP3 DUP6 ADD PUSH2 0x1CB6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1A06 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH2 0x140 PUSH2 0x1A1B DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH2 0x160 PUSH2 0x1A30 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH2 0x180 PUSH2 0x1A45 DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH2 0x1A0 PUSH2 0x1A5A DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x1C0 PUSH2 0x1A6F DUP5 DUP3 DUP6 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x1E0 DUP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1A90 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A9C DUP5 DUP3 DUP6 ADD PUSH2 0x1825 JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x200 PUSH2 0x1AB2 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP PUSH2 0x220 PUSH2 0x1AC8 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x160 DUP4 ADD MSTORE POP PUSH2 0x240 PUSH2 0x1ADE DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x180 DUP4 ADD MSTORE POP PUSH2 0x260 PUSH2 0x1AF4 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x1A0 DUP4 ADD MSTORE POP PUSH2 0x280 PUSH2 0x1B0A DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH2 0x1C0 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x200 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B2A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1B35 PUSH2 0x200 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1B43 DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1B54 DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1B68 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1B7C DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x1B90 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x1BA4 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1BB8 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1BCC DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 PUSH2 0x1BE1 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1BF7 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x140 PUSH2 0x1C0D DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP PUSH2 0x160 PUSH2 0x1C23 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x160 DUP4 ADD MSTORE POP PUSH2 0x180 PUSH2 0x1C39 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x180 DUP4 ADD MSTORE POP PUSH2 0x1A0 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1C5A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1C66 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x1A0 DUP4 ADD MSTORE POP PUSH2 0x1C0 PUSH2 0x1C7C DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x1C0 DUP4 ADD MSTORE POP PUSH2 0x1E0 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1C9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1CA9 DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x1E0 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1CD2 PUSH1 0x60 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1CE0 DUP5 DUP5 PUSH2 0x17A5 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1CF1 DUP5 DUP5 DUP4 ADD PUSH2 0x17A5 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1D05 DUP5 DUP3 DUP6 ADD PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x160 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1D24 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1D2F PUSH2 0x160 PUSH2 0x269A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x1D3D DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x1D4E DUP5 DUP5 DUP4 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP PUSH1 0x40 PUSH2 0x1D62 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP PUSH1 0x60 PUSH2 0x1D76 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x60 DUP4 ADD MSTORE POP PUSH1 0x80 PUSH2 0x1D8A DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MSTORE POP PUSH1 0xA0 PUSH2 0x1D9E DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0xA0 DUP4 ADD MSTORE POP PUSH1 0xC0 PUSH2 0x1DB2 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE POP PUSH1 0xE0 PUSH2 0x1DC6 DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH1 0xE0 DUP4 ADD MSTORE POP PUSH2 0x100 PUSH2 0x1DDB DUP5 DUP3 DUP6 ADD PUSH2 0x179A JUMP JUMPDEST PUSH2 0x100 DUP4 ADD MSTORE POP PUSH2 0x120 PUSH2 0x1DF1 DUP5 DUP3 DUP6 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE POP PUSH2 0x140 DUP3 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1E12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1E1E DUP5 DUP3 DUP6 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1E3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x179A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1E5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1E68 DUP6 DUP6 PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1E79 DUP6 DUP3 DUP7 ADD PUSH2 0x179A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1E98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1EA4 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1EB5 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1EE5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1EF1 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1F02 DUP7 DUP3 DUP8 ADD PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1F28 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1F34 DUP7 DUP7 PUSH2 0x179A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1F45 DUP7 DUP3 DUP8 ADD PUSH2 0x17BB JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x1F61 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1EC6 DUP7 DUP3 DUP8 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1F80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1F8C DUP6 DUP6 PUSH2 0x179A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1E79 DUP6 DUP3 DUP7 ADD PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FAF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17B0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17C6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1FEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x186B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x200D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2023 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x202F DUP8 DUP3 DUP9 ADD PUSH2 0x18B2 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x204B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2057 DUP8 DUP3 DUP9 ADD PUSH2 0x18B2 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2073 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x207F DUP8 DUP3 DUP9 ADD PUSH2 0x1D11 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x209B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x20A7 DUP8 DUP3 DUP9 ADD PUSH2 0x1B17 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x20C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x20DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x904 DUP5 DUP3 DUP6 ADD PUSH2 0x19A0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x20F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x904 DUP5 DUP5 PUSH2 0x17BB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2118 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1E68 DUP6 DUP6 PUSH2 0x17BB JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x270D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x26F4 JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x26FF JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2704 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2159 DUP3 PUSH2 0x26E7 JUMP JUMPDEST PUSH2 0x2163 DUP2 DUP6 PUSH2 0x26EB JUMP JUMPDEST SWAP4 POP PUSH2 0x2173 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x272B JUMP JUMPDEST PUSH2 0x217C DUP2 PUSH2 0x275B JUMP JUMPDEST SWAP1 SWAP4 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2714 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x219C PUSH1 0x10 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH16 0x756E617574686F72697A65642D61707 PUSH1 0x84 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21C8 PUSH1 0x14 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH20 0x1D5B985D5D1A1BDC9A5E99590B59185D185CD95D PUSH1 0x62 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21F8 PUSH1 0x17 DUP4 PUSH2 0x26EB JUMP JUMPDEST PUSH32 0x756E617574686F72697A65642D776F726B6572706F6F6C000000000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x120 DUP5 ADD SWAP1 PUSH2 0x2239 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x224C PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x225F PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x2272 PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2285 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x2298 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x22AB PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x22BE PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x100 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x200 DUP5 ADD SWAP1 PUSH2 0x22F6 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x2309 PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x231C PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x232F PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2342 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x2355 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x2368 PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x237B PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD PUSH2 0x2390 PUSH2 0x100 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x120 DUP4 ADD MLOAD PUSH2 0x23A5 PUSH2 0x120 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x140 DUP4 ADD MLOAD PUSH2 0x23BA PUSH2 0x140 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x160 DUP4 ADD MLOAD PUSH2 0x23CF PUSH2 0x160 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x180 DUP4 ADD MLOAD PUSH2 0x23E4 PUSH2 0x180 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x1A0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x1A0 DUP7 ADD MSTORE PUSH2 0x23FE DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST SWAP2 POP POP PUSH2 0x1C0 DUP4 ADD MLOAD PUSH2 0x2415 PUSH2 0x1C0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x1E0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x1E0 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x160 DUP5 ADD SWAP1 PUSH2 0x2444 DUP6 DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x2457 PUSH1 0x20 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x246A PUSH1 0x40 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0x247D PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x2490 PUSH1 0x80 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xA0 DUP4 ADD MLOAD PUSH2 0x24A3 PUSH1 0xA0 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH1 0xC0 DUP4 ADD MLOAD PUSH2 0x24B6 PUSH1 0xC0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH1 0xE0 DUP4 ADD MLOAD PUSH2 0x24C9 PUSH1 0xE0 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x100 DUP4 ADD MLOAD PUSH2 0x24DE PUSH2 0x100 DUP7 ADD DUP3 PUSH2 0x2133 JUMP JUMPDEST POP PUSH2 0x120 DUP4 ADD MLOAD PUSH2 0x24F3 PUSH2 0x120 DUP7 ADD DUP3 PUSH2 0x2145 JUMP JUMPDEST POP PUSH2 0x140 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH2 0x140 DUP7 ADD MSTORE PUSH2 0x22D8 DUP3 DUP3 PUSH2 0x214E JUMP JUMPDEST PUSH2 0x212D DUP2 PUSH2 0x2707 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2133 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2124 JUMP JUMPDEST PUSH2 0x437 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x254D DUP3 DUP7 PUSH2 0x2133 JUMP JUMPDEST PUSH2 0x255A PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x2133 JUMP JUMPDEST PUSH2 0x904 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2133 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x213C JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x259F DUP3 DUP6 PUSH2 0x2145 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x434 DUP2 DUP5 PUSH2 0x214E JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x2532 DUP3 DUP6 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD PUSH2 0x25CD DUP3 DUP8 PUSH2 0x2145 JUMP JUMPDEST PUSH2 0x25DA PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x250D JUMP JUMPDEST PUSH2 0x25E7 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x2145 JUMP JUMPDEST PUSH2 0x22D8 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x2145 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x44F DUP3 DUP5 PUSH2 0x2186 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x218F JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x21BB JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x44F DUP2 PUSH2 0x21EB JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x2643 DUP2 DUP8 PUSH2 0x2224 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x2657 DUP2 DUP7 PUSH2 0x2224 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x266B DUP2 DUP6 PUSH2 0x242F JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x267F DUP2 DUP5 PUSH2 0x22E1 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x437 DUP2 DUP5 PUSH2 0x22E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x26B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH2 0x26D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 PUSH2 0x16C8 JUMP JUMPDEST ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 JUMPDEST PUSH1 0x0 PUSH2 0x44F DUP3 PUSH2 0x26F4 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2746 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x272E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x2755 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x26F4 JUMP JUMPDEST DUP2 EQ PUSH2 0xF7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x26FF JUMP JUMPDEST PUSH2 0x276E DUP2 PUSH2 0x2704 JUMP INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0xac 0xc3 0xbb SWAP16 EXTCODECOPY 0xbe 0x27 0xad 0xed TIMESTAMP EXTCODEHASH 0xac PUSH17 0x4D2D5E876CFABACB4F10F0D13457ED92FE CREATE EQ PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV MULMOD STOP BLOCKHASH ", | |
"sourceMap": "169:4373:18:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;169:4373:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;537:246:23;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2571:133:3;;;;;;;;;:::i;330:28:18:-;;;:::i;:::-;;;;;;;;898:1508;;;;;;;;;:::i;:::-;;;;;;;;883:83:3;;;:::i;579:28:15:-;;;:::i;:::-;;;;;;;;3140:206:3;;;;;;;;;:::i;3215:155:18:-;;;;;;;;;:::i;3042:170::-;;;;;;;;;:::i;3827:188:3:-;;;;;;;;;:::i;2427:267:18:-;;;;;;;;;:::i;:::-;;1160:98:3;;;;;;;;;:::i;1347:137:19:-;;;:::i;3574:160:18:-;;;:::i;659:77:19:-;;;:::i;979:90::-;;;:::i;396:35:18:-;;;:::i;550:26:15:-;;;:::i;4501:198:3:-;;;;;;;;;:::i;1840:125::-;;;;;;;;;:::i;3373:173:18:-;;;;;;;;;:::i;2886:153::-;;;;;;;;;:::i;303:24::-;;;:::i;3752:395::-;;;;;;;;;:::i;1568:123:3:-;;;;;;;;;:::i;2724:159:18:-;;;;;;;;;:::i;1655:107:19:-;;;;;;;;;:::i;361:32:18:-;;;:::i;537:246:23:-;660:4;678:42;691:9;702:5;709:10;678:12;:42::i;:::-;:101;;;-1:-1:-1;724:55:23;;-1:-1:-1;;;724:55:23;;-1:-1:-1;;;;;724:36:23;;;;;:55;;761:5;;768:10;;724:55;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;724:55:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;724:55:23;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;724:55:23;;;;;;;;;671:108;;537:246;;;;;;:::o;2571:133:3:-;2638:4;2649:36;2658:10;2670:7;2679:5;2649:8;:36::i;:::-;-1:-1:-1;2696:4:3;2571:133;;;;;:::o;330:28:18:-;;;-1:-1:-1;;;;;330:28:18;;:::o;898:1508::-;1212:13;;1169:7;;-1:-1:-1;;;;;1212:13:18;:34;;:136;;-1:-1:-1;1264:13:18;;1286;;1264;1315:10;:32;;;-1:-1:-1;;;1315:32:18;;;;1250:98;;-1:-1:-1;;;;;1264:13:18;;;;1286;1315:10;;:30;;:32;;;;;;;;;;;;;;:10;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;1315:32:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1315:32:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1315:32:18;;;;;;;;;1250:13;:98::i;:::-;1204:165;;;;-1:-1:-1;;;1204:165:18;;;;;;;;;;;;;;;;;1381:17;;-1:-1:-1;;;;;1381:17:18;:34;;:136;;-1:-1:-1;1433:17:18;;1455:21;;1433:17;1484:10;:32;;;-1:-1:-1;;;1484:32:18;;;;1419:98;;-1:-1:-1;;;;;1433:17:18;;;;1455:21;1484:10;;:30;;:32;;;;;;;;;;;;;;:10;:32;;;5:2:-1;;;;30:1;27;20:12;1419:98:18;1373:169;;;;-1:-1:-1;;;1373:169:18;;;;;;;;;1554:20;;-1:-1:-1;;;;;1554:20:18;:34;;:136;;-1:-1:-1;1606:20:18;;1628:27;;1606:20;1657:10;:32;;;-1:-1:-1;;;1657:32:18;;;;1592:98;;-1:-1:-1;;;;;1606:20:18;;;;1628:27;1657:10;;:30;;:32;;;;;;;;;;;;;;:10;:32;;;5:2:-1;;;;30:1;27;20:12;1592:98:18;1546:172;;;;-1:-1:-1;;;1546:172:18;;;;;;;;;1778:4;1744:23;;;:39;1812:10;;:42;;-1:-1:-1;;;1812:42:18;;-1:-1:-1;;;;;1812:10:18;;;;:27;;:42;;1744:23;;1812:42;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1812:42:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1812:42:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1812:42:18;;;;;;;;;1804:51;;;;;;1906:10;;:81;;-1:-1:-1;;;1906:81:18;;1889:14;;-1:-1:-1;;;;;1906:10:18;;:22;;:81;;1929:9;;1940:13;;1955:16;;1973:13;;1906:81;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1906:81:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1906:81:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1906:81:18;;;;;;;;;1889:98;;1991:32;;:::i;:::-;2026:10;;:27;;-1:-1:-1;;;2026:27:18;;-1:-1:-1;;;;;2026:10:18;;;;:19;;:27;;2046:6;;2026:27;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2026:27:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2026:27:18;;;;;;39:16:-1;36:1;17:17;2:54;101:4;2026:27:18;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;2026:27:18;;;;;;;;;1991:62;;2076:17;2096:83;2166:4;:12;;;2096:65;2139:4;:15;;;:21;;;2096:38;2115:4;:12;;;:18;;;2096:4;:8;;;:14;;;:18;;:38;;;;:::i;:::-;:42;:65;:42;:65;:::i;:::-;:69;:83;:69;:83;:::i;:::-;2076:103;;2183:28;2189:10;2201:9;2183:5;:28::i;:::-;2276:13;:20;;;2261:4;:12;;;:35;2257:97;;;2305:10;;:44;;-1:-1:-1;;;2305:44:18;;-1:-1:-1;;;;;2305:10:18;;;;:29;;:44;;2335:13;;2305:44;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2305:44:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2305:44:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2305:44:18;;;;;;;;;;2257:97;2363:21;2377:6;2363:21;;;;;;;;;;;;;;;-1:-1:-1;2396:6:18;;-1:-1:-1;;898:1508:18;;;;;;;:::o;883:83:3:-;950:12;;883:83;:::o;579:28:15:-;;;-1:-1:-1;;;;;579:28:15;;:::o;3140:206:3:-;3221:4;3232:26;3242:4;3248:2;3252:5;3232:9;:26::i;:::-;-1:-1:-1;;;;;3289:14:3;;;;;;:8;:14;;;;;;;;3277:10;3289:26;;;;;;;;;3262:65;;3271:4;;3289:37;;3320:5;3289:37;:30;:37;:::i;:::-;3262:8;:65::i;:::-;-1:-1:-1;3338:4:3;3140:206;;;;;:::o;3215:155:18:-;3280:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;3291:26:18;3297:10;3309:7;3291:5;:26::i;:::-;3321:30;3331:10;3343:7;3321:9;:30::i;:::-;-1:-1:-1;3362:4:18;3215:155;;;:::o;3042:170::-;3126:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;3137:29:18;3146:10;3158:7;3137:8;:29::i;:::-;3170:23;3176:7;3185;3170:5;:23::i;3827:188:3:-;3929:10;3909:4;3950:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;3950:29:3;;;;;;;;;;3909:4;;3920:76;;3941:7;;3950:45;;3984:10;3950:45;:33;:45;:::i;2427:267:18:-;863:9:19;:7;:9::i;:::-;855:18;;;;;;2560:13:18;:37;;-1:-1:-1;;;;;2560:37:18;;;-1:-1:-1;;;;;;2560:37:18;;;;;;;2601:17;:41;;;;;;;;;;;;;;;2646:20;:44;;;;;;;;;;;2427:267::o;1160:98:3:-;-1:-1:-1;;;;;1238:16:3;1217:7;1238:16;;;:9;:16;;;;;;;1160:98::o;1347:137:19:-;863:9;:7;:9::i;:::-;855:18;;;;;;1429:6;;1408:40;;1445:1;;-1:-1:-1;;;;;1429:6:19;;1408:40;;1445:1;;1408:40;1458:6;:19;;-1:-1:-1;;;;;;1458:19:19;;;1347:137::o;3574:160:18:-;3623:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;3634:81:18;3640:10;3652:62;3700:13;:11;:13::i;:::-;3652:10;;:37;;-1:-1:-1;;;3652:37:18;;-1:-1:-1;;;;;3652:10:18;;;;:22;;:37;;3683:4;;3652:37;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3652:37:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3652:37:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3652:37:18;;;;;;;;;:43;;:62;:47;:62;:::i;:::-;3634:5;:81::i;:::-;-1:-1:-1;3726:4:18;3574:160;:::o;659:77:19:-;723:6;;-1:-1:-1;;;;;723:6:19;659:77;:::o;979:90::-;1056:6;;-1:-1:-1;;;;;1056:6:19;1042:10;:20;;979:90::o;396:35:18:-;;;-1:-1:-1;;;;;396:35:18;;:::o;550:26:15:-;;;-1:-1:-1;;;;;550:26:15;;:::o;4501:198:3:-;4608:10;4588:4;4629:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;4629:29:3;;;;;;;;;;4588:4;;4599:81;;4620:7;;4629:50;;4663:15;4629:50;:33;:50;:::i;1840:125::-;1903:4;1914:32;1924:10;1936:2;1940:5;1914:9;:32::i;3373:173:18:-;3459:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;3470:23:18;3476:7;3485;3470:5;:23::i;:::-;3497:30;3507:10;3519:7;3497:9;:30::i;2886:153::-;2950:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;2961:29:18;2970:10;2982:7;2961:8;:29::i;:::-;2994:26;3000:10;3012:7;2994:5;:26::i;303:24::-;;;-1:-1:-1;;;;;303:24:18;;:::o;3752:395::-;863:9:19;:7;:9::i;:::-;855:18;;;;;;3835:10:18;;:37;;-1:-1:-1;;;3835:37:18;;-1:-1:-1;;;;;3835:10:18;;;;:22;;:37;;3866:4;;3835:37;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3835:37:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3835:37:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3835:37:18;;;;;;;;;:44;;;:49;3827:58;;;;;;3979:10;;3999:37;;-1:-1:-1;;;3999:37:18;;-1:-1:-1;;;;;3979:10:18;;;;:19;;:10;;3999:22;;:37;;4030:4;;3999:37;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3999:37:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3999:37:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3999:37:18;;;;;;;;;:43;3979:64;;-1:-1:-1;;;;;;3979:64:18;;;;;;;;;3999:43;3979:64;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3979:64:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3979:64:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3979:64:18;;;;;;;;;-1:-1:-1;4047:9:18;;4079:34;;-1:-1:-1;;;4079:34:18;;-1:-1:-1;;;;;4047:9:18;;;;:18;;4066:11;;4047:9;;4079:19;;:34;;4107:4;;4079:34;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4079:34:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4079:34:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4079:34:18;;;;;;;;;4047:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4047:67:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4047:67:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4047:67:18;;;;;;;;;;4131:11;-1:-1:-1;;;;;4118:25:18;;1568:123:3;-1:-1:-1;;;;;1663:15:3;;;1642:7;1663:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;1568:123::o;2724:159:18:-;2822:4;863:9:19;:7;:9::i;:::-;855:18;;;;;;2833:30:18;2843:5;2850:3;2855:7;2833:9;:30::i;:::-;-1:-1:-1;2874:5:18;2724:159;;;;;:::o;1655:107:19:-;863:9;:7;:9::i;:::-;855:18;;;;;;1727:28;1746:8;1727:18;:28::i;:::-;1655:107;:::o;361:32:18:-;;;-1:-1:-1;;;;;361:32:18;;:::o;851:435:23:-;949:4;960:9;973;986;1003:4;:11;1018:2;1003:17;999:35;;1029:5;1022:12;;;;;;;999:35;-1:-1:-1;;;1083:4:23;1073:15;;1067:22;1122:4;1112:15;;1106:22;1161:4;1151:15;;1145:22;1142:1;1137:31;1183:2;1179:6;;1175:19;;;1192:2;1187:7;1175:19;1202:1;:7;;1207:2;1202:7;;:18;;;;;1213:1;:7;;1218:2;1213:7;;1202:18;1198:36;;;1229:5;1222:12;;;;;;;1198:36;1258:24;1268:4;1274:1;1277;1280;1258:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1258:24:23;;;;;;;;-1:-1:-1;;;;;1245:37:23;:9;-1:-1:-1;;;;;1245:37:23;;1238:44;;;;;851:435;;;;;:::o;6375:224:3:-;-1:-1:-1;;;;;6464:21:3;;6456:30;;;;;;-1:-1:-1;;;;;6498:19:3;;6490:28;;;;;;-1:-1:-1;;;;;6523:15:3;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;;:32;;;6564:31;;;;;6550:5;;6564:31;;;;;;;;;;6375:224;;;:::o;248:271:23:-;352:10;389;-1:-1:-1;;;;;376:23:23;:9;-1:-1:-1;;;;;376:23:23;;:92;;;;411:9;-1:-1:-1;;;;;403:32:23;;436:21;446:10;436:9;:21::i;:::-;459:8;403:65;;;;;;;;;;;;;;;;;211:124:22;269:7;295:5;;;312:6;;;;304:15;;;;;653:362;711:7;928:6;924:32;;-1:-1:-1;950:1:22;943:8;;924:32;971:5;;;975:1;971;:5;:1;988:5;;;;;:10;980:19;;;;;5892:239:3;-1:-1:-1;;;;;5963:21:3;;5955:30;;;;;;6005:12;;:23;;6022:5;6005:23;:16;:23;:::i;:::-;5990:12;:38;-1:-1:-1;;;;;6053:18:3;;;;;;:9;:18;;;;;;:29;;6076:5;6053:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;6032:18:3;;;;;;:9;:18;;;;;;:50;;;;6091:36;;;;;;6121:5;;6091:36;;;;;;;;;;5892:239;;:::o;4897:232::-;-1:-1:-1;;;;;4981:16:3;;4973:25;;;;;;-1:-1:-1;;;;;5021:15:3;;;;;;:9;:15;;;;;;:26;;5041:5;5021:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;5003:15:3;;;;;;;:9;:15;;;;;;:44;;;;5067:13;;;;;;;:24;;5085:5;5067:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;5051:13:3;;;;;;;:9;:13;;;;;;;:40;;;;5100:25;;;;;;;;;;5119:5;;5100:25;;454:124:22;512:7;539:1;534;:6;;526:15;;;;;;-1:-1:-1;557:5:22;;;454:124::o;4406:133:18:-;4471:10;;:28;;-1:-1:-1;;;4471:28:18;;-1:-1:-1;;;;;4471:10:18;;;;:19;;:28;;4491:7;;4471:28;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4471:28:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4471:28:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4471:28:18;;;;;;;;;-1:-1:-1;4503:9:18;;:32;;-1:-1:-1;;;4503:32:18;;-1:-1:-1;;;;;4503:9:18;;;;:18;;:32;;4522:3;;4527:7;;4503:32;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4503:32:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4503:32:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4503:32:18;;;;;;;;;;4406:133;;:::o;4171:232::-;4245:9;;:53;;-1:-1:-1;;;4245:53:18;;-1:-1:-1;;;;;4245:9:18;;;;:22;;:53;;4268:5;;4283:4;;4290:7;;4245:53;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4245:53:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4245:53:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4245:53:18;;;;;;;;;4237:62;;;;;;4311:9;;;4337:10;4311:47;;-1:-1:-1;;;4311:47:18;;-1:-1:-1;;;;;4311:9:18;;;;:17;;:47;;4337:10;;;4350:7;;4311:47;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4311:47:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4311:47:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4311:47:18;;;;;;;;;4303:56;;;;;;4371:10;;:27;;-1:-1:-1;;;4371:27:18;;-1:-1:-1;;;;;4371:10:18;;;;:18;;:27;;4390:7;;4371:27;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4371:27:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4371:27:18;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4371:27:18;;;;;;;;;4363:36;;;;;;4171:232;;:::o;5448:239:3:-;-1:-1:-1;;;;;5519:21:3;;5511:30;;;;;;5561:12;;:23;;5578:5;5561:23;:16;:23;:::i;:::-;5546:12;:38;-1:-1:-1;;;;;5609:18:3;;;;;;:9;:18;;;;;;:29;;5632:5;5609:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;5588:18:3;;;;;;:9;:18;;;;;;:50;;;;5647:36;;5588:18;;;5647:36;;;;5677:5;;5647:36;;1906:183:19;-1:-1:-1;;;;;1979:22:19;;1971:31;;;;;;2038:6;;2017:38;;-1:-1:-1;;;;;2017:38:19;;;;2038:6;;2017:38;;2038:6;;2017:38;2065:6;:17;;-1:-1:-1;;;;;;2065:17:19;-1:-1:-1;;;;;2065:17:19;;;;;;;;;;1906:183::o;139:106:23:-;-1:-1:-1;;;;;226:14:23;;139:106::o;169:4373:18:-;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;169:4373:18;;;;;;-1:-1:-1;;;;;169:4373:18;;;;;;-1:-1:-1;;;;;169:4373:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;169:4373:18;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:134;220:13;;238:33;220:13;238:33;;436:128;511:13;;529:30;511:13;529:30;;571:130;638:20;;663:33;638:20;663:33;;708:134;786:13;;804:33;786:13;804:33;;850:432;;947:3;940:4;932:6;928:17;924:27;914:2;;965:1;962;955:12;914:2;1002:6;989:20;1024:60;1039:44;1076:6;1039:44;;;1024:60;;;1015:69;;1104:6;1097:5;1090:21;1140:4;1132:6;1128:17;1173:4;1166:5;1162:16;1208:3;1199:6;1194:3;1190:16;1187:25;1184:2;;;1225:1;1222;1215:12;1184:2;1235:41;1269:6;1264:3;1259;1235:41;;;907:375;;;;;;;;2183:436;;2292:3;2285:4;2277:6;2273:17;2269:27;2259:2;;2310:1;2307;2300:12;2259:2;2340:6;2334:13;2362:61;2377:45;2415:6;2377:45;;2362:61;2353:70;;2443:6;2436:5;2429:21;2479:4;2471:6;2467:17;2512:4;2505:5;2501:16;2547:3;2538:6;2533:3;2529:16;2526:25;2523:2;;;2564:1;2561;2554:12;2523:2;2574:39;2606:6;2601:3;2596;2574:39;;2664:502;;2789:4;2777:9;2772:3;2768:19;2764:30;2761:2;;;2807:1;2804;2797:12;2761:2;2825:20;2840:4;2825:20;;;2816:29;-1:-1;2896:1;2927:60;2983:3;2963:9;2927:60;;;2903:85;;-1:-1;3051:2;3084:60;3140:3;3116:22;;;3084:60;;;3077:4;3070:5;3066:16;3059:86;3009:147;2755:411;;;;;3213:1616;;3328:5;3316:9;3311:3;3307:19;3303:31;3300:2;;;3347:1;3344;3337:12;3300:2;3365:21;3380:5;3365:21;;;3356:30;-1:-1;3435:1;3466:49;3511:3;3491:9;3466:49;;;3442:74;;-1:-1;3581:2;3614:49;3659:3;3635:22;;;3614:49;;;3607:4;3600:5;3596:16;3589:75;3537:138;3727:2;3760:49;3805:3;3796:6;3785:9;3781:22;3760:49;;;3753:4;3746:5;3742:16;3735:75;3685:136;3870:2;3903:49;3948:3;3939:6;3928:9;3924:22;3903:49;;;3896:4;3889:5;3885:16;3878:75;3831:133;4025:3;4059:49;4104:3;4095:6;4084:9;4080:22;4059:49;;;4052:4;4045:5;4041:16;4034:75;3974:146;4184:3;4218:49;4263:3;4254:6;4243:9;4239:22;4218:49;;;4211:4;4204:5;4200:16;4193:75;4130:149;4342:3;4376:49;4421:3;4412:6;4401:9;4397:22;4376:49;;;4369:4;4362:5;4358:16;4351:75;4289:148;4487:3;4521:49;4566:3;4557:6;4546:9;4542:22;4521:49;;;4514:4;4507:5;4503:16;4496:75;4447:135;4660:3;4649:9;4645:19;4632:33;-1:-1;;;;;4677:6;4674:30;4671:2;;;4717:1;4714;4707:12;4671:2;4753:54;4803:3;4794:6;4783:9;4779:22;4753:54;;;4745:5;4738;4734:17;4727:81;4592:227;3294:1535;;;;;6545:2749;;6667:5;6655:9;6650:3;6646:19;6642:31;6639:2;;;6686:1;6683;6676:12;6639:2;6704:21;6719:5;6704:21;;;6695:30;-1:-1;6774:1;6805:82;6883:3;6863:9;6805:82;;;6781:107;;-1:-1;6952:2;6985:82;7063:3;7039:22;;;6985:82;;;6978:4;6971:5;6967:16;6960:108;6909:170;7135:3;7169:82;7247:3;7238:6;7227:9;7223:22;7169:82;;;7162:4;7155:5;7151:16;7144:108;7089:174;7314:3;7348:60;7404:3;7395:6;7384:9;7380:22;7348:60;;;7341:4;7334:5;7330:16;7323:86;7273:147;7474:3;7508:60;7564:3;7555:6;7544:9;7540:22;7508:60;;;7501:4;7494:5;7490:16;7483:86;7430:150;7629:3;7663:60;7719:3;7710:6;7699:9;7695:22;7663:60;;;7656:4;7649:5;7645:16;7638:86;7590:145;7790:3;7824:60;7880:3;7871:6;7860:9;7856:22;7824:60;;;7817:4;7810:5;7806:16;7799:86;7745:151;7953:3;7987:60;8043:3;8034:6;8023:9;8019:22;7987:60;;;7980:4;7973:5;7969:16;7962:86;7906:153;8113:3;8148:60;8204:3;8195:6;8184:9;8180:22;8148:60;;;8140:5;8133;8129:17;8122:87;8069:151;8293:3;8282:9;8278:19;8272:26;-1:-1;;;;;8310:6;8307:30;8304:2;;;8350:1;8347;8340:12;8304:2;8386:66;8448:3;8439:6;8428:9;8424:22;8386:66;;;8378:5;8371;8367:17;8360:93;8230:234;8519:3;8554:60;8610:3;8601:6;8590:9;8586:22;8554:60;;;8546:5;8539;8535:17;8528:87;8474:152;8680:3;8715:60;8771:3;8762:6;8751:9;8747:22;8715:60;;;8707:5;8700;8696:17;8689:87;8636:151;8840:3;8875:60;8931:3;8922:6;8911:9;8907:22;8875:60;;;8867:5;8860;8856:17;8849:87;8797:150;9004:3;9039:60;9095:3;9086:6;9075:9;9071:22;9039:60;;;9031:5;9024;9020:17;9013:87;8957:154;9177:3;9212:60;9268:3;9259:6;9248:9;9244:22;9212:60;;;9204:5;9197;9193:17;9186:87;9121:163;6633:2661;;;;;9345:2756;;9464:5;9452:9;9447:3;9443:19;9439:31;9436:2;;;9483:1;9480;9473:12;9436:2;9501:21;9516:5;9501:21;;;9492:30;-1:-1;9571:1;9602:49;9647:3;9627:9;9602:49;;;9578:74;;-1:-1;9720:2;9753:49;9798:3;9774:22;;;9753:49;;;9746:4;9739:5;9735:16;9728:75;9673:141;9867:2;9900:49;9945:3;9936:6;9925:9;9921:22;9900:49;;;9893:4;9886:5;9882:16;9875:75;9824:137;10022:2;10055:49;10100:3;10091:6;10080:9;10076:22;10055:49;;;10048:4;10041:5;10037:16;10030:75;9971:145;10172:3;10206:49;10251:3;10242:6;10231:9;10227:22;10206:49;;;10199:4;10192:5;10188:16;10181:75;10126:141;10331:3;10365:49;10410:3;10401:6;10390:9;10386:22;10365:49;;;10358:4;10351:5;10347:16;10340:75;10277:149;10481:3;10515:49;10560:3;10551:6;10540:9;10536:22;10515:49;;;10508:4;10501:5;10497:16;10490:75;10436:140;10628:3;10662:49;10707:3;10698:6;10687:9;10683:22;10662:49;;;10655:4;10648:5;10644:16;10637:75;10586:137;10772:3;10807:49;10852:3;10843:6;10832:9;10828:22;10807:49;;;10799:5;10792;10788:17;10781:76;10733:135;10922:3;10957:49;11002:3;10993:6;10982:9;10978:22;10957:49;;;10949:5;10942;10938:17;10931:76;10878:140;11069:3;11104:49;11149:3;11140:6;11129:9;11125:22;11104:49;;;11096:5;11089;11085:17;11078:76;11028:137;11222:3;11257:49;11302:3;11293:6;11282:9;11278:22;11257:49;;;11249:5;11242;11238:17;11231:76;11175:143;11372:3;11407:49;11452:3;11443:6;11432:9;11428:22;11407:49;;;11399:5;11392;11388:17;11381:76;11328:140;11548:3;11537:9;11533:19;11520:33;-1:-1;;;;;11565:6;11562:30;11559:2;;;11605:1;11602;11595:12;11559:2;11641:55;11692:3;11683:6;11672:9;11668:22;11641:55;;;11633:5;11626;11622:17;11615:82;11478:230;11758:3;11793:49;11838:3;11829:6;11818:9;11814:22;11793:49;;;11785:5;11778;11774:17;11767:76;11718:136;11932:3;11921:9;11917:19;11904:33;-1:-1;;;;;11949:6;11946:30;11943:2;;;11989:1;11986;11979:12;11943:2;12025:54;12075:3;12066:6;12055:9;12051:22;12025:54;;;12017:5;12010;12006:17;11999:81;11864:227;9430:2671;;;;;12146:656;;12268:4;12256:9;12251:3;12247:19;12243:30;12240:2;;;12286:1;12283;12276:12;12240:2;12304:20;12319:4;12304:20;;;12295:29;-1:-1;12377:1;12408:60;12464:3;12444:9;12408:60;;;12384:85;;-1:-1;12531:2;12564:60;12620:3;12596:22;;;12564:60;;;12557:4;12550:5;12546:16;12539:86;12490:146;12687:2;12720:60;12776:3;12767:6;12756:9;12752:22;12720:60;;;12713:4;12706:5;12702:16;12695:86;12646:146;12234:568;;;;;12856:1927;;12978:5;12966:9;12961:3;12957:19;12953:31;12950:2;;;12997:1;12994;12987:12;12950:2;13015:21;13030:5;13015:21;;;13006:30;-1:-1;13092:1;13123:49;13168:3;13148:9;13123:49;;;13099:74;;-1:-1;13245:2;13278:49;13323:3;13299:22;;;13278:49;;;13271:4;13264:5;13260:16;13253:75;13194:145;13391:2;13424:49;13469:3;13460:6;13449:9;13445:22;13424:49;;;13417:4;13410:5;13406:16;13399:75;13349:136;13534:2;13567:49;13612:3;13603:6;13592:9;13588:22;13567:49;;;13560:4;13553:5;13549:16;13542:75;13495:133;13682:3;13716:49;13761:3;13752:6;13741:9;13737:22;13716:49;;;13709:4;13702:5;13698:16;13691:75;13638:139;13828:3;13862:49;13907:3;13898:6;13887:9;13883:22;13862:49;;;13855:4;13848:5;13844:16;13837:75;13787:136;13980:3;14014:49;14059:3;14050:6;14039:9;14035:22;14014:49;;;14007:4;14000:5;13996:16;13989:75;13933:142;14136:3;14170:49;14215:3;14206:6;14195:9;14191:22;14170:49;;;14163:4;14156:5;14152:16;14145:75;14085:146;14294:3;14329:49;14374:3;14365:6;14354:9;14350:22;14329:49;;;14321:5;14314;14310:17;14303:76;14241:149;14440:3;14475:49;14520:3;14511:6;14500:9;14496:22;14475:49;;;14467:5;14460;14456:17;14449:76;14400:136;14614:3;14603:9;14599:19;14586:33;-1:-1;;;;;14631:6;14628:30;14625:2;;;14671:1;14668;14661:12;14625:2;14707:54;14757:3;14748:6;14737:9;14733:22;14707:54;;;14699:5;14692;14688:17;14681:81;14546:227;12944:1839;;;;;15068:241;;15172:2;15160:9;15151:7;15147:23;15143:32;15140:2;;;15188:1;15185;15178:12;15140:2;15223:1;15240:53;15285:7;15265:9;15240:53;;15580:366;;;15701:2;15689:9;15680:7;15676:23;15672:32;15669:2;;;15717:1;15714;15707:12;15669:2;15752:1;15769:53;15814:7;15794:9;15769:53;;;15759:63;;15731:97;15859:2;15877:53;15922:7;15913:6;15902:9;15898:22;15877:53;;;15867:63;;15838:98;15663:283;;;;;;15953:491;;;;16091:2;16079:9;16070:7;16066:23;16062:32;16059:2;;;16107:1;16104;16097:12;16059:2;16142:1;16159:53;16204:7;16184:9;16159:53;;;16149:63;;16121:97;16249:2;16267:53;16312:7;16303:6;16292:9;16288:22;16267:53;;;16257:63;;16228:98;16357:2;16375:53;16420:7;16411:6;16400:9;16396:22;16375:53;;;16365:63;;16336:98;16053:391;;;;;;16451:491;;;;16589:2;16577:9;16568:7;16564:23;16560:32;16557:2;;;16605:1;16602;16595:12;16557:2;16640:1;16657:53;16702:7;16682:9;16657:53;;;16647:63;;16619:97;16747:2;16765:53;16810:7;16801:6;16790:9;16786:22;16765:53;;;16755:63;;16726:98;16855:2;16873:53;16918:7;16909:6;16898:9;16894:22;16873:53;;16949:595;;;;17096:2;17084:9;17075:7;17071:23;17067:32;17064:2;;;17112:1;17109;17102:12;17064:2;17147:1;17164:53;17209:7;17189:9;17164:53;;;17154:63;;17126:97;17254:2;17272:53;17317:7;17308:6;17297:9;17293:22;17272:53;;;17262:63;;17233:98;17390:2;17379:9;17375:18;17362:32;-1:-1;;;;;17406:6;17403:30;17400:2;;;17446:1;17443;17436:12;17400:2;17466:62;17520:7;17511:6;17500:9;17496:22;17466:62;;17551:366;;;17672:2;17660:9;17651:7;17647:23;17643:32;17640:2;;;17688:1;17685;17678:12;17640:2;17723:1;17740:53;17785:7;17765:9;17740:53;;;17730:63;;17702:97;17830:2;17848:53;17893:7;17884:6;17873:9;17869:22;17848:53;;17924:257;;18036:2;18024:9;18015:7;18011:23;18007:32;18004:2;;;18052:1;18049;18042:12;18004:2;18087:1;18104:61;18157:7;18137:9;18104:61;;18188:263;;18303:2;18291:9;18282:7;18278:23;18274:32;18271:2;;;18319:1;18316;18309:12;18271:2;18354:1;18371:64;18427:7;18407:9;18371:64;;18458:313;;18598:2;18586:9;18577:7;18573:23;18569:32;18566:2;;;18614:1;18611;18604:12;18566:2;18649:1;18666:89;18747:7;18727:9;18666:89;;18778:1199;;;;;19052:3;19040:9;19031:7;19027:23;19023:33;19020:2;;;19069:1;19066;19059:12;19020:2;19104:31;;-1:-1;;;;;19144:30;;19141:2;;;19187:1;19184;19177:12;19141:2;19207:79;19278:7;19269:6;19258:9;19254:22;19207:79;;;19197:89;;19083:209;19351:2;19340:9;19336:18;19323:32;-1:-1;;;;;19367:6;19364:30;19361:2;;;19407:1;19404;19397:12;19361:2;19427:83;19502:7;19493:6;19482:9;19478:22;19427:83;;;19417:93;;19302:214;19575:2;19564:9;19560:18;19547:32;-1:-1;;;;;19591:6;19588:30;19585:2;;;19631:1;19628;19621:12;19585:2;19651:86;19729:7;19720:6;19709:9;19705:22;19651:86;;;19641:96;;19526:217;19802:2;19791:9;19787:18;19774:32;-1:-1;;;;;19818:6;19815:30;19812:2;;;19858:1;19855;19848:12;19812:2;19878:83;19953:7;19944:6;19933:9;19929:22;19878:83;;;19868:93;;19753:214;19014:963;;;;;;;;19984:386;;20121:2;20109:9;20100:7;20096:23;20092:32;20089:2;;;20137:1;20134;20127:12;20089:2;20172:24;;-1:-1;;;;;20205:30;;20202:2;;;20248:1;20245;20238:12;20202:2;20268:86;20346:7;20337:6;20326:9;20322:22;20268:86;;20377:241;;20481:2;20469:9;20460:7;20456:23;20452:32;20449:2;;;20497:1;20494;20487:12;20449:2;20532:1;20549:53;20594:7;20574:9;20549:53;;20895:366;;;21016:2;21004:9;20995:7;20991:23;20987:32;20984:2;;;21032:1;21029;21022:12;20984:2;21067:1;21084:53;21129:7;21109:9;21084:53;;21268:142;21359:45;21398:5;21359:45;;;21354:3;21347:58;21341:69;;;21417:103;21490:24;21508:5;21490:24;;21647:104;21724:21;21739:5;21724:21;;21758:103;21831:24;21849:5;21831:24;;21988:343;;22098:38;22130:5;22098:38;;;22148:70;22211:6;22206:3;22148:70;;;22141:77;;22223:52;22268:6;22263:3;22256:4;22249:5;22245:16;22223:52;;;22296:29;22318:6;22296:29;;;22287:39;;;;22078:253;-1:-1;;;22078:253;22660:156;22758:52;22804:5;22758:52;;23488:364;;23648:67;23712:2;23707:3;23648:67;;;-1:-1;;;23728:87;;23843:2;23834:12;;23634:218;-1:-1;;23634:218;23861:364;;24021:67;24085:2;24080:3;24021:67;;;-1:-1;;;24101:87;;24216:2;24207:12;;24007:218;-1:-1;;24007:218;24234:364;;24394:67;24458:2;24453:3;24394:67;;;24494:66;24474:87;;24589:2;24580:12;;24380:218;-1:-1;;24380:218;24683:1688;24902:22;;24683:1688;;24836:5;24827:15;;;24930:62;24831:3;24902:22;24930:62;;;24857:141;25075:4;25068:5;25064:16;25058:23;25087:63;25144:4;25139:3;25135:14;25121:12;25087:63;;;25008:148;25231:4;25224:5;25220:16;25214:23;25243:63;25300:4;25295:3;25291:14;25277:12;25243:63;;;25166:146;25384:4;25377:5;25373:16;25367:23;25396:63;25453:4;25448:3;25444:14;25430:12;25396:63;;;25322:143;25549:4;25542:5;25538:16;25532:23;25561:63;25618:4;25613:3;25609:14;25595:12;25561:63;;;25475:155;25717:4;25710:5;25706:16;25700:23;25729:63;25786:4;25781:3;25777:14;25763:12;25729:63;;;25640:158;25884:4;25877:5;25873:16;25867:23;25896:63;25953:4;25948:3;25944:14;25930:12;25896:63;;;25808:157;26038:4;26031:5;26027:16;26021:23;26050:63;26107:4;26102:3;26098:14;26084:12;26050:63;;;25975:144;26192:5;26185;26181:17;26175:24;26246:3;26240:4;26236:14;26228:5;26223:3;26219:15;26212:39;26266:67;26328:4;26314:12;26266:67;;;26258:75;24809:1562;-1:-1;;;;;24809:1562;28255:2882;28482:22;;28255:2882;;28416:5;28407:15;;;28510:62;28411:3;28482:22;28510:62;;;28437:141;28658:4;28651:5;28647:16;28641:23;28670:63;28727:4;28722:3;28718:14;28704:12;28670:63;;;28588:151;28815:4;28808:5;28804:16;28798:23;28827:63;28884:4;28879:3;28875:14;28861:12;28827:63;;;28749:147;28980:4;28973:5;28969:16;28963:23;28992:63;29049:4;29044:3;29040:14;29026:12;28992:63;;;28906:155;29140:4;29133:5;29129:16;29123:23;29152:63;29209:4;29204:3;29200:14;29186:12;29152:63;;;29071:150;29308:4;29301:5;29297:16;29291:23;29320:63;29377:4;29372:3;29368:14;29354:12;29320:63;;;29231:158;29467:4;29460:5;29456:16;29450:23;29479:63;29536:4;29531:3;29527:14;29513:12;29479:63;;;29399:149;29623:4;29616:5;29612:16;29606:23;29635:63;29692:4;29687:3;29683:14;29669:12;29635:63;;;29558:146;29776:5;29769;29765:17;29759:24;29789:64;29846:5;29841:3;29837:15;29823:12;29789:64;;;29714:145;29936:5;29929;29925:17;29919:24;29949:64;30006:5;30001:3;29997:15;29983:12;29949:64;;;29869:150;30093:5;30086;30082:17;30076:24;30106:64;30163:5;30158:3;30154:15;30140:12;30106:64;;;30029:147;30256:5;30249;30245:17;30239:24;30269:64;30326:5;30321:3;30317:15;30303:12;30269:64;;;30186:153;30416:5;30409;30405:17;30399:24;30429:64;30486:5;30481:3;30477:15;30463:12;30429:64;;;30349:150;30574:5;30567;30563:17;30557:24;30628:3;30622:4;30618:14;30610:5;30605:3;30601:15;30594:39;30648:69;30712:4;30698:12;30648:69;;;30640:77;;30509:220;30802:5;30795;30791:17;30785:24;30815:64;30872:5;30867:3;30863:15;30849:12;30815:64;;;30739:146;30958:5;30951;30947:17;30941:24;31012:3;31006:4;31002:14;30994:5;30989:3;30985:15;30978:39;31032:67;31094:4;31080:12;31032:67;;31235:2026;31475:22;;31235:2026;;31402:5;31393:15;;;31503:62;31397:3;31475:22;31503:62;;;31423:148;31655:4;31648:5;31644:16;31638:23;31667:63;31724:4;31719:3;31715:14;31701:12;31667:63;;;31581:155;31811:4;31804:5;31800:16;31794:23;31823:63;31880:4;31875:3;31871:14;31857:12;31823:63;;;31746:146;31964:4;31957:5;31953:16;31947:23;31976:63;32033:4;32028:3;32024:14;32010:12;31976:63;;;31902:143;32122:4;32115:5;32111:16;32105:23;32134:63;32191:4;32186:3;32182:14;32168:12;32134:63;;;32055:148;32277:4;32270:5;32266:16;32260:23;32289:63;32346:4;32341:3;32337:14;32323:12;32289:63;;;32213:145;32438:4;32431:5;32427:16;32421:23;32450:63;32507:4;32502:3;32498:14;32484:12;32450:63;;;32368:151;32603:4;32596:5;32592:16;32586:23;32615:63;32672:4;32667:3;32663:14;32649:12;32615:63;;;32529:155;32770:5;32763;32759:17;32753:24;32783:64;32840:5;32835:3;32831:15;32817:12;32783:64;;;32694:159;32926:5;32919;32915:17;32909:24;32939:64;32996:5;32991:3;32987:15;32973:12;32939:64;;;32863:146;33082:5;33075;33071:17;33065:24;33136:3;33130:4;33126:14;33118:5;33113:3;33109:15;33102:39;33156:67;33218:4;33204:12;33156:67;;33498:107;33577:22;33593:5;33577:22;;33612:213;33730:2;33715:18;;33744:71;33719:9;33788:6;33744:71;;33832:340;33986:2;33971:18;;34000:79;33975:9;34052:6;34000:79;;;34090:72;34158:2;34147:9;34143:18;34134:6;34090:72;;34179:435;34353:2;34338:18;;34367:71;34342:9;34411:6;34367:71;;;34449:72;34517:2;34506:9;34502:18;34493:6;34449:72;;;34532;34600:2;34589:9;34585:18;34576:6;34532:72;;34621:324;34767:2;34752:18;;34781:71;34756:9;34825:6;34781:71;;34952:201;35064:2;35049:18;;35078:65;35053:9;35116:6;35078:65;;35160:213;35278:2;35263:18;;35292:71;35267:9;35336:6;35292:71;;35380:408;35544:2;35529:18;;35558:71;35533:9;35602:6;35558:71;;;35677:9;35671:4;35667:20;35662:2;35651:9;35647:18;35640:48;35702:76;35773:4;35764:6;35702:76;;35795:324;35941:2;35926:18;;35955:71;35930:9;35999:6;35955:71;;36126:539;36324:3;36309:19;;36339:71;36313:9;36383:6;36339:71;;;36421:68;36485:2;36474:9;36470:18;36461:6;36421:68;;;36500:72;36568:2;36557:9;36553:18;36544:6;36500:72;;;36583;36651:2;36640:9;36636:18;36627:6;36583:72;;36672:243;36805:2;36790:18;;36819:86;36794:9;36878:6;36819:86;;37434:407;37625:2;37639:47;;;37610:18;;37700:131;37610:18;37700:131;;37848:407;38039:2;38053:47;;;38024:18;;38114:131;38024:18;38114:131;;38262:407;38453:2;38467:47;;;38438:18;;38528:131;38438:18;38528:131;;38676:1215;39116:3;39131:47;;;39101:19;;39192:110;39101:19;39288:6;39192:110;;;39184:118;;39350:9;39344:4;39340:20;39335:2;39324:9;39320:18;39313:48;39375:118;39488:4;39479:6;39375:118;;;39367:126;;39541:9;39535:4;39531:20;39526:2;39515:9;39511:18;39504:48;39566:124;39685:4;39676:6;39566:124;;;39558:132;;39738:9;39732:4;39728:20;39723:2;39712:9;39708:18;39701:48;39763:118;39876:4;39867:6;39763:118;;;39755:126;39087:804;-1:-1;;;;;;39087:804;39898:381;40076:2;40090:47;;;40061:18;;40151:118;40061:18;40255:6;40151:118;;40506:256;40568:2;40562:9;40594:17;;;-1:-1;;;;;40654:34;;40690:22;;;40651:62;40648:2;;;40726:1;40723;40716:12;40648:2;40742;40735:22;40546:216;;-1:-1;40546:216;40769:317;;-1:-1;;;;;40900:6;40897:30;40894:2;;;40940:1;40937;40930:12;40894:2;-1:-1;41071:4;41007;40984:17;;;;-1:-1;;40980:33;41061:15;;40831:255;41746:117;41829:12;;41800:63;42124:152;42216:19;;;42265:4;42256:14;;42209:67;42789:91;;42851:24;42869:5;42851:24;;42993:85;43059:13;43052:21;;43035:43;43085:72;43147:5;43130:27;43371:81;43442:4;43431:16;;43414:38;43459:129;;43546:37;43577:5;43595:151;;43689:52;43735:5;43689:52;;44721:145;44802:6;44797:3;44792;44779:30;-1:-1;44858:1;44840:16;;44833:27;44772:94;44875:268;44940:1;44947:101;44961:6;44958:1;44955:13;44947:101;;;45028:11;;;45022:18;45009:11;;;45002:39;44983:2;44976:10;44947:101;;;45063:6;45060:1;45057:13;45054:2;;;45128:1;45119:6;45114:3;45110:16;45103:27;45054:2;44924:219;;;;;45151:97;45239:2;45219:14;-1:-1;;45215:28;;45199:49;45256:117;45325:24;45343:5;45325:24;;;45318:5;45315:35;45305:2;;45364:1;45361;45354:12;45520:111;45586:21;45601:5;45586:21;;45638:117;45707:24;45725:5;45707:24;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "2038000", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"allowance(address,address)": "infinite", | |
"approve(address,uint256)": "infinite", | |
"authorizedApp()": "infinite", | |
"authorizedDataset()": "infinite", | |
"authorizedWorkerpool()": "infinite", | |
"balanceOf(address)": "infinite", | |
"baseToken()": "infinite", | |
"decreaseAllowance(address,uint256)": "infinite", | |
"deposit(uint256)": "infinite", | |
"depositFor(uint256,address)": "infinite", | |
"destructor(address)": "infinite", | |
"iexecClerk()": "infinite", | |
"iexecHub()": "infinite", | |
"increaseAllowance(address,uint256)": "infinite", | |
"isOwner()": "596", | |
"matchOrders((address,uint256,uint256,bytes32,address,address,address,bytes32,bytes),(address,uint256,uint256,bytes32,address,address,address,bytes32,bytes),(address,uint256,uint256,bytes32,uint256,uint256,address,address,address,bytes32,bytes),(address,uint256,address,uint256,address,uint256,address,uint256,bytes32,uint256,uint256,address,address,string,bytes32,bytes))": "infinite", | |
"owner()": "infinite", | |
"reclaim()": "infinite", | |
"renounceOwnership()": "22478", | |
"totalSupply()": "567", | |
"transfer(address,uint256)": "infinite", | |
"transferAdmin(address,address,uint256)": "infinite", | |
"transferFrom(address,address,uint256)": "infinite", | |
"transferOwnership(address)": "infinite", | |
"updateSettings(address,address,address)": "infinite", | |
"verifySignature(address,bytes32,bytes)": "infinite", | |
"withdraw(uint256)": "infinite", | |
"withdrawFrom(uint256,address)": "infinite" | |
}, | |
"internal": { | |
"_deposit(address,uint256)": "infinite", | |
"_withdraw(address,uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"allowance(address,address)": "dd62ed3e", | |
"approve(address,uint256)": "095ea7b3", | |
"authorizedApp()": "13de3602", | |
"authorizedDataset()": "fce3345b", | |
"authorizedWorkerpool()": "98cb3316", | |
"balanceOf(address)": "70a08231", | |
"baseToken()": "c55dae63", | |
"decreaseAllowance(address,uint256)": "a457c2d7", | |
"deposit(uint256)": "b6b55f25", | |
"depositFor(uint256,address)": "36efd16f", | |
"destructor(address)": "db7b2716", | |
"iexecClerk()": "1ce3aa0d", | |
"iexecHub()": "a41f45e9", | |
"increaseAllowance(address,uint256)": "39509351", | |
"isOwner()": "8f32d59b", | |
"matchOrders((address,uint256,uint256,bytes32,address,address,address,bytes32,bytes),(address,uint256,uint256,bytes32,address,address,address,bytes32,bytes),(address,uint256,uint256,bytes32,uint256,uint256,address,address,address,bytes32,bytes),(address,uint256,address,uint256,address,uint256,address,uint256,bytes32,uint256,uint256,address,address,string,bytes32,bytes))": "156194d4", | |
"owner()": "8da5cb5b", | |
"reclaim()": "80e9071b", | |
"renounceOwnership()": "715018a6", | |
"totalSupply()": "18160ddd", | |
"transfer(address,uint256)": "a9059cbb", | |
"transferAdmin(address,address,uint256)": "efef431f", | |
"transferFrom(address,address,uint256)": "23b872dd", | |
"transferOwnership(address)": "f2fde38b", | |
"updateSettings(address,address,address)": "57aabe91", | |
"verifySignature(address,bytes32,bytes)": "01751998", | |
"withdraw(uint256)": "2e1a7d4d", | |
"withdrawFrom(uint256,address)": "b1cbf888" | |
} | |
}, | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_identity", | |
"type": "address" | |
}, | |
{ | |
"name": "_hash", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_signature", | |
"type": "bytes" | |
} | |
], | |
"name": "verifySignature", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "authorizedApp", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"name": "app", | |
"type": "address" | |
}, | |
{ | |
"name": "appprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "volume", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tag", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "datasetrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "workerpoolrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "requesterrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "salt", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "sign", | |
"type": "bytes" | |
} | |
], | |
"name": "_apporder", | |
"type": "tuple" | |
}, | |
{ | |
"components": [ | |
{ | |
"name": "dataset", | |
"type": "address" | |
}, | |
{ | |
"name": "datasetprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "volume", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tag", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "apprestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "workerpoolrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "requesterrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "salt", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "sign", | |
"type": "bytes" | |
} | |
], | |
"name": "_datasetorder", | |
"type": "tuple" | |
}, | |
{ | |
"components": [ | |
{ | |
"name": "workerpool", | |
"type": "address" | |
}, | |
{ | |
"name": "workerpoolprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "volume", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tag", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "category", | |
"type": "uint256" | |
}, | |
{ | |
"name": "trust", | |
"type": "uint256" | |
}, | |
{ | |
"name": "apprestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "datasetrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "requesterrestrict", | |
"type": "address" | |
}, | |
{ | |
"name": "salt", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "sign", | |
"type": "bytes" | |
} | |
], | |
"name": "_workerpoolorder", | |
"type": "tuple" | |
}, | |
{ | |
"components": [ | |
{ | |
"name": "app", | |
"type": "address" | |
}, | |
{ | |
"name": "appmaxprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "dataset", | |
"type": "address" | |
}, | |
{ | |
"name": "datasetmaxprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "workerpool", | |
"type": "address" | |
}, | |
{ | |
"name": "workerpoolmaxprice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "requester", | |
"type": "address" | |
}, | |
{ | |
"name": "volume", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tag", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "category", | |
"type": "uint256" | |
}, | |
{ | |
"name": "trust", | |
"type": "uint256" | |
}, | |
{ | |
"name": "beneficiary", | |
"type": "address" | |
}, | |
{ | |
"name": "callback", | |
"type": "address" | |
}, | |
{ | |
"name": "params", | |
"type": "string" | |
}, | |
{ | |
"name": "salt", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "sign", | |
"type": "bytes" | |
} | |
], | |
"name": "_requestorder", | |
"type": "tuple" | |
} | |
], | |
"name": "matchOrders", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "iexecClerk", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "withdraw", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_target", | |
"type": "address" | |
} | |
], | |
"name": "depositFor", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"name": "addedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "increaseAllowance", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_authorizedApp", | |
"type": "address" | |
}, | |
{ | |
"name": "_authorizedDataset", | |
"type": "address" | |
}, | |
{ | |
"name": "_authorizedWorkerpool", | |
"type": "address" | |
} | |
], | |
"name": "updateSettings", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "owner", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "reclaim", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "isOwner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "authorizedWorkerpool", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "iexecHub", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"name": "subtractedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "decreaseAllowance", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_target", | |
"type": "address" | |
} | |
], | |
"name": "withdrawFrom", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "deposit", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "baseToken", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "beneficiary", | |
"type": "address" | |
} | |
], | |
"name": "destructor", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"name": "spender", | |
"type": "address" | |
} | |
], | |
"name": "allowance", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_from", | |
"type": "address" | |
}, | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "transferAdmin", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "authorizedDataset", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_iexecHubAddr", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "dealid", | |
"type": "bytes32" | |
} | |
], | |
"name": "DealRequested", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IexecInterface.sol"; | |
import "./ERC20.sol"; | |
import "./ERC20Detailed.sol"; | |
import "./Ownable.sol"; | |
contract IexecRequesterProxy is IexecInterface, SignatureVerifier, ERC20, ERC20Detailed, Ownable | |
{ | |
using SafeMath for uint256; | |
IERC20 public baseToken; | |
address public authorizedApp; | |
address public authorizedDataset; | |
address public authorizedWorkerpool; | |
event DealRequested(bytes32 dealid); | |
// Use _iexecHubAddr to force use of custom iexechub, leave 0x0 for autodetect | |
constructor(address _iexecHubAddr) | |
public | |
IexecInterface(_iexecHubAddr) | |
ERC20Detailed("proxyRLC", "pRLC", 9) | |
{ | |
baseToken = iexecClerk.token(); | |
} | |
function viewAccount(address _user) | |
external view returns (IexecODBLibCore.Account memory account) | |
{ | |
return IexecODBLibCore.Account(balanceOf(_user), 0); | |
} | |
// match orders | |
function matchOrders( | |
IexecODBLibOrders.AppOrder memory _apporder, | |
IexecODBLibOrders.DatasetOrder memory _datasetorder, | |
IexecODBLibOrders.WorkerpoolOrder memory _workerpoolorder, | |
IexecODBLibOrders.RequestOrder memory _requestorder) | |
public returns (bytes32) | |
{ | |
// check whitelist | |
require(authorizedApp == address(0) || checkIdentity(authorizedApp, _apporder.app, iexecClerk.GROUPMEMBER_PURPOSE()), "unauthorized-app"); | |
require(authorizedDataset == address(0) || checkIdentity(authorizedDataset, _datasetorder.dataset, iexecClerk.GROUPMEMBER_PURPOSE()), "unauthorized-dataset"); | |
require(authorizedWorkerpool == address(0) || checkIdentity(authorizedWorkerpool, _workerpoolorder.workerpool, iexecClerk.GROUPMEMBER_PURPOSE()), "unauthorized-workerpool"); | |
// force requester | |
_requestorder.requester = address(this); | |
// sign order | |
require(iexecClerk.signRequestOrder(_requestorder)); | |
// match and retreive deal | |
bytes32 dealid = iexecClerk.matchOrders(_apporder, _datasetorder, _workerpoolorder, _requestorder); | |
IexecODBLibCore.Deal memory deal = iexecClerk.viewDeal(dealid); | |
// pay for deal | |
uint256 dealprice = deal.app.price.add(deal.dataset.price).add(deal.workerpool.price).mul(deal.botSize); | |
_burn(msg.sender, dealprice); | |
// prevent extra usage of requestorder | |
if (deal.botSize < _requestorder.volume) | |
{ | |
iexecClerk.cancelRequestOrder(_requestorder); | |
} | |
emit DealRequested(dealid); | |
return dealid; | |
} | |
// admin control | |
function updateSettings(address _authorizedApp, address _authorizedDataset, address _authorizedWorkerpool) | |
external onlyOwner | |
{ | |
authorizedApp = _authorizedApp; | |
authorizedDataset = _authorizedDataset; | |
authorizedWorkerpool = _authorizedWorkerpool; | |
} | |
// admin token operations | |
function transferAdmin(address _from, address _to, uint256 _amount) | |
external onlyOwner returns (bool) | |
{ | |
_transfer(_from, _to, _amount); | |
return false; | |
} | |
function deposit(uint256 _amount) | |
external onlyOwner returns (bool) | |
{ | |
_deposit(msg.sender, _amount); | |
_mint(msg.sender, _amount); | |
return true; | |
} | |
function depositFor(uint256 _amount, address _target) | |
external onlyOwner returns (bool) | |
{ | |
_deposit(msg.sender, _amount); | |
_mint(_target, _amount); | |
return true; | |
} | |
function withdraw(uint256 _amount) | |
external onlyOwner returns (bool) | |
{ | |
_burn(msg.sender, _amount); | |
_withdraw(msg.sender, _amount); | |
return true; | |
} | |
function withdrawFrom(uint256 _amount, address _target) | |
external onlyOwner returns (bool) | |
{ | |
_burn(_target, _amount); | |
_withdraw(msg.sender, _amount); | |
return true; | |
} | |
// reclaim locked funds | |
function reclaim() | |
external onlyOwner returns (bool) | |
{ | |
_mint(msg.sender, iexecClerk.viewAccount(address(this)).stake.sub(totalSupply())); | |
return true; | |
} | |
// destructor | |
function destructor(address payable beneficiary) | |
external onlyOwner | |
{ | |
require(iexecClerk.viewAccount(address(this)).locked == 0); // Needed to ensure no tokens are burned | |
// don't use withdraw (or force reclaim first) | |
iexecClerk.withdraw(iexecClerk.viewAccount(address(this)).stake); | |
baseToken.transfer(beneficiary, baseToken.balanceOf(address(this))); | |
selfdestruct(beneficiary); | |
} | |
// internal methods | |
function _deposit(address _from, uint256 _amount) | |
internal | |
{ | |
require(baseToken.transferFrom(_from, address(this), _amount)); | |
require(baseToken.approve(address(iexecClerk), _amount)); | |
require(iexecClerk.deposit(_amount)); | |
} | |
function _withdraw(address _to, uint256 _amount) | |
internal | |
{ | |
iexecClerk.withdraw(_amount); | |
baseToken.transfer(_to, _amount); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address private _owner; | |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. | |
*/ | |
constructor () internal { | |
_owner = msg.sender; | |
emit OwnershipTransferred(address(0), _owner); | |
} | |
/** | |
* @return the address of the owner. | |
*/ | |
function owner() public view returns (address) { | |
return _owner; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(isOwner()); | |
_; | |
} | |
/** | |
* @return true if `msg.sender` is the owner of the contract. | |
*/ | |
function isOwner() public view returns (bool) { | |
return msg.sender == _owner; | |
} | |
/** | |
* @dev Allows the current owner to relinquish control of the contract. | |
* @notice Renouncing to ownership will leave the contract without an owner. | |
* It will not be possible to call the functions with the `onlyOwner` | |
* modifier anymore. | |
*/ | |
function renounceOwnership() public onlyOwner { | |
emit OwnershipTransferred(_owner, address(0)); | |
_owner = address(0); | |
} | |
/** | |
* @dev Allows the current owner to transfer control of the contract to a newOwner. | |
* @param newOwner The address to transfer ownership to. | |
*/ | |
function transferOwnership(address newOwner) public onlyOwner { | |
_transferOwnership(newOwner); | |
} | |
/** | |
* @dev Transfers control of the contract to a newOwner. | |
* @param newOwner The address to transfer ownership to. | |
*/ | |
function _transferOwnership(address newOwner) internal { | |
require(newOwner != address(0)); | |
emit OwnershipTransferred(_owner, newOwner); | |
_owner = newOwner; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import "./SafeMath.sol"; | |
contract RegistryBase | |
{ | |
using SafeMath for uint256; | |
/** | |
* Members | |
*/ | |
mapping(address => bool ) m_registered; | |
mapping(address => mapping(uint256 => address)) m_byOwnerByIndex; | |
mapping(address => uint256 ) m_countByOwner; | |
/** | |
* Constructor | |
*/ | |
constructor() | |
public | |
{ | |
} | |
/** | |
* Accessors | |
*/ | |
function isRegistered(address _entry) | |
public view returns (bool) | |
{ | |
return m_registered[_entry]; | |
} | |
function viewEntry(address _owner, uint256 _index) | |
public view returns (address) | |
{ | |
return m_byOwnerByIndex[_owner][_index]; | |
} | |
function viewCount(address _owner) | |
public view returns (uint256) | |
{ | |
return m_countByOwner[_owner]; | |
} | |
/** | |
* Internal | |
*/ | |
function insert( | |
address _entry, | |
address _owner) | |
internal returns (bool) | |
{ | |
uint id = m_countByOwner[_owner].add(1); | |
m_countByOwner [_owner] = id; | |
m_byOwnerByIndex[_owner][id] = _entry; | |
m_registered [_entry] = true; | |
return true; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IexecODBLibOrders.sol"; | |
contract Relay | |
{ | |
event BroadcastAppOrder (IexecODBLibOrders.AppOrder apporder ); | |
event BroadcastDatasetOrder (IexecODBLibOrders.DatasetOrder datasetorder ); | |
event BroadcastWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder workerpoolorder); | |
event BroadcastRequestOrder (IexecODBLibOrders.RequestOrder requestorder ); | |
constructor() public {} | |
function broadcastAppOrder (IexecODBLibOrders.AppOrder memory _apporder ) public { emit BroadcastAppOrder (_apporder ); } | |
function broadcastDatasetOrder (IexecODBLibOrders.DatasetOrder memory _datasetorder ) public { emit BroadcastDatasetOrder (_datasetorder ); } | |
function broadcastWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder memory _workerpoolorder) public { emit BroadcastWorkerpoolOrder(_workerpoolorder); } | |
function broadcastRequestOrder (IexecODBLibOrders.RequestOrder memory _requestorder ) public { emit BroadcastRequestOrder (_requestorder ); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058203efcc6b5bb7365c441cde2cbd1420b6a3e9d1b29eb7fa1879a49be35eea899b50029", | |
"opcodes": "PUSH1 0x4C PUSH1 0x2C PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x0 DUP2 EQ PUSH1 0x1C JUMPI PUSH1 0x1E JUMP JUMPDEST INVALID JUMPDEST POP ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH6 0x627A7A723058 KECCAK256 RETURNDATACOPY 0xfc 0xc6 0xb5 0xbb PUSH20 0x65C441CDE2CBD1420B6A3E9D1B29EB7FA1879A49 0xbe CALLDATALOAD 0xee 0xa8 SWAP10 0xb5 STOP 0x29 ", | |
"sourceMap": "125:3887:0:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24" | |
}, | |
"deployedBytecode": { | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058203efcc6b5bb7365c441cde2cbd1420b6a3e9d1b29eb7fa1879a49be35eea899b50029", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH6 0x627A7A723058 KECCAK256 RETURNDATACOPY 0xfc 0xc6 0xb5 0xbb PUSH20 0x65C441CDE2CBD1420B6A3E9D1B29EB7FA1879A49 0xbe CALLDATALOAD 0xee 0xa8 SWAP10 0xb5 STOP 0x29 ", | |
"sourceMap": "125:3887:0:-;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "15200", | |
"executionCost": "116", | |
"totalCost": "15316" | |
}, | |
"internal": { | |
"add(uint256,uint256)": "infinite", | |
"div(uint256,uint256)": "infinite", | |
"log(uint256)": "infinite", | |
"max(uint256,uint256)": "infinite", | |
"min(uint256,uint256)": "infinite", | |
"mod(uint256,uint256)": "infinite", | |
"mul(uint256,uint256)": "infinite", | |
"mulByFraction(uint256,uint256,uint256)": "infinite", | |
"percentage(uint256,uint256)": "infinite", | |
"sub(uint256,uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
/** | |
* @title SafeMath | |
* @dev Unsigned math operations with safety checks that revert on error | |
*/ | |
library SafeMath | |
{ | |
/** | |
* @dev Adds two unsigned integers, reverts on overflow. | |
*/ | |
function add(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
uint256 c = a + b; | |
require(c >= a); | |
return c; | |
} | |
/** | |
* @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
require(b <= a); | |
uint256 c = a - b; | |
return c; | |
} | |
/** | |
* @dev Multiplies two unsigned integers, reverts on overflow. | |
*/ | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the | |
// benefit is lost if 'b' is also tested. | |
// See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 | |
if (a == 0) | |
{ | |
return 0; | |
} | |
uint256 c = a * b; | |
require(c / a == b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. | |
*/ | |
function div(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
// Solidity only automatically asserts when dividing by 0 | |
require(b > 0); | |
uint256 c = a / b; | |
// assert(a == b * c + a % b); // There is no case in which this doesn't hold | |
return c; | |
} | |
/** | |
* @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), | |
* reverts when dividing by zero. | |
*/ | |
function mod(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
require(b != 0); | |
return a % b; | |
} | |
/** | |
* @dev Returns the largest of two numbers. | |
*/ | |
function max(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
return a >= b ? a : b; | |
} | |
/** | |
* @dev Returns the smallest of two numbers. | |
*/ | |
function min(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
return a < b ? a : b; | |
} | |
/** | |
* @dev Multiplies the a by the fraction b/c | |
*/ | |
function mulByFraction(uint256 a, uint256 b, uint256 c) internal pure returns (uint256) | |
{ | |
return div(mul(a, b), c); | |
} | |
/** | |
* @dev Return b percents of a (equivalent to a percents of b) | |
*/ | |
function percentage(uint256 a, uint256 b) internal pure returns (uint256) | |
{ | |
return mulByFraction(a, b, 100); | |
} | |
/** | |
* @dev Returns the base 2 log of x | |
* @notice Source : https://ethereum.stackexchange.com/questions/8086/logarithm-math-operation-in-solidity | |
*/ | |
function log(uint x) internal pure returns (uint y) | |
{ | |
assembly | |
{ | |
let arg := x | |
x := sub(x,1) | |
x := or(x, div(x, 0x02)) | |
x := or(x, div(x, 0x04)) | |
x := or(x, div(x, 0x10)) | |
x := or(x, div(x, 0x100)) | |
x := or(x, div(x, 0x10000)) | |
x := or(x, div(x, 0x100000000)) | |
x := or(x, div(x, 0x10000000000000000)) | |
x := or(x, div(x, 0x100000000000000000000000000000000)) | |
x := add(x, 1) | |
let m := mload(0x40) | |
mstore(m, 0xf8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd) | |
mstore(add(m,0x20), 0xf5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe) | |
mstore(add(m,0x40), 0xf6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616) | |
mstore(add(m,0x60), 0xc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff) | |
mstore(add(m,0x80), 0xf7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e) | |
mstore(add(m,0xa0), 0xe39ed557db96902cd38ed14fad815115c786af479b7e83247363534337271707) | |
mstore(add(m,0xc0), 0xc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d2362422606) | |
mstore(add(m,0xe0), 0x753a6d1b65325d0c552a4d1345224105391a310b29122104190a110309020100) | |
mstore(0x40, add(m, 0x100)) | |
let magic := 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff | |
let shift := 0x100000000000000000000000000000000000000000000000000000000000000 | |
let a := div(mul(x, magic), shift) | |
y := div(mload(add(m,sub(255,a))), shift) | |
y := add(y, mul(256, gt(arg, 0x8000000000000000000000000000000000000000000000000000000000000000))) | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
pragma experimental ABIEncoderV2; | |
import "./IERC734.sol"; | |
import "./IERC1271.sol"; | |
contract SignatureVerifier | |
{ | |
function addrToKey(address _addr) | |
internal pure returns (bytes32) | |
{ | |
return bytes32(uint256(_addr)); | |
} | |
function checkIdentity(address _identity, address _candidate, uint256 _purpose) | |
internal view returns (bool valid) | |
{ | |
return _identity == _candidate || IERC734(_identity).keyHasPurpose(addrToKey(_candidate), _purpose); // Simple address || ERC 734 identity contract | |
} | |
// internal ? | |
function verifySignature( | |
address _identity, | |
bytes32 _hash, | |
bytes memory _signature) | |
public view returns (bool) | |
{ | |
return recoverCheck(_identity, _hash, _signature) || IERC1271(_identity).isValidSignature(_hash, _signature); | |
} | |
// recoverCheck does not revert if signature has invalid format | |
function recoverCheck(address candidate, bytes32 hash, bytes memory sign) | |
internal pure returns (bool) | |
{ | |
bytes32 r; | |
bytes32 s; | |
uint8 v; | |
if (sign.length != 65) return false; | |
assembly | |
{ | |
r := mload(add(sign, 0x20)) | |
s := mload(add(sign, 0x40)) | |
v := byte(0, mload(add(sign, 0x60))) | |
} | |
if (v < 27) v += 27; | |
if (v != 27 && v != 28) return false; | |
return candidate == ecrecover(hash, v, r, s); | |
} | |
function toEthSignedMessageHash(bytes32 hash) | |
internal pure returns (bytes32) | |
{ | |
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import "./Ownable.sol"; | |
contract Workerpool is Ownable | |
{ | |
/** | |
* Parameters | |
*/ | |
string public m_workerpoolDescription; | |
uint256 public m_workerStakeRatioPolicy; // % of reward to stake | |
uint256 public m_schedulerRewardRatioPolicy; // % of reward given to scheduler | |
/** | |
* Events | |
*/ | |
event PolicyUpdate( | |
uint256 oldWorkerStakeRatioPolicy, uint256 newWorkerStakeRatioPolicy, | |
uint256 oldSchedulerRewardRatioPolicy, uint256 newSchedulerRewardRatioPolicy); | |
/** | |
* Constructor | |
*/ | |
constructor( | |
address _workerpoolOwner, | |
string memory _workerpoolDescription) | |
public | |
{ | |
_transferOwnership(_workerpoolOwner); | |
m_workerpoolDescription = _workerpoolDescription; | |
m_workerStakeRatioPolicy = 30; // mutable | |
m_schedulerRewardRatioPolicy = 1; // mutable | |
} | |
function changePolicy( | |
uint256 _newWorkerStakeRatioPolicy, | |
uint256 _newSchedulerRewardRatioPolicy) | |
public onlyOwner | |
{ | |
require(_newSchedulerRewardRatioPolicy <= 100); | |
emit PolicyUpdate( | |
m_workerStakeRatioPolicy, _newWorkerStakeRatioPolicy, | |
m_schedulerRewardRatioPolicy, _newSchedulerRewardRatioPolicy | |
); | |
m_workerStakeRatioPolicy = _newWorkerStakeRatioPolicy; | |
m_schedulerRewardRatioPolicy = _newSchedulerRewardRatioPolicy; | |
} | |
function transferOwnership(address) public { revert("disabled"); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
import './Workerpool.sol'; | |
import './RegistryBase.sol'; | |
contract WorkerpoolRegistry is RegistryBase //, OwnableMutable // is Owned by IexecHub | |
{ | |
event CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription); | |
/** | |
* Constructor | |
*/ | |
constructor() | |
public | |
{ | |
} | |
/** | |
* Pool creation | |
*/ | |
function createWorkerpool( | |
address _workerpoolOwner, | |
string calldata _workerpoolDescription) | |
external /* onlyOwner /*owner == IexecHub*/ returns (Workerpool) | |
{ | |
Workerpool newWorkerpool = new Workerpool( | |
_workerpoolOwner, | |
_workerpoolDescription | |
); | |
require(insert(address(newWorkerpool), _workerpoolOwner)); | |
emit CreateWorkerpool(_workerpoolOwner, address(newWorkerpool), _workerpoolDescription); | |
return newWorkerpool; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment