Contract 0xB555aA1bF1DA126c456Ee6C8e91f88d146EAaF08

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe7080a9df6acb466d9a5e311a6ce35ecd33a281c1f7a28bcf1e3b8febc4b1815Randomness Reque...124777092021-09-18 16:29:236 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0x831b522941127a91dddeb5a2d8c4fa1d7a46ed1ace16b2b50ab1a51f67a12766Randomness Reque...124776632021-09-18 16:27:056 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0xb2c07ae3a8fe234b218ff6fb37446bb331908247b0c79e20cfa09620a3a254d2Randomness Reque...124776242021-09-18 16:25:086 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0xbfe30928f105eec87d81c11368838b42f46222b94d3cef08b00d2eaae32583ffRandomness Reque...124775852021-09-18 16:23:116 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0x042156414d4c08b065cbb22534e290544fb372d5ec71434014c73e0444ca6f01Randomness Reque...124775502021-09-18 16:21:266 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0x45eb31e2d1370943c7f607fc6654e9dbba3b7826271e91eb1465d94bdb70cc29Randomness Reque...124775242021-09-18 16:20:086 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0xf532ca02efdc09d7bcfe5ce8cca16a213dc3cda6fc12325757d2d355e28214caRandomness Reque...124774302021-09-18 16:15:266 days 12 hrs ago0x3a93da588954acf4d0d8f1f1a4439fa79d84cf29 IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00152834
0x7d3494b2a7015c719ed2a6965396d3e87253d4506cd7d6a417ed85f9deafe4c4Randomness Reque...123020552021-09-12 12:41:4412 days 16 hrs ago0x160b751e748fbbbdb6720bc1051b40bd48247e6c IN  0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB0.00182834
0x36c884e87ecea7b910f976cdd6a952c89c3cf40994b22f1da2820d80f11460120x60806040123020512021-09-12 12:41:2012 days 16 hrs ago0x160b751e748fbbbdb6720bc1051b40bd48247e6c IN  Contract Creation0 BNB0.00300131
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3996a1c064a8e86091b298aeb03808a7feb2862dcf9b788f63c0e44eb3b80dc7124777222021-09-18 16:30:026 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0xe7080a9df6acb466d9a5e311a6ce35ecd33a281c1f7a28bcf1e3b8febc4b1815124777092021-09-18 16:29:236 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0xe7080a9df6acb466d9a5e311a6ce35ecd33a281c1f7a28bcf1e3b8febc4b1815124777092021-09-18 16:29:236 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0xe7080a9df6acb466d9a5e311a6ce35ecd33a281c1f7a28bcf1e3b8febc4b1815124777092021-09-18 16:29:236 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x6a38727f2dfa89547fe8afd9d0a5dc32db024c27cd8d9aa6acbf5bc9f3e6f7f8124776782021-09-18 16:27:506 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0x831b522941127a91dddeb5a2d8c4fa1d7a46ed1ace16b2b50ab1a51f67a12766124776632021-09-18 16:27:056 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x831b522941127a91dddeb5a2d8c4fa1d7a46ed1ace16b2b50ab1a51f67a12766124776632021-09-18 16:27:056 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0x831b522941127a91dddeb5a2d8c4fa1d7a46ed1ace16b2b50ab1a51f67a12766124776632021-09-18 16:27:056 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x7644858cc7611e69c23729dedfdfaf10e3167a173446bcf0eda2f636802d52c8124776402021-09-18 16:25:566 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0xb2c07ae3a8fe234b218ff6fb37446bb331908247b0c79e20cfa09620a3a254d2124776242021-09-18 16:25:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0xb2c07ae3a8fe234b218ff6fb37446bb331908247b0c79e20cfa09620a3a254d2124776242021-09-18 16:25:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0xb2c07ae3a8fe234b218ff6fb37446bb331908247b0c79e20cfa09620a3a254d2124776242021-09-18 16:25:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x3f81ea742404ac78081b8f58f8ae080a9965b502fbc1931cf469a96ab6c8b3df124775942021-09-18 16:23:386 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0x74e627b706aeacba545a984ebf9f0cc93ac737944e4a4e8ab5770ea48298bf23124775932021-09-18 16:23:356 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0xbfe30928f105eec87d81c11368838b42f46222b94d3cef08b00d2eaae32583ff124775852021-09-18 16:23:116 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0xbfe30928f105eec87d81c11368838b42f46222b94d3cef08b00d2eaae32583ff124775852021-09-18 16:23:116 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0xbfe30928f105eec87d81c11368838b42f46222b94d3cef08b00d2eaae32583ff124775852021-09-18 16:23:116 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0xbfc4112293495b82baddaaed0a4feb0d6201e3c88137d5916bcd0e83145d5ae6124775592021-09-18 16:21:536 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0x042156414d4c08b065cbb22534e290544fb372d5ec71434014c73e0444ca6f01124775502021-09-18 16:21:266 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x042156414d4c08b065cbb22534e290544fb372d5ec71434014c73e0444ca6f01124775502021-09-18 16:21:266 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0x042156414d4c08b065cbb22534e290544fb372d5ec71434014c73e0444ca6f01124775502021-09-18 16:21:266 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0xb3b14dd6f34a2ccb1b1f6c928806b2db19f023038c9372630f7514162feb3093124775332021-09-18 16:20:356 days 12 hrs ago 0x4144dfd7df97839507c404d1ca79b47aa227dda2 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf080 BNB
0x45eb31e2d1370943c7f607fc6654e9dbba3b7826271e91eb1465d94bdb70cc29124775242021-09-18 16:20:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
0x45eb31e2d1370943c7f607fc6654e9dbba3b7826271e91eb1465d94bdb70cc29124775242021-09-18 16:20:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0xe6487f7bdeb798e2457e44570f367a3059ed9f930 BNB
0x45eb31e2d1370943c7f607fc6654e9dbba3b7826271e91eb1465d94bdb70cc29124775242021-09-18 16:20:086 days 12 hrs ago 0xb555aa1bf1da126c456ee6c8e91f88d146eaaf08 0x4144dfd7df97839507c404d1ca79b47aa227dda20 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VrfOracleOraichainExample

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-09-12
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.5.16;


