MOVR Price: $2.11 (+0.45%)

Contract

0x7c98199C0038391E26453CeE445c97D9e60116c9

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Stake10613432021-12-10 23:29:541512 days ago1639178994IN
0x7c98199C...9e60116c9
0 MOVR0.000126661
Stake10608572021-12-10 21:47:061512 days ago1639172826IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10608412021-12-10 21:43:541512 days ago1639172634IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10605832021-12-10 20:50:241512 days ago1639169424IN
0x7c98199C...9e60116c9
0 MOVR0.000126671
Stake10605002021-12-10 20:33:121512 days ago1639168392IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10594592021-12-10 16:56:541512 days ago1639155414IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10592462021-12-10 16:11:001512 days ago1639152660IN
0x7c98199C...9e60116c9
0 MOVR0.000027541
Stake10592462021-12-10 16:11:001512 days ago1639152660IN
0x7c98199C...9e60116c9
0 MOVR0.000126651
Stake10592432021-12-10 16:10:241512 days ago1639152624IN
0x7c98199C...9e60116c9
0 MOVR0.000107231
Stake10583612021-12-10 13:02:541512 days ago1639141374IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10582792021-12-10 12:46:001512 days ago1639140360IN
0x7c98199C...9e60116c9
0 MOVR0.000331
Stake10580672021-12-10 12:01:481512 days ago1639137708IN
0x7c98199C...9e60116c9
0 MOVR0.000126671
Stake10572312021-12-10 9:07:421512 days ago1639127262IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10568332021-12-10 7:44:421512 days ago1639122282IN
0x7c98199C...9e60116c9
0 MOVR0.000126661
Stake10563602021-12-10 6:04:541512 days ago1639116294IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10562422021-12-10 5:38:481512 days ago1639114728IN
0x7c98199C...9e60116c9
0 MOVR0.000329991
Stake10561192021-12-10 5:13:061513 days ago1639113186IN
0x7c98199C...9e60116c9
0 MOVR0.000111321
Stake10557892021-12-10 4:03:001513 days ago1639108980IN
0x7c98199C...9e60116c9
0 MOVR0.000111321
Stake10550592021-12-10 1:27:061513 days ago1639099626IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10550302021-12-10 1:21:001513 days ago1639099260IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10549432021-12-10 1:02:541513 days ago1639098174IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10547192021-12-10 0:16:481513 days ago1639095408IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10545802021-12-09 23:47:421513 days ago1639093662IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10543862021-12-09 23:05:481513 days ago1639091148IN
0x7c98199C...9e60116c9
0 MOVR0.000111331
Stake10543802021-12-09 23:04:361513 days ago1639091076IN
0x7c98199C...9e60116c9
0 MOVR0.000107231
View all transactions

View more zero value Internal Transactions in Advanced View mode

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingHelper

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonriver.moonscan.io on 2021-11-18
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;


interface IERC20 {
    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 `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);
}

interface IStaking {
    function stake( uint _amount, address _recipient ) external returns ( bool );
    function claim( address _recipient ) external;
}

contract StakingHelper {

    address public immutable staking;
    address public immutable Time;

    constructor ( address _staking, address _Time ) {
        require( _staking != address(0) );
        staking = _staking;
        require( _Time != address(0) );
        Time = _Time;
    }

    function stake( uint _amount, address recipient ) external {
        IERC20( Time ).transferFrom( msg.sender, address(this), _amount );
        IERC20( Time ).approve( staking, _amount );
        IStaking( staking ).stake( _amount, recipient );
        IStaking( staking ).claim( recipient );
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_Time","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Time","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063f8e157ea14610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea2646970667358221220f47ae1a70f86b68b863d6dcb6bccbcaeac3edaac350a6c1023de127aa78295dc64736f6c63430007050033000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063f8e157ea14610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f81565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f811660048301526024820185905291517f000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c09092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f90921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f90921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c08156fea2646970667358221220f47ae1a70f86b68b863d6dcb6bccbcaeac3edaac350a6c1023de127aa78295dc64736f6c63430007050033

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

000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c0

-----Decoded View---------------
Arg [0] : _staking (address): 0x534F861B6BaFdF030E5b469D2d763834163f522f
Arg [1] : _Time (address): 0x761cb807bFbF14A4f4bA980f29F43F009F6a18c0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000534f861b6bafdf030e5b469d2d763834163f522f
Arg [1] : 000000000000000000000000761cb807bfbf14a4f4ba980f29f43f009f6a18c0


Deployed Bytecode Sourcemap

2810:616:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2842:32:0;;;;;;;;;;;;;;3120:303;;;;;;;;;;;;;;;;-1:-1:-1;3120:303:0;;;;;;-1:-1:-1;;;;;3120:303:0;;:::i;:::-;;2881:29;;;:::i;2842:32::-;;;:::o;3120:303::-;3190:65;;;-1:-1:-1;;;3190:65:0;;3219:10;3190:65;;;;3239:4;3190:65;;;;;;;;;;;;-1:-1:-1;;;;;3198:4:0;3190:27;;;;:65;;;;;;;;;;;;;;-1:-1:-1;3190:27:0;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3266:42:0;;;-1:-1:-1;;;3266:42:0;;-1:-1:-1;;;;;3290:7:0;3266:42;;;;;;;;;;;;;;3274:4;3266:22;;;;;;:42;;;;;3190:65;;3266:42;;;;;;;;-1:-1:-1;3266:22:0;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3319:47:0;;;-1:-1:-1;;;3319:47:0;;;;;;;;-1:-1:-1;;;;;3319:47:0;;;;;;;;;3329:7;3319:25;;;;;;:47;;;;;3266:42;;3319:47;;;;;;;;-1:-1:-1;3319:25:0;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3377:38:0;;;-1:-1:-1;;;3377:38:0;;-1:-1:-1;;;;;3377:38:0;;;;;;;;;3387:7;3377:25;;;;;;:38;;;;;-1:-1:-1;;3377:38:0;;;;;;;;-1:-1:-1;3377:25:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3120:303;;:::o;2881:29::-;;;:::o

Swarm Source

ipfs://f47ae1a70f86b68b863d6dcb6bccbcaeac3edaac350a6c1023de127aa78295dc

Block Transaction Gas Used Reward
view all blocks collator

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.