Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 144 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Fulfill Oracle R... | 17275674 | 513 days ago | IN | 0 ETH | 0.00305591 | ||||
Fulfill Oracle R... | 17261532 | 515 days ago | IN | 0 ETH | 0.00184712 | ||||
Fulfill Oracle R... | 17240459 | 518 days ago | IN | 0 ETH | 0.00457804 | ||||
Fulfill Oracle R... | 17230014 | 520 days ago | IN | 0 ETH | 0.00387033 | ||||
Fulfill Oracle R... | 17098373 | 538 days ago | IN | 0 ETH | 0.00170039 | ||||
Fulfill Oracle R... | 17076970 | 541 days ago | IN | 0 ETH | 0.00338219 | ||||
Fulfill Oracle R... | 17062837 | 543 days ago | IN | 0 ETH | 0.00143286 | ||||
Fulfill Oracle R... | 17041775 | 546 days ago | IN | 0 ETH | 0.00125798 | ||||
Fulfill Oracle R... | 17037479 | 547 days ago | IN | 0 ETH | 0.00146556 | ||||
Withdraw | 16875934 | 570 days ago | IN | 0 ETH | 0.00085347 | ||||
Fulfill Oracle R... | 16845520 | 574 days ago | IN | 0 ETH | 0.00088131 | ||||
Fulfill Oracle R... | 16815861 | 578 days ago | IN | 0 ETH | 0.00122631 | ||||
Fulfill Oracle R... | 16794064 | 581 days ago | IN | 0 ETH | 0.00159808 | ||||
Fulfill Oracle R... | 16779846 | 583 days ago | IN | 0 ETH | 0.00180208 | ||||
Fulfill Oracle R... | 16765619 | 585 days ago | IN | 0 ETH | 0.00158165 | ||||
Withdraw | 16759241 | 586 days ago | IN | 0 ETH | 0.00118561 | ||||
Fulfill Oracle R... | 16744292 | 588 days ago | IN | 0 ETH | 0.00135633 | ||||
Fulfill Oracle R... | 16742033 | 588 days ago | IN | 0 ETH | 0.00864922 | ||||
Fulfill Oracle R... | 16730074 | 590 days ago | IN | 0 ETH | 0.00102419 | ||||
Fulfill Oracle R... | 16725478 | 591 days ago | IN | 0 ETH | 0.00253232 | ||||
Fulfill Oracle R... | 16715833 | 592 days ago | IN | 0 ETH | 0.00120931 | ||||
Fulfill Oracle R... | 16694516 | 595 days ago | IN | 0 ETH | 0.00160569 | ||||
Fulfill Oracle R... | 16680302 | 597 days ago | IN | 0 ETH | 0.0017579 | ||||
Fulfill Oracle R... | 16671926 | 598 days ago | IN | 0 ETH | 0.00217989 | ||||
Fulfill Oracle R... | 16671118 | 598 days ago | IN | 0 ETH | 0.01364935 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
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 Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "AuthorizedReceiver.sol"; import "LinkTokenReceiver.sol"; import "ConfirmedOwner.sol"; import "LinkTokenInterface.sol"; import "OperatorInterface.sol"; import "OwnableInterface.sol"; import "WithdrawalInterface.sol"; import "Address.sol"; import "SafeMathChainlink.sol"; /** * @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 { // extract the first word from data // functionSelector = 4 // wordLength = 32 // dataArgumentOffset = 7 * wordLength // funcSelector + dataArgumentOffset == 0xe4 firstDataWord := calldataload(0xe4) } 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"); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "AuthorizedReceiverInterface.sol"; 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 authorized 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++) { 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"); _; } }
// SPDX-License-Identifier: MIT 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; }
// SPDX-License-Identifier: MIT 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); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "ConfirmedOwnerWithProposal.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwner is ConfirmedOwnerWithProposal { constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "OwnableInterface.sol"; /** * @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(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; interface OwnableInterface { function owner() external returns (address); function transferOwnership(address recipient) external; function acceptOwnership() external; }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "ChainlinkRequestInterface.sol"; import "OracleInterface.sol"; 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); }
// SPDX-License-Identifier: MIT 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; }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT // 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); } } } }
// SPDX-License-Identifier: MIT 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; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "operator.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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
60a060405260016006553480156200001657600080fd5b50604051620030d5380380620030d5833981810160405260408110156200003c57600080fd5b508051602090910151808060006001600160a01b038216620000a5576040805162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f0000000000000000604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0384811691909117909155811615620000d857620000d881620000f2565b5050505060601b6001600160601b031916608052620001a3565b6001600160a01b03811633141562000151576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b60805160601c612ef1620001e460003980610ddd5280610f755280611bef5280611d7f528061214752806123e452806126e25280612a3d5250612ef16000f3fe6080604052600436106101665760003560e01c80636ae0bc76116100d1578063a4c0ed361161008a578063f2fde38b11610064578063f2fde38b14610aed578063f3fef3a314610b20578063fa00763a14610b59578063fc4a03ed14610b8c57610166565b8063a4c0ed3614610966578063eb007d9914610a2c578063ee56997b14610a7257610166565b80636ae0bc76146106fb5780636bd59ec0146107a85780636ee4d5531461086657806379ba5097146108ac5780638da5cb5b146108c1578063902fc370146108d657610166565b80633c6d41b9116101235780633c6d41b9146103ba5780633ec5bc141461046c57806340429946146104f05780634ab0d190146105ac578063501883011461061b5780635ffa62881461063057610166565b806301994b991461016b578063033f49f7146101e8578063165d35e114610273578063181f5a77146102a45780632408afaa1461032e57806325cb5bc014610393575b600080fd5b34801561017757600080fd5b506101e66004803603602081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111600160201b831117156101db57600080fd5b509092509050610c57565b005b3480156101f457600080fd5b506101e66004803603604081101561020b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561023557600080fd5b82018360208201111561024757600080fd5b803590602001918460018302840111600160201b8311171561026857600080fd5b509092509050610dd2565b34801561027f57600080fd5b50610288610f73565b604080516001600160a01b039092168252519081900360200190f35b3480156102b057600080fd5b506102b9610f97565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f35781810151838201526020016102db565b50505050905090810190601f1680156103205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033a57600080fd5b50610343610fbf565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037f578181015183820152602001610367565b505050509050019250505060405180910390f35b34801561039f57600080fd5b506103a8611021565b60408051918252519081900360200190f35b3480156103c657600080fd5b506101e6600480360360e08110156103dd57600080fd5b6001600160a01b03823516916020810135916040820135916001600160e01b03196060820135169160808201359160a08101359181019060e0810160c0820135600160201b81111561042e57600080fd5b82018360208201111561044057600080fd5b803590602001918460018302840111600160201b8311171561046157600080fd5b509092509050611027565b34801561047857600080fd5b506101e66004803603604081101561048f57600080fd5b810190602081018135600160201b8111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460208302840111600160201b831117156104dc57600080fd5b9193509150356001600160a01b0316611160565b3480156104fc57600080fd5b506101e6600480360361010081101561051457600080fd5b6001600160a01b038235811692602081013592604082013592606083013516916001600160e01b03196080820135169160a08201359160c081013591810190610100810160e0820135600160201b81111561056e57600080fd5b82018360208201111561058057600080fd5b803590602001918460018302840111600160201b831117156105a157600080fd5b509092509050611260565b3480156105b857600080fd5b50610607600480360360c08110156105cf57600080fd5b508035906020810135906001600160a01b03604082013516906001600160e01b03196060820135169060808101359060a0013561139a565b604080519115158252519081900360200190f35b34801561062757600080fd5b506103a8611602565b34801561063c57600080fd5b506101e66004803603604081101561065357600080fd5b810190602081018135600160201b81111561066d57600080fd5b82018360208201111561067f57600080fd5b803590602001918460208302840111600160201b831117156106a057600080fd5b919390929091602081019035600160201b8111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460208302840111600160201b831117156106f057600080fd5b509092509050611611565b34801561070757600080fd5b50610607600480360360c081101561071e57600080fd5b8135916020810135916001600160a01b03604083013516916001600160e01b0319606082013516916080820135919081019060c0810160a0820135600160201b81111561076a57600080fd5b82018360208201111561077c57600080fd5b803590602001918460018302840111600160201b8311171561079d57600080fd5b50909250905061166e565b6101e6600480360360408110156107be57600080fd5b810190602081018135600160201b8111156107d857600080fd5b8201836020820111156107ea57600080fd5b803590602001918460208302840111600160201b8311171561080b57600080fd5b919390929091602081019035600160201b81111561082857600080fd5b82018360208201111561083a57600080fd5b803590602001918460208302840111600160201b8311171561085b57600080fd5b509092509050611987565b34801561087257600080fd5b506101e66004803603608081101561088957600080fd5b508035906020810135906001600160e01b03196040820135169060600135611ac4565b3480156108b857600080fd5b506101e6611c6a565b3480156108cd57600080fd5b50610288611d1d565b3480156108e257600080fd5b50610607600480360360608110156108f957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561092857600080fd5b82018360208201111561093a57600080fd5b803590602001918460018302840111600160201b8311171561095b57600080fd5b509092509050611d2c565b34801561097257600080fd5b506101e66004803603606081101561098957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156109b857600080fd5b8201836020820111156109ca57600080fd5b803590602001918460018302840111600160201b831117156109eb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e5e945050505050565b348015610a3857600080fd5b506101e660048036036080811015610a4f57600080fd5b508035906020810135906001600160e01b03196040820135169060600135611fdd565b348015610a7e57600080fd5b506101e660048036036020811015610a9557600080fd5b810190602081018135600160201b811115610aaf57600080fd5b820183602082011115610ac157600080fd5b803590602001918460208302840111600160201b83111715610ae257600080fd5b5090925090506121c3565b348015610af957600080fd5b506101e660048036036020811015610b1057600080fd5b50356001600160a01b031661237f565b348015610b2c57600080fd5b506101e660048036036040811015610b4357600080fd5b506001600160a01b038135169060200135612393565b348015610b6557600080fd5b5061060760048036036020811015610b7c57600080fd5b50356001600160a01b031661248b565b348015610b9857600080fd5b506101e660048036036040811015610baf57600080fd5b810190602081018135600160201b811115610bc957600080fd5b820183602082011115610bdb57600080fd5b803590602001918460208302840111600160201b83111715610bfc57600080fd5b919390929091602081019035600160201b811115610c1957600080fd5b820183602082011115610c2b57600080fd5b803590602001918460208302840111600160201b83111715610c4c57600080fd5b5090925090506124a9565b610c5f612653565b610c9e576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b60005b81811015610dcd57600160056000858585818110610cbb57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828282818110610d0e57fe5b905060200201356001600160a01b03166001600160a01b03167f615a0c1cb00a60d4acd77ec67acf2f17f223ef0932d591052fabc33643fe7e8260405160405180910390a2828282818110610d5f57fe5b905060200201356001600160a01b03166001600160a01b03166379ba50976040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610da957600080fd5b505af1158015610dbd573d6000803e3d6000fd5b505060019092019150610ca19050565b505050565b610dda61267c565b827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415610e58576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b610e6a846001600160a01b03166126d6565b610ebb576040805162461bcd60e51b815260206004820152601a60248201527f4d75737420666f727761726420746f206120636f6e7472616374000000000000604482015290519081900360640190fd5b6000846001600160a01b03168484604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610f19576040519150601f19603f3d011682016040523d82523d6000602084013e610f1e565b606091505b5050905080610f6c576040805162461bcd60e51b8152602060048201526015602482015274119bdc9dd85c9919590818d85b1b0819985a5b1959605a1b604482015290519081900360640190fd5b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b60408051808201909152600e81526d04f70657261746f7220312e302e360941b602082015290565b6060600180548060200260200160405190810160405280929190818152602001828054801561101757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff9575b5050505050905090565b61012c81565b61102f610f73565b6001600160a01b0316336001600160a01b03161461108a576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60008061109b8a8a8c8a8a8a6126dc565b91509150877fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658b848c8e8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a250505050505050505050565b61116861267c565b60005b8281101561125a5760006005600086868581811061118557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508383828181106111d857fe5b905060200201356001600160a01b03166001600160a01b031663f2fde38b836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b50506001909201915061116b9050565b50505050565b611268610f73565b6001600160a01b0316336001600160a01b0316146112c3576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b6000806112d48b8b8a8a8a8a6126dc565b91509150887fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658c848d8f8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a25050505050505050505050565b60006113a46128aa565b600087815260046020526040902054879060081b60ff191661140d576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038616600090815260056020526040902054869060ff161561147d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b61148c898989898960016128fc565b60405189907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a101561150f576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60408051602481018b9052604480820187905282518083039091018152606490910182526020810180516001600160e01b03166001600160e01b03198a16178152915181516000936001600160a01b038c169392918291908083835b6020831061158a5780518252601f19909201916020918201910161156b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115ec576040519150601f19603f3d011682016040523d82523d6000602084013e6115f1565b606091505b50909b9a5050505050505050505050565b600061160c612a1c565b905090565b611619612653565b611658576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b6116628484610c57565b61125a848484846124a9565b60006116786128aa565b600088815260046020526040902054889060081b60ff19166116e1576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038716600090815260056020526040902054879060ff1615611751576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b89858560208110156117aa576040805162461bcd60e51b815260206004820152601b60248201527f526573706f6e7365206d757374206265203e2033322062797465730000000000604482015290519081900360640190fd5b60e435838114611801576040805162461bcd60e51b815260206004820152601c60248201527f466972737420776f7264206d7573742062652072657175657374496400000000604482015290519081900360640190fd5b6118108e8e8e8e8e60026128fc565b6040518e907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a1015611893576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60008c6001600160a01b03168c8b8b60405160200180846001600160e01b03191681526004018383808284378083019250505093505050506040516020818303038152906040526040518082805190602001908083835b602083106119095780518252601f1990920191602091820191016118ea565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461196b576040519150601f19603f3d011682016040523d82523d6000602084013e611970565b606091505b509098505050505050505050979650505050505050565b821580159061199557508281145b6119e6576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206172726179206c656e677468287329000000000000000000604482015290519081900360640190fd5b3460005b84811015611a7c576000848483818110611a0057fe5b905060200201359050611a1c8184612ae090919063ffffffff16565b9250868683818110611a2a57fe5b905060200201356001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611a72573d6000803e3d6000fd5b50506001016119ea565b508015610f6c576040805162461bcd60e51b8152602060048201526011602482015270151bdbc81b5d58da08115512081cd95b9d607a1b604482015290519081900360640190fd5b6000611ad284338585612b3d565b60008681526004602052604090205490915060081b60ff1990811690821614611b42576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115611b90576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000858152600460205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810186905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b158015611c3757600080fd5b505af1158015611c4b573d6000803e3d6000fd5b505050506040513d6020811015611c6157600080fd5b50505050505050565b6003546001600160a01b03163314611cc2576040805162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015290519081900360640190fd5b600280546001600160a01b0319808216339081179093556003805490911690556040516001600160a01b03909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6002546001600160a01b031690565b6000611d3661267c565b8380611d40612a1c565b1015611d7d5760405162461bcd60e51b8152600401808060200182810382526035815260200180612e876035913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea0878787876040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050602060405180830381600087803b158015611e2857600080fd5b505af1158015611e3c573d6000803e3d6000fd5b505050506040513d6020811015611e5257600080fd5b50519695505050505050565b611e66610f73565b6001600160a01b0316336001600160a01b031614611ec1576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60208101518190611ed28183612b97565b8460248401528360448401526000306001600160a01b0316846040518082805190602001908083835b60208310611f1a5780518252601f199092019160209182019101611efb565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611f7a576040519150601f19603f3d011682016040523d82523d6000602084013e611f7f565b606091505b5050905080611fd5576040805162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b6000338560405160200180836001600160a01b031660601b815260140182815260200192505050604051602081830303815290604052805190602001209050600061202a85338686612b3d565b60008381526004602052604090205490915060081b60ff199081169082161461209a576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b428311156120e8576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000828152600460205260408082208290555183917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b15801561218f57600080fd5b505af11580156121a3573d6000803e3d6000fd5b505050506040513d60208110156121b957600080fd5b5050505050505050565b6121cb612653565b61220a576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b806122465760405162461bcd60e51b8152600401808060200182810382526026815260200180612e616026913960400191505060405180910390fd5b60015460005b818110156122a25760008060006001848154811061226657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff191691151591909117905560010161224c565b5060005b828110156122f85760016000808686858181106122bf57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122a6565b5061230560018484612dd1565b507ff263cfb3e4298332e776194610cf9fdc09ccb3ada8b9aa39764d882e11fbf0a08383336040518080602001836001600160a01b031681526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b61238761267c565b61239081612c6b565b50565b61239b61267c565b80806123a5612a1c565b10156123e25760405162461bcd60e51b8152600401808060200182810382526035815260200180612e876035913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561245957600080fd5b505af115801561246d573d6000803e3d6000fd5b505050506040513d602081101561248357600080fd5b5051610dcd57fe5b6001600160a01b031660009081526020819052604090205460ff1690565b6124b1612653565b6124f0576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b7f1bb185903e2cb2f1b303523128b60e314dea81df4f8d9b7351cadd344f6e77278484848433604051808060200180602001846001600160a01b031681526020018381038352888882818152602001925060200280828437600083820152601f01601f19169091018481038352868152602090810191508790870280828437600083820152604051601f909101601f1916909201829003995090975050505050505050a160005b83811015610f6c578484828181106125ab57fe5b905060200201356001600160a01b03166001600160a01b031663ee56997b84846040518363ffffffff1660e01b815260040180806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b15801561262f57600080fd5b505af1158015612643573d6000803e3d6000fd5b5050600190920191506125979050565b600061265e3361248b565b8061160c57503361266d611d1d565b6001600160a01b031614905090565b6002546001600160a01b031633146126d4576040805162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015290519081900360640190fd5b565b3b151590565b600080857f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316141561275d576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b6040805160608b901b6bffffffffffffffffffffffff191660208083019190915260348083018990528351808403909101815260549092018352815191810191909120600081815260049092529190205490935060081b60ff191615612801576040805162461bcd60e51b8152602060048201526014602482015273135d5cdd081d5cd94818481d5b9a5c5d5948125160621b604482015290519081900360640190fd5b61280d4261012c612d1b565b9150600061281d89898986612b3d565b905060405180604001604052808260ff1916815260200161283d87612d7c565b60ff9081169091526000868152600460209081526040909120835181549490920151909216600160f81b0260089190911c6001600160f81b0319909316929092176001600160f81b031691909117905560065461289a908a612d1b565b6006555050965096945050505050565b6128b33361248b565b6126d4576040805162461bcd60e51b81526020600482015260156024820152742737ba1030baba3437b934bd32b21039b2b73232b960591b604482015290519081900360640190fd5b600061290a86868686612b3d565b60008881526004602052604090205490915060081b60ff199081169082161461297a576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b61298382612d7c565b60008881526004602052604090205460ff918216600160f81b90910490911611156129f5576040805162461bcd60e51b815260206004820152601860248201527f446174612076657273696f6e73206d757374206d617463680000000000000000604482015290519081900360640190fd5b600654612a029087612ae0565b600655505050600093845250506004602052506040812055565b600080612a356001600654612ae090919063ffffffff16565b9050612ada817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612aa857600080fd5b505afa158015612abc573d6000803e3d6000fd5b505050506040513d6020811015612ad257600080fd5b505190612ae0565b91505090565b600082821115612b37576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160208082019690965260609490941b6bffffffffffffffffffffffff1916848201526001600160e01b03199290921660548401526058808401919091528151808403909101815260789092019052805191012090565b805160441115612be7576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840e4cae2eacae6e840d8cadccee8d60531b604482015290519081900360640190fd5b6001600160e01b03198216633c6d41b960e01b1480612c1657506001600160e01b031982166320214ca360e11b145b612c67576040805162461bcd60e51b815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b5050565b6001600160a01b038116331415612cc9576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600082820183811015612d75576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006101008210612dcd576040805162461bcd60e51b81526020600482015260166024820152751b9d5b58995c881d1bdbc8189a59c81d1bc818d85cdd60521b604482015290519081900360640190fd5b5090565b828054828255906000526020600020908101928215612e24579160200282015b82811115612e245781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612df1565b50612dcd9291505b80821115612dcd5760008155600101612e2c56fe43616e6e6f742073657420617574686f72697a65642073656e646572730000004d7573742068617665206174206c65617374203120617574686f72697a65642073656e646572416d6f756e74207265717565737465642069732067726561746572207468616e20776974686472617761626c652062616c616e6365a2646970667358221220710c131f8ddcd18277cc21d08e45f95cb8d3eeae25a07825ed5f363aa0e39ac764736f6c63430007060033000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000eb562f4b862e3d7c7dd306d9a26de98660390310
Deployed Bytecode
0x6080604052600436106101665760003560e01c80636ae0bc76116100d1578063a4c0ed361161008a578063f2fde38b11610064578063f2fde38b14610aed578063f3fef3a314610b20578063fa00763a14610b59578063fc4a03ed14610b8c57610166565b8063a4c0ed3614610966578063eb007d9914610a2c578063ee56997b14610a7257610166565b80636ae0bc76146106fb5780636bd59ec0146107a85780636ee4d5531461086657806379ba5097146108ac5780638da5cb5b146108c1578063902fc370146108d657610166565b80633c6d41b9116101235780633c6d41b9146103ba5780633ec5bc141461046c57806340429946146104f05780634ab0d190146105ac578063501883011461061b5780635ffa62881461063057610166565b806301994b991461016b578063033f49f7146101e8578063165d35e114610273578063181f5a77146102a45780632408afaa1461032e57806325cb5bc014610393575b600080fd5b34801561017757600080fd5b506101e66004803603602081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111600160201b831117156101db57600080fd5b509092509050610c57565b005b3480156101f457600080fd5b506101e66004803603604081101561020b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561023557600080fd5b82018360208201111561024757600080fd5b803590602001918460018302840111600160201b8311171561026857600080fd5b509092509050610dd2565b34801561027f57600080fd5b50610288610f73565b604080516001600160a01b039092168252519081900360200190f35b3480156102b057600080fd5b506102b9610f97565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f35781810151838201526020016102db565b50505050905090810190601f1680156103205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033a57600080fd5b50610343610fbf565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037f578181015183820152602001610367565b505050509050019250505060405180910390f35b34801561039f57600080fd5b506103a8611021565b60408051918252519081900360200190f35b3480156103c657600080fd5b506101e6600480360360e08110156103dd57600080fd5b6001600160a01b03823516916020810135916040820135916001600160e01b03196060820135169160808201359160a08101359181019060e0810160c0820135600160201b81111561042e57600080fd5b82018360208201111561044057600080fd5b803590602001918460018302840111600160201b8311171561046157600080fd5b509092509050611027565b34801561047857600080fd5b506101e66004803603604081101561048f57600080fd5b810190602081018135600160201b8111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460208302840111600160201b831117156104dc57600080fd5b9193509150356001600160a01b0316611160565b3480156104fc57600080fd5b506101e6600480360361010081101561051457600080fd5b6001600160a01b038235811692602081013592604082013592606083013516916001600160e01b03196080820135169160a08201359160c081013591810190610100810160e0820135600160201b81111561056e57600080fd5b82018360208201111561058057600080fd5b803590602001918460018302840111600160201b831117156105a157600080fd5b509092509050611260565b3480156105b857600080fd5b50610607600480360360c08110156105cf57600080fd5b508035906020810135906001600160a01b03604082013516906001600160e01b03196060820135169060808101359060a0013561139a565b604080519115158252519081900360200190f35b34801561062757600080fd5b506103a8611602565b34801561063c57600080fd5b506101e66004803603604081101561065357600080fd5b810190602081018135600160201b81111561066d57600080fd5b82018360208201111561067f57600080fd5b803590602001918460208302840111600160201b831117156106a057600080fd5b919390929091602081019035600160201b8111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460208302840111600160201b831117156106f057600080fd5b509092509050611611565b34801561070757600080fd5b50610607600480360360c081101561071e57600080fd5b8135916020810135916001600160a01b03604083013516916001600160e01b0319606082013516916080820135919081019060c0810160a0820135600160201b81111561076a57600080fd5b82018360208201111561077c57600080fd5b803590602001918460018302840111600160201b8311171561079d57600080fd5b50909250905061166e565b6101e6600480360360408110156107be57600080fd5b810190602081018135600160201b8111156107d857600080fd5b8201836020820111156107ea57600080fd5b803590602001918460208302840111600160201b8311171561080b57600080fd5b919390929091602081019035600160201b81111561082857600080fd5b82018360208201111561083a57600080fd5b803590602001918460208302840111600160201b8311171561085b57600080fd5b509092509050611987565b34801561087257600080fd5b506101e66004803603608081101561088957600080fd5b508035906020810135906001600160e01b03196040820135169060600135611ac4565b3480156108b857600080fd5b506101e6611c6a565b3480156108cd57600080fd5b50610288611d1d565b3480156108e257600080fd5b50610607600480360360608110156108f957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561092857600080fd5b82018360208201111561093a57600080fd5b803590602001918460018302840111600160201b8311171561095b57600080fd5b509092509050611d2c565b34801561097257600080fd5b506101e66004803603606081101561098957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156109b857600080fd5b8201836020820111156109ca57600080fd5b803590602001918460018302840111600160201b831117156109eb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e5e945050505050565b348015610a3857600080fd5b506101e660048036036080811015610a4f57600080fd5b508035906020810135906001600160e01b03196040820135169060600135611fdd565b348015610a7e57600080fd5b506101e660048036036020811015610a9557600080fd5b810190602081018135600160201b811115610aaf57600080fd5b820183602082011115610ac157600080fd5b803590602001918460208302840111600160201b83111715610ae257600080fd5b5090925090506121c3565b348015610af957600080fd5b506101e660048036036020811015610b1057600080fd5b50356001600160a01b031661237f565b348015610b2c57600080fd5b506101e660048036036040811015610b4357600080fd5b506001600160a01b038135169060200135612393565b348015610b6557600080fd5b5061060760048036036020811015610b7c57600080fd5b50356001600160a01b031661248b565b348015610b9857600080fd5b506101e660048036036040811015610baf57600080fd5b810190602081018135600160201b811115610bc957600080fd5b820183602082011115610bdb57600080fd5b803590602001918460208302840111600160201b83111715610bfc57600080fd5b919390929091602081019035600160201b811115610c1957600080fd5b820183602082011115610c2b57600080fd5b803590602001918460208302840111600160201b83111715610c4c57600080fd5b5090925090506124a9565b610c5f612653565b610c9e576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b60005b81811015610dcd57600160056000858585818110610cbb57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828282818110610d0e57fe5b905060200201356001600160a01b03166001600160a01b03167f615a0c1cb00a60d4acd77ec67acf2f17f223ef0932d591052fabc33643fe7e8260405160405180910390a2828282818110610d5f57fe5b905060200201356001600160a01b03166001600160a01b03166379ba50976040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610da957600080fd5b505af1158015610dbd573d6000803e3d6000fd5b505060019092019150610ca19050565b505050565b610dda61267c565b827f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316816001600160a01b03161415610e58576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b610e6a846001600160a01b03166126d6565b610ebb576040805162461bcd60e51b815260206004820152601a60248201527f4d75737420666f727761726420746f206120636f6e7472616374000000000000604482015290519081900360640190fd5b6000846001600160a01b03168484604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610f19576040519150601f19603f3d011682016040523d82523d6000602084013e610f1e565b606091505b5050905080610f6c576040805162461bcd60e51b8152602060048201526015602482015274119bdc9dd85c9919590818d85b1b0819985a5b1959605a1b604482015290519081900360640190fd5b5050505050565b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca90565b60408051808201909152600e81526d04f70657261746f7220312e302e360941b602082015290565b6060600180548060200260200160405190810160405280929190818152602001828054801561101757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff9575b5050505050905090565b61012c81565b61102f610f73565b6001600160a01b0316336001600160a01b03161461108a576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60008061109b8a8a8c8a8a8a6126dc565b91509150877fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658b848c8e8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a250505050505050505050565b61116861267c565b60005b8281101561125a5760006005600086868581811061118557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508383828181106111d857fe5b905060200201356001600160a01b03166001600160a01b031663f2fde38b836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b50506001909201915061116b9050565b50505050565b611268610f73565b6001600160a01b0316336001600160a01b0316146112c3576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b6000806112d48b8b8a8a8a8a6126dc565b91509150887fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658c848d8f8c878c8c8c604051808a6001600160a01b03168152602001898152602001888152602001876001600160a01b03168152602001866001600160e01b0319168152602001858152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039c50909a5050505050505050505050a25050505050505050505050565b60006113a46128aa565b600087815260046020526040902054879060081b60ff191661140d576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038616600090815260056020526040902054869060ff161561147d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b61148c898989898960016128fc565b60405189907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a101561150f576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60408051602481018b9052604480820187905282518083039091018152606490910182526020810180516001600160e01b03166001600160e01b03198a16178152915181516000936001600160a01b038c169392918291908083835b6020831061158a5780518252601f19909201916020918201910161156b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115ec576040519150601f19603f3d011682016040523d82523d6000602084013e6115f1565b606091505b50909b9a5050505050505050505050565b600061160c612a1c565b905090565b611619612653565b611658576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b6116628484610c57565b61125a848484846124a9565b60006116786128aa565b600088815260046020526040902054889060081b60ff19166116e1576040805162461bcd60e51b815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6001600160a01b038716600090815260056020526040902054879060ff1615611751576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742063616c6c206f776e656420636f6e7472616374000000000000604482015290519081900360640190fd5b89858560208110156117aa576040805162461bcd60e51b815260206004820152601b60248201527f526573706f6e7365206d757374206265203e2033322062797465730000000000604482015290519081900360640190fd5b60e435838114611801576040805162461bcd60e51b815260206004820152601c60248201527f466972737420776f7264206d7573742062652072657175657374496400000000604482015290519081900360640190fd5b6118108e8e8e8e8e60026128fc565b6040518e907f9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a6490600090a262061a805a1015611893576040805162461bcd60e51b815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b60008c6001600160a01b03168c8b8b60405160200180846001600160e01b03191681526004018383808284378083019250505093505050506040516020818303038152906040526040518082805190602001908083835b602083106119095780518252601f1990920191602091820191016118ea565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461196b576040519150601f19603f3d011682016040523d82523d6000602084013e611970565b606091505b509098505050505050505050979650505050505050565b821580159061199557508281145b6119e6576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206172726179206c656e677468287329000000000000000000604482015290519081900360640190fd5b3460005b84811015611a7c576000848483818110611a0057fe5b905060200201359050611a1c8184612ae090919063ffffffff16565b9250868683818110611a2a57fe5b905060200201356001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611a72573d6000803e3d6000fd5b50506001016119ea565b508015610f6c576040805162461bcd60e51b8152602060048201526011602482015270151bdbc81b5d58da08115512081cd95b9d607a1b604482015290519081900360640190fd5b6000611ad284338585612b3d565b60008681526004602052604090205490915060081b60ff1990811690821614611b42576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115611b90576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000858152600460205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810186905290516001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169163a9059cbb9160448083019260209291908290030181600087803b158015611c3757600080fd5b505af1158015611c4b573d6000803e3d6000fd5b505050506040513d6020811015611c6157600080fd5b50505050505050565b6003546001600160a01b03163314611cc2576040805162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015290519081900360640190fd5b600280546001600160a01b0319808216339081179093556003805490911690556040516001600160a01b03909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6002546001600160a01b031690565b6000611d3661267c565b8380611d40612a1c565b1015611d7d5760405162461bcd60e51b8152600401808060200182810382526035815260200180612e876035913960400191505060405180910390fd5b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea0878787876040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050602060405180830381600087803b158015611e2857600080fd5b505af1158015611e3c573d6000803e3d6000fd5b505050506040513d6020811015611e5257600080fd5b50519695505050505050565b611e66610f73565b6001600160a01b0316336001600160a01b031614611ec1576040805162461bcd60e51b815260206004820152601360248201527226bab9ba103ab9b2902624a725903a37b5b2b760691b604482015290519081900360640190fd5b60208101518190611ed28183612b97565b8460248401528360448401526000306001600160a01b0316846040518082805190602001908083835b60208310611f1a5780518252601f199092019160209182019101611efb565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611f7a576040519150601f19603f3d011682016040523d82523d6000602084013e611f7f565b606091505b5050905080611fd5576040805162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b6000338560405160200180836001600160a01b031660601b815260140182815260200192505050604051602081830303815290604052805190602001209050600061202a85338686612b3d565b60008381526004602052604090205490915060081b60ff199081169082161461209a576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b428311156120e8576040805162461bcd60e51b815260206004820152601660248201527514995c5d595cdd081a5cc81b9bdd08195e1c1a5c995960521b604482015290519081900360640190fd5b6000828152600460205260408082208290555183917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a26040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169163a9059cbb9160448083019260209291908290030181600087803b15801561218f57600080fd5b505af11580156121a3573d6000803e3d6000fd5b505050506040513d60208110156121b957600080fd5b5050505050505050565b6121cb612653565b61220a576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b806122465760405162461bcd60e51b8152600401808060200182810382526026815260200180612e616026913960400191505060405180910390fd5b60015460005b818110156122a25760008060006001848154811061226657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff191691151591909117905560010161224c565b5060005b828110156122f85760016000808686858181106122bf57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122a6565b5061230560018484612dd1565b507ff263cfb3e4298332e776194610cf9fdc09ccb3ada8b9aa39764d882e11fbf0a08383336040518080602001836001600160a01b031681526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b61238761267c565b61239081612c6b565b50565b61239b61267c565b80806123a5612a1c565b10156123e25760405162461bcd60e51b8152600401808060200182810382526035815260200180612e876035913960400191505060405180910390fd5b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561245957600080fd5b505af115801561246d573d6000803e3d6000fd5b505050506040513d602081101561248357600080fd5b5051610dcd57fe5b6001600160a01b031660009081526020819052604090205460ff1690565b6124b1612653565b6124f0576040805162461bcd60e51b815260206004820152601d6024820152600080516020612e41833981519152604482015290519081900360640190fd5b7f1bb185903e2cb2f1b303523128b60e314dea81df4f8d9b7351cadd344f6e77278484848433604051808060200180602001846001600160a01b031681526020018381038352888882818152602001925060200280828437600083820152601f01601f19169091018481038352868152602090810191508790870280828437600083820152604051601f909101601f1916909201829003995090975050505050505050a160005b83811015610f6c578484828181106125ab57fe5b905060200201356001600160a01b03166001600160a01b031663ee56997b84846040518363ffffffff1660e01b815260040180806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b15801561262f57600080fd5b505af1158015612643573d6000803e3d6000fd5b5050600190920191506125979050565b600061265e3361248b565b8061160c57503361266d611d1d565b6001600160a01b031614905090565b6002546001600160a01b031633146126d4576040805162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015290519081900360640190fd5b565b3b151590565b600080857f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316816001600160a01b0316141561275d576040805162461bcd60e51b815260206004820152601360248201527243616e6e6f742063616c6c20746f204c494e4b60681b604482015290519081900360640190fd5b6040805160608b901b6bffffffffffffffffffffffff191660208083019190915260348083018990528351808403909101815260549092018352815191810191909120600081815260049092529190205490935060081b60ff191615612801576040805162461bcd60e51b8152602060048201526014602482015273135d5cdd081d5cd94818481d5b9a5c5d5948125160621b604482015290519081900360640190fd5b61280d4261012c612d1b565b9150600061281d89898986612b3d565b905060405180604001604052808260ff1916815260200161283d87612d7c565b60ff9081169091526000868152600460209081526040909120835181549490920151909216600160f81b0260089190911c6001600160f81b0319909316929092176001600160f81b031691909117905560065461289a908a612d1b565b6006555050965096945050505050565b6128b33361248b565b6126d4576040805162461bcd60e51b81526020600482015260156024820152742737ba1030baba3437b934bd32b21039b2b73232b960591b604482015290519081900360640190fd5b600061290a86868686612b3d565b60008881526004602052604090205490915060081b60ff199081169082161461297a576040805162461bcd60e51b815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b61298382612d7c565b60008881526004602052604090205460ff918216600160f81b90910490911611156129f5576040805162461bcd60e51b815260206004820152601860248201527f446174612076657273696f6e73206d757374206d617463680000000000000000604482015290519081900360640190fd5b600654612a029087612ae0565b600655505050600093845250506004602052506040812055565b600080612a356001600654612ae090919063ffffffff16565b9050612ada817f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612aa857600080fd5b505afa158015612abc573d6000803e3d6000fd5b505050506040513d6020811015612ad257600080fd5b505190612ae0565b91505090565b600082821115612b37576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160208082019690965260609490941b6bffffffffffffffffffffffff1916848201526001600160e01b03199290921660548401526058808401919091528151808403909101815260789092019052805191012090565b805160441115612be7576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840e4cae2eacae6e840d8cadccee8d60531b604482015290519081900360640190fd5b6001600160e01b03198216633c6d41b960e01b1480612c1657506001600160e01b031982166320214ca360e11b145b612c67576040805162461bcd60e51b815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b5050565b6001600160a01b038116331415612cc9576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03838116918217909255600254604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600082820183811015612d75576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006101008210612dcd576040805162461bcd60e51b81526020600482015260166024820152751b9d5b58995c881d1bdbc8189a59c81d1bc818d85cdd60521b604482015290519081900360640190fd5b5090565b828054828255906000526020600020908101928215612e24579160200282015b82811115612e245781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612df1565b50612dcd9291505b80821115612dcd5760008155600101612e2c56fe43616e6e6f742073657420617574686f72697a65642073656e646572730000004d7573742068617665206174206c65617374203120617574686f72697a65642073656e646572416d6f756e74207265717565737465642069732067726561746572207468616e20776974686472617761626c652062616c616e6365a2646970667358221220710c131f8ddcd18277cc21d08e45f95cb8d3eeae25a07825ed5f363aa0e39ac764736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000eb562f4b862e3d7c7dd306d9a26de98660390310
-----Decoded View---------------
Arg [0] : link (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [1] : owner (address): 0xEB562F4b862E3D7c7Dd306d9a26dE98660390310
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [1] : 000000000000000000000000eb562f4b862e3d7c7dd306d9a26de98660390310
Loading...
Loading
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.