More Info
Private Name Tags
ContractCreator
Sponsored
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0xf0b84335832edb272b50dea48cedf47987ca2d3fe5ed4fd39d408cd1d2caf360 | - | (pending) | 4 secs ago | IN | 0 MATIC | (Pending) | |||
Fulfill Oracle R... | 60221255 | 1 min ago | IN | 0 MATIC | 0.04546238 | ||||
Fulfill Oracle R... | 60221237 | 1 min ago | IN | 0 MATIC | 0.0545171 | ||||
Fulfill Oracle R... | 60221227 | 2 mins ago | IN | 0 MATIC | 0.06057177 | ||||
Fulfill Oracle R... | 60221226 | 2 mins ago | IN | 0 MATIC | 0.06012929 | ||||
Fulfill Oracle R... | 60221226 | 2 mins ago | IN | 0 MATIC | 0.06013207 | ||||
Fulfill Oracle R... | 60221217 | 2 mins ago | IN | 0 MATIC | 0.32288618 | ||||
Fulfill Oracle R... | 60221214 | 2 mins ago | IN | 0 MATIC | 0.30413403 | ||||
Fulfill Oracle R... | 60221212 | 2 mins ago | IN | 0 MATIC | 0.17184127 | ||||
Fulfill Oracle R... | 60221211 | 2 mins ago | IN | 0 MATIC | 0.06171871 | ||||
Fulfill Oracle R... | 60221211 | 2 mins ago | IN | 0 MATIC | 0.17552371 | ||||
Fulfill Oracle R... | 60221208 | 2 mins ago | IN | 0 MATIC | 0.05933395 | ||||
Fulfill Oracle R... | 60221206 | 3 mins ago | IN | 0 MATIC | 0.32373335 | ||||
Fulfill Oracle R... | 60221205 | 3 mins ago | IN | 0 MATIC | 1.44332749 | ||||
Fulfill Oracle R... | 60221201 | 3 mins ago | IN | 0 MATIC | 0.06131005 | ||||
Fulfill Oracle R... | 60221201 | 3 mins ago | IN | 0 MATIC | 0.06488733 | ||||
Fulfill Oracle R... | 60221197 | 3 mins ago | IN | 0 MATIC | 0.33072486 | ||||
Fulfill Oracle R... | 60221195 | 3 mins ago | IN | 0 MATIC | 0.06289881 | ||||
Fulfill Oracle R... | 60221193 | 3 mins ago | IN | 0 MATIC | 0.05942971 | ||||
Fulfill Oracle R... | 60221193 | 3 mins ago | IN | 0 MATIC | 0.17264455 | ||||
Fulfill Oracle R... | 60221193 | 3 mins ago | IN | 0 MATIC | 0.05971026 | ||||
Fulfill Oracle R... | 60221193 | 3 mins ago | IN | 0 MATIC | 0.17629645 | ||||
Fulfill Oracle R... | 60221193 | 3 mins ago | IN | 0 MATIC | 0.06319884 | ||||
Fulfill Oracle R... | 60221190 | 3 mins ago | IN | 0 MATIC | 0.06080857 | ||||
Fulfill Oracle R... | 60221164 | 4 mins ago | IN | 0 MATIC | 0.05707058 |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Operator
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-12-11 */ // File: @chainlink/contracts/src/v0.7/vendor/SafeMathChainlink.sol pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMathChainlink { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // 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, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } // File: @chainlink/contracts/src/v0.7/vendor/Address.sol // From https://github.com/OpenZeppelin/openzeppelin-contracts v3.4.0(fa64a1ced0b70ab89073d5d0b6e01b0778f7e7d6) pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @chainlink/contracts/src/v0.7/interfaces/WithdrawalInterface.sol pragma solidity ^0.7.0; interface WithdrawalInterface { /** * @notice transfer LINK held by the contract belonging to msg.sender to * another address * @param recipient is the address to send the LINK to * @param amount is the amount of LINK to send */ function withdraw(address recipient, uint256 amount) external; /** * @notice query the available amount of LINK to withdraw by msg.sender */ function withdrawable() external view returns (uint256); } // File: @chainlink/contracts/src/v0.7/interfaces/OracleInterface.sol pragma solidity ^0.7.0; interface OracleInterface { function fulfillOracleRequest( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data ) external returns (bool); function withdraw(address recipient, uint256 amount) external; function withdrawable() external view returns (uint256); } // File: @chainlink/contracts/src/v0.7/interfaces/ChainlinkRequestInterface.sol pragma solidity ^0.7.0; interface ChainlinkRequestInterface { function oracleRequest( address sender, uint256 requestPrice, bytes32 serviceAgreementID, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external; function cancelOracleRequest( bytes32 requestId, uint256 payment, bytes4 callbackFunctionId, uint256 expiration ) external; } // File: @chainlink/contracts/src/v0.7/interfaces/OperatorInterface.sol pragma solidity ^0.7.0; interface OperatorInterface is ChainlinkRequestInterface, OracleInterface { function operatorRequest( address sender, uint256 payment, bytes32 specId, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external; function fulfillOracleRequest2( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes calldata data ) external returns (bool); function ownerTransferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); } // File: @chainlink/contracts/src/v0.7/interfaces/LinkTokenInterface.sol pragma solidity ^0.7.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); } // File: @chainlink/contracts/src/v0.7/interfaces/OwnableInterface.sol pragma solidity ^0.7.0; interface OwnableInterface { function owner() external returns (address); function transferOwnership(address recipient) external; function acceptOwnership() external; } // File: @chainlink/contracts/src/v0.7/ConfirmedOwnerWithProposal.sol pragma solidity ^0.7.0; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwnerWithProposal is OwnableInterface { address private s_owner; address private s_pendingOwner; event OwnershipTransferRequested(address indexed from, address indexed to); event OwnershipTransferred(address indexed from, address indexed to); constructor(address newOwner, address pendingOwner) { require(newOwner != address(0), "Cannot set owner to zero"); s_owner = newOwner; if (pendingOwner != address(0)) { _transferOwnership(pendingOwner); } } /** * @notice Allows an owner to begin transferring ownership to a new address, * pending. */ function transferOwnership(address to) public override onlyOwner { _transferOwnership(to); } /** * @notice Allows an ownership transfer to be completed by the recipient. */ function acceptOwnership() external override { require(msg.sender == s_pendingOwner, "Must be proposed owner"); address oldOwner = s_owner; s_owner = msg.sender; s_pendingOwner = address(0); emit OwnershipTransferred(oldOwner, msg.sender); } /** * @notice Get the current owner */ function owner() public view override returns (address) { return s_owner; } /** * @notice validate, transfer ownership, and emit relevant events */ function _transferOwnership(address to) private { require(to != msg.sender, "Cannot transfer to self"); s_pendingOwner = to; emit OwnershipTransferRequested(s_owner, to); } /** * @notice validate access */ function _validateOwnership() internal view { require(msg.sender == s_owner, "Only callable by owner"); } /** * @notice Reverts if called by anyone other than the contract owner. */ modifier onlyOwner() { _validateOwnership(); _; } } // File: @chainlink/contracts/src/v0.7/ConfirmedOwner.sol pragma solidity ^0.7.0; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwner is ConfirmedOwnerWithProposal { constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {} } // File: @chainlink/contracts/src/v0.7/LinkTokenReceiver.sol pragma solidity ^0.7.0; abstract contract LinkTokenReceiver { /** * @notice Called when LINK is sent to the contract via `transferAndCall` * @dev The data payload's first 2 words will be overwritten by the `sender` and `amount` * values to ensure correctness. Calls oracleRequest. * @param sender Address of the sender * @param amount Amount of LINK sent (specified in wei) * @param data Payload of the transaction */ function onTokenTransfer( address sender, uint256 amount, bytes memory data ) public validateFromLINK permittedFunctionsForLINK(data) { assembly { // solhint-disable-next-line avoid-low-level-calls mstore(add(data, 36), sender) // ensure correct sender is passed // solhint-disable-next-line avoid-low-level-calls mstore(add(data, 68), amount) // ensure correct amount is passed } // solhint-disable-next-line avoid-low-level-calls (bool success, ) = address(this).delegatecall(data); // calls oracleRequest require(success, "Unable to create request"); } function getChainlinkToken() public view virtual returns (address); /** * @notice Validate the function called on token transfer */ function _validateTokenTransferAction(bytes4 funcSelector, bytes memory data) internal virtual; /** * @dev Reverts if not sent from the LINK token */ modifier validateFromLINK() { require(msg.sender == getChainlinkToken(), "Must use LINK token"); _; } /** * @dev Reverts if the given data does not begin with the `oracleRequest` function selector * @param data The data payload of the request */ modifier permittedFunctionsForLINK(bytes memory data) { bytes4 funcSelector; assembly { // solhint-disable-next-line avoid-low-level-calls funcSelector := mload(add(data, 32)) } _validateTokenTransferAction(funcSelector, data); _; } } // File: @chainlink/contracts/src/v0.7/interfaces/AuthorizedReceiverInterface.sol pragma solidity ^0.7.0; interface AuthorizedReceiverInterface { function isAuthorizedSender(address sender) external view returns (bool); function getAuthorizedSenders() external returns (address[] memory); function setAuthorizedSenders(address[] calldata senders) external; } // File: @chainlink/contracts/src/v0.7/AuthorizedReceiver.sol pragma solidity ^0.7.0; abstract contract AuthorizedReceiver is AuthorizedReceiverInterface { mapping(address => bool) private s_authorizedSenders; address[] private s_authorizedSenderList; event AuthorizedSendersChanged(address[] senders, address changedBy); /** * @notice Sets the fulfillment permission for a given node. Use `true` to allow, `false` to disallow. * @param senders The addresses of the authorized Chainlink node */ function setAuthorizedSenders(address[] calldata senders) external override validateAuthorizedSenderSetter { require(senders.length > 0, "Must have at least 1 sender"); // Set previous authorized senders to false uint256 authorizedSendersLength = s_authorizedSenderList.length; for (uint256 i = 0; i < authorizedSendersLength; i++) { s_authorizedSenders[s_authorizedSenderList[i]] = false; } // Set new to true for (uint256 i = 0; i < senders.length; i++) { require(s_authorizedSenders[senders[i]] == false, "Must not have duplicate senders"); s_authorizedSenders[senders[i]] = true; } // Replace list s_authorizedSenderList = senders; emit AuthorizedSendersChanged(senders, msg.sender); } /** * @notice Retrieve a list of authorized senders * @return array of addresses */ function getAuthorizedSenders() external view override returns (address[] memory) { return s_authorizedSenderList; } /** * @notice Use this to check if a node is authorized for fulfilling requests * @param sender The address of the Chainlink node * @return The authorization status of the node */ function isAuthorizedSender(address sender) public view override returns (bool) { return s_authorizedSenders[sender]; } /** * @notice customizable guard of who can update the authorized sender list * @return bool whether sender can update authorized sender list */ function _canSetAuthorizedSenders() internal virtual returns (bool); /** * @notice validates the sender is an authorized sender */ function _validateIsAuthorizedSender() internal view { require(isAuthorizedSender(msg.sender), "Not authorized sender"); } /** * @notice prevents non-authorized addresses from calling this method */ modifier validateAuthorizedSender() { _validateIsAuthorizedSender(); _; } /** * @notice prevents non-authorized addresses from calling this method */ modifier validateAuthorizedSenderSetter() { require(_canSetAuthorizedSenders(), "Cannot set authorized senders"); _; } } // File: @chainlink/contracts/src/v0.7/Operator.sol pragma solidity ^0.7.0; /** * @title The Chainlink Operator contract * @notice Node operators can deploy this contract to fulfill requests sent to them */ contract Operator is AuthorizedReceiver, ConfirmedOwner, LinkTokenReceiver, OperatorInterface, WithdrawalInterface { using Address for address; using SafeMathChainlink for uint256; struct Commitment { bytes31 paramsHash; uint8 dataVersion; } uint256 public constant getExpiryTime = 5 minutes; uint256 private constant MAXIMUM_DATA_VERSION = 256; uint256 private constant MINIMUM_CONSUMER_GAS_LIMIT = 400000; uint256 private constant SELECTOR_LENGTH = 4; uint256 private constant EXPECTED_REQUEST_WORDS = 2; uint256 private constant MINIMUM_REQUEST_LENGTH = SELECTOR_LENGTH + (32 * EXPECTED_REQUEST_WORDS); // We initialize fields to 1 instead of 0 so that the first invocation // does not cost more gas. uint256 private constant ONE_FOR_CONSISTENT_GAS_COST = 1; // oracleRequest is intended for version 1, enabling single word responses bytes4 private constant ORACLE_REQUEST_SELECTOR = this.oracleRequest.selector; // operatorRequest is intended for version 2, enabling multi-word responses bytes4 private constant OPERATOR_REQUEST_SELECTOR = this.operatorRequest.selector; LinkTokenInterface internal immutable linkToken; mapping(bytes32 => Commitment) private s_commitments; mapping(address => bool) private s_owned; // Tokens sent for requests that have not been fulfilled yet uint256 private s_tokensInEscrow = ONE_FOR_CONSISTENT_GAS_COST; event OracleRequest( bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data ); event CancelOracleRequest(bytes32 indexed requestId); event OracleResponse(bytes32 indexed requestId); event OwnableContractAccepted(address indexed acceptedContract); event TargetsUpdatedAuthorizedSenders(address[] targets, address[] senders, address changedBy); /** * @notice Deploy with the address of the LINK token * @dev Sets the LinkToken address for the imported LinkTokenInterface * @param link The address of the LINK token * @param owner The address of the owner */ constructor(address link, address owner) ConfirmedOwner(owner) { linkToken = LinkTokenInterface(link); // external but already deployed and unalterable } /** * @notice The type and version of this contract * @return Type and version string */ function typeAndVersion() external pure virtual returns (string memory) { return "Operator 1.0.0"; } /** * @notice Creates the Chainlink request. This is a backwards compatible API * with the Oracle.sol contract, but the behavior changes because * callbackAddress is assumed to be the same as the request sender. * @param callbackAddress The consumer of the request * @param payment The amount of payment given (specified in wei) * @param specId The Job Specification ID * @param callbackAddress The address the oracle data will be sent to * @param callbackFunctionId The callback function ID for the response * @param nonce The nonce sent by the requester * @param dataVersion The specified data version * @param data The extra request parameters */ function oracleRequest( address sender, uint256 payment, bytes32 specId, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external override validateFromLINK { (bytes32 requestId, uint256 expiration) = _verifyAndProcessOracleRequest( sender, payment, callbackAddress, callbackFunctionId, nonce, dataVersion ); emit OracleRequest(specId, sender, requestId, payment, sender, callbackFunctionId, expiration, dataVersion, data); } /** * @notice Creates the Chainlink request * @dev Stores the hash of the params as the on-chain commitment for the request. * Emits OracleRequest event for the Chainlink node to detect. * @param sender The sender of the request * @param payment The amount of payment given (specified in wei) * @param specId The Job Specification ID * @param callbackFunctionId The callback function ID for the response * @param nonce The nonce sent by the requester * @param dataVersion The specified data version * @param data The extra request parameters */ function operatorRequest( address sender, uint256 payment, bytes32 specId, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external override validateFromLINK { (bytes32 requestId, uint256 expiration) = _verifyAndProcessOracleRequest( sender, payment, sender, callbackFunctionId, nonce, dataVersion ); emit OracleRequest(specId, sender, requestId, payment, sender, callbackFunctionId, expiration, dataVersion, data); } /** * @notice Called by the Chainlink node to fulfill requests * @dev Given params must hash back to the commitment stored from `oracleRequest`. * Will call the callback address' callback function without bubbling up error * checking in a `require` so that the node can get paid. * @param requestId The fulfillment request ID that must match the requester's * @param payment The payment amount that will be released for the oracle (specified in wei) * @param callbackAddress The callback address to call for fulfillment * @param callbackFunctionId The callback function ID to use for fulfillment * @param expiration The expiration that the node should respond by before the requester can cancel * @param data The data to return to the consuming contract * @return Status if the external call was successful */ function fulfillOracleRequest( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data ) external override validateAuthorizedSender validateRequestId(requestId) validateCallbackAddress(callbackAddress) returns (bool) { _verifyOracleRequestAndProcessPayment(requestId, payment, callbackAddress, callbackFunctionId, expiration, 1); emit OracleResponse(requestId); require(gasleft() >= MINIMUM_CONSUMER_GAS_LIMIT, "Must provide consumer enough gas"); // All updates to the oracle's fulfillment should come before calling the // callback(addr+functionId) as it is untrusted. // See: https://solidity.readthedocs.io/en/develop/security-considerations.html#use-the-checks-effects-interactions-pattern (bool success, ) = callbackAddress.call(abi.encodeWithSelector(callbackFunctionId, requestId, data)); // solhint-disable-line avoid-low-level-calls return success; } /** * @notice Called by the Chainlink node to fulfill requests with multi-word support * @dev Given params must hash back to the commitment stored from `oracleRequest`. * Will call the callback address' callback function without bubbling up error * checking in a `require` so that the node can get paid. * @param requestId The fulfillment request ID that must match the requester's * @param payment The payment amount that will be released for the oracle (specified in wei) * @param callbackAddress The callback address to call for fulfillment * @param callbackFunctionId The callback function ID to use for fulfillment * @param expiration The expiration that the node should respond by before the requester can cancel * @param data The data to return to the consuming contract * @return Status if the external call was successful */ function fulfillOracleRequest2( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes calldata data ) external override validateAuthorizedSender validateRequestId(requestId) validateCallbackAddress(callbackAddress) validateMultiWordResponseId(requestId, data) returns (bool) { _verifyOracleRequestAndProcessPayment(requestId, payment, callbackAddress, callbackFunctionId, expiration, 2); emit OracleResponse(requestId); require(gasleft() >= MINIMUM_CONSUMER_GAS_LIMIT, "Must provide consumer enough gas"); // All updates to the oracle's fulfillment should come before calling the // callback(addr+functionId) as it is untrusted. // See: https://solidity.readthedocs.io/en/develop/security-considerations.html#use-the-checks-effects-interactions-pattern (bool success, ) = callbackAddress.call(abi.encodePacked(callbackFunctionId, data)); // solhint-disable-line avoid-low-level-calls return success; } /** * @notice Transfer the ownership of ownable contracts. This is primarily * intended for Authorized Forwarders but could possibly be extended to work * with future contracts. * @param ownable list of addresses to transfer * @param newOwner address to transfer ownership to */ function transferOwnableContracts(address[] calldata ownable, address newOwner) external onlyOwner { for (uint256 i = 0; i < ownable.length; i++) { s_owned[ownable[i]] = false; OwnableInterface(ownable[i]).transferOwnership(newOwner); } } /** * @notice Accept the ownership of an ownable contract. This is primarily * intended for Authorized Forwarders but could possibly be extended to work * with future contracts. * @dev Must be the pending owner on the contract * @param ownable list of addresses of Ownable contracts to accept */ function acceptOwnableContracts(address[] calldata ownable) public validateAuthorizedSenderSetter { for (uint256 i = 0; i < ownable.length; i++) { s_owned[ownable[i]] = true; emit OwnableContractAccepted(ownable[i]); OwnableInterface(ownable[i]).acceptOwnership(); } } /** * @notice Sets the fulfillment permission for * @param targets The addresses to set permissions on * @param senders The addresses that are allowed to send updates */ function setAuthorizedSendersOn(address[] calldata targets, address[] calldata senders) public validateAuthorizedSenderSetter { TargetsUpdatedAuthorizedSenders(targets, senders, msg.sender); for (uint256 i = 0; i < targets.length; i++) { AuthorizedReceiverInterface(targets[i]).setAuthorizedSenders(senders); } } /** * @notice Accepts ownership of ownable contracts and then immediately sets * the authorized sender list on each of the newly owned contracts. This is * primarily intended for Authorized Forwarders but could possibly be * extended to work with future contracts. * @param targets The addresses to set permissions on * @param senders The addresses that are allowed to send updates */ function acceptAuthorizedReceivers(address[] calldata targets, address[] calldata senders) external validateAuthorizedSenderSetter { acceptOwnableContracts(targets); setAuthorizedSendersOn(targets, senders); } /** * @notice Allows the node operator to withdraw earned LINK to a given address * @dev The owner of the contract can be another wallet and does not have to be a Chainlink node * @param recipient The address to send the LINK token to * @param amount The amount to send (specified in wei) */ function withdraw(address recipient, uint256 amount) external override(OracleInterface, WithdrawalInterface) onlyOwner validateAvailableFunds(amount) { assert(linkToken.transfer(recipient, amount)); } /** * @notice Displays the amount of LINK that is available for the node operator to withdraw * @dev We use `ONE_FOR_CONSISTENT_GAS_COST` in place of 0 in storage * @return The amount of withdrawable LINK on the contract */ function withdrawable() external view override(OracleInterface, WithdrawalInterface) returns (uint256) { return _fundsAvailable(); } /** * @notice Forward a call to another contract * @dev Only callable by the owner * @param to address * @param data to forward */ function ownerForward(address to, bytes calldata data) external onlyOwner validateNotToLINK(to) { require(to.isContract(), "Must forward to a contract"); (bool status, ) = to.call(data); require(status, "Forwarded call failed"); } /** * @notice Interact with other LinkTokenReceiver contracts by calling transferAndCall * @param to The address to transfer to. * @param value The amount to be transferred. * @param data The extra data to be passed to the receiving contract. * @return success bool */ function ownerTransferAndCall( address to, uint256 value, bytes calldata data ) external override onlyOwner validateAvailableFunds(value) returns (bool success) { return linkToken.transferAndCall(to, value, data); } /** * @notice Distribute funds to multiple addresses using ETH send * to this payable function. * @dev Array length must be equal, ETH sent must equal the sum of amounts. * A malicious receiver could cause the distribution to revert, in which case * it is expected that the address is removed from the list. * @param receivers list of addresses * @param amounts list of amounts */ function distributeFunds(address payable[] calldata receivers, uint256[] calldata amounts) external payable { require(receivers.length > 0 && receivers.length == amounts.length, "Invalid array length(s)"); uint256 valueRemaining = msg.value; for (uint256 i = 0; i < receivers.length; i++) { uint256 sendAmount = amounts[i]; valueRemaining = valueRemaining.sub(sendAmount); receivers[i].transfer(sendAmount); } require(valueRemaining == 0, "Too much ETH sent"); } /** * @notice Allows recipient to cancel requests sent to this oracle contract. * Will transfer the LINK sent for the request back to the recipient address. * @dev Given params must hash to a commitment stored on the contract in order * for the request to be valid. Emits CancelOracleRequest event. * @param requestId The request ID * @param payment The amount of payment given (specified in wei) * @param callbackFunc The requester's specified callback function selector * @param expiration The time of the expiration for the request */ function cancelOracleRequest( bytes32 requestId, uint256 payment, bytes4 callbackFunc, uint256 expiration ) external override { bytes31 paramsHash = _buildParamsHash(payment, msg.sender, callbackFunc, expiration); require(s_commitments[requestId].paramsHash == paramsHash, "Params do not match request ID"); // solhint-disable-next-line not-rely-on-time require(expiration <= block.timestamp, "Request is not expired"); delete s_commitments[requestId]; emit CancelOracleRequest(requestId); linkToken.transfer(msg.sender, payment); } /** * @notice Allows requester to cancel requests sent to this oracle contract. * Will transfer the LINK sent for the request back to the recipient address. * @dev Given params must hash to a commitment stored on the contract in order * for the request to be valid. Emits CancelOracleRequest event. * @param nonce The nonce used to generate the request ID * @param payment The amount of payment given (specified in wei) * @param callbackFunc The requester's specified callback function selector * @param expiration The time of the expiration for the request */ function cancelOracleRequestByRequester( uint256 nonce, uint256 payment, bytes4 callbackFunc, uint256 expiration ) external { bytes32 requestId = keccak256(abi.encodePacked(msg.sender, nonce)); bytes31 paramsHash = _buildParamsHash(payment, msg.sender, callbackFunc, expiration); require(s_commitments[requestId].paramsHash == paramsHash, "Params do not match request ID"); // solhint-disable-next-line not-rely-on-time require(expiration <= block.timestamp, "Request is not expired"); delete s_commitments[requestId]; emit CancelOracleRequest(requestId); linkToken.transfer(msg.sender, payment); } /** * @notice Returns the address of the LINK token * @dev This is the public implementation for chainlinkTokenAddress, which is * an internal method of the ChainlinkClient contract */ function getChainlinkToken() public view override returns (address) { return address(linkToken); } /** * @notice Require that the token transfer action is valid * @dev OPERATOR_REQUEST_SELECTOR = multiword, ORACLE_REQUEST_SELECTOR = singleword */ function _validateTokenTransferAction(bytes4 funcSelector, bytes memory data) internal pure override { require(data.length >= MINIMUM_REQUEST_LENGTH, "Invalid request length"); require( funcSelector == OPERATOR_REQUEST_SELECTOR || funcSelector == ORACLE_REQUEST_SELECTOR, "Must use whitelisted functions" ); } /** * @notice Verify the Oracle Request and record necessary information * @param sender The sender of the request * @param payment The amount of payment given (specified in wei) * @param callbackAddress The callback address for the response * @param callbackFunctionId The callback function ID for the response * @param nonce The nonce sent by the requester */ function _verifyAndProcessOracleRequest( address sender, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion ) private validateNotToLINK(callbackAddress) returns (bytes32 requestId, uint256 expiration) { requestId = keccak256(abi.encodePacked(sender, nonce)); require(s_commitments[requestId].paramsHash == 0, "Must use a unique ID"); // solhint-disable-next-line not-rely-on-time expiration = block.timestamp.add(getExpiryTime); bytes31 paramsHash = _buildParamsHash(payment, callbackAddress, callbackFunctionId, expiration); s_commitments[requestId] = Commitment(paramsHash, _safeCastToUint8(dataVersion)); s_tokensInEscrow = s_tokensInEscrow.add(payment); return (requestId, expiration); } /** * @notice Verify the Oracle request and unlock escrowed payment * @param requestId The fulfillment request ID that must match the requester's * @param payment The payment amount that will be released for the oracle (specified in wei) * @param callbackAddress The callback address to call for fulfillment * @param callbackFunctionId The callback function ID to use for fulfillment * @param expiration The expiration that the node should respond by before the requester can cancel */ function _verifyOracleRequestAndProcessPayment( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, uint256 dataVersion ) internal { bytes31 paramsHash = _buildParamsHash(payment, callbackAddress, callbackFunctionId, expiration); require(s_commitments[requestId].paramsHash == paramsHash, "Params do not match request ID"); require(s_commitments[requestId].dataVersion <= _safeCastToUint8(dataVersion), "Data versions must match"); s_tokensInEscrow = s_tokensInEscrow.sub(payment); delete s_commitments[requestId]; } /** * @notice Build the bytes31 hash from the payment, callback and expiration. * @param payment The payment amount that will be released for the oracle (specified in wei) * @param callbackAddress The callback address to call for fulfillment * @param callbackFunctionId The callback function ID to use for fulfillment * @param expiration The expiration that the node should respond by before the requester can cancel * @return hash bytes31 */ function _buildParamsHash( uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration ) internal pure returns (bytes31) { return bytes31(keccak256(abi.encodePacked(payment, callbackAddress, callbackFunctionId, expiration))); } /** * @notice Safely cast uint256 to uint8 * @param number uint256 * @return uint8 number */ function _safeCastToUint8(uint256 number) internal pure returns (uint8) { require(number < MAXIMUM_DATA_VERSION, "number too big to cast"); return uint8(number); } /** * @notice Returns the LINK available in this contract, not locked in escrow * @return uint256 LINK tokens available */ function _fundsAvailable() private view returns (uint256) { uint256 inEscrow = s_tokensInEscrow.sub(ONE_FOR_CONSISTENT_GAS_COST); return linkToken.balanceOf(address(this)).sub(inEscrow); } /** * @notice concrete implementation of AuthorizedReceiver * @return bool of whether sender is authorized */ function _canSetAuthorizedSenders() internal view override returns (bool) { return isAuthorizedSender(msg.sender) || owner() == msg.sender; } // MODIFIERS /** * @dev Reverts if the first 32 bytes of the bytes array is not equal to requestId * @param requestId bytes32 * @param data bytes */ modifier validateMultiWordResponseId(bytes32 requestId, bytes calldata data) { require(data.length >= 32, "Response must be > 32 bytes"); bytes32 firstDataWord; assembly { firstDataWord := calldataload(data.offset) } require(requestId == firstDataWord, "First word must be requestId"); _; } /** * @dev Reverts if amount requested is greater than withdrawable balance * @param amount The given amount to compare to `s_withdrawableTokens` */ modifier validateAvailableFunds(uint256 amount) { require(_fundsAvailable() >= amount, "Amount requested is greater than withdrawable balance"); _; } /** * @dev Reverts if request ID does not exist * @param requestId The given request ID to check in stored `commitments` */ modifier validateRequestId(bytes32 requestId) { require(s_commitments[requestId].paramsHash != 0, "Must have a valid requestId"); _; } /** * @dev Reverts if the callback address is the LINK token * @param to The callback address */ modifier validateNotToLINK(address to) { require(to != address(linkToken), "Cannot call to LINK"); _; } /** * @dev Reverts if the target address is owned by the operator */ modifier validateCallbackAddress(address callbackAddress) { require(!s_owned[callbackAddress], "Cannot call owned contract"); _; } } // File: docs.chain.link/samples/ChainlinkNodes/Operator.sol pragma solidity ^0.7.6;
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"link","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"senders","type":"address[]"},{"indexed":false,"internalType":"address","name":"changedBy","type":"address"}],"name":"AuthorizedSendersChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"CancelOracleRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"specId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"payment","type":"uint256"},{"indexed":false,"internalType":"address","name":"callbackAddr","type":"address"},{"indexed":false,"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"indexed":false,"internalType":"uint256","name":"cancelExpiration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dataVersion","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"OracleRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"OracleResponse","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"acceptedContract","type":"address"}],"name":"OwnableContractAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"targets","type":"address[]"},{"indexed":false,"internalType":"address[]","name":"senders","type":"address[]"},{"indexed":false,"internalType":"address","name":"changedBy","type":"address"}],"name":"TargetsUpdatedAuthorizedSenders","type":"event"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"address[]","name":"senders","type":"address[]"}],"name":"acceptAuthorizedReceivers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"ownable","type":"address[]"}],"name":"acceptOwnableContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"bytes4","name":"callbackFunc","type":"bytes4"},{"internalType":"uint256","name":"expiration","type":"uint256"}],"name":"cancelOracleRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"bytes4","name":"callbackFunc","type":"bytes4"},{"internalType":"uint256","name":"expiration","type":"uint256"}],"name":"cancelOracleRequestByRequester","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"distributeFunds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"address","name":"callbackAddress","type":"address"},{"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"data","type":"bytes32"}],"name":"fulfillOracleRequest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"address","name":"callbackAddress","type":"address"},{"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"fulfillOracleRequest2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAuthorizedSenders","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainlinkToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExpiryTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"isAuthorizedSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"bytes32","name":"specId","type":"bytes32"},{"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"dataVersion","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"operatorRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"payment","type":"uint256"},{"internalType":"bytes32","name":"specId","type":"bytes32"},{"internalType":"address","name":"callbackAddress","type":"address"},{"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"dataVersion","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"oracleRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"ownerForward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"ownerTransferAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"senders","type":"address[]"}],"name":"setAuthorizedSenders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"address[]","name":"senders","type":"address[]"}],"name":"setAuthorizedSendersOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"ownable","type":"address[]"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnableContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"typeAndVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a060405260016006553480156200001657600080fd5b506040516200314b3803806200314b833981810160405260408110156200003c57600080fd5b508051602090910151808060006001600160a01b038216620000a5576040805162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f0000000000000000604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0384811691909117909155811615620000d857620000d881620000f2565b5050505060601b6001600160601b031916608052620001a3565b6001600160a01b03811633141562000151576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b60805160601c612f67620001e460003980610ddd5280610f755280611bee5280611d7e52806121465280612480528061277e5280612ad95250612f676000f3fe6080604052600436106101665760003560e01c80636ae0bc76116100d1578063a4c0ed361161008a578063f2fde38b11610064578063f2fde38b14610aed578063f3fef3a314610b20578063fa00763a14610b59578063fc4a03ed14610b8c57610166565b8063a4c0ed3614610966578063eb007d9914610a2c578063ee56997b14610a7257610166565b80636ae0bc76146106fb5780636bd59ec0146107a85780636ee4d5531461086657806379ba5097146108ac5780638da5cb5b146108c1578063902fc370146108d657610166565b80633c6d41b9116101235780633c6d41b9146103ba5780633ec5bc141461046c57806340429946146104f05780634ab0d190146105ac578063501883011461061b5780635ffa62881461063057610166565b806301994b991461016b578063033f49f7146101e8578063165d35e114610273578063181f5a77146102a45780632408afaa1461032e57806325cb5bc014610393575b600080fd5b34801561017757600080fd5b506101e66004803603602081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111600160201b831117156101db57600080fd5b509092509050610c57565b005b3480156101f457600080fd5b506101e66004803603604081101561020b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561023557600080fd5b82018360208201111561024757600080fd5b803590602001918460018302840111600160201b8311171561026857600080fd5b509092509050610dd2565b34801561027f57600080fd5b50610288610f73565b604080516001600160a01b039092168252519081900360200190f35b3480156102b057600080fd5b506102b9610f97565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f35781810151838201526020016102db565b50505050905090810190601f1680156103205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033a57600080fd5b50610343610fbf565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037f578181015183820152602001610367565b505050509050019250505060405180910390f35b34801561039f57600080fd5b506103a8611021565b60408051918252519081900360200190f35b3480156103c657600080fd5b506101e6600480360360e08110156103dd57600080fd5b6001600160a01b03823516916020810135916040820135916001600160e01b03196060820135169160808201359160a08101359181019060e0810160c0820135600160201b81111561042e57600080fd5b82018360208201111561044057600080fd5b803590602001918460018302840111600160201b8311171561046157600080fd5b509092509050611027565b34801561047857600080fd5b506101e66004803603604081101561048f57600080fd5b810190602081018135600160201b8111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460208302840111600160201b831117156104dc57600080fd5b9193509150356001600160a01b0316611160565b3480156104fc57600080fd5b506101e6600480360361010081101561051457600080fd5b6001600160a01b038235811692602081013592604082013592606083013516916001600160e01b03196080820135169160a08201359160c081013591810190610100810160e0820135600160201b81111561056e57600080fd5b82018360208201111561058057600080fd5b803590602001918460018302840111600160201b831117156105a157600080fd5b509092509050611260565b3480156105b857600080fd5b50610607600480360360c08110156105cf57600080fd5b508035906020810135906001600160a01b03604082013516906001600160e01b03196060820135169060808101359060a0013561139a565b604080519115158252519081900360200190f35b34801561062757600080fd5b506103a8611602565b34801561063c57600080fd5b506101e66004803603604081101561065357600080fd5b810190602081018135600160201b81111561066d57600080fd5b82018360208201111561067f57600080fd5b803590602001918460208302840111600160201b831117156106a057600080fd5b919390929091602081019035600160201b8111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460208302840111600160201b831117156106f057600080fd5b509092509050611611565b34801561070757600080fd5b50610607600480360360c081101561071e57600080fd5b8135916020810135916001600160a01b03604083013516916001600160e01b0319606082013516916080820135919081019060c0810160a0820135600160201b81111561076a57600080fd5b82018360208201111561077c57600080fd5b803590602001918460018302840111600160201b8311171561079d57600080fd5b50909250905061166e565b6101e6600480360360408110156107be57600080fd5b810190602081018135600160201b8111156107d857600080fd5b8201836020820111156107ea57600080fd5b803590602001918460208302840111600160201b8311171561080b57600080fd5b919390929091602081019035600160201b81111561082857600080fd5b82018360208201111561083a57600080fd5b803590602001918460208302840111600160201b8311171561085b57600080fd5b509092509050611986565b34801561087257600080fd5b506101e66004803603608081101561088957600080fd5b508035906020810135906001600160e01b03196040820135169060600135611ac3565b3480156108b857600080fd5b506101e6611c69565b3480156108cd57600080fd5b50610288611d1c565b3480156108e257600080fd5b50610607600480360360608110156108f957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561092857600080fd5b82018360208201111561093a57600080fd5b803590602001918460018302840111600160201b8311171561095b57600080fd5b509092509050611d2b565b34801561097257600080fd5b506101e66004803603606081101561098957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156109b857600080fd5b8201836020820111156109ca57600080fd5b803590602001918460018302840111600160201b831117156109eb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e5d945050505050565b348015610a3857600080fd5b506101e660048036036080811015610a4f57600080fd5b508035906020810135906001600160e01b03196040820135169060600135611fdc565b348015610a7e57600080fd5b506101e660048036036020811015610a9557600080fd5b810190602081018135600160201b811115610aaf57600080fd5b820183602082011115610ac157600080fd5b803590602001918460208302840111600160201b83111715610ae257600080fd5b5090925090506121c2565b348015610af957600080fd5b506101e660048036036020811015610b1057600080fd5b50356001600160a01b031661241b565b348015610b2c57600080fd5b506101e660048036036040811015610b4357600080fd5b506001600160a01b03813516906020013561242f565b348015610b6557600080fd5b5061060760048036036020811015610b7c57600080fd5b50356001600160a01b0316612527565b348015610b9857600080fd5b506101e660048036036040811015610baf57600080fd5b810190602081018135600160201b811115610bc957600080fd5b820183602082011115610bdb57600080fd5b803590602001918460208302840111600160201b83111715610bfc57600080fd5b919390929091602081019035600160201b811115610c1957600080fd5b820183602082011115610c2b57600080fd5b803590602001918460208302840111600160201b83111715610c4c57600080fd5b509092509050612545565b610c5f6126ef565b610c9e576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b60005b81811015610dcd57600160056000858585818110610cbb57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828282818110610d0e57fe5b905060200201356001600160a01b03166001600160a01b03167f615a0c1cb00a60d4acd77ec67acf2f17f223ef0932d591052fabc33643fe7e8260405160405180910390a2828282818110610d5f57fe5b905060200201356001600160a01b03166001600160a01b03166379ba50976040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610da957600080fd5b505af1158015610dbd573d6000803e3d6000fd5b505060019092019150610ca19050565b505050565b610dda612718565b827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415610e58576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b610e6a846001600160a01b0316612772565b610ebb576040805162461bcd60e51b815260206004820152601a60248201527f4d75737420666f727761726420746f206120636f6e7472616374000000000000604482015290519081900360640190fd5b6000846001600160a01b03168484604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610f19576040519150601f19603f3d011682016040523d82523d6000602084013e610f1e565b606091505b5050905080610f6c576040805162461bcd60e51b8152602060048201526015602482015274119bdc9dd85c9919590818d85b1b0819985a5b1959605a1b604482015290519081900360640190fd5b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b60408051808201909152600e81526d04f70657261746f7220312e302e360941b602082015290565b6060600180548060200260200160405190810160405280929190818152602001828054801561101757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff9575b5050505050905090565b61012c81565b61102f610f73565b6001600160a01b0316336001600160a01b03161461108a576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60008061109b8a8a8c8a8a8a612778565b91509150877fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658b848c8e8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a250505050505050505050565b611168612718565b60005b8281101561125a5760006005600086868581811061118557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508383828181106111d857fe5b905060200201356001600160a01b03166001600160a01b031663f2fde38b836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b50506001909201915061116b9050565b50505050565b611268610f73565b6001600160a01b0316336001600160a01b0316146112c3576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b6000806112d48b8b8a8a8a8a612778565b91509150887fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658c848d8f8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a25050505050505050505050565b60006113a4612946565b600087815260046020526040902054879060081b60ff191661140d576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038616600090815260056020526040902054869060ff161561147d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b61148c89898989896001612998565b60405189907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a101561150f576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60408051602481018b9052604480820187905282518083039091018152606490910182526020810180516001600160e01b03166001600160e01b03198a16178152915181516000936001600160a01b038c169392918291908083835b6020831061158a5780518252601f19909201916020918201910161156b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115ec576040519150601f19603f3d011682016040523d82523d6000602084013e6115f1565b606091505b50909b9a5050505050505050505050565b600061160c612ab8565b905090565b6116196126ef565b611658576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b6116628484610c57565b61125a84848484612545565b6000611678612946565b600088815260046020526040902054889060081b60ff19166116e1576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038716600090815260056020526040902054879060ff1615611751576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b89858560208110156117aa576040805162461bcd60e51b815260206004820152601b60248201527f526573706f6e7365206d757374206265203e2033322062797465730000000000604482015290519081900360640190fd5b8135838114611800576040805162461bcd60e51b815260206004820152601c60248201527f466972737420776f7264206d7573742062652072657175657374496400000000604482015290519081900360640190fd5b61180f8e8e8e8e8e6002612998565b6040518e907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a1015611892576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60008c6001600160a01b03168c8b8b60405160200180846001600160e01b03191681526004018383808284378083019250505093505050506040516020818303038152906040526040518082805190602001908083835b602083106119085780518252601f1990920191602091820191016118e9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461196a576040519150601f19603f3d011682016040523d82523d6000602084013e61196f565b606091505b509098505050505050505050979650505050505050565b821580159061199457508281145b6119e5576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206172726179206c656e677468287329000000000000000000604482015290519081900360640190fd5b3460005b84811015611a7b5760008484838181106119ff57fe5b905060200201359050611a1b8184612b7c90919063ffffffff16565b9250868683818110611a2957fe5b905060200201356001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611a71573d6000803e3d6000fd5b50506001016119e9565b508015610f6c576040805162461bcd60e51b8152602060048201526011602482015270151bdbc81b5d58da08115512081cd95b9d607a1b604482015290519081900360640190fd5b6000611ad184338585612bd9565b60008681526004602052604090205490915060081b60ff1990811690821614611b41576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115611b8f576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000858152600460205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810186905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b158015611c3657600080fd5b505af1158015611c4a573d6000803e3d6000fd5b505050506040513d6020811015611c6057600080fd5b50505050505050565b6003546001600160a01b03163314611cc1576040805162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015290519081900360640190fd5b600280546001600160a01b0319808216339081179093556003805490911690556040516001600160a01b03909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6002546001600160a01b031690565b6000611d35612718565b8380611d3f612ab8565b1015611d7c5760405162461bcd60e51b8152600401808060200182810382526035815260200180612efd6035913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea0878787876040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050602060405180830381600087803b158015611e2757600080fd5b505af1158015611e3b573d6000803e3d6000fd5b505050506040513d6020811015611e5157600080fd5b50519695505050505050565b611e65610f73565b6001600160a01b0316336001600160a01b031614611ec0576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60208101518190611ed18183612c33565b8460248401528360448401526000306001600160a01b0316846040518082805190602001908083835b60208310611f195780518252601f199092019160209182019101611efa565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611f79576040519150601f19603f3d011682016040523d82523d6000602084013e611f7e565b606091505b5050905080611fd4576040805162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b6000338560405160200180836001600160a01b031660601b815260140182815260200192505050604051602081830303815290604052805190602001209050600061202985338686612bd9565b60008381526004602052604090205490915060081b60ff1990811690821614612099576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b428311156120e7576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000828152600460205260408082208290555183917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b15801561218e57600080fd5b505af11580156121a2573d6000803e3d6000fd5b505050506040513d60208110156121b857600080fd5b5050505050505050565b6121ca6126ef565b612209576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b8061225b576040805162461bcd60e51b815260206004820152601b60248201527f4d7573742068617665206174206c6561737420312073656e6465720000000000604482015290519081900360640190fd5b60015460005b818110156122b75760008060006001848154811061227b57fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612261565b5060005b82811015612394576000808585848181106122d257fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff161561234a576040805162461bcd60e51b815260206004820152601f60248201527f4d757374206e6f742068617665206475706c69636174652073656e6465727300604482015290519081900360640190fd5b600160008086868581811061235b57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122bb565b506123a160018484612e6d565b507ff263cfb3e4298332e776194610cf9fdc09ccb3ada8b9aa39764d882e11fbf0a08383336040518080602001836001600160a01b031681526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b612423612718565b61242c81612d07565b50565b612437612718565b8080612441612ab8565b101561247e5760405162461bcd60e51b8152600401808060200182810382526035815260200180612efd6035913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156124f557600080fd5b505af1158015612509573d6000803e3d6000fd5b505050506040513d602081101561251f57600080fd5b5051610dcd57fe5b6001600160a01b031660009081526020819052604090205460ff1690565b61254d6126ef565b61258c576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b7f1bb185903e2cb2f1b303523128b60e314dea81df4f8d9b7351cadd344f6e77278484848433604051808060200180602001846001600160a01b031681526020018381038352888882818152602001925060200280828437600083820152601f01601f19169091018481038352868152602090810191508790870280828437600083820152604051601f909101601f1916909201829003995090975050505050505050a160005b83811015610f6c5784848281811061264757fe5b905060200201356001600160a01b03166001600160a01b031663ee56997b84846040518363ffffffff1660e01b815260040180806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b1580156126cb57600080fd5b505af11580156126df573d6000803e3d6000fd5b5050600190920191506126339050565b60006126fa33612527565b8061160c575033612709611d1c565b6001600160a01b031614905090565b6002546001600160a01b03163314612770576040805162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015290519081900360640190fd5b565b3b151590565b600080857f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156127f9576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b6040805160608b901b6bffffffffffffffffffffffff191660208083019190915260348083018990528351808403909101815260549092018352815191810191909120600081815260049092529190205490935060081b60ff19161561289d576040805162461bcd60e51b8152602060048201526014602482015273135d5cdd081d5cd94818481d5b9a5c5d5948125160621b604482015290519081900360640190fd5b6128a94261012c612db7565b915060006128b989898986612bd9565b905060405180604001604052808260ff191681526020016128d987612e18565b60ff9081169091526000868152600460209081526040909120835181549490920151909216600160f81b0260089190911c6001600160f81b0319909316929092176001600160f81b0316919091179055600654612936908a612db7565b6006555050965096945050505050565b61294f33612527565b612770576040805162461bcd60e51b81526020600482015260156024820152742737ba1030baba3437b934bd32b21039b2b73232b960591b604482015290519081900360640190fd5b60006129a686868686612bd9565b60008881526004602052604090205490915060081b60ff1990811690821614612a16576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b612a1f82612e18565b60008881526004602052604090205460ff918216600160f81b9091049091161115612a91576040805162461bcd60e51b815260206004820152601860248201527f446174612076657273696f6e73206d757374206d617463680000000000000000604482015290519081900360640190fd5b600654612a9e9087612b7c565b600655505050600093845250506004602052506040812055565b600080612ad16001600654612b7c90919063ffffffff16565b9050612b76817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612b4457600080fd5b505afa158015612b58573d6000803e3d6000fd5b505050506040513d6020811015612b6e57600080fd5b505190612b7c565b91505090565b600082821115612bd3576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160208082019690965260609490941b6bffffffffffffffffffffffff1916848201526001600160e01b03199290921660548401526058808401919091528151808403909101815260789092019052805191012090565b805160441115612c83576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840e4cae2eacae6e840d8cadccee8d60531b604482015290519081900360640190fd5b6001600160e01b03198216633c6d41b960e01b1480612cb257506001600160e01b031982166320214ca360e11b145b612d03576040805162461bcd60e51b815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b5050565b6001600160a01b038116331415612d65576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600082820183811015612e11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006101008210612e69576040805162461bcd60e51b81526020600482015260166024820152751b9d5b58995c881d1bdbc8189a59c81d1bc818d85cdd60521b604482015290519081900360640190fd5b5090565b828054828255906000526020600020908101928215612ec0579160200282015b82811115612ec05781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612e8d565b50612e699291505b80821115612e695760008155600101612ec856fe43616e6e6f742073657420617574686f72697a65642073656e64657273000000416d6f756e74207265717565737465642069732067726561746572207468616e20776974686472617761626c652062616c616e6365a2646970667358221220d6efe5bfed184a8c845b0f43076c4e8fbe5d5fc50ed7357f00d7fde47dcc292964736f6c63430007060033000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f10000000000000000000000009d4502a679a37f68a2d8c29eac3d42fb52a6908f
Deployed Bytecode
0x6080604052600436106101665760003560e01c80636ae0bc76116100d1578063a4c0ed361161008a578063f2fde38b11610064578063f2fde38b14610aed578063f3fef3a314610b20578063fa00763a14610b59578063fc4a03ed14610b8c57610166565b8063a4c0ed3614610966578063eb007d9914610a2c578063ee56997b14610a7257610166565b80636ae0bc76146106fb5780636bd59ec0146107a85780636ee4d5531461086657806379ba5097146108ac5780638da5cb5b146108c1578063902fc370146108d657610166565b80633c6d41b9116101235780633c6d41b9146103ba5780633ec5bc141461046c57806340429946146104f05780634ab0d190146105ac578063501883011461061b5780635ffa62881461063057610166565b806301994b991461016b578063033f49f7146101e8578063165d35e114610273578063181f5a77146102a45780632408afaa1461032e57806325cb5bc014610393575b600080fd5b34801561017757600080fd5b506101e66004803603602081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111600160201b831117156101db57600080fd5b509092509050610c57565b005b3480156101f457600080fd5b506101e66004803603604081101561020b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561023557600080fd5b82018360208201111561024757600080fd5b803590602001918460018302840111600160201b8311171561026857600080fd5b509092509050610dd2565b34801561027f57600080fd5b50610288610f73565b604080516001600160a01b039092168252519081900360200190f35b3480156102b057600080fd5b506102b9610f97565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f35781810151838201526020016102db565b50505050905090810190601f1680156103205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033a57600080fd5b50610343610fbf565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037f578181015183820152602001610367565b505050509050019250505060405180910390f35b34801561039f57600080fd5b506103a8611021565b60408051918252519081900360200190f35b3480156103c657600080fd5b506101e6600480360360e08110156103dd57600080fd5b6001600160a01b03823516916020810135916040820135916001600160e01b03196060820135169160808201359160a08101359181019060e0810160c0820135600160201b81111561042e57600080fd5b82018360208201111561044057600080fd5b803590602001918460018302840111600160201b8311171561046157600080fd5b509092509050611027565b34801561047857600080fd5b506101e66004803603604081101561048f57600080fd5b810190602081018135600160201b8111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460208302840111600160201b831117156104dc57600080fd5b9193509150356001600160a01b0316611160565b3480156104fc57600080fd5b506101e6600480360361010081101561051457600080fd5b6001600160a01b038235811692602081013592604082013592606083013516916001600160e01b03196080820135169160a08201359160c081013591810190610100810160e0820135600160201b81111561056e57600080fd5b82018360208201111561058057600080fd5b803590602001918460018302840111600160201b831117156105a157600080fd5b509092509050611260565b3480156105b857600080fd5b50610607600480360360c08110156105cf57600080fd5b508035906020810135906001600160a01b03604082013516906001600160e01b03196060820135169060808101359060a0013561139a565b604080519115158252519081900360200190f35b34801561062757600080fd5b506103a8611602565b34801561063c57600080fd5b506101e66004803603604081101561065357600080fd5b810190602081018135600160201b81111561066d57600080fd5b82018360208201111561067f57600080fd5b803590602001918460208302840111600160201b831117156106a057600080fd5b919390929091602081019035600160201b8111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460208302840111600160201b831117156106f057600080fd5b509092509050611611565b34801561070757600080fd5b50610607600480360360c081101561071e57600080fd5b8135916020810135916001600160a01b03604083013516916001600160e01b0319606082013516916080820135919081019060c0810160a0820135600160201b81111561076a57600080fd5b82018360208201111561077c57600080fd5b803590602001918460018302840111600160201b8311171561079d57600080fd5b50909250905061166e565b6101e6600480360360408110156107be57600080fd5b810190602081018135600160201b8111156107d857600080fd5b8201836020820111156107ea57600080fd5b803590602001918460208302840111600160201b8311171561080b57600080fd5b919390929091602081019035600160201b81111561082857600080fd5b82018360208201111561083a57600080fd5b803590602001918460208302840111600160201b8311171561085b57600080fd5b509092509050611986565b34801561087257600080fd5b506101e66004803603608081101561088957600080fd5b508035906020810135906001600160e01b03196040820135169060600135611ac3565b3480156108b857600080fd5b506101e6611c69565b3480156108cd57600080fd5b50610288611d1c565b3480156108e257600080fd5b50610607600480360360608110156108f957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561092857600080fd5b82018360208201111561093a57600080fd5b803590602001918460018302840111600160201b8311171561095b57600080fd5b509092509050611d2b565b34801561097257600080fd5b506101e66004803603606081101561098957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156109b857600080fd5b8201836020820111156109ca57600080fd5b803590602001918460018302840111600160201b831117156109eb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e5d945050505050565b348015610a3857600080fd5b506101e660048036036080811015610a4f57600080fd5b508035906020810135906001600160e01b03196040820135169060600135611fdc565b348015610a7e57600080fd5b506101e660048036036020811015610a9557600080fd5b810190602081018135600160201b811115610aaf57600080fd5b820183602082011115610ac157600080fd5b803590602001918460208302840111600160201b83111715610ae257600080fd5b5090925090506121c2565b348015610af957600080fd5b506101e660048036036020811015610b1057600080fd5b50356001600160a01b031661241b565b348015610b2c57600080fd5b506101e660048036036040811015610b4357600080fd5b506001600160a01b03813516906020013561242f565b348015610b6557600080fd5b5061060760048036036020811015610b7c57600080fd5b50356001600160a01b0316612527565b348015610b9857600080fd5b506101e660048036036040811015610baf57600080fd5b810190602081018135600160201b811115610bc957600080fd5b820183602082011115610bdb57600080fd5b803590602001918460208302840111600160201b83111715610bfc57600080fd5b919390929091602081019035600160201b811115610c1957600080fd5b820183602082011115610c2b57600080fd5b803590602001918460208302840111600160201b83111715610c4c57600080fd5b509092509050612545565b610c5f6126ef565b610c9e576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b60005b81811015610dcd57600160056000858585818110610cbb57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828282818110610d0e57fe5b905060200201356001600160a01b03166001600160a01b03167f615a0c1cb00a60d4acd77ec67acf2f17f223ef0932d591052fabc33643fe7e8260405160405180910390a2828282818110610d5f57fe5b905060200201356001600160a01b03166001600160a01b03166379ba50976040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610da957600080fd5b505af1158015610dbd573d6000803e3d6000fd5b505060019092019150610ca19050565b505050565b610dda612718565b827f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16001600160a01b0316816001600160a01b03161415610e58576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b610e6a846001600160a01b0316612772565b610ebb576040805162461bcd60e51b815260206004820152601a60248201527f4d75737420666f727761726420746f206120636f6e7472616374000000000000604482015290519081900360640190fd5b6000846001600160a01b03168484604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610f19576040519150601f19603f3d011682016040523d82523d6000602084013e610f1e565b606091505b5050905080610f6c576040805162461bcd60e51b8152602060048201526015602482015274119bdc9dd85c9919590818d85b1b0819985a5b1959605a1b604482015290519081900360640190fd5b5050505050565b7f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f190565b60408051808201909152600e81526d04f70657261746f7220312e302e360941b602082015290565b6060600180548060200260200160405190810160405280929190818152602001828054801561101757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff9575b5050505050905090565b61012c81565b61102f610f73565b6001600160a01b0316336001600160a01b03161461108a576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60008061109b8a8a8c8a8a8a612778565b91509150877fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658b848c8e8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a250505050505050505050565b611168612718565b60005b8281101561125a5760006005600086868581811061118557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508383828181106111d857fe5b905060200201356001600160a01b03166001600160a01b031663f2fde38b836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b50506001909201915061116b9050565b50505050565b611268610f73565b6001600160a01b0316336001600160a01b0316146112c3576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b6000806112d48b8b8a8a8a8a612778565b91509150887fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658c848d8f8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a25050505050505050505050565b60006113a4612946565b600087815260046020526040902054879060081b60ff191661140d576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038616600090815260056020526040902054869060ff161561147d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b61148c89898989896001612998565b60405189907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a101561150f576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60408051602481018b9052604480820187905282518083039091018152606490910182526020810180516001600160e01b03166001600160e01b03198a16178152915181516000936001600160a01b038c169392918291908083835b6020831061158a5780518252601f19909201916020918201910161156b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115ec576040519150601f19603f3d011682016040523d82523d6000602084013e6115f1565b606091505b50909b9a5050505050505050505050565b600061160c612ab8565b905090565b6116196126ef565b611658576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b6116628484610c57565b61125a84848484612545565b6000611678612946565b600088815260046020526040902054889060081b60ff19166116e1576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038716600090815260056020526040902054879060ff1615611751576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b89858560208110156117aa576040805162461bcd60e51b815260206004820152601b60248201527f526573706f6e7365206d757374206265203e2033322062797465730000000000604482015290519081900360640190fd5b8135838114611800576040805162461bcd60e51b815260206004820152601c60248201527f466972737420776f7264206d7573742062652072657175657374496400000000604482015290519081900360640190fd5b61180f8e8e8e8e8e6002612998565b6040518e907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a1015611892576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60008c6001600160a01b03168c8b8b60405160200180846001600160e01b03191681526004018383808284378083019250505093505050506040516020818303038152906040526040518082805190602001908083835b602083106119085780518252601f1990920191602091820191016118e9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461196a576040519150601f19603f3d011682016040523d82523d6000602084013e61196f565b606091505b509098505050505050505050979650505050505050565b821580159061199457508281145b6119e5576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206172726179206c656e677468287329000000000000000000604482015290519081900360640190fd5b3460005b84811015611a7b5760008484838181106119ff57fe5b905060200201359050611a1b8184612b7c90919063ffffffff16565b9250868683818110611a2957fe5b905060200201356001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611a71573d6000803e3d6000fd5b50506001016119e9565b508015610f6c576040805162461bcd60e51b8152602060048201526011602482015270151bdbc81b5d58da08115512081cd95b9d607a1b604482015290519081900360640190fd5b6000611ad184338585612bd9565b60008681526004602052604090205490915060081b60ff1990811690821614611b41576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115611b8f576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000858152600460205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810186905290516001600160a01b037f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f1169163a9059cbb9160448083019260209291908290030181600087803b158015611c3657600080fd5b505af1158015611c4a573d6000803e3d6000fd5b505050506040513d6020811015611c6057600080fd5b50505050505050565b6003546001600160a01b03163314611cc1576040805162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015290519081900360640190fd5b600280546001600160a01b0319808216339081179093556003805490911690556040516001600160a01b03909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6002546001600160a01b031690565b6000611d35612718565b8380611d3f612ab8565b1015611d7c5760405162461bcd60e51b8152600401808060200182810382526035815260200180612efd6035913960400191505060405180910390fd5b7f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16001600160a01b0316634000aea0878787876040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050602060405180830381600087803b158015611e2757600080fd5b505af1158015611e3b573d6000803e3d6000fd5b505050506040513d6020811015611e5157600080fd5b50519695505050505050565b611e65610f73565b6001600160a01b0316336001600160a01b031614611ec0576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60208101518190611ed18183612c33565b8460248401528360448401526000306001600160a01b0316846040518082805190602001908083835b60208310611f195780518252601f199092019160209182019101611efa565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611f79576040519150601f19603f3d011682016040523d82523d6000602084013e611f7e565b606091505b5050905080611fd4576040805162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b6000338560405160200180836001600160a01b031660601b815260140182815260200192505050604051602081830303815290604052805190602001209050600061202985338686612bd9565b60008381526004602052604090205490915060081b60ff1990811690821614612099576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b428311156120e7576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000828152600460205260408082208290555183917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b037f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f1169163a9059cbb9160448083019260209291908290030181600087803b15801561218e57600080fd5b505af11580156121a2573d6000803e3d6000fd5b505050506040513d60208110156121b857600080fd5b5050505050505050565b6121ca6126ef565b612209576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b8061225b576040805162461bcd60e51b815260206004820152601b60248201527f4d7573742068617665206174206c6561737420312073656e6465720000000000604482015290519081900360640190fd5b60015460005b818110156122b75760008060006001848154811061227b57fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612261565b5060005b82811015612394576000808585848181106122d257fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff161561234a576040805162461bcd60e51b815260206004820152601f60248201527f4d757374206e6f742068617665206475706c69636174652073656e6465727300604482015290519081900360640190fd5b600160008086868581811061235b57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122bb565b506123a160018484612e6d565b507ff263cfb3e4298332e776194610cf9fdc09ccb3ada8b9aa39764d882e11fbf0a08383336040518080602001836001600160a01b031681526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b612423612718565b61242c81612d07565b50565b612437612718565b8080612441612ab8565b101561247e5760405162461bcd60e51b8152600401808060200182810382526035815260200180612efd6035913960400191505060405180910390fd5b7f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156124f557600080fd5b505af1158015612509573d6000803e3d6000fd5b505050506040513d602081101561251f57600080fd5b5051610dcd57fe5b6001600160a01b031660009081526020819052604090205460ff1690565b61254d6126ef565b61258c576040805162461bcd60e51b815260206004820152601d6024820152600080516020612edd833981519152604482015290519081900360640190fd5b7f1bb185903e2cb2f1b303523128b60e314dea81df4f8d9b7351cadd344f6e77278484848433604051808060200180602001846001600160a01b031681526020018381038352888882818152602001925060200280828437600083820152601f01601f19169091018481038352868152602090810191508790870280828437600083820152604051601f909101601f1916909201829003995090975050505050505050a160005b83811015610f6c5784848281811061264757fe5b905060200201356001600160a01b03166001600160a01b031663ee56997b84846040518363ffffffff1660e01b815260040180806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b1580156126cb57600080fd5b505af11580156126df573d6000803e3d6000fd5b5050600190920191506126339050565b60006126fa33612527565b8061160c575033612709611d1c565b6001600160a01b031614905090565b6002546001600160a01b03163314612770576040805162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015290519081900360640190fd5b565b3b151590565b600080857f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16001600160a01b0316816001600160a01b031614156127f9576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b6040805160608b901b6bffffffffffffffffffffffff191660208083019190915260348083018990528351808403909101815260549092018352815191810191909120600081815260049092529190205490935060081b60ff19161561289d576040805162461bcd60e51b8152602060048201526014602482015273135d5cdd081d5cd94818481d5b9a5c5d5948125160621b604482015290519081900360640190fd5b6128a94261012c612db7565b915060006128b989898986612bd9565b905060405180604001604052808260ff191681526020016128d987612e18565b60ff9081169091526000868152600460209081526040909120835181549490920151909216600160f81b0260089190911c6001600160f81b0319909316929092176001600160f81b0316919091179055600654612936908a612db7565b6006555050965096945050505050565b61294f33612527565b612770576040805162461bcd60e51b81526020600482015260156024820152742737ba1030baba3437b934bd32b21039b2b73232b960591b604482015290519081900360640190fd5b60006129a686868686612bd9565b60008881526004602052604090205490915060081b60ff1990811690821614612a16576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b612a1f82612e18565b60008881526004602052604090205460ff918216600160f81b9091049091161115612a91576040805162461bcd60e51b815260206004820152601860248201527f446174612076657273696f6e73206d757374206d617463680000000000000000604482015290519081900360640190fd5b600654612a9e9087612b7c565b600655505050600093845250506004602052506040812055565b600080612ad16001600654612b7c90919063ffffffff16565b9050612b76817f000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612b4457600080fd5b505afa158015612b58573d6000803e3d6000fd5b505050506040513d6020811015612b6e57600080fd5b505190612b7c565b91505090565b600082821115612bd3576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160208082019690965260609490941b6bffffffffffffffffffffffff1916848201526001600160e01b03199290921660548401526058808401919091528151808403909101815260789092019052805191012090565b805160441115612c83576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840e4cae2eacae6e840d8cadccee8d60531b604482015290519081900360640190fd5b6001600160e01b03198216633c6d41b960e01b1480612cb257506001600160e01b031982166320214ca360e11b145b612d03576040805162461bcd60e51b815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b5050565b6001600160a01b038116331415612d65576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600082820183811015612e11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006101008210612e69576040805162461bcd60e51b81526020600482015260166024820152751b9d5b58995c881d1bdbc8189a59c81d1bc818d85cdd60521b604482015290519081900360640190fd5b5090565b828054828255906000526020600020908101928215612ec0579160200282015b82811115612ec05781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612e8d565b50612e699291505b80821115612e695760008155600101612ec856fe43616e6e6f742073657420617574686f72697a65642073656e64657273000000416d6f756e74207265717565737465642069732067726561746572207468616e20776974686472617761626c652062616c616e6365a2646970667358221220d6efe5bfed184a8c845b0f43076c4e8fbe5d5fc50ed7357f00d7fde47dcc292964736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f10000000000000000000000009d4502a679a37f68a2d8c29eac3d42fb52a6908f
-----Decoded View---------------
Arg [0] : link (address): 0xb0897686c545045aFc77CF20eC7A532E3120E0F1
Arg [1] : owner (address): 0x9D4502a679a37f68A2d8c29eaC3d42fb52a6908F
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f1
Arg [1] : 0000000000000000000000009d4502a679a37f68a2d8c29eac3d42fb52a6908f
Deployed Bytecode Sourcemap
23032:23083:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32845:302;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32845:302:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32845:302:0;;;;;;;;;;-1:-1:-1;32845:302:0;;-1:-1:-1;32845:302:0;-1:-1:-1;32845:302:0;:::i;:::-;;35452:248;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35452:248:0;;;;;;;;;;;;;;;-1:-1:-1;;;35452:248:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35452:248:0;;;;;;;;;;-1:-1:-1;35452:248:0;;-1:-1:-1;35452:248:0;-1:-1:-1;35452:248:0;:::i;39840:106::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;39840:106:0;;;;;;;;;;;;;;25518:108;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21483:124;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23303:49;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;27520:552;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27520:552:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;27520:552:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27520:552:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27520:552:0;;;;;;;;;;-1:-1:-1;27520:552:0;;-1:-1:-1;27520:552:0;-1:-1:-1;27520:552:0;:::i;32251:265::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32251:265:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32251:265:0;;;;;;;;;;;;-1:-1:-1;32251:265:0;-1:-1:-1;32251:265:0;-1:-1:-1;;;;;32251:265:0;;:::i;26333:589::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26333:589:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26333:589:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26333:589:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26333:589:0;;;;;;;;;;-1:-1:-1;26333:589:0;;-1:-1:-1;26333:589:0;-1:-1:-1;26333:589:0;:::i;28939:1034::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28939:1034:0;;;;;;;;-1:-1:-1;;;;;28939:1034:0;;;;;;-1:-1:-1;;;;;;28939:1034:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;35152:140;;;;;;;;;;;;;:::i;34116:235::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34116:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34116:235:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34116:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34116:235:0;;;;;;;;;;-1:-1:-1;34116:235:0;;-1:-1:-1;34116:235:0;-1:-1:-1;34116:235:0;:::i;30864:1075::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30864:1075:0;;;;;;-1:-1:-1;;;;;;30864:1075:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30864:1075:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30864:1075:0;;;;;;;;;;-1:-1:-1;30864:1075:0;;-1:-1:-1;30864:1075:0;-1:-1:-1;30864:1075:0;:::i;36665:511::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36665:511:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36665:511:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36665:511:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36665:511:0;;;;;;;;;;-1:-1:-1;36665:511:0;;-1:-1:-1;36665:511:0;-1:-1:-1;36665:511:0;:::i;37759:597::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37759:597:0;;;;;;;;-1:-1:-1;;;;;;37759:597:0;;;;;;;;;;:::i;16286:273::-;;;;;;;;;;;;;:::i;16615:83::-;;;;;;;;;;;;;:::i;36002:241::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36002:241:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36002:241:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36002:241:0;;;;;;;;;;-1:-1:-1;36002:241:0;;-1:-1:-1;36002:241:0;-1:-1:-1;36002:241:0;:::i;18181:629::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18181:629:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18181:629:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18181:629:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18181:629:0;;-1:-1:-1;18181:629:0;;-1:-1:-1;;;;;18181:629:0:i;38962:668::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38962:668:0;;;;;;;;-1:-1:-1;;;;;;38962:668:0;;;;;;;;;;:::i;20610:768::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20610:768:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20610:768:0;;;;;;;;;;-1:-1:-1;20610:768:0;;-1:-1:-1;20610:768:0;-1:-1:-1;20610:768:0;:::i;16089:100::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16089:100:0;-1:-1:-1;;;;;16089:100:0;;:::i;34672:231::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34672:231:0;;;;;;;;:::i;21812:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21812:127:0;-1:-1:-1;;;;;21812:127:0;;:::i;33342:352::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33342:352:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33342:352:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33342:352:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33342:352:0;;;;;;;;;;-1:-1:-1;33342:352:0;;-1:-1:-1;33342:352:0;-1:-1:-1;33342:352:0;:::i;32845:302::-;22711:26;:24;:26::i;:::-;22703:68;;;;;-1:-1:-1;;;22703:68:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22703:68:0;;;;;;;;;;;;;;;32955:9:::1;32950:192;32970:18:::0;;::::1;32950:192;;;33026:4;33004:7;:19;33012:7;;33020:1;33012:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;33012:10:0::1;-1:-1:-1::0;;;;;33004:19:0::1;-1:-1:-1::0;;;;;33004:19:0::1;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;33068:7;;33076:1;33068:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;33068:10:0::1;-1:-1:-1::0;;;;;33044:35:0::1;;;;;;;;;;;33105:7;;33113:1;33105:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;33105:10:0::1;-1:-1:-1::0;;;;;33088:44:0::1;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;32990:3:0::1;::::0;;::::1;::::0;-1:-1:-1;32950:192:0::1;::::0;-1:-1:-1;32950:192:0::1;;;32845:302:::0;;:::o;35452:248::-;17265:20;:18;:20::i;:::-;35544:2:::1;45835:9;-1:-1:-1::0;;;;;45821:24:0::1;:2;-1:-1:-1::0;;;;;45821:24:0::1;;;45813:56;;;::::0;;-1:-1:-1;;;45813:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45813:56:0;;;;;;;;;;;;;::::1;;35563:15:::2;:2;-1:-1:-1::0;;;;;35563:13:0::2;;:15::i;:::-;35555:54;;;::::0;;-1:-1:-1;;;35555:54:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;35617:11;35634:2;-1:-1:-1::0;;;;;35634:7:0::2;35642:4;;35634:13;;;;;;;;;;::::0;;::::2;::::0;-1:-1:-1;35634:13:0::2;::::0;-1:-1:-1;35634:13:0;;-1:-1:-1;;35634:13:0;;::::2;::::0;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35616:31;;;35662:6;35654:40;;;::::0;;-1:-1:-1;;;35654:40:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;35654:40:0;;;;;;;;;;;;;::::2;;45876:1;17292::::1;35452:248:::0;;;:::o;39840:106::-;39930:9;39840:106;:::o;25518:108::-;25597:23;;;;;;;;;;;;-1:-1:-1;;;25597:23:0;;;;25518:108;:::o;21483:124::-;21547:16;21579:22;21572:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21572:29:0;;;;;;;;;;;;;;;;;;;;;;;21483:124;:::o;23303:49::-;23343:9;23303:49;:::o;27520:552::-;19187:19;:17;:19::i;:::-;-1:-1:-1;;;;;19173:33:0;:10;-1:-1:-1;;;;;19173:33:0;;19165:65;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;;;;27761:17:::1;27780:18:::0;27802:144:::1;27841:6;27856:7;27872:6;27887:18;27914:5;27928:11;27802:30;:144::i;:::-;27760:186;;;;27972:6;27958:108;27980:6;27988:9;27999:7;28008:6;28016:18;28036:10;28048:11;28061:4;;27958:108;;;;-1:-1:-1::0;;;;;27958:108:0::1;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;27958:108:0::1;;;;;;-1:-1:-1::0;;;;;27958:108:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;27958:108:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;27958:108:0;;-1:-1:-1;;;;;;;;;;;27958:108:0::1;19237:1;;27520:552:::0;;;;;;;;:::o;32251:265::-;17265:20;:18;:20::i;:::-;32362:9:::1;32357:154;32377:18:::0;;::::1;32357:154;;;32433:5;32411:7;:19;32419:7;;32427:1;32419:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;32419:10:0::1;-1:-1:-1::0;;;;;32411:19:0::1;-1:-1:-1::0;;;;;32411:19:0::1;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;32464:7;;32472:1;32464:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;32464:10:0::1;-1:-1:-1::0;;;;;32447:46:0::1;;32494:8;32447:56;;;;;;;;;;;;;-1:-1:-1::0;;;;;32447:56:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;32397:3:0::1;::::0;;::::1;::::0;-1:-1:-1;32357:154:0::1;::::0;-1:-1:-1;32357:154:0::1;;;32251:265:::0;;;:::o;26333:589::-;19187:19;:17;:19::i;:::-;-1:-1:-1;;;;;19173:33:0;:10;-1:-1:-1;;;;;19173:33:0;;19165:65;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;;;;26602:17:::1;26621:18:::0;26643:153:::1;26682:6;26697:7;26713:15;26737:18;26764:5;26778:11;26643:30;:153::i;:::-;26601:195;;;;26822:6;26808:108;26830:6;26838:9;26849:7;26858:6;26866:18;26886:10;26898:11;26911:4;;26808:108;;;;-1:-1:-1::0;;;;;26808:108:0::1;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;26808:108:0::1;;;;;;-1:-1:-1::0;;;;;26808:108:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;26808:108:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;26808:108:0;;-1:-1:-1;;;;;;;;;;;26808:108:0::1;19237:1;;26333:589:::0;;;;;;;;;:::o;28939:1034::-;29278:4;22518:29;:27;:29::i;:::-;45563:24:::1;::::0;;;:13:::1;:24;::::0;;;;:35;:24;;:35:::1;;-1:-1:-1::0;;45563:40:0::1;45555:80;;;::::0;;-1:-1:-1;;;45555:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;46043:24:0;::::2;;::::0;;;:7:::2;:24;::::0;;;;;29247:15;;46043:24:::2;;46042:25;46034:64;;;::::0;;-1:-1:-1;;;46034:64:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;29294:109:::3;29332:9;29343:7;29352:15;29369:18;29389:10;29401:1;29294:37;:109::i;:::-;29415:25;::::0;29430:9;;29415:25:::3;::::0;;;::::3;23467:6;29455:9;:39;;29447:84;;;::::0;;-1:-1:-1;;;29447:84:0;;::::3;;::::0;::::3;::::0;;;;;;;::::3;::::0;;;;;;;;;;;;;::::3;;29840:59;::::0;;::::3;::::0;::::3;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;::::3;::::0;::::3;::::0;;-1:-1:-1;;;;;29840:59:0::3;-1:-1:-1::0;;;;;;29840:59:0;::::3;;::::0;;29819:81;;;;29801:12:::3;::::0;-1:-1:-1;;;;;29819:20:0;::::3;::::0;29840:59;29819:81;;;29840:59;29819:81;;29840:59;29819:81:::3;;;;;;::::0;;;;-1:-1:-1;;29819:81:0;;;;::::3;::::0;;::::3;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;29800:100:0;;28939:1034;-1:-1:-1;;;;;;;;;;;28939:1034:0:o;35152:140::-;35246:7;35269:17;:15;:17::i;:::-;35262:24;;35152:140;:::o;34116:235::-;22711:26;:24;:26::i;:::-;22703:68;;;;;-1:-1:-1;;;22703:68:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22703:68:0;;;;;;;;;;;;;;;34267:31:::1;34290:7;;34267:22;:31::i;:::-;34305:40;34328:7;;34337;;34305:22;:40::i;30864:1075::-:0;31261:4;22518:29;:27;:29::i;:::-;45563:24:::1;::::0;;;:13:::1;:24;::::0;;;;:35;:24;;:35:::1;;-1:-1:-1::0;;45563:40:0::1;45555:80;;;::::0;;-1:-1:-1;;;45555:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;46043:24:0;::::2;;::::0;;;:7:::2;:24;::::0;;;;;31180:15;;46043:24:::2;;46042:25;46034:64;;;::::0;;-1:-1:-1;;;46034:64:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;31230:9:::0;31241:4;;44802:2:::3;44787:17:::0;::::3;;44779:57;;;::::0;;-1:-1:-1;;;44779:57:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;44906:25:::0;::::3;44952:26:::0;;::::3;44944:67;;;::::0;;-1:-1:-1;;;44944:67:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;31277:109:::4;31315:9;31326:7;31335:15;31352:18;31372:10;31384:1;31277:37;:109::i;:::-;31398:25;::::0;31413:9;;31398:25:::4;::::0;;;::::4;23467:6;31438:9;:39;;31430:84;;;::::0;;-1:-1:-1;;;31430:84:0;;::::4;;::::0;::::4;::::0;;;;;;;::::4;::::0;;;;;;;;;;;;;::::4;;31784:12;31802:15;-1:-1:-1::0;;;;;31802:20:0::4;31840:18;31860:4;;31823:42;;;;;;-1:-1:-1::0;;;;;31823:42:0::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31802:64;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;31802:64:0;;;;::::4;::::0;;::::4;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;31783:83:0;;-1:-1:-1;;;46105:1:0::3;;;;45642::::2;22554::::1;30864:1075:::0;;;;;;;;;:::o;36665:511::-;36788:20;;;;;:58;;-1:-1:-1;36812:34:0;;;36788:58;36780:94;;;;;-1:-1:-1;;;36780:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36906:9;36881:22;36922:193;36942:20;;;36922:193;;;36978:18;36999:7;;37007:1;36999:10;;;;;;;;;;;;;36978:31;;37035:30;37054:10;37035:14;:18;;:30;;;;:::i;:::-;37018:47;;37074:9;;37084:1;37074:12;;;;;;;;;;;;;-1:-1:-1;;;;;37074:12:0;-1:-1:-1;;;;;37074:21:0;:33;37096:10;37074:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36964:3:0;;36922:193;;;-1:-1:-1;37129:19:0;;37121:49;;;;;-1:-1:-1;;;37121:49:0;;;;;;;;;;;;-1:-1:-1;;;37121:49:0;;;;;;;;;;;;;;37759:597;37915:18;37936:63;37953:7;37962:10;37974:12;37988:10;37936:16;:63::i;:::-;38014:24;;;;:13;:24;;;;;:35;37915:84;;-1:-1:-1;38014:35:0;;-1:-1:-1;;38014:49:0;;;;;;;38006:92;;;;;-1:-1:-1;;;38006:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38178:15;38164:10;:29;;38156:64;;;;;-1:-1:-1;;;38156:64:0;;;;;;;;;;;;-1:-1:-1;;;38156:64:0;;;;;;;;;;;;;;;38236:24;;;;:13;:24;;;;;;38229:31;;;38272:30;38250:9;;38272:30;;;38311:39;;;-1:-1:-1;;;38311:39:0;;38330:10;38311:39;;;;;;;;;;;;-1:-1:-1;;;;;38311:9:0;:18;;;;:39;;;;;;;;;;;;;;-1:-1:-1;38311:18:0;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;37759:597:0:o;16286:273::-;16360:14;;-1:-1:-1;;;;;16360:14:0;16346:10;:28;16338:63;;;;;-1:-1:-1;;;16338:63:0;;;;;;;;;;;;-1:-1:-1;;;16338:63:0;;;;;;;;;;;;;;;16429:7;;;-1:-1:-1;;;;;;16443:20:0;;;16453:10;16443:20;;;;;;16470:14;:27;;;;;;;16511:42;;-1:-1:-1;;;;;16429:7:0;;;;16453:10;16429:7;;16511:42;;16410:16;;16511:42;16286:273;:::o;16615:83::-;16685:7;;-1:-1:-1;;;;;16685:7:0;16615:83;:::o;36002:241::-;36167:12;17265:20;:18;:20::i;:::-;36151:5:::1;45279:6;45258:17;:15;:17::i;:::-;:27;;45250:93;;;;-1:-1:-1::0;;;45250:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36195:9:::2;-1:-1:-1::0;;;;;36195:25:0::2;;36221:2;36225:5;36232:4;;36195:42;;;;;;;;;;;;;-1:-1:-1::0;;;;;36195:42:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;36195:42:0;;36002:241;-1:-1:-1;;;;;;36002:241:0:o;18181:629::-;19187:19;:17;:19::i;:::-;-1:-1:-1;;;;;19173:33:0;:10;-1:-1:-1;;;;;19173:33:0;;19165:65;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;-1:-1:-1;;;19165:65:0;;;;;;;;;;;;;;;19604:2:::1;19594:13:::0;::::1;19588:20:::0;18327:4;;19621:48:::1;19588:20:::0;18327:4;19621:28:::1;:48::i;:::-;18438:6:::2;18433:2;18427:4;18423:13;18416:29;18568:6;18563:2;18557:4;18553:13;18546:29;18680:12;18706:4;-1:-1:-1::0;;;;;18698:26:0::2;18725:4;18698:32;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;18698:32:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18679:51;;;18768:7;18760:44;;;::::0;;-1:-1:-1;;;18760:44:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;19676:1;19237::::1;;18181:629:::0;;;:::o;38962:668::-;39116:17;39163:10;39175:5;39146:35;;;;;;-1:-1:-1;;;;;39146:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39136:46;;;;;;39116:66;;39189:18;39210:63;39227:7;39236:10;39248:12;39262:10;39210:16;:63::i;:::-;39288:24;;;;:13;:24;;;;;:35;39189:84;;-1:-1:-1;39288:35:0;;-1:-1:-1;;39288:49:0;;;;;;;39280:92;;;;;-1:-1:-1;;;39280:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39452:15;39438:10;:29;;39430:64;;;;;-1:-1:-1;;;39430:64:0;;;;;;;;;;;;-1:-1:-1;;;39430:64:0;;;;;;;;;;;;;;;39510:24;;;;:13;:24;;;;;;39503:31;;;39546:30;39524:9;;39546:30;;;39585:39;;;-1:-1:-1;;;39585:39:0;;39604:10;39585:39;;;;;;;;;;;;-1:-1:-1;;;;;39585:9:0;:18;;;;:39;;;;;;;;;;;;;;-1:-1:-1;39585:18:0;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;38962:668:0:o;20610:768::-;22711:26;:24;:26::i;:::-;22703:68;;;;;-1:-1:-1;;;22703:68:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22703:68:0;;;;;;;;;;;;;;;20732:18;20724:58:::1;;;::::0;;-1:-1:-1;;;20724:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20872:22;:29:::0;20838:31:::1;20908:125;20932:23;20928:1;:27;20908:125;;;21020:5;20971:19:::0;:46:::1;20991:22;21014:1;20991:25;;;;;;;;;::::0;;;::::1;::::0;;;;;;::::1;::::0;-1:-1:-1;;;;;20991:25:0::1;20971:46:::0;;;::::1;::::0;;;;;;;;:54;;-1:-1:-1;;20971:54:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;20957:3:0::1;20908:125;;;;21068:9;21063:193;21083:18:::0;;::::1;21063:193;;;21125:19;:31:::0;21145:7:::1;;21153:1;21145:10;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;21145:10:0::1;21125:31:::0;;-1:-1:-1;21125:31:0;::::1;::::0;;;;;;-1:-1:-1;21125:31:0;;::::1;;:40;21117:84;;;::::0;;-1:-1:-1;;;21117:84:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;21244:4;21210:19;:31:::0;21230:7:::1;;21238:1;21230:10;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;21230:10:0::1;21210:31:::0;;-1:-1:-1;21210:31:0;::::1;::::0;;;;;;-1:-1:-1;21210:31:0;:38;;-1:-1:-1;;21210:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;21103:3:0::1;21063:193;;;-1:-1:-1::0;21283:32:0::1;:22;21308:7:::0;;21283:32:::1;:::i;:::-;;21327:45;21352:7;;21361:10;21327:45;;;;;;;-1:-1:-1::0;;;;;21327:45:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;21327:45:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;21327:45:0;;-1:-1:-1;;;;;21327:45:0::1;22778:1;20610:768:::0;;:::o;16089:100::-;17265:20;:18;:20::i;:::-;16161:22:::1;16180:2;16161:18;:22::i;:::-;16089:100:::0;:::o;34672:231::-;17265:20;:18;:20::i;:::-;34834:6:::1;45279;45258:17;:15;:17::i;:::-;:27;;45250:93;;;;-1:-1:-1::0;;;45250:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34859:9:::2;-1:-1:-1::0;;;;;34859:18:0::2;;34878:9;34889:6;34859:37;;;;;;;;;;;;;-1:-1:-1::0;;;;;34859:37:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;34859:37:0;34852:45:::2;;;21812:127:::0;-1:-1:-1;;;;;21906:27:0;21886:4;21906:27;;;;;;;;;;;;;;21812:127::o;33342:352::-;22711:26;:24;:26::i;:::-;22703:68;;;;;-1:-1:-1;;;22703:68:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22703:68:0;;;;;;;;;;;;;;;33488:61:::1;33520:7;;33529;;33538:10;33488:61;;;;;;;;;;-1:-1:-1::0;;;;;33488:61:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;;-1:-1:-1::0;;33488:61:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;33488:61:0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;33488:61:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;33488:61:0;;-1:-1:-1;;;;;;;;33488:61:0::1;33563:9;33558:131;33578:18:::0;;::::1;33558:131;;;33640:7;;33648:1;33640:10;;;;;;;;;;;;;-1:-1:-1::0;;;;;33640:10:0::1;-1:-1:-1::0;;;;;33612:60:0::1;;33673:7;;33612:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;33598:3:0::1;::::0;;::::1;::::0;-1:-1:-1;33558:131:0::1;::::0;-1:-1:-1;33558:131:0::1;44367:149:::0;44435:4;44455:30;44474:10;44455:18;:30::i;:::-;:55;;;-1:-1:-1;44500:10:0;44489:7;:5;:7::i;:::-;-1:-1:-1;;;;;44489:21:0;;44448:62;;44367:149;:::o;17031:113::-;17104:7;;-1:-1:-1;;;;;17104:7:0;17090:10;:21;17082:56;;;;;-1:-1:-1;;;17082:56:0;;;;;;;;;;;;-1:-1:-1;;;17082:56:0;;;;;;;;;;;;;;;17031:113::o;4369:404::-;4719:20;4759:8;;;4369:404::o;40855:820::-;41103:17;41122:18;41077:15;45835:9;-1:-1:-1;;;;;45821:24:0;:2;-1:-1:-1;;;;;45821:24:0;;;45813:56;;;;;-1:-1:-1;;;45813:56:0;;;;;;;;;;;;-1:-1:-1;;;45813:56:0;;;;;;;;;;;;;;;41171:31:::1;::::0;;::::1;::::0;;;-1:-1:-1;;41171:31:0;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;41161:42;;;;::::1;::::0;;;;-1:-1:-1;41218:24:0;;;:13:::1;:24:::0;;;;;;:35;41161:42;;-1:-1:-1;41218:35:0::1;;-1:-1:-1::0;;41218:40:0::1;::::0;41210:73:::1;;;::::0;;-1:-1:-1;;;41210:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;41210:73:0;;;;;;;;;;;;;::::1;;41354:34;:15;23343:9;41354:19;:34::i;:::-;41341:47;;41395:18;41416:74;41433:7;41442:15;41459:18;41479:10;41416:16;:74::i;:::-;41395:95;;41524:53;;;;;;;;41535:10;41524:53;;;;;;;41547:29;41564:11;41547:16;:29::i;:::-;41524:53;::::0;;::::1;::::0;;;41497:24:::1;::::0;;;:13:::1;:24;::::0;;;;;;;:80;;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;41497:80:0::1;;::::0;;;::::1;-1:-1:-1::0;;;;;;41497:80:0;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;41497:80:0::1;::::0;;;::::1;::::0;;41603:16:::1;::::0;:29:::1;::::0;41624:7;41603:20:::1;:29::i;:::-;41584:16;:48:::0;-1:-1:-1;40855:820:0;;;;;;;;;;:::o;22252:130::-;22320:30;22339:10;22320:18;:30::i;:::-;22312:64;;;;;-1:-1:-1;;;22312:64:0;;;;;;;;;;;;-1:-1:-1;;;22312:64:0;;;;;;;;;;;;;;42198:633;42425:18;42446:74;42463:7;42472:15;42489:18;42509:10;42446:16;:74::i;:::-;42535:24;;;;:13;:24;;;;;:35;42425:95;;-1:-1:-1;42535:35:0;;-1:-1:-1;;42535:49:0;;;;;;;42527:92;;;;;-1:-1:-1;;;42527:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42674:29;42691:11;42674:16;:29::i;:::-;42634:24;;;;:13;:24;;;;;:36;:69;;;;-1:-1:-1;;;42634:36:0;;;;;;:69;;42626:106;;;;;-1:-1:-1;;;42626:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42758:16;;:29;;42779:7;42758:20;:29::i;:::-;42739:16;:48;-1:-1:-1;;;42801:24:0;;;;-1:-1:-1;;42801:13:0;:24;;-1:-1:-1;42801:24:0;;;42794:31;42198:633::o;44035:201::-;44084:7;44100:16;44119:49;23844:1;44119:16;;:20;;:49;;;;:::i;:::-;44100:68;;44182:48;44221:8;44182:9;-1:-1:-1;;;;;44182:19:0;;44210:4;44182:34;;;;;;;;;;;;;-1:-1:-1;;;;;44182:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44182:34:0;;:38;:48::i;:::-;44175:55;;;44035:201;:::o;1343:170::-;1401:7;1430:1;1425;:6;;1417:49;;;;;-1:-1:-1;;;1417:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1485:5:0;;;1343:170::o;43311:286::-;43515:74;;;;;;;;;;;;;;;;-1:-1:-1;;43515:74:0;;;;;-1:-1:-1;;;;;;43515:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43505:85;;;;;;43311:286::o;40115:341::-;40231:11;;23633:47;-1:-1:-1;40231:37:0;40223:72;;;;;-1:-1:-1;;;40223:72:0;;;;;;;;;;;;-1:-1:-1;;;40223:72:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40318:41:0;;-1:-1:-1;;;40318:41:0;;:84;;-1:-1:-1;;;;;;;40363:39:0;;-1:-1:-1;;;40363:39:0;40318:84;40302:148;;;;;-1:-1:-1;;;40302:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40115:341;;:::o;16787:194::-;-1:-1:-1;;;;;16850:16:0;;16856:10;16850:16;;16842:52;;;;;-1:-1:-1;;;16842:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16903:14;:19;;-1:-1:-1;;;;;;16903:19:0;-1:-1:-1;;;;;16903:19:0;;;;;;;;;16963:7;;16936:39;;16903:19;;16963:7;;16936:39;;-1:-1:-1;;16936:39:0;16787:194;:::o;921:167::-;979:7;1007:5;;;1027:6;;;;1019:46;;;;;-1:-1:-1;;;1019:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1081:1;921:167;-1:-1:-1;;;921:167:0:o;43715:176::-;43780:5;23405:3;43802:6;:29;43794:64;;;;;-1:-1:-1;;;43794:64:0;;;;;;;;;;;;-1:-1:-1;;;43794:64:0;;;;;;;;;;;;;;;-1:-1:-1;43878:6:0;43715:176::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://d6efe5bfed184a8c845b0f43076c4e8fbe5d5fc50ed7357f00d7fde47dcc2929
Loading...
Loading
Loading...
Loading
[ 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.