Contract 0x98878b06940ae243284ca214f92bb71a2b032b8a 4

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcf6b70fda6da19e10de0fbc50fd74b4d0d5b7b38c7efc9f39fbe5e835599b182Return Money6585722022-03-22 15:14:36188 days 13 hrs ago0xd57d3b4650457cba9b4bb2039cfec0424e4f0eee IN 0x98878b06940ae243284ca214f92bb71a2b032b8a0 GLMR0.00361046
0x114e3d5669588f85b92d9947ede9fb743e51b3bbcda6c13f281b5ea7af1be9670x608060406585592022-03-22 15:11:54188 days 13 hrs ago0xd57d3b4650457cba9b4bb2039cfec0424e4f0eee IN  Create: Recovery0 GLMR0.018798295
0xca0da12635a08f20a75de2733dc6ea759eaebf1411de1a05eb70dc6a5b4e330cTransfer2007942022-01-15 16:14:00254 days 12 hrs agoBinance 1 IN 0x98878b06940ae243284ca214f92bb71a2b032b8a6,855.24 GLMR0.0042
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xcf6b70fda6da19e10de0fbc50fd74b4d0d5b7b38c7efc9f39fbe5e835599b1826585722022-03-22 15:14:36188 days 13 hrs ago 0x98878b06940ae243284ca214f92bb71a2b032b8aBinance 16,864.048741732191611132 GLMR
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Recovery

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at moonbeam.moonscan.io on 2022-03-23
*/

pragma solidity ^0.8.0;

contract Recovery {
    address public owner;

    // Emit event with the original txHash of the refunded tx
    event txRefund(bytes32 indexed _txId);

    constructor() {
        owner = msg.sender;
    }

    /**
     * @dev Sends money back to a target address using contract's funds
     * @param _amount is the amount of tokens to be refunded in Wei units
     * @param _target is the target address
     * @param _txId is the transaction hash of the original tx which sent the funds to the contract
    */
    function returnMoney(uint _amount, address _target, bytes32 _txId) public onlyOwner {
        payable(_target).transfer(_amount);

        emit txRefund(_txId);
    }

    function contractBalance() public view returns(uint) {
        return address(this).balance;
    }

    modifier onlyOwner() {
      require(msg.sender == owner, "not owner");
      _;
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_txId","type":"bytes32"}],"name":"txRefund","type":"event"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes32","name":"_txId","type":"bytes32"}],"name":"returnMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916331790556101f3806100326000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80638b7afe2e146100465780638da5cb5b14610064578063a50ef10014610079575b600080fd5b61004e61008e565b60405161005b91906101b4565b60405180910390f35b61006c610092565b60405161005b919061017d565b61008c61008736600461013b565b6100a1565b005b4790565b6000546001600160a01b031681565b6000546001600160a01b031633146100d45760405162461bcd60e51b81526004016100cb90610191565b60405180910390fd5b6040516001600160a01b0383169084156108fc029085906000818181858888f1935050505015801561010a573d6000803e3d6000fd5b5060405181907f3dffbf951bdabedf4419d08b0ed4bf990e003c5a3570bf6e4fb3261e3491a52390600090a2505050565b60008060006060848603121561014f578283fd5b8335925060208401356001600160a01b038116811461016c578283fd5b929592945050506040919091013590565b6001600160a01b0391909116815260200190565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b9081526020019056fea2646970667358221220bb10ed024450c2dc76f43f1c838438873c8c18981de0af39561046aa2b4753da64736f6c63430008000033

Deployed ByteCode Sourcemap

27:911:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;738:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52:20;;;:::i;:::-;;;;;;;:::i;560:170::-;;;;;;:::i;:::-;;:::i;:::-;;738:100;809:21;738:100;:::o;52:20::-;;;-1:-1:-1;;;;;52:20:0;;:::o;560:170::-;898:5;;-1:-1:-1;;;;;898:5:0;884:10;:19;876:41;;;;-1:-1:-1;;;876:41:0;;;;;;;:::i;:::-;;;;;;;;;655:34:::1;::::0;-1:-1:-1;;;;;655:25:0;::::1;::::0;:34;::::1;;;::::0;681:7;;655:34:::1;::::0;;;681:7;655:25;:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;707:15:0::1;::::0;716:5;;707:15:::1;::::0;;;::::1;560:170:::0;;;:::o;14:442:1:-;;;;160:2;148:9;139:7;135:23;131:32;128:2;;;181:6;173;166:22;128:2;209:23;;;-1:-1:-1;282:2:1;267:18;;254:32;-1:-1:-1;;;;;315:31:1;;305:42;;295:2;;366:6;358;351:22;295:2;118:338;;394:5;;-1:-1:-1;;;446:2:1;431:18;;;;418:32;;118:338::o;461:203::-;-1:-1:-1;;;;;625:32:1;;;;607:51;;595:2;580:18;;562:102::o;669:332::-;871:2;853:21;;;910:1;890:18;;;883:29;-1:-1:-1;;;943:2:1;928:18;;921:39;992:2;977:18;;843:158::o;1006:177::-;1152:25;;;1140:2;1125:18;;1107:76::o

Swarm Source

ipfs://bb10ed024450c2dc76f43f1c838438873c8c18981de0af39561046aa2b4753da
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.