Contract 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb425cf1404584c9dac873eabe8490b185423c75d0b9dd882c4fc38b9470897f80x608060408447172021-09-14 18:38:14378 days 14 hrs ago0xfddfe525054efaad204600d00ca86adb1cc2ea8a IN  Create: ETHOracleV10 ETH0.007065292073 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xa9f6f82277ee624da8fb0adf876044048c6f7f80cb237a580e95b422daed8525266681702022-09-25 22:11:112 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0xa9f6f82277ee624da8fb0adf876044048c6f7f80cb237a580e95b422daed8525266681702022-09-25 22:11:112 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x1080f8a11bf74a3721dec55b1af5db804afbe33d6201a76a6e067080828c619e266662922022-09-25 21:58:482 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x1080f8a11bf74a3721dec55b1af5db804afbe33d6201a76a6e067080828c619e266662922022-09-25 21:58:482 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0xe820e6ba5b7c8b7763e64affb0d8123337eded5c01b38f7a3ede61dbe38ee7d5266657622022-09-25 21:52:422 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0xe820e6ba5b7c8b7763e64affb0d8123337eded5c01b38f7a3ede61dbe38ee7d5266657622022-09-25 21:52:422 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x2887a919892f7f19e967a83b82c78039435d4594a796c17ea0603e6a4b229267266654212022-09-25 21:49:142 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x2887a919892f7f19e967a83b82c78039435d4594a796c17ea0603e6a4b229267266654212022-09-25 21:49:142 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0xd9f1fadbc6d63f6af8dafc8ccafeb1d0b3218d0b01eb4f66df39dddcaee85adf259227352022-09-22 9:06:185 days 23 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0xd9f1fadbc6d63f6af8dafc8ccafeb1d0b3218d0b01eb4f66df39dddcaee85adf259227352022-09-22 9:06:185 days 23 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0xc7309677bba2de7fca2e1e5a24684cc2a0cc237b79b9ca80e03d516288cacc73258159842022-09-21 22:22:466 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0xc7309677bba2de7fca2e1e5a24684cc2a0cc237b79b9ca80e03d516288cacc73258159842022-09-21 22:22:466 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x09e171b343793acc2d7cf5d99a9032fc2a0c5bd953f58ba1d483d89b9cd0c256258137112022-09-21 22:13:236 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x09e171b343793acc2d7cf5d99a9032fc2a0c5bd953f58ba1d483d89b9cd0c256258137112022-09-21 22:13:236 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0xdd33092972518af5104b8f2b7a3f9016e5bb9b1fb6ddfda9bb55b9a45df3db37258136802022-09-21 22:13:176 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0xdd33092972518af5104b8f2b7a3f9016e5bb9b1fb6ddfda9bb55b9a45df3db37258136802022-09-21 22:13:176 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x4726ea2d5fa96c6da22b39885be0e69555d7194c953d6a7461315df4481df4fc258106802022-09-21 21:57:136 days 10 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x4726ea2d5fa96c6da22b39885be0e69555d7194c953d6a7461315df4481df4fc258106802022-09-21 21:57:136 days 10 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x89d0eb2028df628b1dacf07b1dc6ebbd23f393e4b4e51ccbe76b992bade33612258052312022-09-21 21:35:436 days 11 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x89d0eb2028df628b1dacf07b1dc6ebbd23f393e4b4e51ccbe76b992bade33612258052312022-09-21 21:35:436 days 11 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x7bddac3d50e5d92ba6e58ba5268924b5a10b33a0eda903aabf3ec08346587149252125502022-09-19 3:45:149 days 5 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x7bddac3d50e5d92ba6e58ba5268924b5a10b33a0eda903aabf3ec08346587149252125502022-09-19 3:45:149 days 5 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0x5738ec01492046359585b9c75a4232f5cf89787627161acb18a47d4308bdea85252125442022-09-19 3:45:139 days 5 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x5738ec01492046359585b9c75a4232f5cf89787627161acb18a47d4308bdea85252125442022-09-19 3:45:139 days 5 hrs ago 0xc89958b03a55b5de2221acb25b58b89a000215e6 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b0 ETH
0xa9302e7eb9c3cde09f9f63a902a6c4215294495dba5be9d81f07b453279e193c252088592022-09-19 3:04:409 days 5 hrs ago 0xe4e58df3956bc6423a62e87ddd99ca3120f1dd4b 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETHOracleV1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Arbiscan on 2021-09-14
*/