library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {codehash := extcodehash(account)}
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disab le-next-line avoid-call-value
        (bool success,) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


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;
    }

}

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) {// Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

interface IVRFOracleOraichain {
    function randomnessRequest(uint256 _seed, bytes calldata _data) external returns (bytes32 reqId);

    function fee() external returns (uint256);
}

contract VrfOracleOraichainExample {

    uint256 public  fee;


    address public orai;

    address public oracle;

    bytes32 public random;

    bytes32 public reqId;

    bytes32 public reqId2;
    constructor (address _oraiToken, address _oracle) public {
        fee = 0;
        orai = _oraiToken;
        oracle = _oracle;
    }

    function randomnessRequest(uint256 _seed) public {
        IERC20(orai).approve(oracle, IVRFOracleOraichain(oracle).fee());

        bytes memory data = abi.encode(address(this), this.fulfillRandomness.selector);

        reqId = IVRFOracleOraichain(oracle).randomnessRequest(_seed, data);
    }

    function fulfillRandomness(bytes32 _reqId, bytes32 _random) external {
        random = _random;
        reqId2 = _reqId;
    }

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_oraiToken","type":"address"},{"internalType":"address","name":"_oracle","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_reqId","type":"bytes32"},{"internalType":"bytes32","name":"_random","type":"bytes32"}],"name":"fulfillRandomness","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"orai","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"random","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_seed","type":"uint256"}],"name":"randomnessRequest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reqId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reqId2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516104263803806104268339818101604052604081101561003357600080fd5b50805160209091015160008055600180546001600160a01b039384166001600160a01b031991821617909155600280549390921692169190911790556103a88061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80637dc0d1d01161005b5780637dc0d1d0146100f85780638997ce4e14610100578063d8fa2f6a14610108578063ddca3f431461012557610088565b80630ffdd4e41461008d5780632ba8afb1146100b25780632e22873e146100d65780635ec01e4d146100f0575b600080fd5b6100b0600480360360408110156100a357600080fd5b508035906020013561012d565b005b6100ba610135565b604080516001600160a01b039092168252519081900360200190f35b6100de610144565b60408051918252519081900360200190f35b6100de61014a565b6100ba610150565b6100de61015f565b6100b06004803603602081101561011e57600080fd5b5035610165565b6100de61036d565b600355600555565b6001546001600160a01b031681565b60055481565b60035481565b6002546001600160a01b031681565b60045481565b6001546002546040805163ddca3f4360e01b815290516001600160a01b039384169363095ea7b3931691829163ddca3f43916004808201926020929091908290030181600087803b1580156101b957600080fd5b505af11580156101cd573d6000803e3d6000fd5b505050506040513d60208110156101e357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561023457600080fd5b505af1158015610248573d6000803e3d6000fd5b505050506040513d602081101561025e57600080fd5b505060408051306020808301919091526303ff753960e21b8284015282518083038401815260608301808552600254635e2fe29960e11b9091526064840186815260848501958652825160a4860152825192956001600160a01b039092169463bc5fc53294889488949260c4019185019080838360005b838110156102ed5781810151838201526020016102d5565b50505050905090810190601f16801561031a5780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561033a57600080fd5b505af115801561034e573d6000803e3d6000fd5b505050506040513d602081101561036457600080fd5b50516004555050565b6000548156fea265627a7a723158208dff4992409e04cadf18e9807a4e19a120c8e8ddd33b9833f87ff4eaa756d78f64736f6c63430005100032000000000000000000000000e6487f7bdeb798e2457e44570f367a3059ed9f930000000000000000000000004144dfd7df97839507c404d1ca79b47aa227dda2

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000e6487f7bdeb798e2457e44570f367a3059ed9f930000000000000000000000004144dfd7df97839507c404d1ca79b47aa227dda2

-----Decoded View---------------
Arg [0] : _oraiToken (address): 0xe6487f7bdeb798e2457e44570f367a3059ed9f93
Arg [1] : _oracle (address): 0x4144dfd7df97839507c404d1ca79b47aa227dda2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e6487f7bdeb798e2457e44570f367a3059ed9f93
Arg [1] : 0000000000000000000000004144dfd7df97839507c404d1ca79b47aa227dda2


Deployed ByteCode Sourcemap

13926:809:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13926:809:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14600:130;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14600:130:0;;;;;;;:::i;:::-;;14000:19;;;:::i;:::-;;;;-1:-1:-1;;;;;14000:19:0;;;;;;;;;;;;;;14117:21;;;:::i;:::-;;;;;;;;;;;;;;;;14058;;;:::i;14028:::-;;;:::i;14088:20::-;;;:::i;14291:301::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14291:301:0;;:::i;13970:19::-;;;:::i;14600:130::-;14680:6;:16;14707:6;:15;14600:130::o;14000:19::-;;;-1:-1:-1;;;;;14000:19:0;;:::o;14117:21::-;;;;:::o;14058:::-;;;;:::o;14028:::-;;;-1:-1:-1;;;;;14028:21:0;;:::o;14088:20::-;;;;:::o;14291:301::-;14358:4;;14372:6;;14380:33;;;-1:-1:-1;;;14380:33:0;;;;-1:-1:-1;;;;;14358:4:0;;;;14351:20;;14372:6;;;;14380:31;;:33;;;;;;;;;;;;;;;14358:4;14372:6;14380:33;;;5:2:-1;;;;30:1;27;20:12;5:2;14380:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14380:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14380:33:0;14351:63;;;-1:-1:-1;;;;;;14351:63:0;;;;;;;-1:-1:-1;;;;;14351:63:0;;;;;;;;;;;;;;;;;;;;14380:33;;14351:63;;;;;;;-1:-1:-1;14351:63:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;14351:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14351:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;14447:58:0;;;14466:4;14351:63;14447:58;;;;;;;-1:-1:-1;;;14447:58:0;;;;;;26:21:-1;;;22:32;;6:49;;14427:17:0;14447:58;;;;;14546:6;;-1:-1:-1;;;14526:58:0;;;;;;;;;;;;;;;;;;;;;;;14447;;-1:-1:-1;;;;;14546:6:0;;;;14526:45;;:58;;14447;;14526;;;;;;;;;;-1:-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;14526:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14526:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14526:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14526:58:0;14518:5;:66;-1:-1:-1;;14291:301:0:o;13970:19::-;;;;:::o

Swarm Source

bzzr://8dff4992409e04cadf18e9807a4e19a120c8e8ddd33b9833f87ff4eaa756d78f
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading