Created
July 2, 2019 17:08
-
-
Save shannashin2018/b448ba1dc81a72a67d894b1eba70eb63 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=true&gist=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity >=0.4.22 <0.6.0; | |
contract Ballot { | |
struct Voter { | |
uint weight; | |
bool voted; | |
uint8 vote; | |
address delegate; | |
} | |
struct Proposal { | |
uint voteCount; | |
} | |
address chairperson; | |
mapping(address => Voter) voters; | |
Proposal[] proposals; | |
/// Create a new ballot with $(_numProposals) different proposals. | |
constructor(uint8 _numProposals) public { | |
chairperson = msg.sender; | |
voters[chairperson].weight = 1; | |
proposals.length = _numProposals; | |
} | |
/// Give $(toVoter) the right to vote on this ballot. | |
/// May only be called by $(chairperson). | |
function giveRightToVote(address toVoter) public { | |
if (msg.sender != chairperson || voters[toVoter].voted) return; | |
voters[toVoter].weight = 1; | |
} | |
/// Delegate your vote to the voter $(to). | |
function delegate(address to) public { | |
Voter storage sender = voters[msg.sender]; // assigns reference | |
if (sender.voted) return; | |
while (voters[to].delegate != address(0) && voters[to].delegate != msg.sender) | |
to = voters[to].delegate; | |
if (to == msg.sender) return; | |
sender.voted = true; | |
sender.delegate = to; | |
Voter storage delegateTo = voters[to]; | |
if (delegateTo.voted) | |
proposals[delegateTo.vote].voteCount += sender.weight; | |
else | |
delegateTo.weight += sender.weight; | |
} | |
/// Give a single vote to proposal $(toProposal). | |
function vote(uint8 toProposal) public { | |
Voter storage sender = voters[msg.sender]; | |
if (sender.voted || toProposal >= proposals.length) return; | |
sender.voted = true; | |
sender.vote = toProposal; | |
proposals[toProposal].voteCount += sender.weight; | |
} | |
function winningProposal() public view returns (uint8 _winningProposal) { | |
uint256 winningVoteCount = 0; | |
for (uint8 prop = 0; prop < proposals.length; prop++) | |
if (proposals[prop].voteCount > winningVoteCount) { | |
winningVoteCount = proposals[prop].voteCount; | |
_winningProposal = prop; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity >=0.4.22 <0.6.0; | |
import "remix_tests.sol"; // this import is automatically injected by Remix. | |
import "./ballot.sol"; | |
contract test3 { | |
Ballot ballotToTest; | |
function beforeAll () public { | |
ballotToTest = new Ballot(2); | |
} | |
function checkWinningProposal () public { | |
ballotToTest.vote(1); | |
Assert.equal(ballotToTest.winningProposal(), uint(1), "1 should be the winning proposal"); | |
} | |
function checkWinninProposalWithReturnValue () public view returns (bool) { | |
return ballotToTest.winningProposal() == 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; | |
event OwnershipRenounced(address indexed previousOwner); | |
event OwnershipTransferred( | |
address indexed previousOwner, | |
address indexed newOwner | |
); | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. | |
*/ | |
constructor() public { | |
owner = msg.sender; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(msg.sender == owner); | |
_; | |
} | |
/** | |
* @dev Allows the current owner to relinquish control of the contract. | |
* @notice Renouncing to ownership will leave the contract without an owner. | |
* It will not be possible to call the functions with the `onlyOwner` | |
* modifier anymore. | |
*/ | |
function renounceOwnership() public onlyOwner { | |
emit OwnershipRenounced(owner); | |
owner = address(0); | |
} | |
/** | |
* @dev Allows the current owner to transfer control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function transferOwnership(address _newOwner) public onlyOwner { | |
_transferOwnership(_newOwner); | |
} | |
/** | |
* @dev Transfers control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function _transferOwnership(address _newOwner) internal { | |
require(_newOwner != address(0)); | |
emit OwnershipTransferred(owner, _newOwner); | |
owner = _newOwner; | |
} | |
} | |
// File: openzeppelin-solidity/contracts/math/SafeMath.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. | |
*/ | |
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
// Gas optimization: this is cheaper than asserting '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; | |
} | |
c = _a * _b; | |
assert(c / _a == _b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two numbers, truncating the quotient. | |
*/ | |
function div(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
// assert(_b > 0); // Solidity automatically throws when dividing by 0 | |
// uint256 c = _a / _b; | |
// assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold | |
return _a / _b; | |
} | |
/** | |
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
assert(_b <= _a); | |
return _a - _b; | |
} | |
/** | |
* @dev Adds two numbers, throws on overflow. | |
*/ | |
function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
c = _a + _b; | |
assert(c >= _a); | |
return c; | |
} | |
} | |
// File: contracts/interfaces/ChainlinkRequestInterface.sol | |
pragma solidity 0.4.24; | |
interface ChainlinkRequestInterface { | |
function oracleRequest( | |
address sender, | |
uint256 payment, | |
bytes32 id, | |
address callbackAddress, | |
bytes4 callbackFunctionId, | |
uint256 nonce, | |
uint256 version, | |
bytes data | |
) external; | |
function cancelOracleRequest( | |
bytes32 requestId, | |
uint256 payment, | |
bytes4 callbackFunctionId, | |
uint256 expiration | |
) external; | |
} | |
// File: contracts/interfaces/OracleInterface.sol | |
pragma solidity 0.4.24; | |
interface OracleInterface { | |
function fulfillOracleRequest( | |
bytes32 requestId, | |
uint256 payment, | |
address callbackAddress, | |
bytes4 callbackFunctionId, | |
uint256 expiration, | |
bytes32 data | |
) external returns (bool); | |
function getAuthorizationStatus(address node) external view returns (bool); | |
function setFulfillmentPermission(address node, bool allowed) external; | |
function withdraw(address recipient, uint256 amount) external; | |
function withdrawable() external view returns (uint256); | |
} | |
// File: contracts/interfaces/LinkTokenInterface.sol | |
pragma solidity 0.4.24; | |
interface LinkTokenInterface { | |
function allowance(address owner, address spender) external returns (bool success); | |
function approve(address spender, uint256 value) external returns (bool success); | |
function balanceOf(address owner) external returns (uint256 balance); | |
function decimals() external returns (uint8 decimalPlaces); | |
function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); | |
function increaseApproval(address spender, uint256 subtractedValue) external; | |
function name() external returns (string tokenName); | |
function symbol() external returns (string tokenSymbol); | |
function totalSupply() external returns (uint256 totalTokensIssued); | |
function transfer(address to, uint256 value) external returns (bool success); | |
function transferAndCall(address to, uint256 value, bytes data) external returns (bool success); | |
function transferFrom(address from, address to, uint256 value) external returns (bool success); | |
} | |
// File: contracts/Oracle.sol | |
pragma solidity 0.4.24; | |
/** | |
* @title The Chainlink Oracle contract | |
* @notice Node operators can deploy this contract to fulfill requests sent to them | |
*/ | |
contract Oracle is ChainlinkRequestInterface, OracleInterface, Ownable { | |
using SafeMath for uint256; | |
uint256 constant public EXPIRY_TIME = 5 minutes; | |
uint256 constant private MINIMUM_CONSUMER_GAS_LIMIT = 400000; | |
// We initialize fields to 1 instead of 0 so that the first invocation | |
// does not cost more gas. | |
uint256 constant private ONE_FOR_CONSISTENT_GAS_COST = 1; | |
uint256 constant private SELECTOR_LENGTH = 4; | |
uint256 constant private EXPECTED_REQUEST_WORDS = 2; | |
// solium-disable-next-line zeppelin/no-arithmetic-operations | |
uint256 constant private MINIMUM_REQUEST_LENGTH = SELECTOR_LENGTH + (32 * EXPECTED_REQUEST_WORDS); | |
LinkTokenInterface internal LinkToken; | |
mapping(bytes32 => bytes32) private commitments; | |
mapping(address => bool) private authorizedNodes; | |
uint256 private withdrawableTokens = 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 | |
); | |
/** | |
* @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 | |
*/ | |
constructor(address _link) Ownable() public { | |
LinkToken = LinkTokenInterface(_link); | |
} | |
/** | |
* @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 _data | |
) | |
public | |
onlyLINK | |
validRequestLength(_data) | |
permittedFunctionsForLINK(_data) | |
{ | |
assembly { | |
// solium-disable-next-line security/no-low-level-calls | |
mstore(add(_data, 36), _sender) // ensure correct sender is passed | |
// solium-disable-next-line security/no-low-level-calls | |
mstore(add(_data, 68), _amount) // ensure correct amount is passed | |
} | |
// solium-disable-next-line security/no-low-level-calls | |
require(address(this).delegatecall(_data), "Unable to create request"); // calls oracleRequest | |
} | |
/** | |
* @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 _callbackAddress The callback address for the response | |
* @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 CBOR payload of the request | |
*/ | |
function oracleRequest( | |
address _sender, | |
uint256 _payment, | |
bytes32 _specId, | |
address _callbackAddress, | |
bytes4 _callbackFunctionId, | |
uint256 _nonce, | |
uint256 _dataVersion, | |
bytes _data | |
) | |
external | |
onlyLINK | |
checkCallbackAddress(_callbackAddress) | |
{ | |
bytes32 requestId = keccak256(abi.encodePacked(_sender, _nonce)); | |
require(commitments[requestId] == 0, "Must use a unique ID"); | |
uint256 expiration = now.add(EXPIRY_TIME); | |
commitments[requestId] = keccak256( | |
abi.encodePacked( | |
_payment, | |
_callbackAddress, | |
_callbackFunctionId, | |
expiration | |
) | |
); | |
emit OracleRequest( | |
_specId, | |
_sender, | |
requestId, | |
_payment, | |
_callbackAddress, | |
_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 | |
onlyAuthorizedNode | |
isValidRequest(_requestId) | |
returns (bool) | |
{ | |
bytes32 paramsHash = keccak256( | |
abi.encodePacked( | |
_payment, | |
_callbackAddress, | |
_callbackFunctionId, | |
_expiration | |
) | |
); | |
require(commitments[_requestId] == paramsHash, "Params do not match request ID"); | |
withdrawableTokens = withdrawableTokens.add(_payment); | |
delete commitments[_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 | |
return _callbackAddress.call(_callbackFunctionId, _requestId, _data); // solium-disable-line security/no-low-level-calls | |
} | |
/** | |
* @notice Use this to check if a node is authorized for fulfilling requests | |
* @param _node The address of the Chainlink node | |
* @return The authorization status of the node | |
*/ | |
function getAuthorizationStatus(address _node) external view returns (bool) { | |
return authorizedNodes[_node]; | |
} | |
/** | |
* @notice Sets the fulfillment permission for a given node. Use `true` to allow, `false` to disallow. | |
* @param _node The address of the Chainlink node | |
* @param _allowed Bool value to determine if the node can fulfill requests | |
*/ | |
function setFulfillmentPermission(address _node, bool _allowed) external onlyOwner { | |
authorizedNodes[_node] = _allowed; | |
} | |
/** | |
* @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 | |
onlyOwner | |
hasAvailableFunds(_amount) | |
{ | |
withdrawableTokens = withdrawableTokens.sub(_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 onlyOwner returns (uint256) { | |
return withdrawableTokens.sub(ONE_FOR_CONSISTENT_GAS_COST); | |
} | |
/** | |
* @notice Allows requesters to cancel requests sent to this oracle contract. Will transfer the LINK | |
* sent for the request back to the requester's 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 address | |
* @param _expiration The time of the expiration for the request | |
*/ | |
function cancelOracleRequest( | |
bytes32 _requestId, | |
uint256 _payment, | |
bytes4 _callbackFunc, | |
uint256 _expiration | |
) external { | |
bytes32 paramsHash = keccak256( | |
abi.encodePacked( | |
_payment, | |
msg.sender, | |
_callbackFunc, | |
_expiration) | |
); | |
require(paramsHash == commitments[_requestId], "Params do not match request ID"); | |
require(_expiration <= now, "Request is not expired"); | |
delete commitments[_requestId]; | |
emit CancelOracleRequest(_requestId); | |
assert(LinkToken.transfer(msg.sender, _payment)); | |
} | |
// MODIFIERS | |
/** | |
* @dev Reverts if amount requested is greater than withdrawable balance | |
* @param _amount The given amount to compare to `withdrawableTokens` | |
*/ | |
modifier hasAvailableFunds(uint256 _amount) { | |
require(withdrawableTokens >= _amount.add(ONE_FOR_CONSISTENT_GAS_COST), "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 isValidRequest(bytes32 _requestId) { | |
require(commitments[_requestId] != 0, "Must have a valid requestId"); | |
_; | |
} | |
/** | |
* @dev Reverts if `msg.sender` is not authorized to fulfill requests | |
*/ | |
modifier onlyAuthorizedNode() { | |
require(authorizedNodes[msg.sender] || msg.sender == owner, "Not an authorized node to fulfill requests"); | |
_; | |
} | |
/** | |
* @dev Reverts if not sent from the LINK token | |
*/ | |
modifier onlyLINK() { | |
require(msg.sender == address(LinkToken), "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 _data) { | |
bytes4 funcSelector; | |
assembly { | |
// solium-disable-next-line security/no-low-level-calls | |
funcSelector := mload(add(_data, 32)) | |
} | |
require(funcSelector == this.oracleRequest.selector, "Must use whitelisted functions"); | |
_; | |
} | |
/** | |
* @dev Reverts if the callback address is the LINK token | |
* @param _to The callback address | |
*/ | |
modifier checkCallbackAddress(address _to) { | |
require(_to != address(LinkToken), "Cannot callback to LINK"); | |
_; | |
} | |
/** | |
* @dev Reverts if the given payload is less than needed to create a request | |
* @param _data The request payload | |
*/ | |
modifier validRequestLength(bytes _data) { | |
require(_data.length >= MINIMUM_REQUEST_LENGTH, "Invalid request length"); | |
_; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; | |
event OwnershipRenounced(address indexed previousOwner); | |
event OwnershipTransferred( | |
address indexed previousOwner, | |
address indexed newOwner | |
); | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. | |
*/ | |
constructor() public { | |
owner = msg.sender; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(msg.sender == owner); | |
_; | |
} | |
/** | |
* @dev Allows the current owner to relinquish control of the contract. | |
* @notice Renouncing to ownership will leave the contract without an owner. | |
* It will not be possible to call the functions with the `onlyOwner` | |
* modifier anymore. | |
*/ | |
function renounceOwnership() public onlyOwner { | |
emit OwnershipRenounced(owner); | |
owner = address(0); | |
} | |
/** | |
* @dev Allows the current owner to transfer control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function transferOwnership(address _newOwner) public onlyOwner { | |
_transferOwnership(_newOwner); | |
} | |
/** | |
* @dev Transfers control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function _transferOwnership(address _newOwner) internal { | |
require(_newOwner != address(0)); | |
emit OwnershipTransferred(owner, _newOwner); | |
owner = _newOwner; | |
} | |
} | |
// File: openzeppelin-solidity/contracts/math/SafeMath.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. | |
*/ | |
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
// Gas optimization: this is cheaper than asserting '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; | |
} | |
c = _a * _b; | |
assert(c / _a == _b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two numbers, truncating the quotient. | |
*/ | |
function div(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
// assert(_b > 0); // Solidity automatically throws when dividing by 0 | |
// uint256 c = _a / _b; | |
// assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold | |
return _a / _b; | |
} | |
/** | |
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
assert(_b <= _a); | |
return _a - _b; | |
} | |
/** | |
* @dev Adds two numbers, throws on overflow. | |
*/ | |
function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
c = _a + _b; | |
assert(c >= _a); | |
return c; | |
} | |
} | |
// File: contracts/interfaces/ChainlinkRequestInterface.sol | |
pragma solidity 0.4.24; | |
interface ChainlinkRequestInterface { | |
function oracleRequest( | |
address sender, | |
uint256 payment, | |
bytes32 id, | |
address callbackAddress, | |
bytes4 callbackFunctionId, | |
uint256 nonce, | |
uint256 version, | |
bytes data | |
) external; | |
function cancelOracleRequest( | |
bytes32 requestId, | |
uint256 payment, | |
bytes4 callbackFunctionId, | |
uint256 expiration | |
) external; | |
} | |
// File: contracts/interfaces/OracleInterface.sol | |
pragma solidity 0.4.24; | |
interface OracleInterface { | |
function fulfillOracleRequest( | |
bytes32 requestId, | |
uint256 payment, | |
address callbackAddress, | |
bytes4 callbackFunctionId, | |
uint256 expiration, | |
bytes32 data | |
) external returns (bool); | |
function getAuthorizationStatus(address node) external view returns (bool); | |
function setFulfillmentPermission(address node, bool allowed) external; | |
function withdraw(address recipient, uint256 amount) external; | |
function withdrawable() external view returns (uint256); | |
} | |
// File: contracts/interfaces/LinkTokenInterface.sol | |
pragma solidity 0.4.24; | |
interface LinkTokenInterface { | |
function allowance(address owner, address spender) external returns (bool success); | |
function approve(address spender, uint256 value) external returns (bool success); | |
function balanceOf(address owner) external returns (uint256 balance); | |
function decimals() external returns (uint8 decimalPlaces); | |
function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); | |
function increaseApproval(address spender, uint256 subtractedValue) external; | |
function name() external returns (string tokenName); | |
function symbol() external returns (string tokenSymbol); | |
function totalSupply() external returns (uint256 totalTokensIssued); | |
function transfer(address to, uint256 value) external returns (bool success); | |
function transferAndCall(address to, uint256 value, bytes data) external returns (bool success); | |
function transferFrom(address from, address to, uint256 value) external returns (bool success); | |
} | |
// File: contracts/Oracle.sol | |
pragma solidity 0.4.24; | |
/** | |
* @title The Chainlink Oracle contract | |
* @notice Node operators can deploy this contract to fulfill requests sent to them | |
*/ | |
contract Oracle is ChainlinkRequestInterface, OracleInterface, Ownable { | |
using SafeMath for uint256; | |
uint256 constant public EXPIRY_TIME = 5 minutes; | |
uint256 constant private MINIMUM_CONSUMER_GAS_LIMIT = 400000; | |
// We initialize fields to 1 instead of 0 so that the first invocation | |
// does not cost more gas. | |
uint256 constant private ONE_FOR_CONSISTENT_GAS_COST = 1; | |
uint256 constant private SELECTOR_LENGTH = 4; | |
uint256 constant private EXPECTED_REQUEST_WORDS = 2; | |
// solium-disable-next-line zeppelin/no-arithmetic-operations | |
uint256 constant private MINIMUM_REQUEST_LENGTH = SELECTOR_LENGTH + (32 * EXPECTED_REQUEST_WORDS); | |
LinkTokenInterface internal LinkToken; | |
mapping(bytes32 => bytes32) private commitments; | |
mapping(address => bool) private authorizedNodes; | |
uint256 private withdrawableTokens = 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 | |
); | |
/** | |
* @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 | |
*/ | |
constructor(address _link) Ownable() public { | |
LinkToken = LinkTokenInterface(_link); | |
} | |
/** | |
* @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 _data | |
) | |
public | |
onlyLINK | |
validRequestLength(_data) | |
permittedFunctionsForLINK(_data) | |
{ | |
assembly { | |
// solium-disable-next-line security/no-low-level-calls | |
mstore(add(_data, 36), _sender) // ensure correct sender is passed | |
// solium-disable-next-line security/no-low-level-calls | |
mstore(add(_data, 68), _amount) // ensure correct amount is passed | |
} | |
// solium-disable-next-line security/no-low-level-calls | |
require(address(this).delegatecall(_data), "Unable to create request"); // calls oracleRequest | |
} | |
/** | |
* @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 _callbackAddress The callback address for the response | |
* @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 CBOR payload of the request | |
*/ | |
function oracleRequest( | |
address _sender, | |
uint256 _payment, | |
bytes32 _specId, | |
address _callbackAddress, | |
bytes4 _callbackFunctionId, | |
uint256 _nonce, | |
uint256 _dataVersion, | |
bytes _data | |
) | |
external | |
onlyLINK | |
checkCallbackAddress(_callbackAddress) | |
{ | |
bytes32 requestId = keccak256(abi.encodePacked(_sender, _nonce)); | |
require(commitments[requestId] == 0, "Must use a unique ID"); | |
uint256 expiration = now.add(EXPIRY_TIME); | |
commitments[requestId] = keccak256( | |
abi.encodePacked( | |
_payment, | |
_callbackAddress, | |
_callbackFunctionId, | |
expiration | |
) | |
); | |
emit OracleRequest( | |
_specId, | |
_sender, | |
requestId, | |
_payment, | |
_callbackAddress, | |
_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 | |
onlyAuthorizedNode | |
isValidRequest(_requestId) | |
returns (bool) | |
{ | |
bytes32 paramsHash = keccak256( | |
abi.encodePacked( | |
_payment, | |
_callbackAddress, | |
_callbackFunctionId, | |
_expiration | |
) | |
); | |
require(commitments[_requestId] == paramsHash, "Params do not match request ID"); | |
withdrawableTokens = withdrawableTokens.add(_payment); | |
delete commitments[_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 | |
return _callbackAddress.call(_callbackFunctionId, _requestId, _data); // solium-disable-line security/no-low-level-calls | |
} | |
/** | |
* @notice Use this to check if a node is authorized for fulfilling requests | |
* @param _node The address of the Chainlink node | |
* @return The authorization status of the node | |
*/ | |
function getAuthorizationStatus(address _node) external view returns (bool) { | |
return authorizedNodes[_node]; | |
} | |
/** | |
* @notice Sets the fulfillment permission for a given node. Use `true` to allow, `false` to disallow. | |
* @param _node The address of the Chainlink node | |
* @param _allowed Bool value to determine if the node can fulfill requests | |
*/ | |
function setFulfillmentPermission(address _node, bool _allowed) external onlyOwner { | |
authorizedNodes[_node] = _allowed; | |
} | |
/** | |
* @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 | |
onlyOwner | |
hasAvailableFunds(_amount) | |
{ | |
withdrawableTokens = withdrawableTokens.sub(_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 onlyOwner returns (uint256) { | |
return withdrawableTokens.sub(ONE_FOR_CONSISTENT_GAS_COST); | |
} | |
/** | |
* @notice Allows requesters to cancel requests sent to this oracle contract. Will transfer the LINK | |
* sent for the request back to the requester's 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 address | |
* @param _expiration The time of the expiration for the request | |
*/ | |
function cancelOracleRequest( | |
bytes32 _requestId, | |
uint256 _payment, | |
bytes4 _callbackFunc, | |
uint256 _expiration | |
) external { | |
bytes32 paramsHash = keccak256( | |
abi.encodePacked( | |
_payment, | |
msg.sender, | |
_callbackFunc, | |
_expiration) | |
); | |
require(paramsHash == commitments[_requestId], "Params do not match request ID"); | |
require(_expiration <= now, "Request is not expired"); | |
delete commitments[_requestId]; | |
emit CancelOracleRequest(_requestId); | |
assert(LinkToken.transfer(msg.sender, _payment)); | |
} | |
// MODIFIERS | |
/** | |
* @dev Reverts if amount requested is greater than withdrawable balance | |
* @param _amount The given amount to compare to `withdrawableTokens` | |
*/ | |
modifier hasAvailableFunds(uint256 _amount) { | |
require(withdrawableTokens >= _amount.add(ONE_FOR_CONSISTENT_GAS_COST), "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 isValidRequest(bytes32 _requestId) { | |
require(commitments[_requestId] != 0, "Must have a valid requestId"); | |
_; | |
} | |
/** | |
* @dev Reverts if `msg.sender` is not authorized to fulfill requests | |
*/ | |
modifier onlyAuthorizedNode() { | |
require(authorizedNodes[msg.sender] || msg.sender == owner, "Not an authorized node to fulfill requests"); | |
_; | |
} | |
/** | |
* @dev Reverts if not sent from the LINK token | |
*/ | |
modifier onlyLINK() { | |
require(msg.sender == address(LinkToken), "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 _data) { | |
bytes4 funcSelector; | |
assembly { | |
// solium-disable-next-line security/no-low-level-calls | |
funcSelector := mload(add(_data, 32)) | |
} | |
require(funcSelector == this.oracleRequest.selector, "Must use whitelisted functions"); | |
_; | |
} | |
/** | |
* @dev Reverts if the callback address is the LINK token | |
* @param _to The callback address | |
*/ | |
modifier checkCallbackAddress(address _to) { | |
require(_to != address(LinkToken), "Cannot callback to LINK"); | |
_; | |
} | |
/** | |
* @dev Reverts if the given payload is less than needed to create a request | |
* @param _data The request payload | |
*/ | |
modifier validRequestLength(bytes _data) { | |
require(_data.length >= MINIMUM_REQUEST_LENGTH, "Invalid request length"); | |
_; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"accounts": { | |
"account{-1}": null, | |
"account{0}": "0xe4daae1dbaa642f8880302ff1a49110fd1ba8995" | |
}, | |
"linkReferences": {}, | |
"transactions": [ | |
{ | |
"timestamp": 1561945436594, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945450497, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945534858, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945557590, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945561330, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945592087, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561946197739, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561946567405, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x1264C334af06A54Dfa1DBBc8fBBaC4Db6B9EF71D", | |
true | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "setFulfillmentPermission", | |
"inputs": "(address,bool)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561947331503, | |
"record": { | |
"value": "0", | |
"parameters": [], | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"contractName": "ATestnetConsumer", | |
"bytecode": "6080604052600160045534801561001557600080fd5b5060068054600160a060020a0319163317905561003964010000000061003e810204565b61010a565b6100e673c89bd4e1632d3a43cb03aaad5262cbe4038bc571600160a060020a03166338cc48316040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050506040513d60208110156100d657600080fd5b50516401000000006100e8810204565b565b60028054600160a060020a031916600160a060020a0392909216919091179055565b61199b806200011a6000396000f3006080604052600436106100b65763ffffffff60e060020a600035041663165d35e181146100bb5780632183abd1146100ec57806349556aff14610113578063619cba1a14610130578063715018a6146101975780638da5cb5b146101ac5780638dc654a2146101c157806392cdaaf3146101d65780639d1b464a146101f1578063a46fbe1a14610206578063ab643c1014610221578063e9edbf0314610288578063f2fde38b1461029d578063f3bdf8ba146102be575b600080fd5b3480156100c757600080fd5b506100d0610325565b60408051600160a060020a039092168252519081900360200190f35b3480156100f857600080fd5b50610101610334565b60408051918252519081900360200190f35b34801561011f57600080fd5b5061012e60043560243561033a565b005b34801561013c57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a03169536956044949193909101919081908401838280828437509497506104549650505050505050565b3480156101a357600080fd5b5061012e610651565b3480156101b857600080fd5b506100d06106bf565b3480156101cd57600080fd5b5061012e6106ce565b3480156101e257600080fd5b5061012e60043560243561085c565b3480156101fd57600080fd5b50610101610976565b34801561021257600080fd5b5061012e60043560243561097c565b34801561022d57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a969650505050505050565b34801561029457600080fd5b50610101610c51565b3480156102a957600080fd5b5061012e600160a060020a0360043516610c57565b3480156102ca57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c779650505050505050565b600061032f610f73565b905090565b60085481565b6000828152600560205260409020548290600160a060020a031633146103d0576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f1a7783cfc5355cd0706abec2229662cda9cefcfc8aeb31fec8b391ba5eb67cbe90600090a35060095550565b61045c611922565b600654600160a060020a0316331461047357600080fd5b6104a661047f83610f82565b307fa46fbe1a00000000000000000000000000000000000000000000000000000000610fa6565b90506105746040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352601883527f5241572e4554482e5553442e4348414e47455043544441590000000000000000908301526105ee9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290633b9aca0063ffffffff61100016565b61064b8382670de0b6b3a764000061102a565b50505050565b600654600160a060020a0316331461066857600080fd5b600654604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26006805473ffffffffffffffffffffffffffffffffffffffff19169055565b600654600160a060020a031681565b600654600090600160a060020a031633146106e857600080fd5b6106f0610f73565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051919250600160a060020a0383169163a9059cbb91339184916370a082319160248083019260209291908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b505050506040513d602081101561080157600080fd5b50511515610859576040805160e560020a62461bcd02815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000828152600560205260409020548290600160a060020a031633146108f2576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f794eb9e29f6750ede99e05248d997a9ab9fa23c4a7eaff8afa729080eb7c642890600090a35060075550565b60075481565b6000828152600560205260409020548290600160a060020a03163314610a12576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f36f03c766dbeb725bf2a1e6cf2d934a02bf3cd9644b55767c8f41ef2d4af061290600090a35060085550565b610a9e611922565b600654600160a060020a03163314610ab557600080fd5b610ae8610ac183610f82565b307f92cdaaf300000000000000000000000000000000000000000000000000000000610fa6565b9050610b906040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250606060405190810160405280603f81526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963653f6673796d3d455448267473796d733d5553440081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600383527f555344000000000000000000000000000000000000000000000000000000000090830152610c0a9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290606463ffffffff61100016565b60095481565b600654600160a060020a03163314610c6e57600080fd5b610859816112c7565b610c7f611922565b600654606090600160a060020a03163314610c9957600080fd5b610ccc610ca584610f82565b307f49556aff00000000000000000000000000000000000000000000000000000000610fa6565b9150610d9a6040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525084610fd19092919063ffffffff16565b60408051600480825260a0820190925290816020015b6060815260200190600190039081610db05790505090506040805190810160405280600381526020017f5241570000000000000000000000000000000000000000000000000000000000815250816000815181101515610e0c57fe5b906020019060200201819052506040805190810160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250816001815181101515610e5e57fe5b906020019060200201819052506040805190810160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816002815181101515610eb057fe5b906020019060200201819052506040805190810160405280600a81526020017f4c4153544d41524b455400000000000000000000000000000000000000000000815250816003815181101515610f0257fe5b90602001906020020181905250610f596040805190810160405280600481526020017f706174680000000000000000000000000000000000000000000000000000000081525082846113459092919063ffffffff16565b610f6c8483670de0b6b3a764000061102a565b5050505050565b600254600160a060020a031690565b805160009082901515610f985760009150610fa0565b602083015191505b50919050565b610fae611922565b610fb6611922565b610fc88186868663ffffffff6113b816565b95945050505050565b6080830151610fe6908363ffffffff61140a16565b6080830151610ffb908263ffffffff61140a16565b505050565b6080830151611015908363ffffffff61140a16565b6080830151610ffb908263ffffffff61142716565b6000306004546040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106110a65780518252601f199092019160209182019101611087565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060045460608a015260008181526005909252838220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1617905592519295508594507fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af99350919050a2600254600160a060020a0316634000aea0858461115487611454565b6040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111c15781810151838201526020016111a9565b50505050905090810190601f1680156111ee5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b505050506040513d602081101561123957600080fd5b505115156112b7576040805160e560020a62461bcd02815260206004820152602360248201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160448201527f636c650000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004805460010190559392505050565b600160a060020a03811615156112dc57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b608083015160009061135d908463ffffffff61140a16565b61136a84608001516115d5565b5060005b81518110156113ab576113a3828281518110151561138857fe5b6020908102909101015160808601519063ffffffff61140a16565b60010161136e565b61064b84608001516115e0565b6113c0611922565b6113d085608001516101006115eb565b5050918352600160a060020a031660208301527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916604082015290565b611417826003835161162b565b610ffb828263ffffffff61172816565b600081126114405761143b8260008361162b565b611450565b611450826001836000190361162b565b5050565b8051602080830151604080850151606086810151608088015151935160006024820181815260448301829052606483018a9052600160a060020a03881660848401527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19861660a484015260c48301849052600160e48401819052610100610104850190815288516101248601528851969b7f40429946000000000000000000000000000000000000000000000000000000009b949a8b9a91999098909796939591949361014401918501908083838e5b83811015611539578181015183820152602001611521565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909d169c909c17909b5250989950505050505050505050919050565b610859816004611749565b610859816007611749565b6115f3611957565b60208206156116085760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b6017811161164d576116478360ff848116602002168317611762565b50610ffb565b60ff81116116815761166e836018602060ff8616021763ffffffff61176216565b506116478382600163ffffffff61177a16565b61ffff81116116b6576116a3836019602060ff8616021763ffffffff61176216565b506116478382600263ffffffff61177a16565b63ffffffff81116116ed576116da83601a602060ff8616021763ffffffff61176216565b506116478382600463ffffffff61177a16565b67ffffffffffffffff8111610ffb5761171583601b602060ff8616021763ffffffff61176216565b5061064b8382600863ffffffff61177a16565b611730611957565b6117428384600001515184855161179b565b9392505050565b610ffb82601f602060ff8516021763ffffffff61176216565b61176a611957565b6117428384600001515184611851565b611782611957565b61179384856000015151858561189c565b949350505050565b6117a3611957565b6000806000855185111515156117b857600080fd5b876020015185880111156117e2576117e2886117da8a602001518a89016118fa565b60020261190b565b8751805188602083010194508089880111156117fe5788870182525b60208801935050505b602085106118295781518352601f199094019360209283019290910190611807565b505181516020949094036101000a600019018019909116931692909217909152509192915050565b611859611957565b602084015183106118755761187584856020015160020261190b565b8351805160208583010184815381861415611891576001820183525b509495945050505050565b6118a4611957565b6000856020015185840111156118c3576118c38686850160020261190b565b6001836101000a03905085518386820101858319825116178152815185880111156118ee5784870182525b50959695505050505050565b600081831115610fa0575081611625565b815161191783836115eb565b5061064b8382611728565b6040805160c081018252600080825260208201819052918101829052606081019190915260808101611952611957565b905290565b604080518082019091526060815260006020820152905600a165627a7a723058208899e1db9f00228e9793955c589d88f9946601d9eeb977b279394880a2897da70029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "()", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561953541255, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561954150526, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955391812, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumChange", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955765136, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955788633, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1fc4d3d8be1142f1aa67be2d775953c9" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumChange", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955799760, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"2d929de84784483d8a006f349ef93c20" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumLastMarket", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955810295, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562019824494, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562019947062, | |
"record": { | |
"value": "0", | |
"parameters": [], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "withdrawLink", | |
"inputs": "()", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562020006269, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562020061921, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562021944984, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022378487, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022388131, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022569375, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022975490, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023017959, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023117825, | |
"record": { | |
"value": "1", | |
"parameters": [], | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"contractName": "ATestnetConsumer", | |
"bytecode": "6080604052600160045534801561001557600080fd5b5060068054600160a060020a0319163317905561003964010000000061003e810204565b61010a565b6100e673c89bd4e1632d3a43cb03aaad5262cbe4038bc571600160a060020a03166338cc48316040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050506040513d60208110156100d657600080fd5b50516401000000006100e8810204565b565b60028054600160a060020a031916600160a060020a0392909216919091179055565b61199b806200011a6000396000f3006080604052600436106100b65763ffffffff60e060020a600035041663165d35e181146100bb5780632183abd1146100ec57806349556aff14610113578063619cba1a14610130578063715018a6146101975780638da5cb5b146101ac5780638dc654a2146101c157806392cdaaf3146101d65780639d1b464a146101f1578063a46fbe1a14610206578063ab643c1014610221578063e9edbf0314610288578063f2fde38b1461029d578063f3bdf8ba146102be575b600080fd5b3480156100c757600080fd5b506100d0610325565b60408051600160a060020a039092168252519081900360200190f35b3480156100f857600080fd5b50610101610334565b60408051918252519081900360200190f35b34801561011f57600080fd5b5061012e60043560243561033a565b005b34801561013c57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a03169536956044949193909101919081908401838280828437509497506104549650505050505050565b3480156101a357600080fd5b5061012e610651565b3480156101b857600080fd5b506100d06106bf565b3480156101cd57600080fd5b5061012e6106ce565b3480156101e257600080fd5b5061012e60043560243561085c565b3480156101fd57600080fd5b50610101610976565b34801561021257600080fd5b5061012e60043560243561097c565b34801561022d57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a969650505050505050565b34801561029457600080fd5b50610101610c51565b3480156102a957600080fd5b5061012e600160a060020a0360043516610c57565b3480156102ca57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c779650505050505050565b600061032f610f73565b905090565b60085481565b6000828152600560205260409020548290600160a060020a031633146103d0576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f1a7783cfc5355cd0706abec2229662cda9cefcfc8aeb31fec8b391ba5eb67cbe90600090a35060095550565b61045c611922565b600654600160a060020a0316331461047357600080fd5b6104a661047f83610f82565b307fa46fbe1a00000000000000000000000000000000000000000000000000000000610fa6565b90506105746040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352601883527f5241572e4554482e5553442e4348414e47455043544441590000000000000000908301526105ee9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290633b9aca0063ffffffff61100016565b61064b8382670de0b6b3a764000061102a565b50505050565b600654600160a060020a0316331461066857600080fd5b600654604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26006805473ffffffffffffffffffffffffffffffffffffffff19169055565b600654600160a060020a031681565b600654600090600160a060020a031633146106e857600080fd5b6106f0610f73565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051919250600160a060020a0383169163a9059cbb91339184916370a082319160248083019260209291908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b505050506040513d602081101561080157600080fd5b50511515610859576040805160e560020a62461bcd02815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000828152600560205260409020548290600160a060020a031633146108f2576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f794eb9e29f6750ede99e05248d997a9ab9fa23c4a7eaff8afa729080eb7c642890600090a35060075550565b60075481565b6000828152600560205260409020548290600160a060020a03163314610a12576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f36f03c766dbeb725bf2a1e6cf2d934a02bf3cd9644b55767c8f41ef2d4af061290600090a35060085550565b610a9e611922565b600654600160a060020a03163314610ab557600080fd5b610ae8610ac183610f82565b307f92cdaaf300000000000000000000000000000000000000000000000000000000610fa6565b9050610b906040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250606060405190810160405280603f81526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963653f6673796d3d455448267473796d733d5553440081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600383527f555344000000000000000000000000000000000000000000000000000000000090830152610c0a9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290606463ffffffff61100016565b60095481565b600654600160a060020a03163314610c6e57600080fd5b610859816112c7565b610c7f611922565b600654606090600160a060020a03163314610c9957600080fd5b610ccc610ca584610f82565b307f49556aff00000000000000000000000000000000000000000000000000000000610fa6565b9150610d9a6040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525084610fd19092919063ffffffff16565b60408051600480825260a0820190925290816020015b6060815260200190600190039081610db05790505090506040805190810160405280600381526020017f5241570000000000000000000000000000000000000000000000000000000000815250816000815181101515610e0c57fe5b906020019060200201819052506040805190810160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250816001815181101515610e5e57fe5b906020019060200201819052506040805190810160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816002815181101515610eb057fe5b906020019060200201819052506040805190810160405280600a81526020017f4c4153544d41524b455400000000000000000000000000000000000000000000815250816003815181101515610f0257fe5b90602001906020020181905250610f596040805190810160405280600481526020017f706174680000000000000000000000000000000000000000000000000000000081525082846113459092919063ffffffff16565b610f6c8483670de0b6b3a764000061102a565b5050505050565b600254600160a060020a031690565b805160009082901515610f985760009150610fa0565b602083015191505b50919050565b610fae611922565b610fb6611922565b610fc88186868663ffffffff6113b816565b95945050505050565b6080830151610fe6908363ffffffff61140a16565b6080830151610ffb908263ffffffff61140a16565b505050565b6080830151611015908363ffffffff61140a16565b6080830151610ffb908263ffffffff61142716565b6000306004546040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106110a65780518252601f199092019160209182019101611087565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060045460608a015260008181526005909252838220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1617905592519295508594507fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af99350919050a2600254600160a060020a0316634000aea0858461115487611454565b6040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111c15781810151838201526020016111a9565b50505050905090810190601f1680156111ee5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b505050506040513d602081101561123957600080fd5b505115156112b7576040805160e560020a62461bcd02815260206004820152602360248201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160448201527f636c650000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004805460010190559392505050565b600160a060020a03811615156112dc57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b608083015160009061135d908463ffffffff61140a16565b61136a84608001516115d5565b5060005b81518110156113ab576113a3828281518110151561138857fe5b6020908102909101015160808601519063ffffffff61140a16565b60010161136e565b61064b84608001516115e0565b6113c0611922565b6113d085608001516101006115eb565b5050918352600160a060020a031660208301527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916604082015290565b611417826003835161162b565b610ffb828263ffffffff61172816565b600081126114405761143b8260008361162b565b611450565b611450826001836000190361162b565b5050565b8051602080830151604080850151606086810151608088015151935160006024820181815260448301829052606483018a9052600160a060020a03881660848401527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19861660a484015260c48301849052600160e48401819052610100610104850190815288516101248601528851969b7f40429946000000000000000000000000000000000000000000000000000000009b949a8b9a91999098909796939591949361014401918501908083838e5b83811015611539578181015183820152602001611521565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909d169c909c17909b5250989950505050505050505050919050565b610859816004611749565b610859816007611749565b6115f3611957565b60208206156116085760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b6017811161164d576116478360ff848116602002168317611762565b50610ffb565b60ff81116116815761166e836018602060ff8616021763ffffffff61176216565b506116478382600163ffffffff61177a16565b61ffff81116116b6576116a3836019602060ff8616021763ffffffff61176216565b506116478382600263ffffffff61177a16565b63ffffffff81116116ed576116da83601a602060ff8616021763ffffffff61176216565b506116478382600463ffffffff61177a16565b67ffffffffffffffff8111610ffb5761171583601b602060ff8616021763ffffffff61176216565b5061064b8382600863ffffffff61177a16565b611730611957565b6117428384600001515184855161179b565b9392505050565b610ffb82601f602060ff8516021763ffffffff61176216565b61176a611957565b6117428384600001515184611851565b611782611957565b61179384856000015151858561189c565b949350505050565b6117a3611957565b6000806000855185111515156117b857600080fd5b876020015185880111156117e2576117e2886117da8a602001518a89016118fa565b60020261190b565b8751805188602083010194508089880111156117fe5788870182525b60208801935050505b602085106118295781518352601f199094019360209283019290910190611807565b505181516020949094036101000a600019018019909116931692909217909152509192915050565b611859611957565b602084015183106118755761187584856020015160020261190b565b8351805160208583010184815381861415611891576001820183525b509495945050505050565b6118a4611957565b6000856020015185840111156118c3576118c38686850160020261190b565b6001836101000a03905085518386820101858319825116178152815185880111156118ee5784870182525b50959695505050505050565b600081831115610fa0575081611625565b815161191783836115eb565b5061064b8382611728565b6040805160c081018252600080825260208201819052918101829052606081019190915260808101611952611957565b905290565b604080518082019091526060815260006020820152905600a165627a7a723058208899e1db9f00228e9793955c589d88f9946601d9eeb977b279394880a2897da70029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "()", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023180218, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x1264C334af06A54Dfa1DBBc8fBBaC4Db6B9EF71D", | |
true | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "setFulfillmentPermission", | |
"inputs": "(address,bool)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023506616, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023528498, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562025462587, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
} | |
], | |
"abis": { | |
"0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_callbackFunc", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_expiration", | |
"type": "uint256" | |
} | |
], | |
"name": "cancelOracleRequest", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_callbackAddress", | |
"type": "address" | |
}, | |
{ | |
"name": "_callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_expiration", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes32" | |
} | |
], | |
"name": "fulfillOracleRequest", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_sender", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes" | |
} | |
], | |
"name": "onTokenTransfer", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_sender", | |
"type": "address" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_specId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_callbackAddress", | |
"type": "address" | |
}, | |
{ | |
"name": "_callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_nonce", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_dataVersion", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes" | |
} | |
], | |
"name": "oracleRequest", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_node", | |
"type": "address" | |
}, | |
{ | |
"name": "_allowed", | |
"type": "bool" | |
} | |
], | |
"name": "setFulfillmentPermission", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_recipient", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "withdraw", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_link", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "specId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"name": "requester", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"name": "payment", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "callbackAddr", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"indexed": false, | |
"name": "cancelExpiration", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "dataVersion", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "OracleRequest", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
} | |
], | |
"name": "CancelOracleRequest", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "EXPIRY_TIME", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_node", | |
"type": "address" | |
} | |
], | |
"name": "getAuthorizationStatus", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "withdrawable", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_change", | |
"type": "int256" | |
} | |
], | |
"name": "fulfillEthereumChange", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_market", | |
"type": "bytes32" | |
} | |
], | |
"name": "fulfillEthereumLastMarket", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_price", | |
"type": "uint256" | |
} | |
], | |
"name": "fulfillEthereumPrice", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumChange", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumLastMarket", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumPrice", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "withdrawLink", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "price", | |
"type": "uint256" | |
} | |
], | |
"name": "RequestEthereumPriceFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "change", | |
"type": "int256" | |
} | |
], | |
"name": "RequestEthereumChangeFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "market", | |
"type": "bytes32" | |
} | |
], | |
"name": "RequestEthereumLastMarket", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkRequested", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkCancelled", | |
"type": "event" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "changeDay", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "int256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "currentPrice", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getChainlinkToken", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "lastMarket", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"accounts": { | |
"account{-1}": null, | |
"account{0}": "0xe4daae1dbaa642f8880302ff1a49110fd1ba8995" | |
}, | |
"linkReferences": {}, | |
"transactions": [ | |
{ | |
"timestamp": 1561945436594, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945450497, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945534858, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945557590, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945561330, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{-1}" | |
} | |
}, | |
{ | |
"timestamp": 1561945592087, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561946197739, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x514910771AF9Ca656af840dff83E8264EcF986CA" | |
], | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"contractName": "Oracle", | |
"bytecode": "6080604052600160045534801561001557600080fd5b50604051602080611215833981016040525160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556111b1806100646000396000f3006080604052600436106100b95763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634042994681146100be5780634ab0d190146101115780634b6022821461015f57806350188301146101865780636ee4d5531461019b578063715018a6146101c65780637fcd56db146101db5780638da5cb5b14610201578063a4c0ed3614610232578063d3e9c3141461029b578063f2fde38b146102bc578063f3fef3a3146102dd575b600080fd5b3480156100ca57600080fd5b5061010f600160a060020a03600480358216916024803592604435926064351691600160e060020a0319608435169160a4359160c4359160e435918201910135610301565b005b34801561011d57600080fd5b5061014b600435602435600160a060020a0360443516600160e060020a03196064351660843560a4356106c5565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746109d8565b60408051918252519081900360200190f35b34801561019257600080fd5b506101746109de565b3480156101a757600080fd5b5061010f600435602435600160e060020a031960443516606435610a0f565b3480156101d257600080fd5b5061010f610c55565b3480156101e757600080fd5b5061010f600160a060020a03600435166024351515610cc1565b34801561020d57600080fd5b50610216610d03565b60408051600160a060020a039092168252519081900360200190f35b34801561023e57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261010f948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610d129650505050505050565b3480156102a757600080fd5b5061014b600160a060020a0360043516610f37565b3480156102c857600080fd5b5061010f600160a060020a0360043516610f55565b3480156102e957600080fd5b5061010f600160a060020a0360043516602435610f78565b6001546000908190600160a060020a03163314610368576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b6001548890600160a060020a03808316911614156103d0576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f742063616c6c6261636b20746f204c494e4b000000000000000000604482015290519081900360640190fd5b8b876040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106104485780518252601f199092019160209182019101610429565b51815160209384036101000a600019018019909216911617905260408051929094018290039091206000818152600290925292902054919650501591506104db9050576040805160e560020a62461bcd02815260206004820152601460248201527f4d75737420757365206120756e69717565204944000000000000000000000000604482015290519081900360640190fd5b6104ed4261012c63ffffffff6110e316565b6040805160208082018f90526c01000000000000000000000000600160a060020a038e160282840152600160e060020a03198c1660548301526058808301859052835180840390910181526078909201928390528151939550909282918401908083835b602083106105705780518252601f199092019160209182019101610551565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600260008560001916600019168152602001908152602001600020816000191690555089600019167fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d858e8d8d888d8d8d604051808a600160a060020a0316600160a060020a03168152602001896000191660001916815260200188815260200187600160a060020a0316600160a060020a03168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200185815260200184815260200180602001828103825284848281815260200192508082843760405192018290039c50909a5050505050505050505050a2505050505050505050505050565b33600090815260036020526040812054819060ff16806106ef5750600054600160a060020a031633145b151561076b576040805160e560020a62461bcd02815260206004820152602a60248201527f4e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c60448201527f6c20726571756573747300000000000000000000000000000000000000000000606482015290519081900360840190fd5b600088815260026020526040902054889015156107d2576040805160e560020a62461bcd02815260206004820152601b60248201527f4d757374206861766520612076616c6964207265717565737449640000000000604482015290519081900360640190fd5b6040805160208082018b90526c01000000000000000000000000600160a060020a038b160282840152600160e060020a031989166054830152605880830189905283518084039091018152607890920192839052815191929182918401908083835b602083106108535780518252601f199092019160209182019101610834565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008f815260029092529290205491955050841491506108e79050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b6004546108fa908963ffffffff6110e316565b60045560008981526002602052604081205562061a805a1015610967576040805160e560020a62461bcd02815260206004820181905260248201527f4d7573742070726f7669646520636f6e73756d657220656e6f75676820676173604482015290519081900360640190fd5b6040805163ffffffff7c0100000000000000000000000000000000000000000000000000000000808a04918216028252600482018c9052602482018790529151600160a060020a038a169291604480820192600092909190829003018183875af19c9b505050505050505050505050565b61012c81565b60008054600160a060020a031633146109f657600080fd5b600454610a0a90600163ffffffff6110f616565b905090565b6040805160208082018690526c01000000000000000000000000330282840152600160e060020a0319851660548301526058808301859052835180840390910181526078909201928390528151600093918291908401908083835b60208310610a895780518252601f199092019160209182019101610a6a565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008b81526002909252929020549194505083149150610b1d9050576040805160e560020a62461bcd02815260206004820152601e60248201527f506172616d7320646f206e6f74206d6174636820726571756573742049440000604482015290519081900360640190fd5b42821115610b75576040805160e560020a62461bcd02815260206004820152601660248201527f52657175657374206973206e6f74206578706972656400000000000000000000604482015290519081900360640190fd5b6000858152600260205260408082208290555186917fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9391a2600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610c1a57600080fd5b505af1158015610c2e573d6000803e3d6000fd5b505050506040513d6020811015610c4457600080fd5b50511515610c4e57fe5b5050505050565b600054600160a060020a03163314610c6c57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610cd857600080fd5b600160a060020a03919091166000908152600360205260409020805460ff1916911515919091179055565b600054600160a060020a031681565b600154600160a060020a03163314610d74576040805160e560020a62461bcd02815260206004820152601360248201527f4d75737420757365204c494e4b20746f6b656e00000000000000000000000000604482015290519081900360640190fd5b8051819060441115610dd0576040805160e560020a62461bcd02815260206004820152601660248201527f496e76616c69642072657175657374206c656e67746800000000000000000000604482015290519081900360640190fd5b60208201518290600160e060020a031981167f404299460000000000000000000000000000000000000000000000000000000014610e58576040805160e560020a62461bcd02815260206004820152601e60248201527f4d757374207573652077686974656c69737465642066756e6374696f6e730000604482015290519081900360640190fd5b85602485015284604485015230600160a060020a03168460405180828051906020019080838360005b83811015610e99578181015183820152602001610e81565b50505050905090810190601f168015610ec65780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af49150501515610f2f576040805160e560020a62461bcd02815260206004820152601860248201527f556e61626c6520746f2063726561746520726571756573740000000000000000604482015290519081900360640190fd5b505050505050565b600160a060020a031660009081526003602052604090205460ff1690565b600054600160a060020a03163314610f6c57600080fd5b610f7581611108565b50565b600054600160a060020a03163314610f8f57600080fd5b80610fa181600163ffffffff6110e316565b6004541015611020576040805160e560020a62461bcd02815260206004820152603560248201527f416d6f756e74207265717565737465642069732067726561746572207468616e60448201527f20776974686472617761626c652062616c616e63650000000000000000000000606482015290519081900360840190fd5b600454611033908363ffffffff6110f616565b6004908155600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156110aa57600080fd5b505af11580156110be573d6000803e3d6000fd5b505050506040513d60208110156110d457600080fd5b505115156110de57fe5b505050565b818101828110156110f057fe5b92915050565b60008282111561110257fe5b50900390565b600160a060020a038116151561111d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820de85aa2d52ebd8a3e754069f270f71c5b34f6dcb7ca141dd749d6c5f7049275d0029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "(address)", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561946567405, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x1264C334af06A54Dfa1DBBc8fBBaC4Db6B9EF71D", | |
true | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "setFulfillmentPermission", | |
"inputs": "(address,bool)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561947331503, | |
"record": { | |
"value": "0", | |
"parameters": [], | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"contractName": "ATestnetConsumer", | |
"bytecode": "6080604052600160045534801561001557600080fd5b5060068054600160a060020a0319163317905561003964010000000061003e810204565b61010a565b6100e673c89bd4e1632d3a43cb03aaad5262cbe4038bc571600160a060020a03166338cc48316040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050506040513d60208110156100d657600080fd5b50516401000000006100e8810204565b565b60028054600160a060020a031916600160a060020a0392909216919091179055565b61199b806200011a6000396000f3006080604052600436106100b65763ffffffff60e060020a600035041663165d35e181146100bb5780632183abd1146100ec57806349556aff14610113578063619cba1a14610130578063715018a6146101975780638da5cb5b146101ac5780638dc654a2146101c157806392cdaaf3146101d65780639d1b464a146101f1578063a46fbe1a14610206578063ab643c1014610221578063e9edbf0314610288578063f2fde38b1461029d578063f3bdf8ba146102be575b600080fd5b3480156100c757600080fd5b506100d0610325565b60408051600160a060020a039092168252519081900360200190f35b3480156100f857600080fd5b50610101610334565b60408051918252519081900360200190f35b34801561011f57600080fd5b5061012e60043560243561033a565b005b34801561013c57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a03169536956044949193909101919081908401838280828437509497506104549650505050505050565b3480156101a357600080fd5b5061012e610651565b3480156101b857600080fd5b506100d06106bf565b3480156101cd57600080fd5b5061012e6106ce565b3480156101e257600080fd5b5061012e60043560243561085c565b3480156101fd57600080fd5b50610101610976565b34801561021257600080fd5b5061012e60043560243561097c565b34801561022d57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a969650505050505050565b34801561029457600080fd5b50610101610c51565b3480156102a957600080fd5b5061012e600160a060020a0360043516610c57565b3480156102ca57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c779650505050505050565b600061032f610f73565b905090565b60085481565b6000828152600560205260409020548290600160a060020a031633146103d0576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f1a7783cfc5355cd0706abec2229662cda9cefcfc8aeb31fec8b391ba5eb67cbe90600090a35060095550565b61045c611922565b600654600160a060020a0316331461047357600080fd5b6104a661047f83610f82565b307fa46fbe1a00000000000000000000000000000000000000000000000000000000610fa6565b90506105746040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352601883527f5241572e4554482e5553442e4348414e47455043544441590000000000000000908301526105ee9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290633b9aca0063ffffffff61100016565b61064b8382670de0b6b3a764000061102a565b50505050565b600654600160a060020a0316331461066857600080fd5b600654604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26006805473ffffffffffffffffffffffffffffffffffffffff19169055565b600654600160a060020a031681565b600654600090600160a060020a031633146106e857600080fd5b6106f0610f73565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051919250600160a060020a0383169163a9059cbb91339184916370a082319160248083019260209291908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b505050506040513d602081101561080157600080fd5b50511515610859576040805160e560020a62461bcd02815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000828152600560205260409020548290600160a060020a031633146108f2576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f794eb9e29f6750ede99e05248d997a9ab9fa23c4a7eaff8afa729080eb7c642890600090a35060075550565b60075481565b6000828152600560205260409020548290600160a060020a03163314610a12576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f36f03c766dbeb725bf2a1e6cf2d934a02bf3cd9644b55767c8f41ef2d4af061290600090a35060085550565b610a9e611922565b600654600160a060020a03163314610ab557600080fd5b610ae8610ac183610f82565b307f92cdaaf300000000000000000000000000000000000000000000000000000000610fa6565b9050610b906040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250606060405190810160405280603f81526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963653f6673796d3d455448267473796d733d5553440081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600383527f555344000000000000000000000000000000000000000000000000000000000090830152610c0a9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290606463ffffffff61100016565b60095481565b600654600160a060020a03163314610c6e57600080fd5b610859816112c7565b610c7f611922565b600654606090600160a060020a03163314610c9957600080fd5b610ccc610ca584610f82565b307f49556aff00000000000000000000000000000000000000000000000000000000610fa6565b9150610d9a6040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525084610fd19092919063ffffffff16565b60408051600480825260a0820190925290816020015b6060815260200190600190039081610db05790505090506040805190810160405280600381526020017f5241570000000000000000000000000000000000000000000000000000000000815250816000815181101515610e0c57fe5b906020019060200201819052506040805190810160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250816001815181101515610e5e57fe5b906020019060200201819052506040805190810160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816002815181101515610eb057fe5b906020019060200201819052506040805190810160405280600a81526020017f4c4153544d41524b455400000000000000000000000000000000000000000000815250816003815181101515610f0257fe5b90602001906020020181905250610f596040805190810160405280600481526020017f706174680000000000000000000000000000000000000000000000000000000081525082846113459092919063ffffffff16565b610f6c8483670de0b6b3a764000061102a565b5050505050565b600254600160a060020a031690565b805160009082901515610f985760009150610fa0565b602083015191505b50919050565b610fae611922565b610fb6611922565b610fc88186868663ffffffff6113b816565b95945050505050565b6080830151610fe6908363ffffffff61140a16565b6080830151610ffb908263ffffffff61140a16565b505050565b6080830151611015908363ffffffff61140a16565b6080830151610ffb908263ffffffff61142716565b6000306004546040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106110a65780518252601f199092019160209182019101611087565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060045460608a015260008181526005909252838220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1617905592519295508594507fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af99350919050a2600254600160a060020a0316634000aea0858461115487611454565b6040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111c15781810151838201526020016111a9565b50505050905090810190601f1680156111ee5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b505050506040513d602081101561123957600080fd5b505115156112b7576040805160e560020a62461bcd02815260206004820152602360248201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160448201527f636c650000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004805460010190559392505050565b600160a060020a03811615156112dc57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b608083015160009061135d908463ffffffff61140a16565b61136a84608001516115d5565b5060005b81518110156113ab576113a3828281518110151561138857fe5b6020908102909101015160808601519063ffffffff61140a16565b60010161136e565b61064b84608001516115e0565b6113c0611922565b6113d085608001516101006115eb565b5050918352600160a060020a031660208301527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916604082015290565b611417826003835161162b565b610ffb828263ffffffff61172816565b600081126114405761143b8260008361162b565b611450565b611450826001836000190361162b565b5050565b8051602080830151604080850151606086810151608088015151935160006024820181815260448301829052606483018a9052600160a060020a03881660848401527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19861660a484015260c48301849052600160e48401819052610100610104850190815288516101248601528851969b7f40429946000000000000000000000000000000000000000000000000000000009b949a8b9a91999098909796939591949361014401918501908083838e5b83811015611539578181015183820152602001611521565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909d169c909c17909b5250989950505050505050505050919050565b610859816004611749565b610859816007611749565b6115f3611957565b60208206156116085760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b6017811161164d576116478360ff848116602002168317611762565b50610ffb565b60ff81116116815761166e836018602060ff8616021763ffffffff61176216565b506116478382600163ffffffff61177a16565b61ffff81116116b6576116a3836019602060ff8616021763ffffffff61176216565b506116478382600263ffffffff61177a16565b63ffffffff81116116ed576116da83601a602060ff8616021763ffffffff61176216565b506116478382600463ffffffff61177a16565b67ffffffffffffffff8111610ffb5761171583601b602060ff8616021763ffffffff61176216565b5061064b8382600863ffffffff61177a16565b611730611957565b6117428384600001515184855161179b565b9392505050565b610ffb82601f602060ff8516021763ffffffff61176216565b61176a611957565b6117428384600001515184611851565b611782611957565b61179384856000015151858561189c565b949350505050565b6117a3611957565b6000806000855185111515156117b857600080fd5b876020015185880111156117e2576117e2886117da8a602001518a89016118fa565b60020261190b565b8751805188602083010194508089880111156117fe5788870182525b60208801935050505b602085106118295781518352601f199094019360209283019290910190611807565b505181516020949094036101000a600019018019909116931692909217909152509192915050565b611859611957565b602084015183106118755761187584856020015160020261190b565b8351805160208583010184815381861415611891576001820183525b509495945050505050565b6118a4611957565b6000856020015185840111156118c3576118c38686850160020261190b565b6001836101000a03905085518386820101858319825116178152815185880111156118ee5784870182525b50959695505050505050565b600081831115610fa0575081611625565b815161191783836115eb565b5061064b8382611728565b6040805160c081018252600080825260208201819052918101829052606081019190915260808101611952611957565b905290565b604080518082019091526060815260006020820152905600a165627a7a723058208899e1db9f00228e9793955c589d88f9946601d9eeb977b279394880a2897da70029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "()", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561953541255, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561954150526, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955391812, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumChange", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955765136, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955788633, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1fc4d3d8be1142f1aa67be2d775953c9" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumChange", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955799760, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"2d929de84784483d8a006f349ef93c20" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumLastMarket", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1561955810295, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562019824494, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562019947062, | |
"record": { | |
"value": "0", | |
"parameters": [], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "withdrawLink", | |
"inputs": "()", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562020006269, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562020061921, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562021944984, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022378487, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022388131, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022569375, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562022975490, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023017959, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023117825, | |
"record": { | |
"value": "1", | |
"parameters": [], | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"contractName": "ATestnetConsumer", | |
"bytecode": "6080604052600160045534801561001557600080fd5b5060068054600160a060020a0319163317905561003964010000000061003e810204565b61010a565b6100e673c89bd4e1632d3a43cb03aaad5262cbe4038bc571600160a060020a03166338cc48316040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050506040513d60208110156100d657600080fd5b50516401000000006100e8810204565b565b60028054600160a060020a031916600160a060020a0392909216919091179055565b61199b806200011a6000396000f3006080604052600436106100b65763ffffffff60e060020a600035041663165d35e181146100bb5780632183abd1146100ec57806349556aff14610113578063619cba1a14610130578063715018a6146101975780638da5cb5b146101ac5780638dc654a2146101c157806392cdaaf3146101d65780639d1b464a146101f1578063a46fbe1a14610206578063ab643c1014610221578063e9edbf0314610288578063f2fde38b1461029d578063f3bdf8ba146102be575b600080fd5b3480156100c757600080fd5b506100d0610325565b60408051600160a060020a039092168252519081900360200190f35b3480156100f857600080fd5b50610101610334565b60408051918252519081900360200190f35b34801561011f57600080fd5b5061012e60043560243561033a565b005b34801561013c57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a03169536956044949193909101919081908401838280828437509497506104549650505050505050565b3480156101a357600080fd5b5061012e610651565b3480156101b857600080fd5b506100d06106bf565b3480156101cd57600080fd5b5061012e6106ce565b3480156101e257600080fd5b5061012e60043560243561085c565b3480156101fd57600080fd5b50610101610976565b34801561021257600080fd5b5061012e60043560243561097c565b34801561022d57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a969650505050505050565b34801561029457600080fd5b50610101610c51565b3480156102a957600080fd5b5061012e600160a060020a0360043516610c57565b3480156102ca57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012e958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c779650505050505050565b600061032f610f73565b905090565b60085481565b6000828152600560205260409020548290600160a060020a031633146103d0576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f1a7783cfc5355cd0706abec2229662cda9cefcfc8aeb31fec8b391ba5eb67cbe90600090a35060095550565b61045c611922565b600654600160a060020a0316331461047357600080fd5b6104a661047f83610f82565b307fa46fbe1a00000000000000000000000000000000000000000000000000000000610fa6565b90506105746040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352601883527f5241572e4554482e5553442e4348414e47455043544441590000000000000000908301526105ee9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290633b9aca0063ffffffff61100016565b61064b8382670de0b6b3a764000061102a565b50505050565b600654600160a060020a0316331461066857600080fd5b600654604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26006805473ffffffffffffffffffffffffffffffffffffffff19169055565b600654600160a060020a031681565b600654600090600160a060020a031633146106e857600080fd5b6106f0610f73565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051919250600160a060020a0383169163a9059cbb91339184916370a082319160248083019260209291908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b505050506040513d602081101561080157600080fd5b50511515610859576040805160e560020a62461bcd02815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000828152600560205260409020548290600160a060020a031633146108f2576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f794eb9e29f6750ede99e05248d997a9ab9fa23c4a7eaff8afa729080eb7c642890600090a35060075550565b60075481565b6000828152600560205260409020548290600160a060020a03163314610a12576040805160e560020a62461bcd02815260206004820152602860248201527f536f75726365206d75737420626520746865206f7261636c65206f662074686560448201527f2072657175657374000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2604051829084907f36f03c766dbeb725bf2a1e6cf2d934a02bf3cd9644b55767c8f41ef2d4af061290600090a35060085550565b610a9e611922565b600654600160a060020a03163314610ab557600080fd5b610ae8610ac183610f82565b307f92cdaaf300000000000000000000000000000000000000000000000000000000610fa6565b9050610b906040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250606060405190810160405280603f81526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963653f6673796d3d455448267473796d733d5553440081525083610fd19092919063ffffffff16565b604080518082018252600481527f70617468000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600383527f555344000000000000000000000000000000000000000000000000000000000090830152610c0a9183919063ffffffff610fd116565b60408051808201909152600581527f74696d65730000000000000000000000000000000000000000000000000000006020820152610638908290606463ffffffff61100016565b60095481565b600654600160a060020a03163314610c6e57600080fd5b610859816112c7565b610c7f611922565b600654606090600160a060020a03163314610c9957600080fd5b610ccc610ca584610f82565b307f49556aff00000000000000000000000000000000000000000000000000000000610fa6565b9150610d9a6040805190810160405280600381526020017f6765740000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604981526020017f68747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f81526020017f6d2f646174612f70726963656d756c746966756c6c3f6673796d733d4554482681526020017f7473796d733d555344000000000000000000000000000000000000000000000081525084610fd19092919063ffffffff16565b60408051600480825260a0820190925290816020015b6060815260200190600190039081610db05790505090506040805190810160405280600381526020017f5241570000000000000000000000000000000000000000000000000000000000815250816000815181101515610e0c57fe5b906020019060200201819052506040805190810160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250816001815181101515610e5e57fe5b906020019060200201819052506040805190810160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816002815181101515610eb057fe5b906020019060200201819052506040805190810160405280600a81526020017f4c4153544d41524b455400000000000000000000000000000000000000000000815250816003815181101515610f0257fe5b90602001906020020181905250610f596040805190810160405280600481526020017f706174680000000000000000000000000000000000000000000000000000000081525082846113459092919063ffffffff16565b610f6c8483670de0b6b3a764000061102a565b5050505050565b600254600160a060020a031690565b805160009082901515610f985760009150610fa0565b602083015191505b50919050565b610fae611922565b610fb6611922565b610fc88186868663ffffffff6113b816565b95945050505050565b6080830151610fe6908363ffffffff61140a16565b6080830151610ffb908263ffffffff61140a16565b505050565b6080830151611015908363ffffffff61140a16565b6080830151610ffb908263ffffffff61142716565b6000306004546040516020018083600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106110a65780518252601f199092019160209182019101611087565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060045460608a015260008181526005909252838220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1617905592519295508594507fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af99350919050a2600254600160a060020a0316634000aea0858461115487611454565b6040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111c15781810151838201526020016111a9565b50505050905090810190601f1680156111ee5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b505050506040513d602081101561123957600080fd5b505115156112b7576040805160e560020a62461bcd02815260206004820152602360248201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160448201527f636c650000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004805460010190559392505050565b600160a060020a03811615156112dc57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b608083015160009061135d908463ffffffff61140a16565b61136a84608001516115d5565b5060005b81518110156113ab576113a3828281518110151561138857fe5b6020908102909101015160808601519063ffffffff61140a16565b60010161136e565b61064b84608001516115e0565b6113c0611922565b6113d085608001516101006115eb565b5050918352600160a060020a031660208301527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916604082015290565b611417826003835161162b565b610ffb828263ffffffff61172816565b600081126114405761143b8260008361162b565b611450565b611450826001836000190361162b565b5050565b8051602080830151604080850151606086810151608088015151935160006024820181815260448301829052606483018a9052600160a060020a03881660848401527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19861660a484015260c48301849052600160e48401819052610100610104850190815288516101248601528851969b7f40429946000000000000000000000000000000000000000000000000000000009b949a8b9a91999098909796939591949361014401918501908083838e5b83811015611539578181015183820152602001611521565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909d169c909c17909b5250989950505050505050505050919050565b610859816004611749565b610859816007611749565b6115f3611957565b60208206156116085760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b6017811161164d576116478360ff848116602002168317611762565b50610ffb565b60ff81116116815761166e836018602060ff8616021763ffffffff61176216565b506116478382600163ffffffff61177a16565b61ffff81116116b6576116a3836019602060ff8616021763ffffffff61176216565b506116478382600263ffffffff61177a16565b63ffffffff81116116ed576116da83601a602060ff8616021763ffffffff61176216565b506116478382600463ffffffff61177a16565b67ffffffffffffffff8111610ffb5761171583601b602060ff8616021763ffffffff61176216565b5061064b8382600863ffffffff61177a16565b611730611957565b6117428384600001515184855161179b565b9392505050565b610ffb82601f602060ff8516021763ffffffff61176216565b61176a611957565b6117428384600001515184611851565b611782611957565b61179384856000015151858561189c565b949350505050565b6117a3611957565b6000806000855185111515156117b857600080fd5b876020015185880111156117e2576117e2886117da8a602001518a89016118fa565b60020261190b565b8751805188602083010194508089880111156117fe5788870182525b60208801935050505b602085106118295781518352601f199094019360209283019290910190611807565b505181516020949094036101000a600019018019909116931692909217909152509192915050565b611859611957565b602084015183106118755761187584856020015160020261190b565b8351805160208583010184815381861415611891576001820183525b509495945050505050565b6118a4611957565b6000856020015185840111156118c3576118c38686850160020261190b565b6001836101000a03905085518386820101858319825116178152815185880111156118ee5784870182525b50959695505050505050565b600081831115610fa0575081611625565b815161191783836115eb565b5061064b8382611728565b6040805160c081018252600080825260208201819052918101829052606081019190915260808101611952611957565b905290565b604080518082019091526060815260006020820152905600a165627a7a723058208899e1db9f00228e9793955c589d88f9946601d9eeb977b279394880a2897da70029", | |
"linkReferences": {}, | |
"name": "", | |
"inputs": "()", | |
"type": "constructor", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023180218, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x1264C334af06A54Dfa1DBBc8fBBaC4Db6B9EF71D", | |
true | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "setFulfillmentPermission", | |
"inputs": "(address,bool)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023506616, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562023528498, | |
"record": { | |
"value": "1", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562025462587, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xc99B3D447826532722E41bc36e644ba3479E4365", | |
"493610cff14346f786f88ed791ab7704" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562031991639, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562032109566, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x1264C334af06A54Dfa1DBBc8fBBaC4Db6B9EF71D", | |
true | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "setFulfillmentPermission", | |
"inputs": "(address,bool)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562033668767, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562033874585, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0x35f8b99927de7f22c116c152d2ecae5e17af28fc", | |
"1ab6e0d255684043b3835969fab100f6" | |
], | |
"to": "created{1561947331503}", | |
"abi": "0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8", | |
"name": "requestEthereumPrice", | |
"inputs": "(address,string)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
}, | |
{ | |
"timestamp": 1562086563360, | |
"record": { | |
"value": "0", | |
"parameters": [ | |
"0xe4dAae1DbAA642F8880302ff1a49110fd1Ba8995" | |
], | |
"to": "created{1561946197739}", | |
"abi": "0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d", | |
"name": "transferOwnership", | |
"inputs": "(address)", | |
"type": "function", | |
"from": "account{0}" | |
} | |
} | |
], | |
"abis": { | |
"0x5b7d7eba22589dfe1bd7a5417faa2a79838f19c58fe7408d6f66be2327cc996d": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_callbackFunc", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_expiration", | |
"type": "uint256" | |
} | |
], | |
"name": "cancelOracleRequest", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_callbackAddress", | |
"type": "address" | |
}, | |
{ | |
"name": "_callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_expiration", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes32" | |
} | |
], | |
"name": "fulfillOracleRequest", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_sender", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes" | |
} | |
], | |
"name": "onTokenTransfer", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_sender", | |
"type": "address" | |
}, | |
{ | |
"name": "_payment", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_specId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_callbackAddress", | |
"type": "address" | |
}, | |
{ | |
"name": "_callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"name": "_nonce", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_dataVersion", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_data", | |
"type": "bytes" | |
} | |
], | |
"name": "oracleRequest", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_node", | |
"type": "address" | |
}, | |
{ | |
"name": "_allowed", | |
"type": "bool" | |
} | |
], | |
"name": "setFulfillmentPermission", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_recipient", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "withdraw", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_link", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "specId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"name": "requester", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"name": "payment", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "callbackAddr", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "callbackFunctionId", | |
"type": "bytes4" | |
}, | |
{ | |
"indexed": false, | |
"name": "cancelExpiration", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "dataVersion", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "OracleRequest", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
} | |
], | |
"name": "CancelOracleRequest", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "EXPIRY_TIME", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_node", | |
"type": "address" | |
} | |
], | |
"name": "getAuthorizationStatus", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "withdrawable", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"0xe2b9f9f9430b05bfa9a3abd3bac9a181434d23a707ef1cde8bd25d30203538d8": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_change", | |
"type": "int256" | |
} | |
], | |
"name": "fulfillEthereumChange", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_market", | |
"type": "bytes32" | |
} | |
], | |
"name": "fulfillEthereumLastMarket", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_price", | |
"type": "uint256" | |
} | |
], | |
"name": "fulfillEthereumPrice", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumChange", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumLastMarket", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "string" | |
} | |
], | |
"name": "requestEthereumPrice", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "withdrawLink", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "price", | |
"type": "uint256" | |
} | |
], | |
"name": "RequestEthereumPriceFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "change", | |
"type": "int256" | |
} | |
], | |
"name": "RequestEthereumChangeFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"name": "market", | |
"type": "bytes32" | |
} | |
], | |
"name": "RequestEthereumLastMarket", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkRequested", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkCancelled", | |
"type": "event" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "changeDay", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "int256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "currentPrice", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getChainlinkToken", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "lastMarket", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File: @ensdomains/buffer/contracts/Buffer.sol | |
pragma solidity >0.4.18; | |
/** | |
* @dev A library for working with mutable byte buffers in Solidity. | |
* | |
* Byte buffers are mutable and expandable, and provide a variety of primitives | |
* for writing to them. At any time you can fetch a bytes object containing the | |
* current contents of the buffer. The bytes object should not be stored between | |
* operations, as it may change due to resizing of the buffer. | |
*/ | |
library Buffer { | |
/** | |
* @dev Represents a mutable buffer. Buffers have a current value (buf) and | |
* a capacity. The capacity may be longer than the current value, in | |
* which case it can be extended without the need to allocate more memory. | |
*/ | |
struct buffer { | |
bytes buf; | |
uint capacity; | |
} | |
/** | |
* @dev Initializes a buffer with an initial capacity. | |
* @param buf The buffer to initialize. | |
* @param capacity The number of bytes of space to allocate the buffer. | |
* @return The buffer, for chaining. | |
*/ | |
function init(buffer memory buf, uint capacity) internal pure returns(buffer memory) { | |
if (capacity % 32 != 0) { | |
capacity += 32 - (capacity % 32); | |
} | |
// Allocate space for the buffer data | |
buf.capacity = capacity; | |
assembly { | |
let ptr := mload(0x40) | |
mstore(buf, ptr) | |
mstore(ptr, 0) | |
mstore(0x40, add(32, add(ptr, capacity))) | |
} | |
return buf; | |
} | |
/** | |
* @dev Initializes a new buffer from an existing bytes object. | |
* Changes to the buffer may mutate the original value. | |
* @param b The bytes object to initialize the buffer with. | |
* @return A new buffer. | |
*/ | |
function fromBytes(bytes memory b) internal pure returns(buffer memory) { | |
buffer memory buf; | |
buf.buf = b; | |
buf.capacity = b.length; | |
return buf; | |
} | |
function resize(buffer memory buf, uint capacity) private pure { | |
bytes memory oldbuf = buf.buf; | |
init(buf, capacity); | |
append(buf, oldbuf); | |
} | |
function max(uint a, uint b) private pure returns(uint) { | |
if (a > b) { | |
return a; | |
} | |
return b; | |
} | |
/** | |
* @dev Sets buffer length to 0. | |
* @param buf The buffer to truncate. | |
* @return The original buffer, for chaining.. | |
*/ | |
function truncate(buffer memory buf) internal pure returns (buffer memory) { | |
assembly { | |
let bufptr := mload(buf) | |
mstore(bufptr, 0) | |
} | |
return buf; | |
} | |
/** | |
* @dev Writes a byte string to a buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param off The start offset to write to. | |
* @param data The data to append. | |
* @param len The number of bytes to copy. | |
* @return The original buffer, for chaining. | |
*/ | |
function write(buffer memory buf, uint off, bytes memory data, uint len) internal pure returns(buffer memory) { | |
require(len <= data.length); | |
if (off + len > buf.capacity) { | |
resize(buf, max(buf.capacity, len + off) * 2); | |
} | |
uint dest; | |
uint src; | |
assembly { | |
// Memory address of the buffer data | |
let bufptr := mload(buf) | |
// Length of existing buffer data | |
let buflen := mload(bufptr) | |
// Start address = buffer address + offset + sizeof(buffer length) | |
dest := add(add(bufptr, 32), off) | |
// Update buffer length if we're extending it | |
if gt(add(len, off), buflen) { | |
mstore(bufptr, add(len, off)) | |
} | |
src := add(data, 32) | |
} | |
// Copy word-length chunks while possible | |
for (; len >= 32; len -= 32) { | |
assembly { | |
mstore(dest, mload(src)) | |
} | |
dest += 32; | |
src += 32; | |
} | |
// Copy remaining bytes | |
uint mask = 256 ** (32 - len) - 1; | |
assembly { | |
let srcpart := and(mload(src), not(mask)) | |
let destpart := and(mload(dest), mask) | |
mstore(dest, or(destpart, srcpart)) | |
} | |
return buf; | |
} | |
/** | |
* @dev Appends a byte string to a buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @param len The number of bytes to copy. | |
* @return The original buffer, for chaining. | |
*/ | |
function append(buffer memory buf, bytes memory data, uint len) internal pure returns (buffer memory) { | |
return write(buf, buf.buf.length, data, len); | |
} | |
/** | |
* @dev Appends a byte string to a buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @return The original buffer, for chaining. | |
*/ | |
function append(buffer memory buf, bytes memory data) internal pure returns (buffer memory) { | |
return write(buf, buf.buf.length, data, data.length); | |
} | |
/** | |
* @dev Writes a byte to the buffer. Resizes if doing so would exceed the | |
* capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param off The offset to write the byte at. | |
* @param data The data to append. | |
* @return The original buffer, for chaining. | |
*/ | |
function writeUint8(buffer memory buf, uint off, uint8 data) internal pure returns(buffer memory) { | |
if (off >= buf.capacity) { | |
resize(buf, buf.capacity * 2); | |
} | |
assembly { | |
// Memory address of the buffer data | |
let bufptr := mload(buf) | |
// Length of existing buffer data | |
let buflen := mload(bufptr) | |
// Address = buffer address + sizeof(buffer length) + off | |
let dest := add(add(bufptr, off), 32) | |
mstore8(dest, data) | |
// Update buffer length if we extended it | |
if eq(off, buflen) { | |
mstore(bufptr, add(buflen, 1)) | |
} | |
} | |
return buf; | |
} | |
/** | |
* @dev Appends a byte to the buffer. Resizes if doing so would exceed the | |
* capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @return The original buffer, for chaining. | |
*/ | |
function appendUint8(buffer memory buf, uint8 data) internal pure returns(buffer memory) { | |
return writeUint8(buf, buf.buf.length, data); | |
} | |
/** | |
* @dev Writes up to 32 bytes to the buffer. Resizes if doing so would | |
* exceed the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param off The offset to write at. | |
* @param data The data to append. | |
* @param len The number of bytes to write (left-aligned). | |
* @return The original buffer, for chaining. | |
*/ | |
function write(buffer memory buf, uint off, bytes32 data, uint len) private pure returns(buffer memory) { | |
if (len + off > buf.capacity) { | |
resize(buf, (len + off) * 2); | |
} | |
uint mask = 256 ** len - 1; | |
// Right-align data | |
data = data >> (8 * (32 - len)); | |
assembly { | |
// Memory address of the buffer data | |
let bufptr := mload(buf) | |
// Address = buffer address + sizeof(buffer length) + off + len | |
let dest := add(add(bufptr, off), len) | |
mstore(dest, or(and(mload(dest), not(mask)), data)) | |
// Update buffer length if we extended it | |
if gt(add(off, len), mload(bufptr)) { | |
mstore(bufptr, add(off, len)) | |
} | |
} | |
return buf; | |
} | |
/** | |
* @dev Writes a bytes20 to the buffer. Resizes if doing so would exceed the | |
* capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param off The offset to write at. | |
* @param data The data to append. | |
* @return The original buffer, for chaining. | |
*/ | |
function writeBytes20(buffer memory buf, uint off, bytes20 data) internal pure returns (buffer memory) { | |
return write(buf, off, bytes32(data), 20); | |
} | |
/** | |
* @dev Appends a bytes20 to the buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @return The original buffer, for chhaining. | |
*/ | |
function appendBytes20(buffer memory buf, bytes20 data) internal pure returns (buffer memory) { | |
return write(buf, buf.buf.length, bytes32(data), 20); | |
} | |
/** | |
* @dev Appends a bytes32 to the buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @return The original buffer, for chaining. | |
*/ | |
function appendBytes32(buffer memory buf, bytes32 data) internal pure returns (buffer memory) { | |
return write(buf, buf.buf.length, data, 32); | |
} | |
/** | |
* @dev Writes an integer to the buffer. Resizes if doing so would exceed | |
* the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param off The offset to write at. | |
* @param data The data to append. | |
* @param len The number of bytes to write (right-aligned). | |
* @return The original buffer, for chaining. | |
*/ | |
function writeInt(buffer memory buf, uint off, uint data, uint len) private pure returns(buffer memory) { | |
if (len + off > buf.capacity) { | |
resize(buf, (len + off) * 2); | |
} | |
uint mask = 256 ** len - 1; | |
assembly { | |
// Memory address of the buffer data | |
let bufptr := mload(buf) | |
// Address = buffer address + off + sizeof(buffer length) + len | |
let dest := add(add(bufptr, off), len) | |
mstore(dest, or(and(mload(dest), not(mask)), data)) | |
// Update buffer length if we extended it | |
if gt(add(off, len), mload(bufptr)) { | |
mstore(bufptr, add(off, len)) | |
} | |
} | |
return buf; | |
} | |
/** | |
* @dev Appends a byte to the end of the buffer. Resizes if doing so would | |
* exceed the capacity of the buffer. | |
* @param buf The buffer to append to. | |
* @param data The data to append. | |
* @return The original buffer. | |
*/ | |
function appendInt(buffer memory buf, uint data, uint len) internal pure returns(buffer memory) { | |
return writeInt(buf, buf.buf.length, data, len); | |
} | |
} | |
// File: solidity-cborutils/contracts/CBOR.sol | |
pragma solidity ^0.4.19; | |
library CBOR { | |
using Buffer for Buffer.buffer; | |
uint8 private constant MAJOR_TYPE_INT = 0; | |
uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1; | |
uint8 private constant MAJOR_TYPE_BYTES = 2; | |
uint8 private constant MAJOR_TYPE_STRING = 3; | |
uint8 private constant MAJOR_TYPE_ARRAY = 4; | |
uint8 private constant MAJOR_TYPE_MAP = 5; | |
uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7; | |
function encodeType(Buffer.buffer memory buf, uint8 major, uint value) private pure { | |
if(value <= 23) { | |
buf.appendUint8(uint8((major << 5) | value)); | |
} else if(value <= 0xFF) { | |
buf.appendUint8(uint8((major << 5) | 24)); | |
buf.appendInt(value, 1); | |
} else if(value <= 0xFFFF) { | |
buf.appendUint8(uint8((major << 5) | 25)); | |
buf.appendInt(value, 2); | |
} else if(value <= 0xFFFFFFFF) { | |
buf.appendUint8(uint8((major << 5) | 26)); | |
buf.appendInt(value, 4); | |
} else if(value <= 0xFFFFFFFFFFFFFFFF) { | |
buf.appendUint8(uint8((major << 5) | 27)); | |
buf.appendInt(value, 8); | |
} | |
} | |
function encodeIndefiniteLengthType(Buffer.buffer memory buf, uint8 major) private pure { | |
buf.appendUint8(uint8((major << 5) | 31)); | |
} | |
function encodeUInt(Buffer.buffer memory buf, uint value) internal pure { | |
encodeType(buf, MAJOR_TYPE_INT, value); | |
} | |
function encodeInt(Buffer.buffer memory buf, int value) internal pure { | |
if(value >= 0) { | |
encodeType(buf, MAJOR_TYPE_INT, uint(value)); | |
} else { | |
encodeType(buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - value)); | |
} | |
} | |
function encodeBytes(Buffer.buffer memory buf, bytes value) internal pure { | |
encodeType(buf, MAJOR_TYPE_BYTES, value.length); | |
buf.append(value); | |
} | |
function encodeString(Buffer.buffer memory buf, string value) internal pure { | |
encodeType(buf, MAJOR_TYPE_STRING, bytes(value).length); | |
buf.append(bytes(value)); | |
} | |
function startArray(Buffer.buffer memory buf) internal pure { | |
encodeIndefiniteLengthType(buf, MAJOR_TYPE_ARRAY); | |
} | |
function startMap(Buffer.buffer memory buf) internal pure { | |
encodeIndefiniteLengthType(buf, MAJOR_TYPE_MAP); | |
} | |
function endSequence(Buffer.buffer memory buf) internal pure { | |
encodeIndefiniteLengthType(buf, MAJOR_TYPE_CONTENT_FREE); | |
} | |
} | |
// File: contracts/Chainlink.sol | |
pragma solidity 0.4.24; | |
/** | |
* @title Library for common Chainlink functions | |
* @dev Uses imported CBOR library for encoding to buffer | |
*/ | |
library Chainlink { | |
uint256 internal constant defaultBufferSize = 256; | |
using CBOR for Buffer.buffer; | |
struct Request { | |
bytes32 id; | |
address callbackAddress; | |
bytes4 callbackFunctionId; | |
uint256 nonce; | |
Buffer.buffer buf; | |
} | |
/** | |
* @notice Initializes a Chainlink request | |
* @dev Sets the ID, callback address, and callback function signature on the request | |
* @param self The uninitialized request | |
* @param _id The Job Specification ID | |
* @param _callbackAddress The callback address | |
* @param _callbackFunction The callback function signature | |
* @return The initialized request | |
*/ | |
function initialize( | |
Request memory self, | |
bytes32 _id, | |
address _callbackAddress, | |
bytes4 _callbackFunction | |
) internal pure returns (Chainlink.Request memory) { | |
Buffer.init(self.buf, defaultBufferSize); | |
self.id = _id; | |
self.callbackAddress = _callbackAddress; | |
self.callbackFunctionId = _callbackFunction; | |
return self; | |
} | |
/** | |
* @notice Sets the data for the buffer without encoding CBOR on-chain | |
* @dev CBOR can be closed with curly-brackets {} or they can be left off | |
* @param self The initialized request | |
* @param _data The CBOR data | |
*/ | |
function setBuffer(Request memory self, bytes _data) | |
internal pure | |
{ | |
Buffer.init(self.buf, _data.length); | |
Buffer.append(self.buf, _data); | |
} | |
/** | |
* @notice Adds a string value to the request with a given key name | |
* @param self The initialized request | |
* @param _key The name of the key | |
* @param _value The string value to add | |
*/ | |
function add(Request memory self, string _key, string _value) | |
internal pure | |
{ | |
self.buf.encodeString(_key); | |
self.buf.encodeString(_value); | |
} | |
/** | |
* @notice Adds a bytes value to the request with a given key name | |
* @param self The initialized request | |
* @param _key The name of the key | |
* @param _value The bytes value to add | |
*/ | |
function addBytes(Request memory self, string _key, bytes _value) | |
internal pure | |
{ | |
self.buf.encodeString(_key); | |
self.buf.encodeBytes(_value); | |
} | |
/** | |
* @notice Adds a int256 value to the request with a given key name | |
* @param self The initialized request | |
* @param _key The name of the key | |
* @param _value The int256 value to add | |
*/ | |
function addInt(Request memory self, string _key, int256 _value) | |
internal pure | |
{ | |
self.buf.encodeString(_key); | |
self.buf.encodeInt(_value); | |
} | |
/** | |
* @notice Adds a uint256 value to the request with a given key name | |
* @param self The initialized request | |
* @param _key The name of the key | |
* @param _value The uint256 value to add | |
*/ | |
function addUint(Request memory self, string _key, uint256 _value) | |
internal pure | |
{ | |
self.buf.encodeString(_key); | |
self.buf.encodeUInt(_value); | |
} | |
/** | |
* @notice Adds an array of strings to the request with a given key name | |
* @param self The initialized request | |
* @param _key The name of the key | |
* @param _values The array of string values to add | |
*/ | |
function addStringArray(Request memory self, string _key, string[] memory _values) | |
internal pure | |
{ | |
self.buf.encodeString(_key); | |
self.buf.startArray(); | |
for (uint256 i = 0; i < _values.length; i++) { | |
self.buf.encodeString(_values[i]); | |
} | |
self.buf.endSequence(); | |
} | |
} | |
// File: contracts/ENSResolver.sol | |
pragma solidity 0.4.24; | |
contract ENSResolver { | |
function addr(bytes32 node) public view returns (address); | |
} | |
// File: contracts/interfaces/ENSInterface.sol | |
pragma solidity ^0.4.18; | |
interface ENSInterface { | |
// Logged when the owner of a node assigns a new owner to a subnode. | |
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); | |
// Logged when the owner of a node transfers ownership to a new account. | |
event Transfer(bytes32 indexed node, address owner); | |
// Logged when the resolver for a node changes. | |
event NewResolver(bytes32 indexed node, address resolver); | |
// Logged when the TTL of a node changes | |
event NewTTL(bytes32 indexed node, uint64 ttl); | |
function setSubnodeOwner(bytes32 node, bytes32 label, address owner) external; | |
function setResolver(bytes32 node, address resolver) external; | |
function setOwner(bytes32 node, address owner) external; | |
function setTTL(bytes32 node, uint64 ttl) external; | |
function owner(bytes32 node) external view returns (address); | |
function resolver(bytes32 node) external view returns (address); | |
function ttl(bytes32 node) external view returns (uint64); | |
} | |
// File: contracts/interfaces/LinkTokenInterface.sol | |
pragma solidity 0.4.24; | |
interface LinkTokenInterface { | |
function allowance(address owner, address spender) external returns (bool success); | |
function approve(address spender, uint256 value) external returns (bool success); | |
function balanceOf(address owner) external returns (uint256 balance); | |
function decimals() external returns (uint8 decimalPlaces); | |
function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); | |
function increaseApproval(address spender, uint256 subtractedValue) external; | |
function name() external returns (string tokenName); | |
function symbol() external returns (string tokenSymbol); | |
function totalSupply() external returns (uint256 totalTokensIssued); | |
function transfer(address to, uint256 value) external returns (bool success); | |
function transferAndCall(address to, uint256 value, bytes data) external returns (bool success); | |
function transferFrom(address from, address to, uint256 value) external returns (bool success); | |
} | |
// File: contracts/interfaces/ChainlinkRequestInterface.sol | |
pragma solidity 0.4.24; | |
interface ChainlinkRequestInterface { | |
function oracleRequest( | |
address sender, | |
uint256 payment, | |
bytes32 id, | |
address callbackAddress, | |
bytes4 callbackFunctionId, | |
uint256 nonce, | |
uint256 version, | |
bytes data | |
) external; | |
function cancelOracleRequest( | |
bytes32 requestId, | |
uint256 payment, | |
bytes4 callbackFunctionId, | |
uint256 expiration | |
) external; | |
} | |
// File: contracts/interfaces/PointerInterface.sol | |
pragma solidity 0.4.24; | |
interface PointerInterface { | |
function getAddress() external view returns (address); | |
} | |
// File: openzeppelin-solidity/contracts/math/SafeMath.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. | |
*/ | |
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
// Gas optimization: this is cheaper than asserting '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; | |
} | |
c = _a * _b; | |
assert(c / _a == _b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two numbers, truncating the quotient. | |
*/ | |
function div(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
// assert(_b > 0); // Solidity automatically throws when dividing by 0 | |
// uint256 c = _a / _b; | |
// assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold | |
return _a / _b; | |
} | |
/** | |
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { | |
assert(_b <= _a); | |
return _a - _b; | |
} | |
/** | |
* @dev Adds two numbers, throws on overflow. | |
*/ | |
function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) { | |
c = _a + _b; | |
assert(c >= _a); | |
return c; | |
} | |
} | |
// File: contracts/ChainlinkClient.sol | |
pragma solidity 0.4.24; | |
/** | |
* @title The ChainlinkClient contract | |
* @notice Contract writers can inherit this contract in order to create requests for the | |
* Chainlink network | |
*/ | |
contract ChainlinkClient { | |
using Chainlink for Chainlink.Request; | |
using SafeMath for uint256; | |
uint256 constant internal LINK = 10**18; | |
uint256 constant private AMOUNT_OVERRIDE = 0; | |
address constant private SENDER_OVERRIDE = 0x0; | |
uint256 constant private ARGS_VERSION = 1; | |
bytes32 constant private ENS_TOKEN_SUBNAME = keccak256("link"); | |
bytes32 constant private ENS_ORACLE_SUBNAME = keccak256("oracle"); | |
address constant private LINK_TOKEN_POINTER = 0xC89bD4E1632D3A43CB03AAAd5262cbe4038Bc571; | |
ENSInterface private ens; | |
bytes32 private ensNode; | |
LinkTokenInterface private link; | |
ChainlinkRequestInterface private oracle; | |
uint256 private requests = 1; | |
mapping(bytes32 => address) private pendingRequests; | |
event ChainlinkRequested(bytes32 indexed id); | |
event ChainlinkFulfilled(bytes32 indexed id); | |
event ChainlinkCancelled(bytes32 indexed id); | |
/** | |
* @notice Creates a request that can hold additional parameters | |
* @param _specId The Job Specification ID that the request will be created for | |
* @param _callbackAddress The callback address that the response will be sent to | |
* @param _callbackFunctionSignature The callback function signature to use for the callback address | |
* @return A Chainlink Request struct in memory | |
*/ | |
function buildChainlinkRequest( | |
bytes32 _specId, | |
address _callbackAddress, | |
bytes4 _callbackFunctionSignature | |
) internal pure returns (Chainlink.Request memory) { | |
Chainlink.Request memory req; | |
return req.initialize(_specId, _callbackAddress, _callbackFunctionSignature); | |
} | |
/** | |
* @notice Creates a Chainlink request to the stored oracle address | |
* @dev Calls `chainlinkRequestTo` with the stored oracle address | |
* @param _req The initialized Chainlink Request | |
* @param _payment The amount of LINK to send for the request | |
* @return The request ID | |
*/ | |
function sendChainlinkRequest(Chainlink.Request memory _req, uint256 _payment) | |
internal | |
returns (bytes32) | |
{ | |
return sendChainlinkRequestTo(oracle, _req, _payment); | |
} | |
/** | |
* @notice Creates a Chainlink request to the specified oracle address | |
* @dev Generates and stores a request ID, increments the local nonce, and uses `transferAndCall` to | |
* send LINK which creates a request on the target oracle contract. | |
* Emits ChainlinkRequested event. | |
* @param _oracle The address of the oracle for the request | |
* @param _req The initialized Chainlink Request | |
* @param _payment The amount of LINK to send for the request | |
* @return The request ID | |
*/ | |
function sendChainlinkRequestTo(address _oracle, Chainlink.Request memory _req, uint256 _payment) | |
internal | |
returns (bytes32 requestId) | |
{ | |
requestId = keccak256(abi.encodePacked(this, requests)); | |
_req.nonce = requests; | |
pendingRequests[requestId] = _oracle; | |
emit ChainlinkRequested(requestId); | |
require(link.transferAndCall(_oracle, _payment, encodeRequest(_req)), "unable to transferAndCall to oracle"); | |
requests += 1; | |
return requestId; | |
} | |
/** | |
* @notice Allows a request to be cancelled if it has not been fulfilled | |
* @dev Requires keeping track of the expiration value emitted from the oracle contract. | |
* Deletes the request from the `pendingRequests` mapping. | |
* Emits ChainlinkCancelled event. | |
* @param _requestId The request ID | |
* @param _payment The amount of LINK sent for the request | |
* @param _callbackFunc The callback function specified for the request | |
* @param _expiration The time of the expiration for the request | |
*/ | |
function cancelChainlinkRequest( | |
bytes32 _requestId, | |
uint256 _payment, | |
bytes4 _callbackFunc, | |
uint256 _expiration | |
) | |
internal | |
{ | |
ChainlinkRequestInterface requested = ChainlinkRequestInterface(pendingRequests[_requestId]); | |
delete pendingRequests[_requestId]; | |
emit ChainlinkCancelled(_requestId); | |
requested.cancelOracleRequest(_requestId, _payment, _callbackFunc, _expiration); | |
} | |
/** | |
* @notice Sets the stored oracle address | |
* @param _oracle The address of the oracle contract | |
*/ | |
function setChainlinkOracle(address _oracle) internal { | |
oracle = ChainlinkRequestInterface(_oracle); | |
} | |
/** | |
* @notice Sets the LINK token address | |
* @param _link The address of the LINK token contract | |
*/ | |
function setChainlinkToken(address _link) internal { | |
link = LinkTokenInterface(_link); | |
} | |
/** | |
* @notice Sets the Chainlink token address for the public | |
* network as given by the Pointer contract | |
*/ | |
function setPublicChainlinkToken() internal { | |
setChainlinkToken(PointerInterface(LINK_TOKEN_POINTER).getAddress()); | |
} | |
/** | |
* @notice Retrieves the stored address of the LINK token | |
* @return The address of the LINK token | |
*/ | |
function chainlinkTokenAddress() | |
internal | |
view | |
returns (address) | |
{ | |
return address(link); | |
} | |
/** | |
* @notice Retrieves the stored address of the oracle contract | |
* @return The address of the oracle contract | |
*/ | |
function chainlinkOracleAddress() | |
internal | |
view | |
returns (address) | |
{ | |
return address(oracle); | |
} | |
/** | |
* @notice Allows for a request which was created on another contract to be fulfilled | |
* on this contract | |
* @param _oracle The address of the oracle contract that will fulfill the request | |
* @param _requestId The request ID used for the response | |
*/ | |
function addChainlinkExternalRequest(address _oracle, bytes32 _requestId) | |
internal | |
notPendingRequest(_requestId) | |
{ | |
pendingRequests[_requestId] = _oracle; | |
} | |
/** | |
* @notice Sets the stored oracle and LINK token contracts with the addresses resolved by ENS | |
* @dev Accounts for subnodes having different resolvers | |
* @param _ens The address of the ENS contract | |
* @param _node The ENS node hash | |
*/ | |
function useChainlinkWithENS(address _ens, bytes32 _node) | |
internal | |
{ | |
ens = ENSInterface(_ens); | |
ensNode = _node; | |
bytes32 linkSubnode = keccak256(abi.encodePacked(ensNode, ENS_TOKEN_SUBNAME)); | |
ENSResolver resolver = ENSResolver(ens.resolver(linkSubnode)); | |
setChainlinkToken(resolver.addr(linkSubnode)); | |
updateChainlinkOracleWithENS(); | |
} | |
/** | |
* @notice Sets the stored oracle contract with the address resolved by ENS | |
* @dev This may be called on its own as long as `useChainlinkWithENS` has been called previously | |
*/ | |
function updateChainlinkOracleWithENS() | |
internal | |
{ | |
bytes32 oracleSubnode = keccak256(abi.encodePacked(ensNode, ENS_ORACLE_SUBNAME)); | |
ENSResolver resolver = ENSResolver(ens.resolver(oracleSubnode)); | |
setChainlinkOracle(resolver.addr(oracleSubnode)); | |
} | |
/** | |
* @notice Encodes the request to be sent to the oracle contract | |
* @dev The Chainlink node expects values to be in order for the request to be picked up. Order of types | |
* will be validated in the oracle contract. | |
* @param _req The initialized Chainlink Request | |
* @return The bytes payload for the `transferAndCall` method | |
*/ | |
function encodeRequest(Chainlink.Request memory _req) | |
private | |
view | |
returns (bytes memory) | |
{ | |
return abi.encodeWithSelector( | |
oracle.oracleRequest.selector, | |
SENDER_OVERRIDE, // Sender value - overridden by onTokenTransfer by the requesting contract's address | |
AMOUNT_OVERRIDE, // Amount value - overridden by onTokenTransfer by the actual amount of LINK sent | |
_req.id, | |
_req.callbackAddress, | |
_req.callbackFunctionId, | |
_req.nonce, | |
ARGS_VERSION, | |
_req.buf.buf); | |
} | |
/** | |
* @notice Ensures that the fulfillment is valid for this contract | |
* @dev Use if the contract developer prefers methods instead of modifiers for validation | |
* @param _requestId The request ID for fulfillment | |
*/ | |
function validateChainlinkCallback(bytes32 _requestId) | |
internal | |
recordChainlinkFulfillment(_requestId) | |
// solium-disable-next-line no-empty-blocks | |
{} | |
/** | |
* @dev Reverts if the sender is not the oracle of the request. | |
* Emits ChainlinkFulfilled event. | |
* @param _requestId The request ID for fulfillment | |
*/ | |
modifier recordChainlinkFulfillment(bytes32 _requestId) { | |
require(msg.sender == pendingRequests[_requestId], "Source must be the oracle of the request"); | |
delete pendingRequests[_requestId]; | |
emit ChainlinkFulfilled(_requestId); | |
_; | |
} | |
/** | |
* @dev Reverts if the request is already pending | |
* @param _requestId The request ID for fulfillment | |
*/ | |
modifier notPendingRequest(bytes32 _requestId) { | |
require(pendingRequests[_requestId] == address(0), "Request is already pending"); | |
_; | |
} | |
} | |
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol | |
pragma solidity ^0.4.24; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; | |
event OwnershipRenounced(address indexed previousOwner); | |
event OwnershipTransferred( | |
address indexed previousOwner, | |
address indexed newOwner | |
); | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. | |
*/ | |
constructor() public { | |
owner = msg.sender; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(msg.sender == owner); | |
_; | |
} | |
/** | |
* @dev Allows the current owner to relinquish control of the contract. | |
* @notice Renouncing to ownership will leave the contract without an owner. | |
* It will not be possible to call the functions with the `onlyOwner` | |
* modifier anymore. | |
*/ | |
function renounceOwnership() public onlyOwner { | |
emit OwnershipRenounced(owner); | |
owner = address(0); | |
} | |
/** | |
* @dev Allows the current owner to transfer control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function transferOwnership(address _newOwner) public onlyOwner { | |
_transferOwnership(_newOwner); | |
} | |
/** | |
* @dev Transfers control of the contract to a newOwner. | |
* @param _newOwner The address to transfer ownership to. | |
*/ | |
function _transferOwnership(address _newOwner) internal { | |
require(_newOwner != address(0)); | |
emit OwnershipTransferred(owner, _newOwner); | |
owner = _newOwner; | |
} | |
} | |
// File: ../examples/testnet/TestnetConsumerBase.sol | |
pragma solidity 0.4.24; | |
contract ATestnetConsumer is ChainlinkClient, Ownable { | |
uint256 constant private ORACLE_PAYMENT = 1 * LINK; // solium-disable-line zeppelin/no-arithmetic-operations | |
uint256 public currentPrice; | |
int256 public changeDay; | |
bytes32 public lastMarket; | |
event RequestEthereumPriceFulfilled( | |
bytes32 indexed requestId, | |
uint256 indexed price | |
); | |
event RequestEthereumChangeFulfilled( | |
bytes32 indexed requestId, | |
int256 indexed change | |
); | |
event RequestEthereumLastMarket( | |
bytes32 indexed requestId, | |
bytes32 indexed market | |
); | |
constructor() Ownable() public { | |
setPublicChainlinkToken(); | |
} | |
function requestEthereumPrice(address _oracle, string _jobId) | |
public | |
onlyOwner | |
{ | |
Chainlink.Request memory req = buildChainlinkRequest(stringToBytes32(_jobId), this, this.fulfillEthereumPrice.selector); | |
req.add("get", "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"); | |
req.add("path", "USD"); | |
req.addInt("times", 100); | |
sendChainlinkRequestTo(_oracle, req, ORACLE_PAYMENT); | |
} | |
function requestEthereumChange(address _oracle, string _jobId) | |
public | |
onlyOwner | |
{ | |
Chainlink.Request memory req = buildChainlinkRequest(stringToBytes32(_jobId), this, this.fulfillEthereumChange.selector); | |
req.add("get", "https://min-api.cryptocompare.com/data/pricemultifull?fsyms=ETH&tsyms=USD"); | |
req.add("path", "RAW.ETH.USD.CHANGEPCTDAY"); | |
req.addInt("times", 1000000000); | |
sendChainlinkRequestTo(_oracle, req, ORACLE_PAYMENT); | |
} | |
function requestEthereumLastMarket(address _oracle, string _jobId) | |
public | |
onlyOwner | |
{ | |
Chainlink.Request memory req = buildChainlinkRequest(stringToBytes32(_jobId), this, this.fulfillEthereumLastMarket.selector); | |
req.add("get", "https://min-api.cryptocompare.com/data/pricemultifull?fsyms=ETH&tsyms=USD"); | |
string[] memory path = new string[](4); | |
path[0] = "RAW"; | |
path[1] = "ETH"; | |
path[2] = "USD"; | |
path[3] = "LASTMARKET"; | |
req.addStringArray("path", path); | |
sendChainlinkRequestTo(_oracle, req, ORACLE_PAYMENT); | |
} | |
function fulfillEthereumPrice(bytes32 _requestId, uint256 _price) | |
public | |
recordChainlinkFulfillment(_requestId) | |
{ | |
emit RequestEthereumPriceFulfilled(_requestId, _price); | |
currentPrice = _price; | |
} | |
function fulfillEthereumChange(bytes32 _requestId, int256 _change) | |
public | |
recordChainlinkFulfillment(_requestId) | |
{ | |
emit RequestEthereumChangeFulfilled(_requestId, _change); | |
changeDay = _change; | |
} | |
function fulfillEthereumLastMarket(bytes32 _requestId, bytes32 _market) | |
public | |
recordChainlinkFulfillment(_requestId) | |
{ | |
emit RequestEthereumLastMarket(_requestId, _market); | |
lastMarket = _market; | |
} | |
function getChainlinkToken() public view returns (address) { | |
return chainlinkTokenAddress(); | |
} | |
function withdrawLink() public onlyOwner { | |
LinkTokenInterface link = LinkTokenInterface(chainlinkTokenAddress()); | |
require(link.transfer(msg.sender, link.balanceOf(address(this))), "Unable to transfer"); | |
} | |
function stringToBytes32(string memory source) private pure returns (bytes32 result) { | |
bytes memory tempEmptyStringTest = bytes(source); | |
if (tempEmptyStringTest.length == 0) { | |
return 0x0; | |
} | |
assembly { | |
result := mload(add(source, 32)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment