Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
107558333 | 503 days ago | 0 ETH | ||||
107557783 | 503 days ago | 0 ETH | ||||
107557437 | 503 days ago | 0 ETH | ||||
107557434 | 503 days ago | 0 ETH | ||||
107557430 | 503 days ago | 0 ETH | ||||
107557428 | 503 days ago | 0 ETH | ||||
107557420 | 503 days ago | 0 ETH | ||||
107557389 | 503 days ago | 0 ETH | ||||
107557056 | 503 days ago | 0 ETH | ||||
107556729 | 503 days ago | 0 ETH | ||||
107556167 | 503 days ago | 0 ETH | ||||
107555970 | 503 days ago | 0 ETH | ||||
107555779 | 503 days ago | 0 ETH | ||||
107555494 | 503 days ago | 0 ETH | ||||
107555294 | 503 days ago | 0 ETH | ||||
107554877 | 503 days ago | 0 ETH | ||||
107554716 | 503 days ago | 0 ETH | ||||
107552824 | 503 days ago | 0 ETH | ||||
107552624 | 503 days ago | 0 ETH | ||||
107552242 | 503 days ago | 0 ETH | ||||
107551937 | 503 days ago | 0 ETH | ||||
107551843 | 503 days ago | 0 ETH | ||||
107551703 | 503 days ago | 0 ETH | ||||
107551681 | 503 days ago | 0 ETH | ||||
107551650 | 503 days ago | 0 ETH |
Loading...
Loading
Contract Name:
GamesOddsReceiver
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; // internal import "../../utils/proxy/solidity-0.8.0/ProxyOwned.sol"; import "../../utils/proxy/solidity-0.8.0/ProxyPausable.sol"; // interface import "../../interfaces/ITherundownConsumer.sol"; import "../../interfaces/IGamesOddsObtainer.sol"; /// @title Recieve odds from a bots and cast to contract odds /// @author gruja contract GamesOddsReceiver is Initializable, ProxyOwned, ProxyPausable { ITherundownConsumer public consumer; IGamesOddsObtainer public obtainer; mapping(address => bool) public whitelistedAddresses; /// @notice public initialize proxy method /// @param _owner future owner of a contract function initialize( address _owner, address _consumer, address _obtainer, address[] memory _whitelistAddresses ) public initializer { setOwner(_owner); consumer = ITherundownConsumer(_consumer); obtainer = IGamesOddsObtainer(_obtainer); for (uint i; i < _whitelistAddresses.length; i++) { whitelistedAddresses[_whitelistAddresses[i]] = true; } } function fulfillGamesOdds( bytes32[] memory _gameIds, int24[] memory _mainOdds, int16[] memory _spreadLines, int24[] memory _spreadOdds, uint24[] memory _totalLines, int24[] memory _totalOdds ) external isAddressWhitelisted { for (uint i = 0; i < _gameIds.length; i++) { IGamesOddsObtainer.GameOdds memory game = _castToGameOdds( i, _gameIds[i], _mainOdds, _spreadLines, _spreadOdds, _totalLines, _totalOdds ); // game needs to be fulfilled and market needed to be created if (consumer.gameFulfilledCreated(_gameIds[i]) && consumer.marketPerGameId(_gameIds[i]) != address(0)) { obtainer.obtainOdds(_gameIds[i], game, consumer.sportsIdPerGame(_gameIds[i])); } } } function _castToGameOdds( uint index, bytes32 _gameId, int24[] memory _mainOdds, int16[] memory _spreadLines, int24[] memory _spreadOdds, uint24[] memory _totalLines, int24[] memory _totalOdds ) internal returns (IGamesOddsObtainer.GameOdds memory) { return IGamesOddsObtainer.GameOdds( _gameId, _mainOdds[index * 3], _mainOdds[index * 3 + 1], _mainOdds[index * 3 + 2], _spreadLines[index * 2], _spreadOdds[index * 2], _spreadLines[index * 2 + 1], _spreadOdds[index * 2 + 1], _totalLines[index * 2], _totalOdds[index * 2], _totalLines[index * 2 + 1], _totalOdds[index * 2 + 1] ); } /// @notice sets the consumer contract address, which only owner can execute /// @param _consumer address of a consumer contract function setConsumerAddress(address _consumer) external onlyOwner { require(_consumer != address(0), "Invalid address"); consumer = ITherundownConsumer(_consumer); emit NewConsumerAddress(_consumer); } /// @notice sets the consumer contract address, which only owner can execute /// @param _obtainer address of a consumer contract function setObtainerAddress(address _obtainer) external onlyOwner { require(_obtainer != address(0), "Invalid address"); obtainer = IGamesOddsObtainer(_obtainer); emit NewObtainerAddress(_obtainer); } /// @notice adding/removing whitelist address depending on a flag /// @param _whitelistAddresses addresses that needed to be whitelisted/ ore removed from WL /// @param _flag adding or removing from whitelist (true: add, false: remove) function addToWhitelist(address[] memory _whitelistAddresses, bool _flag) external onlyOwner { require(_whitelistAddresses.length > 0, "Whitelisted addresses cannot be empty"); for (uint256 index = 0; index < _whitelistAddresses.length; index++) { require(_whitelistAddresses[index] != address(0), "Can't be zero address"); // only if current flag is different, if same skip it if (whitelistedAddresses[_whitelistAddresses[index]] != _flag) { whitelistedAddresses[_whitelistAddresses[index]] = _flag; emit AddedIntoWhitelist(_whitelistAddresses[index], _flag); } } } modifier isAddressWhitelisted() { require(whitelistedAddresses[msg.sender], "Whitelisted address"); _; } event NewObtainerAddress(address _obtainer); event NewConsumerAddress(address _consumer); event AddedIntoWhitelist(address _whitelistAddress, bool _flag); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Clone of syntetix contract without constructor contract ProxyOwned { address public owner; address public nominatedOwner; bool private _initialized; bool private _transferredAtInit; function setOwner(address _owner) public { require(_owner != address(0), "Owner address cannot be 0"); require(!_initialized, "Already initialized, use nominateNewOwner"); _initialized = true; owner = _owner; emit OwnerChanged(address(0), _owner); } function nominateNewOwner(address _owner) external onlyOwner { nominatedOwner = _owner; emit OwnerNominated(_owner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } function transferOwnershipAtInit(address proxyAddress) external onlyOwner { require(proxyAddress != address(0), "Invalid address"); require(!_transferredAtInit, "Already transferred"); owner = proxyAddress; _transferredAtInit = true; emit OwnerChanged(owner, proxyAddress); } modifier onlyOwner { _onlyOwner(); _; } function _onlyOwner() private view { require(msg.sender == owner, "Only the contract owner may perform this action"); } event OwnerNominated(address newOwner); event OwnerChanged(address oldOwner, address newOwner); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Inheritance import "./ProxyOwned.sol"; // Clone of syntetix contract without constructor contract ProxyPausable is ProxyOwned { uint public lastPauseTime; bool public paused; /** * @notice Change the paused state of the contract * @dev Only the contract owner may call this. */ function setPaused(bool _paused) external onlyOwner { // Ensure we're actually changing the state before we do anything if (_paused == paused) { return; } // Set our paused state. paused = _paused; // If applicable, set the last pause time. if (paused) { lastPauseTime = block.timestamp; } // Let everyone know that our pause state has changed. emit PauseChanged(paused); } event PauseChanged(bool isPaused); modifier notPaused { require(!paused, "This action cannot be performed while the contract is paused"); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ITherundownConsumer { struct GameCreate { bytes32 gameId; uint256 startTime; int24 homeOdds; int24 awayOdds; int24 drawOdds; string homeTeam; string awayTeam; } // view functions function supportedSport(uint _sportId) external view returns (bool); function getNormalizedOdds(bytes32 _gameId) external view returns (uint[] memory); function getNormalizedOddsForMarket(address _market) external view returns (uint[] memory); function getNormalizedChildOdds(address _market) external view returns (uint[] memory); function getNormalizedOddsForTwoPosition(bytes32 _gameId) external view returns (uint[] memory); function getGamesPerDatePerSport(uint _sportId, uint _date) external view returns (bytes32[] memory); function getGamePropsForOdds(address _market) external view returns ( uint, uint, bytes32 ); function gameIdPerMarket(address _market) external view returns (bytes32); function getGameCreatedById(bytes32 _gameId) external view returns (GameCreate memory); function isChildMarket(address _market) external view returns (bool); function gameFulfilledCreated(bytes32 _gameId) external view returns (bool); // write functions function fulfillGamesCreated( bytes32 _requestId, bytes[] memory _games, uint _sportsId, uint _date ) external; function fulfillGamesResolved( bytes32 _requestId, bytes[] memory _games, uint _sportsId ) external; function fulfillGamesOdds(bytes32 _requestId, bytes[] memory _games) external; function setPausedByCanceledStatus(address _market, bool _flag) external; function setGameIdPerChildMarket(bytes32 _gameId, address _child) external; function pauseOrUnpauseMarket(address _market, bool _pause) external; function setChildMarkets( bytes32 _gameId, address _main, address _child, bool _isSpread, int16 _spreadHome, uint24 _totalOver ) external; function resolveMarketManually( address _market, uint _outcome, uint8 _homeScore, uint8 _awayScore, bool _usebackupOdds ) external; function getOddsForGame(bytes32 _gameId) external view returns ( int24, int24, int24 ); function sportsIdPerGame(bytes32 _gameId) external view returns (uint); function getGameStartTime(bytes32 _gameId) external view returns (uint256); function marketPerGameId(bytes32 _gameId) external view returns (address); function marketResolved(address _market) external view returns (bool); function marketCanceled(address _market) external view returns (bool); function invalidOdds(address _market) external view returns (bool); function isPausedByCanceledStatus(address _market) external view returns (bool); function isSportOnADate(uint _date, uint _sportId) external view returns (bool); function isSportTwoPositionsSport(uint _sportsId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IGamesOddsObtainer { struct GameOdds { bytes32 gameId; int24 homeOdds; int24 awayOdds; int24 drawOdds; int16 spreadHome; int24 spreadHomeOdds; int16 spreadAway; int24 spreadAwayOdds; uint24 totalOver; int24 totalOverOdds; uint24 totalUnder; int24 totalUnderOdds; } // view function areOddsValid(bytes32 _gameId, bool _useBackup) external view returns (bool); function invalidOdds(address _market) external view returns (bool); function getNormalizedOdds(bytes32 _gameId) external view returns (uint[] memory); function getNormalizedChildOdds(address _market) external view returns (uint[] memory); function getOddsForGames(bytes32[] memory _gameIds) external view returns (int24[] memory odds); function mainMarketChildMarketIndex(address _main, uint _index) external view returns (address); function numberOfChildMarkets(address _main) external view returns (uint); function mainMarketSpreadChildMarket(address _main, int16 _spread) external view returns (address); function mainMarketTotalChildMarket(address _main, uint24 _total) external view returns (address); function childMarketMainMarket(address _market) external view returns (address); function currentActiveTotalChildMarket(address _main) external view returns (address); function currentActiveSpreadChildMarket(address _main) external view returns (address); function isSpreadChildMarket(address _child) external view returns (bool); function getOddsForGame(bytes32 _gameId) external view returns ( int24, int24, int24, int24, int24, int24, int24 ); function getLinesForGame(bytes32 _gameId) external view returns ( int16, int16, uint24, uint24 ); // executable function obtainOdds( bytes32 requestId, GameOdds memory _game, uint _sportId ) external; function setFirstOdds( bytes32 _gameId, int24 _homeOdds, int24 _awayOdds, int24 _drawOdds ) external; function setFirstNormalizedOdds(bytes32 _gameId, address _market) external; function setBackupOddsAsMainOddsForGame(bytes32 _gameId) external; function pauseUnpauseChildMarkets(address _main, bool _flag) external; function resolveChildMarkets( address _market, uint _outcome, uint8 _homeScore, uint8 _awayScore ) external; function setChildMarketGameId(bytes32 gameId, address market) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { __Context_init_unchained(); } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_whitelistAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"_flag","type":"bool"}],"name":"AddedIntoWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_consumer","type":"address"}],"name":"NewConsumerAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_obtainer","type":"address"}],"name":"NewObtainerAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelistAddresses","type":"address[]"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"consumer","outputs":[{"internalType":"contract ITherundownConsumer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_gameIds","type":"bytes32[]"},{"internalType":"int24[]","name":"_mainOdds","type":"int24[]"},{"internalType":"int16[]","name":"_spreadLines","type":"int16[]"},{"internalType":"int24[]","name":"_spreadOdds","type":"int24[]"},{"internalType":"uint24[]","name":"_totalLines","type":"uint24[]"},{"internalType":"int24[]","name":"_totalOdds","type":"int24[]"}],"name":"fulfillGamesOdds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_consumer","type":"address"},{"internalType":"address","name":"_obtainer","type":"address"},{"internalType":"address[]","name":"_whitelistAddresses","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"obtainer","outputs":[{"internalType":"contract IGamesOddsObtainer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_consumer","type":"address"}],"name":"setConsumerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_obtainer","type":"address"}],"name":"setObtainerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"transferOwnershipAtInit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50611960806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635c975abb116100a257806391b4ded91161007157806391b4ded914610228578063b4fd72961461023f578063c3b83f5f14610257578063e6bfbfd81461026a578063efe2c8a41461027d57600080fd5b80635c975abb146101e75780635d7412fd146101f457806379ba5097146102075780638da5cb5b1461020f57600080fd5b8063408ae585116100de578063408ae58514610183578063431249951461019657806353a47bb7146101a957806357fa5081146101d457600080fd5b806306c933d81461011057806313af4035146101485780631627540c1461015d57806316c38b3c14610170575b600080fd5b61013361011e3660046114b9565b60056020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61015b6101563660046114b9565b610290565b005b61015b61016b3660046114b9565b6103d0565b61015b61017e3660046116a9565b610426565b61015b61019136600461156b565b61049c565b61015b6101a43660046115bb565b6106d8565b6001546101bc906001600160a01b031681565b6040516001600160a01b03909116815260200161013f565b61015b6101e23660046114b9565b610a5f565b6003546101339060ff1681565b6004546101bc906001600160a01b031681565b61015b610adb565b6000546101bc906201000090046001600160a01b031681565b61023160025481565b60405190815260200161013f565b6003546101bc9061010090046001600160a01b031681565b61015b6102653660046114b9565b610bd8565b61015b6102783660046114f8565b610ccf565b61015b61028b3660046114b9565b610e4b565b6001600160a01b0381166102eb5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600154600160a01b900460ff16156103575760405162461bcd60e51b815260206004820152602960248201527f416c726561647920696e697469616c697a65642c20757365206e6f6d696e617460448201526832a732bba7bbb732b960b91b60648201526084016102e2565b6001805460ff60a01b1916600160a01b179055600080546001600160a01b03831662010000810262010000600160b01b03199092169190911782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91015b60405180910390a150565b6103d8610ecf565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020016103c5565b61042e610ecf565b60035460ff16151581151514156104425750565b6003805460ff191682151590811790915560ff161561046057426002555b60035460405160ff909116151581527f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5906020016103c5565b50565b6104a4610ecf565b60008251116105035760405162461bcd60e51b815260206004820152602560248201527f57686974656c6973746564206164647265737365732063616e6e6f7420626520604482015264656d70747960d81b60648201526084016102e2565b60005b82518110156106d35760006001600160a01b031683828151811061053a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031614156105915760405162461bcd60e51b815260206004820152601560248201527443616e2774206265207a65726f206164647265737360581b60448201526064016102e2565b811515600560008584815181106105b857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161515146106c157816005600085848151811061060b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507f58d7a3ccc34541e162fcfc87b84be7b78c34d1e1e7f15de6e4dd67d0fe70aecd83828151811061068b57634e487b7160e01b600052603260045260246000fd5b6020026020010151836040516106b89291906001600160a01b039290921682521515602082015260400190565b60405180910390a15b806106cb816118c0565b915050610506565b505050565b3360009081526005602052604090205460ff1661072d5760405162461bcd60e51b815260206004820152601360248201527257686974656c6973746564206164647265737360681b60448201526064016102e2565b60005b8651811015610a565760006107718289848151811061075f57634e487b7160e01b600052603260045260246000fd5b60200260200101518989898989610f49565b9050600360019054906101000a90046001600160a01b03166001600160a01b03166367674b148984815181106107b757634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016107dd91815260200190565b60206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d91906116c5565b80156108f35750600354885160009161010090046001600160a01b03169063f89c6f18908b908690811061087157634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b815260040161089791815260200190565b60206040518083038186803b1580156108af57600080fd5b505afa1580156108c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e791906114dc565b6001600160a01b031614155b15610a435760045488516001600160a01b039091169063988a1309908a908590811061092f57634e487b7160e01b600052603260045260246000fd5b602002602001015183600360019054906101000a90046001600160a01b03166001600160a01b03166370aadcc48d888151811061097c57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016109a291815260200190565b60206040518083038186803b1580156109ba57600080fd5b505afa1580156109ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f291906116e1565b6040518463ffffffff1660e01b8152600401610a10939291906116f9565b600060405180830381600087803b158015610a2a57600080fd5b505af1158015610a3e573d6000803e3d6000fd5b505050505b5080610a4e816118c0565b915050610730565b50505050505050565b610a67610ecf565b6001600160a01b038116610a8d5760405162461bcd60e51b81526004016102e29061180b565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9aba0b0687cee6f6112358c0b3ce99e8237c38737e09cf1a71f3142f0d5910ba906020016103c5565b6001546001600160a01b03163314610b535760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b60648201526084016102e2565b60005460015460408051620100009093046001600160a01b03908116845290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600180546000805462010000600160b01b0319166001600160a01b03831662010000021790556001600160a01b0319169055565b610be0610ecf565b6001600160a01b038116610c065760405162461bcd60e51b81526004016102e29061180b565b600154600160a81b900460ff1615610c565760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481d1c985b9cd9995c9c9959606a1b60448201526064016102e2565b600080546001600160a01b038381166201000081810262010000600160b01b031990941693909317938490556001805460ff60a81b1916600160a81b1790556040805193909404909116825260208201527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91016103c5565b600054610100900460ff16610cea5760005460ff1615610cee565b303b155b610d515760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102e2565b600054610100900460ff16158015610d73576000805461ffff19166101011790555b610d7c85610290565b60038054610100600160a81b0319166101006001600160a01b038781169190910291909117909155600480546001600160a01b03191691851691909117905560005b8251811015610e3157600160056000858481518110610ded57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e29816118c0565b915050610dbe565b508015610e44576000805461ff00191690555b5050505050565b610e53610ecf565b6001600160a01b038116610e795760405162461bcd60e51b81526004016102e29061180b565b60038054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f5f56489645cc15092ffab877840903cb7715aca3464f50d3e323ed6465777bbb906020016103c5565b6000546201000090046001600160a01b03163314610f475760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b60648201526084016102e2565b565b6040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810191909152604051806101800160405280888152602001878a6003610fca91906118a1565b81518110610fe857634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001878a600361100691906118a1565b611011906001611889565b8151811061102f57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001878a600361104d91906118a1565b611058906002611889565b8151811061107657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001868a600261109491906118a1565b815181106110b257634e487b7160e01b600052603260045260246000fd5b602002602001015160010b8152602001858a60026110d091906118a1565b815181106110ee57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001868a600261110c91906118a1565b611117906001611889565b8151811061113557634e487b7160e01b600052603260045260246000fd5b602002602001015160010b8152602001858a600261115391906118a1565b61115e906001611889565b8151811061117c57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001848a600261119a91906118a1565b815181106111b857634e487b7160e01b600052603260045260246000fd5b602002602001015162ffffff168152602001838a60026111d891906118a1565b815181106111f657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001848a600261121491906118a1565b61121f906001611889565b8151811061123d57634e487b7160e01b600052603260045260246000fd5b602002602001015162ffffff168152602001838a600261125d91906118a1565b611268906001611889565b8151811061128657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152509050979650505050505050565b600082601f8301126112b1578081fd5b813560206112c66112c183611865565b611834565b80838252828201915082860187848660051b89010111156112e5578586fd5b855b8581101561130c5781356112fa81611907565b845292840192908401906001016112e7565b5090979650505050505050565b600082601f830112611329578081fd5b813560206113396112c183611865565b80838252828201915082860187848660051b8901011115611358578586fd5b855b8581101561130c5781358452928401929084019060010161135a565b600082601f830112611386578081fd5b813560206113966112c183611865565b80838252828201915082860187848660051b89010111156113b5578586fd5b855b8581101561130c5781358060010b81146113cf578788fd5b845292840192908401906001016113b7565b600082601f8301126113f1578081fd5b813560206114016112c183611865565b80838252828201915082860187848660051b8901011115611420578586fd5b855b8581101561130c5781358060020b811461143a578788fd5b84529284019290840190600101611422565b600082601f83011261145c578081fd5b8135602061146c6112c183611865565b80838252828201915082860187848660051b890101111561148b578586fd5b855b8581101561130c57813562ffffff811681146114a7578788fd5b8452928401929084019060010161148d565b6000602082840312156114ca578081fd5b81356114d581611907565b9392505050565b6000602082840312156114ed578081fd5b81516114d581611907565b6000806000806080858703121561150d578283fd5b843561151881611907565b9350602085013561152881611907565b9250604085013561153881611907565b9150606085013567ffffffffffffffff811115611553578182fd5b61155f878288016112a1565b91505092959194509250565b6000806040838503121561157d578182fd5b823567ffffffffffffffff811115611593578283fd5b61159f858286016112a1565b92505060208301356115b08161191c565b809150509250929050565b60008060008060008060c087890312156115d3578384fd5b863567ffffffffffffffff808211156115ea578586fd5b6115f68a838b01611319565b9750602089013591508082111561160b578586fd5b6116178a838b016113e1565b9650604089013591508082111561162c578586fd5b6116388a838b01611376565b9550606089013591508082111561164d578384fd5b6116598a838b016113e1565b9450608089013591508082111561166e578384fd5b61167a8a838b0161144c565b935060a089013591508082111561168f578283fd5b5061169c89828a016113e1565b9150509295509295509295565b6000602082840312156116ba578081fd5b81356114d58161191c565b6000602082840312156116d6578081fd5b81516114d58161191c565b6000602082840312156116f2578081fd5b5051919050565b60006101c082019050848252835160208301526020840151611720604084018260020b9052565b506040840151611735606084018260020b9052565b50606084015161174a608084018260020b9052565b50608084015161175f60a084018260010b9052565b5060a084015161177460c084018260020b9052565b5060c084015161178960e084018260010b9052565b5060e08401516101006117a08185018360020b9052565b85015190506101206117b88482018362ffffff169052565b85015190506101406117ce8482018360020b9052565b85015190506101606117e68482018362ffffff169052565b85015190506117fb61018084018260020b9052565b50826101a0830152949350505050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561185d5761185d6118f1565b604052919050565b600067ffffffffffffffff82111561187f5761187f6118f1565b5060051b60200190565b6000821982111561189c5761189c6118db565b500190565b60008160001904831182151516156118bb576118bb6118db565b500290565b60006000198214156118d4576118d46118db565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461049957600080fd5b801515811461049957600080fdfea2646970667358221220bdd6f4bc4d0343f1b6bc44eada18cd4805b7c732d1b03c32e4b1802ca05779de64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635c975abb116100a257806391b4ded91161007157806391b4ded914610228578063b4fd72961461023f578063c3b83f5f14610257578063e6bfbfd81461026a578063efe2c8a41461027d57600080fd5b80635c975abb146101e75780635d7412fd146101f457806379ba5097146102075780638da5cb5b1461020f57600080fd5b8063408ae585116100de578063408ae58514610183578063431249951461019657806353a47bb7146101a957806357fa5081146101d457600080fd5b806306c933d81461011057806313af4035146101485780631627540c1461015d57806316c38b3c14610170575b600080fd5b61013361011e3660046114b9565b60056020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61015b6101563660046114b9565b610290565b005b61015b61016b3660046114b9565b6103d0565b61015b61017e3660046116a9565b610426565b61015b61019136600461156b565b61049c565b61015b6101a43660046115bb565b6106d8565b6001546101bc906001600160a01b031681565b6040516001600160a01b03909116815260200161013f565b61015b6101e23660046114b9565b610a5f565b6003546101339060ff1681565b6004546101bc906001600160a01b031681565b61015b610adb565b6000546101bc906201000090046001600160a01b031681565b61023160025481565b60405190815260200161013f565b6003546101bc9061010090046001600160a01b031681565b61015b6102653660046114b9565b610bd8565b61015b6102783660046114f8565b610ccf565b61015b61028b3660046114b9565b610e4b565b6001600160a01b0381166102eb5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600154600160a01b900460ff16156103575760405162461bcd60e51b815260206004820152602960248201527f416c726561647920696e697469616c697a65642c20757365206e6f6d696e617460448201526832a732bba7bbb732b960b91b60648201526084016102e2565b6001805460ff60a01b1916600160a01b179055600080546001600160a01b03831662010000810262010000600160b01b03199092169190911782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91015b60405180910390a150565b6103d8610ecf565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020016103c5565b61042e610ecf565b60035460ff16151581151514156104425750565b6003805460ff191682151590811790915560ff161561046057426002555b60035460405160ff909116151581527f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5906020016103c5565b50565b6104a4610ecf565b60008251116105035760405162461bcd60e51b815260206004820152602560248201527f57686974656c6973746564206164647265737365732063616e6e6f7420626520604482015264656d70747960d81b60648201526084016102e2565b60005b82518110156106d35760006001600160a01b031683828151811061053a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031614156105915760405162461bcd60e51b815260206004820152601560248201527443616e2774206265207a65726f206164647265737360581b60448201526064016102e2565b811515600560008584815181106105b857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161515146106c157816005600085848151811061060b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507f58d7a3ccc34541e162fcfc87b84be7b78c34d1e1e7f15de6e4dd67d0fe70aecd83828151811061068b57634e487b7160e01b600052603260045260246000fd5b6020026020010151836040516106b89291906001600160a01b039290921682521515602082015260400190565b60405180910390a15b806106cb816118c0565b915050610506565b505050565b3360009081526005602052604090205460ff1661072d5760405162461bcd60e51b815260206004820152601360248201527257686974656c6973746564206164647265737360681b60448201526064016102e2565b60005b8651811015610a565760006107718289848151811061075f57634e487b7160e01b600052603260045260246000fd5b60200260200101518989898989610f49565b9050600360019054906101000a90046001600160a01b03166001600160a01b03166367674b148984815181106107b757634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016107dd91815260200190565b60206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d91906116c5565b80156108f35750600354885160009161010090046001600160a01b03169063f89c6f18908b908690811061087157634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b815260040161089791815260200190565b60206040518083038186803b1580156108af57600080fd5b505afa1580156108c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e791906114dc565b6001600160a01b031614155b15610a435760045488516001600160a01b039091169063988a1309908a908590811061092f57634e487b7160e01b600052603260045260246000fd5b602002602001015183600360019054906101000a90046001600160a01b03166001600160a01b03166370aadcc48d888151811061097c57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016109a291815260200190565b60206040518083038186803b1580156109ba57600080fd5b505afa1580156109ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f291906116e1565b6040518463ffffffff1660e01b8152600401610a10939291906116f9565b600060405180830381600087803b158015610a2a57600080fd5b505af1158015610a3e573d6000803e3d6000fd5b505050505b5080610a4e816118c0565b915050610730565b50505050505050565b610a67610ecf565b6001600160a01b038116610a8d5760405162461bcd60e51b81526004016102e29061180b565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9aba0b0687cee6f6112358c0b3ce99e8237c38737e09cf1a71f3142f0d5910ba906020016103c5565b6001546001600160a01b03163314610b535760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b60648201526084016102e2565b60005460015460408051620100009093046001600160a01b03908116845290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600180546000805462010000600160b01b0319166001600160a01b03831662010000021790556001600160a01b0319169055565b610be0610ecf565b6001600160a01b038116610c065760405162461bcd60e51b81526004016102e29061180b565b600154600160a81b900460ff1615610c565760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481d1c985b9cd9995c9c9959606a1b60448201526064016102e2565b600080546001600160a01b038381166201000081810262010000600160b01b031990941693909317938490556001805460ff60a81b1916600160a81b1790556040805193909404909116825260208201527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91016103c5565b600054610100900460ff16610cea5760005460ff1615610cee565b303b155b610d515760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102e2565b600054610100900460ff16158015610d73576000805461ffff19166101011790555b610d7c85610290565b60038054610100600160a81b0319166101006001600160a01b038781169190910291909117909155600480546001600160a01b03191691851691909117905560005b8251811015610e3157600160056000858481518110610ded57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e29816118c0565b915050610dbe565b508015610e44576000805461ff00191690555b5050505050565b610e53610ecf565b6001600160a01b038116610e795760405162461bcd60e51b81526004016102e29061180b565b60038054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f5f56489645cc15092ffab877840903cb7715aca3464f50d3e323ed6465777bbb906020016103c5565b6000546201000090046001600160a01b03163314610f475760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b60648201526084016102e2565b565b6040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810191909152604051806101800160405280888152602001878a6003610fca91906118a1565b81518110610fe857634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001878a600361100691906118a1565b611011906001611889565b8151811061102f57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001878a600361104d91906118a1565b611058906002611889565b8151811061107657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001868a600261109491906118a1565b815181106110b257634e487b7160e01b600052603260045260246000fd5b602002602001015160010b8152602001858a60026110d091906118a1565b815181106110ee57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001868a600261110c91906118a1565b611117906001611889565b8151811061113557634e487b7160e01b600052603260045260246000fd5b602002602001015160010b8152602001858a600261115391906118a1565b61115e906001611889565b8151811061117c57634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001848a600261119a91906118a1565b815181106111b857634e487b7160e01b600052603260045260246000fd5b602002602001015162ffffff168152602001838a60026111d891906118a1565b815181106111f657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152602001848a600261121491906118a1565b61121f906001611889565b8151811061123d57634e487b7160e01b600052603260045260246000fd5b602002602001015162ffffff168152602001838a600261125d91906118a1565b611268906001611889565b8151811061128657634e487b7160e01b600052603260045260246000fd5b602002602001015160020b8152509050979650505050505050565b600082601f8301126112b1578081fd5b813560206112c66112c183611865565b611834565b80838252828201915082860187848660051b89010111156112e5578586fd5b855b8581101561130c5781356112fa81611907565b845292840192908401906001016112e7565b5090979650505050505050565b600082601f830112611329578081fd5b813560206113396112c183611865565b80838252828201915082860187848660051b8901011115611358578586fd5b855b8581101561130c5781358452928401929084019060010161135a565b600082601f830112611386578081fd5b813560206113966112c183611865565b80838252828201915082860187848660051b89010111156113b5578586fd5b855b8581101561130c5781358060010b81146113cf578788fd5b845292840192908401906001016113b7565b600082601f8301126113f1578081fd5b813560206114016112c183611865565b80838252828201915082860187848660051b8901011115611420578586fd5b855b8581101561130c5781358060020b811461143a578788fd5b84529284019290840190600101611422565b600082601f83011261145c578081fd5b8135602061146c6112c183611865565b80838252828201915082860187848660051b890101111561148b578586fd5b855b8581101561130c57813562ffffff811681146114a7578788fd5b8452928401929084019060010161148d565b6000602082840312156114ca578081fd5b81356114d581611907565b9392505050565b6000602082840312156114ed578081fd5b81516114d581611907565b6000806000806080858703121561150d578283fd5b843561151881611907565b9350602085013561152881611907565b9250604085013561153881611907565b9150606085013567ffffffffffffffff811115611553578182fd5b61155f878288016112a1565b91505092959194509250565b6000806040838503121561157d578182fd5b823567ffffffffffffffff811115611593578283fd5b61159f858286016112a1565b92505060208301356115b08161191c565b809150509250929050565b60008060008060008060c087890312156115d3578384fd5b863567ffffffffffffffff808211156115ea578586fd5b6115f68a838b01611319565b9750602089013591508082111561160b578586fd5b6116178a838b016113e1565b9650604089013591508082111561162c578586fd5b6116388a838b01611376565b9550606089013591508082111561164d578384fd5b6116598a838b016113e1565b9450608089013591508082111561166e578384fd5b61167a8a838b0161144c565b935060a089013591508082111561168f578283fd5b5061169c89828a016113e1565b9150509295509295509295565b6000602082840312156116ba578081fd5b81356114d58161191c565b6000602082840312156116d6578081fd5b81516114d58161191c565b6000602082840312156116f2578081fd5b5051919050565b60006101c082019050848252835160208301526020840151611720604084018260020b9052565b506040840151611735606084018260020b9052565b50606084015161174a608084018260020b9052565b50608084015161175f60a084018260010b9052565b5060a084015161177460c084018260020b9052565b5060c084015161178960e084018260010b9052565b5060e08401516101006117a08185018360020b9052565b85015190506101206117b88482018362ffffff169052565b85015190506101406117ce8482018360020b9052565b85015190506101606117e68482018362ffffff169052565b85015190506117fb61018084018260020b9052565b50826101a0830152949350505050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561185d5761185d6118f1565b604052919050565b600067ffffffffffffffff82111561187f5761187f6118f1565b5060051b60200190565b6000821982111561189c5761189c6118db565b500190565b60008160001904831182151516156118bb576118bb6118db565b500290565b60006000198214156118d4576118d46118db565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461049957600080fd5b801515811461049957600080fdfea2646970667358221220bdd6f4bc4d0343f1b6bc44eada18cd4805b7c732d1b03c32e4b1802ca05779de64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.