// SPDX-License-Identifier: MIXED

// File @boringcrypto/boring-solidity/contracts/libraries/[email protected]
// License-Identifier: MIT
pragma solidity 0.6.12;

/// @notice A library for performing overflow-/underflow-safe math,
/// updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math).
library BoringMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require(b == 0 || (c = a * b) / b == a, "BoringMath: Mul Overflow");
    }

    function to128(uint256 a) internal pure returns (uint128 c) {
        require(a <= uint128(-1), "BoringMath: uint128 Overflow");
        c = uint128(a);
    }

    function to64(uint256 a) internal pure returns (uint64 c) {
        require(a <= uint64(-1), "BoringMath: uint64 Overflow");
        c = uint64(a);
    }

    function to32(uint256 a) internal pure returns (uint32 c) {
        require(a <= uint32(-1), "BoringMath: uint32 Overflow");
        c = uint32(a);
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint128.
library BoringMath128 {
    function add(uint128 a, uint128 b) internal pure returns (uint128 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint128 a, uint128 b) internal pure returns (uint128 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint64.
library BoringMath64 {
    function add(uint64 a, uint64 b) internal pure returns (uint64 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint64 a, uint64 b) internal pure returns (uint64 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint32.
library BoringMath32 {
    function add(uint32 a, uint32 b) internal pure returns (uint32 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint32 a, uint32 b) internal pure returns (uint32 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

// File contracts/interfaces/IOracle.sol
// License-Identifier: MIT
pragma solidity >= 0.6.12;

interface IOracle {
    /// @notice Get the latest exchange rate.
    /// @param data Usually abi encoded, implementation specific data that contains information and arguments to & about the oracle.
    /// For example:
    /// (string memory collateralSymbol, string memory assetSymbol, uint256 division) = abi.decode(data, (string, string, uint256));
    /// @return success if no valid (recent) rate is available, return false else true.
    /// @return rate The rate of the requested asset / pair / pool.
    function get(bytes calldata data) external returns (bool success, uint256 rate);

    /// @notice Check the last exchange rate without any state changes.
    /// @param data Usually abi encoded, implementation specific data that contains information and arguments to & about the oracle.
    /// For example:
    /// (string memory collateralSymbol, string memory assetSymbol, uint256 division) = abi.decode(data, (string, string, uint256));
    /// @return success if no valid (recent) rate is available, return false else true.
    /// @return rate The rate of the requested asset / pair / pool.
    function peek(bytes calldata data) external view returns (bool success, uint256 rate);

    /// @notice Check the current spot exchange rate without any state changes. For oracles like TWAP this will be different from peek().
    /// @param data Usually abi encoded, implementation specific data that contains information and arguments to & about the oracle.
    /// For example:
    /// (string memory collateralSymbol, string memory assetSymbol, uint256 division) = abi.decode(data, (string, string, uint256));
    /// @return rate The rate of the requested asset / pair / pool.
    function peekSpot(bytes calldata data) external view returns (uint256 rate);

    /// @notice Returns a human readable (short) name about this oracle.
    /// @param data Usually abi encoded, implementation specific data that contains information and arguments to & about the oracle.
    /// For example:
    /// (string memory collateralSymbol, string memory assetSymbol, uint256 division) = abi.decode(data, (string, string, uint256));
    /// @return (string) A human readable symbol name about this oracle.
    function symbol(bytes calldata data) external view returns (string memory);

    /// @notice Returns a human readable name about this oracle.
    /// @param data Usually abi encoded, implementation specific data that contains information and arguments to & about the oracle.
    /// For example:
    /// (string memory collateralSymbol, string memory assetSymbol, uint256 division) = abi.decode(data, (string, string, uint256));
    /// @return (string) A human readable name about this oracle.
    function name(bytes calldata data) external view returns (string memory);
}

// File contracts/oracles/AVAXOracle.sol
// License-Identifier: MIT
pragma solidity 0.6.12;


// Chainlink Aggregator

interface IAggregator {
    function latestAnswer() external view returns (int256 answer);
}

contract ETHOracleV1 is IOracle {
    using BoringMath for uint256; // Keep everything in uint256

    IAggregator public constant ethOracle = IAggregator(0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612);

    // Calculates the lastest exchange rate
    // Uses both divide and multiply only for tokens not supported directly by Chainlink, for example MKR/USD
    function _get() internal view returns (uint256) {
        return 1e26 / uint256(ethOracle.latestAnswer());
    }

    // Get the latest exchange rate
    /// @inheritdoc IOracle
    function get(bytes calldata) public override returns (bool, uint256) {
        return (true, _get());
    }

    // Check the last exchange rate without any state changes
    /// @inheritdoc IOracle
    function peek(bytes calldata ) public view override returns (bool, uint256) {
        return (true, _get());
    }

    // Check the current spot exchange rate without any state changes
    /// @inheritdoc IOracle
    function peekSpot(bytes calldata data) external view override returns (uint256 rate) {
        (, rate) = peek(data);
    }

    /// @inheritdoc IOracle
    function name(bytes calldata) public view override returns (string memory) {
        return "AVAX Chainlink";
    }

    /// @inheritdoc IOracle
    function symbol(bytes calldata) public view override returns (string memory) {
        return "LINK/AVAX";
    }
}

Contract ABI

[{"inputs":[],"name":"ethOracle","outputs":[{"internalType":"contract IAggregator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"get","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"peek","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"peekSpot","outputs":[{"internalType":"uint256","name":"rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610497806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063d568866c11610050578063d568866c1461020f578063d6d7d5251461027f578063eeb8a8d31461027f57610072565b80639c8762e114610077578063c699c4d6146100a8578063d39bbef01461018d575b600080fd5b61007f61030a565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610118600480360360208110156100be57600080fd5b8101906020810181356401000000008111156100d957600080fd5b8201836020820111156100eb57600080fd5b8035906020019184600183028401116401000000008311171561010d57600080fd5b509092509050610322565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101fd600480360360208110156101a357600080fd5b8101906020810181356401000000008111156101be57600080fd5b8201836020820111156101d057600080fd5b803590602001918460018302840111640100000000831117156101f257600080fd5b50909250905061035b565b60408051918252519081900360200190f35b6101186004803603602081101561022557600080fd5b81019060208101813564010000000081111561024057600080fd5b82018360208201111561025257600080fd5b8035906020019184600183028401116401000000008311171561027457600080fd5b50909250905061036f565b6102ef6004803603602081101561029557600080fd5b8101906020810181356401000000008111156102b057600080fd5b8201836020820111156102c257600080fd5b803590602001918460018302840111640100000000831117156102e457600080fd5b5090925090506103a8565b60408051921515835260208301919091528051918290030190f35b73639fe6ab55c921f74e7fac1ee960c0b6293ba61281565b505060408051808201909152600981527f4c494e4b2f415641580000000000000000000000000000000000000000000000602082015290565b600061036783836103a8565b949350505050565b505060408051808201909152600e81527f4156415820436861696e6c696e6b000000000000000000000000000000000000602082015290565b60008060016103b56103c0565b915091509250929050565b600073639fe6ab55c921f74e7fac1ee960c0b6293ba61273ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d602081101561044657600080fd5b50516a52b7d2dcc80cd2e40000008161045b57fe5b0490509056fea264697066735822122025505fb369434b29b1bd0716db56eadf3ec9598c4ab61cb62775353099da553d64736f6c634300060c0033

Deployed ByteCode Sourcemap

5712:1420:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5818:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7015:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7015:114:0;;-1:-1:-1;7015:114:0;-1:-1:-1;7015:114:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6699:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6699:125:0;;-1:-1:-1;6699:125:0;-1:-1:-1;6699:125:0;:::i;:::-;;;;;;;;;;;;;;;;6861:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6861:117:0;;-1:-1:-1;6861:117:0;-1:-1:-1;6861:117:0;:::i;6266:109::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6266:109:0;;-1:-1:-1;6266:109:0;-1:-1:-1;6266:109:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;5818:95;5870:42;5818:95;:::o;7015:114::-;-1:-1:-1;;7103:18:0;;;;;;;;;;;;;;;;;;7015:114::o;6699:125::-;6770:12;6806:10;6811:4;;6806;:10::i;:::-;6795:21;6699:125;-1:-1:-1;;;;6699:125:0:o;6861:117::-;-1:-1:-1;;6947:23:0;;;;;;;;;;;;;;;;;;6861:117::o;6266:109::-;6320:4;6326:7;6354:4;6360:6;:4;:6::i;:::-;6346:21;;;;6266:109;;;;;:::o;6078:114::-;6117:7;5870:42;6159:22;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6159:24:0;6144:4;6159:24;6144:40;;;;;6137:47;;6078:114;:::o

Metadata Hash

25505fb369434b29b1bd0716db56eadf3ec9598c4ab61cb62775353099da553d
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.