Overview
CELO Balance
CELO Value
$0.00Multichain Info
Latest 1 from a total of 1 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Ownersh... | 6379552 | 1735 days ago | IN | 0 CELO | 0.00001456 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | ||||
|---|---|---|---|---|---|---|---|
| 57496535 | 1 min ago | 0 CELO | |||||
| 57496535 | 1 min ago | 0 CELO | |||||
| 57496535 | 1 min ago | 0 CELO | |||||
| 57496535 | 1 min ago | 0 CELO | |||||
| 57496535 | 1 min ago | 0 CELO | |||||
| 57495469 | 19 mins ago | 0 CELO | |||||
| 57495469 | 19 mins ago | 0 CELO | |||||
| 57495469 | 19 mins ago | 0 CELO | |||||
| 57495469 | 19 mins ago | 0 CELO | |||||
| 57495469 | 19 mins ago | 0 CELO | |||||
| 57493197 | 57 mins ago | 0 CELO | |||||
| 57493197 | 57 mins ago | 0 CELO | |||||
| 57493197 | 57 mins ago | 0 CELO | |||||
| 57493197 | 57 mins ago | 0 CELO | |||||
| 57493197 | 57 mins ago | 0 CELO | |||||
| 57489104 | 2 hrs ago | 0 CELO | |||||
| 57489104 | 2 hrs ago | 0 CELO | |||||
| 57489104 | 2 hrs ago | 0 CELO | |||||
| 57489104 | 2 hrs ago | 0 CELO | |||||
| 57489104 | 2 hrs ago | 0 CELO | |||||
| 57489102 | 2 hrs ago | 0 CELO | |||||
| 57489102 | 2 hrs ago | 0 CELO | |||||
| 57489102 | 2 hrs ago | 0 CELO | |||||
| 57489102 | 2 hrs ago | 0 CELO | |||||
| 57489102 | 2 hrs ago | 0 CELO |
Cross-Chain Transactions
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.5.0;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/ownership/Ownable.sol";
import "../interfaces/IPriceOracleGetter.sol";
import "../libraries/EthAddressLib.sol";
interface ISortedOracles {
function medianRate(address) external view returns (uint256, uint256);
function medianTimestamp(address) external view returns (uint256);
}
interface IRegistry {
function getAddressForOrDie(bytes32) external view returns (address);
}
contract UsingRegistry {
bytes32 constant GOLD_TOKEN_REGISTRY_ID = keccak256(abi.encodePacked("GoldToken"));
bytes32 constant SORTED_ORACLES_REGISTRY_ID = keccak256(abi.encodePacked("SortedOracles"));
IRegistry constant public registry = IRegistry(0x000000000000000000000000000000000000ce10);
function getGoldToken() internal view returns (address) {
return registry.getAddressForOrDie(GOLD_TOKEN_REGISTRY_ID);
}
function getSortedOracles() internal view returns (ISortedOracles) {
return ISortedOracles(registry.getAddressForOrDie(SORTED_ORACLES_REGISTRY_ID));
}
}
/// @title CeloProxyPriceProvider
/// @author Moola
/// @notice Proxy smart contract to get the price of an asset from a price source, with Celo SortedOracles
/// smart contracts as primary option
/// - If the returned price by a SortedOracles is <= 0, the call is forwarded to a fallbackOracle
/// - Owned by the Aave governance system, allowed to add sources for assets, replace them
/// and change the fallbackOracle
contract CeloProxyPriceProvider is IPriceOracleGetter, Ownable, UsingRegistry {
using SafeMath for uint256;
event AssetSourceUpdated(address indexed asset, address indexed source);
event FallbackOracleUpdated(address indexed fallbackOracle);
IPriceOracleGetter private fallbackOracle;
/// @notice Constructor
/// @param _fallbackOracle The address of the fallback oracle to use if the data of an
/// aggregator is not consistent
constructor(address _fallbackOracle) public {
internalSetFallbackOracle(_fallbackOracle);
}
/// @notice Sets the fallbackOracle
/// - Callable only by the Aave governance
/// @param _fallbackOracle The address of the fallbackOracle
function setFallbackOracle(address _fallbackOracle) external onlyOwner {
internalSetFallbackOracle(_fallbackOracle);
}
/// @notice Internal function to set the fallbackOracle
/// @param _fallbackOracle The address of the fallbackOracle
function internalSetFallbackOracle(address _fallbackOracle) internal {
fallbackOracle = IPriceOracleGetter(_fallbackOracle);
emit FallbackOracleUpdated(_fallbackOracle);
}
/// @notice Gets an asset price by address
/// @param _asset The asset address
function getAssetPrice(address _asset) public view returns(uint256) {
if (_asset == EthAddressLib.ethAddress()) {
return 1 ether;
}
if (_asset == getGoldToken()) {
return 1 ether;
}
uint256 _price;
uint256 _divisor;
ISortedOracles _oracles = getSortedOracles();
(_price, _divisor) = _oracles.medianRate(_asset);
require(_price > 0, "Reported price is 0");
uint _reportTime = _oracles.medianTimestamp(_asset);
require(block.timestamp.sub(_reportTime) < 10 minutes, "Reported price is older than 10 minutes");
return _divisor.mul(1 ether).div(_price);
}
/// @notice Gets a list of prices from a list of assets addresses
/// @param _assets The list of assets addresses
function getAssetsPrices(address[] calldata _assets) external view returns(uint256[] memory) {
uint256[] memory prices = new uint256[](_assets.length);
for (uint256 i = 0; i < _assets.length; i++) {
prices[i] = getAssetPrice(_assets[i]);
}
return prices;
}
/// @notice Gets the address of the fallback oracle
/// @return address The addres of the fallback oracle
function getFallbackOracle() external view returns(address) {
return address(fallbackOracle);
}
}pragma solidity ^0.5.0;
/************
@title IPriceOracleGetter interface
@notice Interface for the Aave price oracle.*/
interface IPriceOracleGetter {
/***********
@dev returns the asset price in ETH
*/
function getAssetPrice(address _asset) external view returns (uint256);
}pragma solidity ^0.5.0;
library EthAddressLib {
/**
* @dev returns the address used within the protocol to identify ETH
* @return the address assigned to ETH
*/
function ethAddress() internal pure returns(address) {
return 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
}
}pragma solidity ^0.5.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal view returns (address payable) {
return msg.sender;
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*
* _Available since v2.4.0._
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}pragma solidity ^0.5.0;
import "../GSN/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
_owner = _msgSender();
emit OwnershipTransferred(address(0), _owner);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(isOwner(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Returns true if the caller is the current owner.
*/
function isOwner() public view returns (bool) {
return _msgSender() == _owner;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
*/
function _transferOwnership(address newOwner) internal {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}{
"evmVersion": "istanbul",
"libraries": {},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_fallbackOracle","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":true,"internalType":"address","name":"source","type":"address"}],"name":"AssetSourceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fallbackOracle","type":"address"}],"name":"FallbackOracleUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"_asset","type":"address"}],"name":"getAssetPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"_assets","type":"address[]"}],"name":"getAssetsPrices","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getFallbackOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"registry","outputs":[{"internalType":"contract IRegistry","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_fallbackOracle","type":"address"}],"name":"setFallbackOracle","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50604051610c51380380610c518339818101604052602081101561003357600080fd5b50516100466001600160e01b036100a616565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100a0816001600160e01b036100aa16565b506100f4565b3390565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b610b4e806101036000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f45780638f32d59b146100fc5780639d23d9f214610118578063b3596f07146101d8578063f2fde38b1461021057610093565b8063170aee73146100985780636210308c146100c0578063715018a6146100e45780637b103999146100ec575b600080fd5b6100be600480360360208110156100ae57600080fd5b50356001600160a01b0316610236565b005b6100c861029b565b604080516001600160a01b039092168252519081900360200190f35b6100be6102aa565b6100c861034d565b6100c8610353565b610104610362565b604080519115158252519081900360200190f35b6101886004803603602081101561012e57600080fd5b81019060208101813564010000000081111561014957600080fd5b82018360208201111561015b57600080fd5b8035906020019184602083028401116401000000008311171561017d57600080fd5b509092509050610386565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101c45781810151838201526020016101ac565b505050509050019250505060405180910390f35b6101fe600480360360208110156101ee57600080fd5b50356001600160a01b0316610411565b60408051918252519081900360200190f35b6100be6004803603602081101561022657600080fd5b50356001600160a01b0316610652565b61023e610362565b61028f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610298816106b4565b50565b6001546001600160a01b031690565b6102b2610362565b610303576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61ce1081565b6000546001600160a01b031690565b600080546001600160a01b03166103776106fe565b6001600160a01b031614905090565b606080838390506040519080825280602002602001820160405280156103b6578160200160208202803883390190505b50905060005b83811015610407576103e88585838181106103d357fe5b905060200201356001600160a01b0316610411565b8282815181106103f457fe5b60209081029190910101526001016103bc565b5090505b92915050565b600061041b610702565b6001600160a01b0316826001600160a01b031614156104435750670de0b6b3a764000061064d565b61044b61071a565b6001600160a01b0316826001600160a01b031614156104735750670de0b6b3a764000061064d565b60008060006104806107b9565b60408051630ef90e1b60e41b81526001600160a01b038881166004830152825193945084169263ef90e1b092602480840193919291829003018186803b1580156104c957600080fd5b505afa1580156104dd573d6000803e3d6000fd5b505050506040513d60408110156104f357600080fd5b508051602090910151909350915082610549576040805162461bcd60e51b815260206004820152601360248201527205265706f72746564207072696365206973203606c1b604482015290519081900360640190fd5b6000816001600160a01b031663071b48fc876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156105a157600080fd5b505afa1580156105b5573d6000803e3d6000fd5b505050506040513d60208110156105cb57600080fd5b505190506102586105e2428363ffffffff61082b16565b1061061e5760405162461bcd60e51b8152600401808060200182810382526027815260200180610ad26027913960400191505060405180910390fd5b6106468461063a85670de0b6b3a764000063ffffffff61087416565b9063ffffffff6108cd16565b9450505050505b919050565b61065a610362565b6106ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102988161090f565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b3390565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516823b7b6322a37b5b2b760b91b602080830191909152825180830360090181526029830180855281519183019190912063dcf0aaed60e01b909152602d830152915160009261ce109263dcf0aaed92604d8083019392829003018186803b15801561078857600080fd5b505afa15801561079c573d6000803e3d6000fd5b505050506040513d60208110156107b257600080fd5b5051905090565b604080516c536f727465644f7261636c657360981b6020808301919091528251808303600d018152602d830180855281519183019190912063dcf0aaed60e01b9091526031830152915160009261ce109263dcf0aaed9260518083019392829003018186803b15801561078857600080fd5b600061086d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506109af565b9392505050565b6000826108835750600061040b565b8282028284828161089057fe5b041461086d5760405162461bcd60e51b8152600401808060200182810382526021815260200180610af96021913960400191505060405180910390fd5b600061086d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a46565b6001600160a01b0381166109545760405162461bcd60e51b8152600401808060200182810382526026815260200180610aac6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008184841115610a3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a035781810151838201526020016109eb565b50505050905090810190601f168015610a305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610a955760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a035781810151838201526020016109eb565b506000838581610aa157fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265706f72746564207072696365206973206f6c646572207468616e203130206d696e75746573536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a723158207af8fcf500db8878ce962827e981b2867eb38c92280577e5addf8525ca9a6bda64736f6c634300050e00320000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f45780638f32d59b146100fc5780639d23d9f214610118578063b3596f07146101d8578063f2fde38b1461021057610093565b8063170aee73146100985780636210308c146100c0578063715018a6146100e45780637b103999146100ec575b600080fd5b6100be600480360360208110156100ae57600080fd5b50356001600160a01b0316610236565b005b6100c861029b565b604080516001600160a01b039092168252519081900360200190f35b6100be6102aa565b6100c861034d565b6100c8610353565b610104610362565b604080519115158252519081900360200190f35b6101886004803603602081101561012e57600080fd5b81019060208101813564010000000081111561014957600080fd5b82018360208201111561015b57600080fd5b8035906020019184602083028401116401000000008311171561017d57600080fd5b509092509050610386565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101c45781810151838201526020016101ac565b505050509050019250505060405180910390f35b6101fe600480360360208110156101ee57600080fd5b50356001600160a01b0316610411565b60408051918252519081900360200190f35b6100be6004803603602081101561022657600080fd5b50356001600160a01b0316610652565b61023e610362565b61028f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610298816106b4565b50565b6001546001600160a01b031690565b6102b2610362565b610303576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61ce1081565b6000546001600160a01b031690565b600080546001600160a01b03166103776106fe565b6001600160a01b031614905090565b606080838390506040519080825280602002602001820160405280156103b6578160200160208202803883390190505b50905060005b83811015610407576103e88585838181106103d357fe5b905060200201356001600160a01b0316610411565b8282815181106103f457fe5b60209081029190910101526001016103bc565b5090505b92915050565b600061041b610702565b6001600160a01b0316826001600160a01b031614156104435750670de0b6b3a764000061064d565b61044b61071a565b6001600160a01b0316826001600160a01b031614156104735750670de0b6b3a764000061064d565b60008060006104806107b9565b60408051630ef90e1b60e41b81526001600160a01b038881166004830152825193945084169263ef90e1b092602480840193919291829003018186803b1580156104c957600080fd5b505afa1580156104dd573d6000803e3d6000fd5b505050506040513d60408110156104f357600080fd5b508051602090910151909350915082610549576040805162461bcd60e51b815260206004820152601360248201527205265706f72746564207072696365206973203606c1b604482015290519081900360640190fd5b6000816001600160a01b031663071b48fc876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156105a157600080fd5b505afa1580156105b5573d6000803e3d6000fd5b505050506040513d60208110156105cb57600080fd5b505190506102586105e2428363ffffffff61082b16565b1061061e5760405162461bcd60e51b8152600401808060200182810382526027815260200180610ad26027913960400191505060405180910390fd5b6106468461063a85670de0b6b3a764000063ffffffff61087416565b9063ffffffff6108cd16565b9450505050505b919050565b61065a610362565b6106ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102988161090f565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b3390565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516823b7b6322a37b5b2b760b91b602080830191909152825180830360090181526029830180855281519183019190912063dcf0aaed60e01b909152602d830152915160009261ce109263dcf0aaed92604d8083019392829003018186803b15801561078857600080fd5b505afa15801561079c573d6000803e3d6000fd5b505050506040513d60208110156107b257600080fd5b5051905090565b604080516c536f727465644f7261636c657360981b6020808301919091528251808303600d018152602d830180855281519183019190912063dcf0aaed60e01b9091526031830152915160009261ce109263dcf0aaed9260518083019392829003018186803b15801561078857600080fd5b600061086d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506109af565b9392505050565b6000826108835750600061040b565b8282028284828161089057fe5b041461086d5760405162461bcd60e51b8152600401808060200182810382526021815260200180610af96021913960400191505060405180910390fd5b600061086d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a46565b6001600160a01b0381166109545760405162461bcd60e51b8152600401808060200182810382526026815260200180610aac6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008184841115610a3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a035781810151838201526020016109eb565b50505050905090810190601f168015610a305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610a955760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a035781810151838201526020016109eb565b506000838581610aa157fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265706f72746564207072696365206973206f6c646572207468616e203130206d696e75746573536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a723158207af8fcf500db8878ce962827e981b2867eb38c92280577e5addf8525ca9a6bda64736f6c634300050e0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _fallbackOracle (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
1542:2613:2:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1542:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2274:130;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2274:130:2;-1:-1:-1;;;;;2274:130:2;;:::i;:::-;;4046:107;;;:::i;:::-;;;;-1:-1:-1;;;;;4046:107:2;;;;;;;;;;;;;;1642:137:5;;;:::i;712:90:2:-;;;:::i;857:77:5:-;;;:::i;1208:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;3622:304:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3622:304:2;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3622:304:2;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3622:304:2;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;3622:304:2;;-1:-1:-1;3622:304:2;-1:-1:-1;3622:304:2;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3622:304:2;;;;;;;;;;;;;;;;;2819:675;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2819:675:2;-1:-1:-1;;;;;2819:675:2;;:::i;:::-;;;;;;;;;;;;;;;;1928:107:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1928:107:5;-1:-1:-1;;;;;1928:107:5;;:::i;2274:130:2:-;1061:9:5;:7;:9::i;:::-;1053:54;;;;;-1:-1:-1;;;1053:54:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2355:42:2;2381:15;2355:25;:42::i;:::-;2274:130;:::o;4046:107::-;4131:14;;-1:-1:-1;;;;;4131:14:2;4046:107;:::o;1642:137:5:-;1061:9;:7;:9::i;:::-;1053:54;;;;;-1:-1:-1;;;1053:54:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1740:1;1724:6;;1703:40;;-1:-1:-1;;;;;1724:6:5;;;;1703:40;;1740:1;;1703:40;1770:1;1753:19;;-1:-1:-1;;;;;;1753:19:5;;;1642:137::o;712:90:2:-;759:42;712:90;:::o;857:77:5:-;895:7;921:6;-1:-1:-1;;;;;921:6:5;857:77;:::o;1208:92::-;1248:4;1287:6;;-1:-1:-1;;;;;1287:6:5;1271:12;:10;:12::i;:::-;-1:-1:-1;;;;;1271:22:5;;1264:29;;1208:92;:::o;3622:304:2:-;3697:16;3725:23;3765:7;;:14;;3751:29;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;3751:29:2;-1:-1:-1;3725:55:2;-1:-1:-1;3795:9:2;3790:107;3810:18;;;3790:107;;;3861:25;3875:7;;3883:1;3875:10;;;;;;;;;;;;;-1:-1:-1;;;;;3875:10:2;3861:13;:25::i;:::-;3849:6;3856:1;3849:9;;;;;;;;;;;;;;;;;:37;3830:3;;3790:107;;;-1:-1:-1;3913:6:2;-1:-1:-1;3622:304:2;;;;;:::o;2819:675::-;2878:7;2911:26;:24;:26::i;:::-;-1:-1:-1;;;;;2901:36:2;:6;-1:-1:-1;;;;;2901:36:2;;2897:81;;;-1:-1:-1;2960:7:2;2953:14;;2897:81;3001:14;:12;:14::i;:::-;-1:-1:-1;;;;;2991:24:2;:6;-1:-1:-1;;;;;2991:24:2;;2987:69;;;-1:-1:-1;3038:7:2;3031:14;;2987:69;3065:14;3089:16;3115:23;3141:18;:16;:18::i;:::-;3190:27;;;-1:-1:-1;;;3190:27:2;;-1:-1:-1;;;;;3190:27:2;;;;;;;;;3115:44;;-1:-1:-1;3190:19:2;;;;;:27;;;;;;;;;;;;;:19;:27;;;5:2:-1;;;;30:1;27;20:12;5:2;3190:27:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3190:27:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3190:27:2;;;;;;;;;-1:-1:-1;3190:27:2;-1:-1:-1;3235:10:2;3227:42;;;;;-1:-1:-1;;;3227:42:2;;;;;;;;;;;;-1:-1:-1;;;3227:42:2;;;;;;;;;;;;;;;3279:16;3298:8;-1:-1:-1;;;;;3298:24:2;;3323:6;3298:32;;;;;;;;;;;;;-1:-1:-1;;;;;3298:32:2;-1:-1:-1;;;;;3298:32:2;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3298:32:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3298:32:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3298:32:2;;-1:-1:-1;3383:10:2;3348:32;:15;3298:32;3348;:19;:32;:::i;:::-;:45;3340:97;;;;-1:-1:-1;;;3340:97:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3454:33;3480:6;3454:21;:8;3467:7;3454:21;:12;:21;:::i;:::-;:25;:33;:25;:33;:::i;:::-;3447:40;;;;;;2819:675;;;;:::o;1928:107:5:-;1061:9;:7;:9::i;:::-;1053:54;;;;;-1:-1:-1;;;1053:54:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2000:28;2019:8;2000:18;:28::i;2535:191:2:-;2614:14;:52;;-1:-1:-1;;;;;;2614:52:2;-1:-1:-1;;;;;2614:52:2;;;;;;;;2681:38;;;;-1:-1:-1;;2681:38:2;2535:191;:::o;788:96:3:-;867:10;788:96;:::o;184:119:1:-;254:42;184:119;:::o;809:131:2:-;579:29;;;-1:-1:-1;;;579:29:2;;;;;;;;;;26:21:-1;;;579:29:2;22:32:-1;6:49;;579:29:2;;;;;;569:40;;;;;;;;;-1:-1:-1;;;882:51:2;;;;;;;;;856:7;;759:42;;882:27;;:51;;;;;579:29;882:51;;;;;759:42;882:51;;;5:2:-1;;;;30:1;27;20:12;5:2;882:51:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;882:51:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;882:51:2;;-1:-1:-1;809:131:2;:::o;946:162::-;671:33;;;-1:-1:-1;;;671:33:2;;;;;;;;;;26:21:-1;;;671:33:2;22:32:-1;6:49;;671:33:2;;;;;;661:44;;;;;;;;;-1:-1:-1;;;1045:55:2;;;;;;;;;997:14;;759:42;;1045:27;;:55;;;;;671:33;1045:55;;;;;759:42;1045:55;;;5:2:-1;;;;30:1;27;20:12;1274:134:4;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1351:50;1274:134;-1:-1:-1;;;1274:134:4:o;2159:459::-;2217:7;2458:6;2454:45;;-1:-1:-1;2487:1:4;2480:8;;2454:45;2521:5;;;2525:1;2521;:5;:1;2544:5;;;;;:10;2536:56;;;;-1:-1:-1;;;2536:56:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3073:130;3131:7;3157:39;3161:1;3164;3157:39;;;;;;;;;;;;;;;;;:3;:39::i;2136:225:5:-;-1:-1:-1;;;;;2209:22:5;;2201:73;;;;-1:-1:-1;;;2201:73:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2310:6;;;2289:38;;-1:-1:-1;;;;;2289:38:5;;;;2310:6;;;2289:38;;;2337:6;:17;;-1:-1:-1;;;;;;2337:17:5;-1:-1:-1;;;;;2337:17:5;;;;;;;;;;2136:225::o;1732:187:4:-;1818:7;1853:12;1845:6;;;;1837:29;;;;-1:-1:-1;;;1837:29:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1837:29:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1888:5:4;;;1732:187::o;3718:338::-;3804:7;3904:12;3897:5;3889:28;;;;-1:-1:-1;;;3889:28:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;3889:28:4;;3927:9;3943:1;3939;:5;;;;;;;3718:338;-1:-1:-1;;;;;3718:338:4:o
Swarm Source
bzzr://7af8fcf500db8878ce962827e981b2867eb38c92280577e5addf8525ca9a6bda
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.