Sponsored:   VC, TLDR and CoinBene Funded "TEMCO: Bitcoin Network (RSK) Suppy Chain! Whitelist KYC Starts Now!!"
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 112 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xd2d641977d21a1dc7758eb619dd5960423ade86eat txn 0xe79ba4a43f0e1769934835ca9a183a4347734a27d7b0000c233af768b03ba5dc
 Latest 25 transactions from a total of 112 transactions

TxHash Age From To Value [TxFee]
0x79171c48e7cd35d6d549c6dac188a138c3659563191969f4d46d116f2ab6532c2 hrs 44 mins ago0xf9efcc3526b43b1b26c8e6f17e93779b53e05321  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.001932658
0x77608fdecbe4c6193895b94728ed855ce350e4e81429ff4e8736056d39e56f0d6 days 5 hrs ago0x0c77bef07d1fb0f79eb4fec6b9152758b3471e59  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xdce8ee1ea1defba7f581b2555f6974c5499d6dfa922c60f939f70b403ff7b5a26 days 5 hrs ago0xb6aac3b56ff818496b747ea57fcbe42a9aae6218  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60.05 Ether0.00052615
0x6d1333e840d0d073583929e0ef9bba8b3c23723e37a485712283dee508ff96247 days 21 hrs ago0x60eed44d6f296bbaf6592c5cfee4bc228782d33a  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xf3c6ee28785187ca196ed1e1af6a8c2ec0a16b00b9d0edfe449371fd5c1900e58 days 15 hrs ago0x3fb341a9d0e264abe043003b2d3aff155f6db3de  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xc64077209d022e2e94dcc3fd5ada8899f79f91ae48c486853c587a81c01870f39 days 7 hrs ago0x88d2a2a93399b997f793394d35870fb9b0306270  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xff1ebd350800a0b018c499b70c8722e2392a6551110506ffba5041d73ab4969317 days 6 hrs ago0x44ed0f7aad619d74453925829c20717e0c0d365b  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xe659a4ecaa661683d3b9b8e99d273ce0d968ad0557ef1ca389532034fdfe217617 days 8 hrs ago0xe0c54d12c8a47f6fca9f05b2b3342c1987fcfc3f  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xc2d0ec0bda9f5c6ae84f7fc27eb3dfbe47c983ddf9345d3add26ff946399678e18 days 14 hrs ago0x7ae04ed7f1082d8aa1c19893e9ec4039a666c02c  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xb8f0dd26d8393c2e1aec7069cd733aa72f38e22db0af7c646f2eb0afbd850f2819 days 8 hrs ago0x80ccf371336d86530fac527350492fc7eaaeb6d6  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x32034bab104f50466c7d2d7bca507b974a56e04668bdd06715d9f503591b8f6b19 days 15 hrs ago0x109a69e3599b48baba48dc8cfaca6f7e4bffeb5d  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x90d8a86fca5afe620bf16de1aac5b8cc2b0b1206c2d10ea1084506ce4af30f8619 days 22 hrs ago0xe51291bd638e26d8ec44d2d3145800d339f991bd  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x44139c36489a86964be0ec603fea970bcee37c8b3817cbdb0505bd296485176920 days 4 hrs ago0xadaa83f1e4f2b2893600063a3c3d971a76826e77  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x5feb4fd84d1579cbee5fe77827aa4e34db51111bb6fec52ed1e591a31742ffb425 days 1 hr ago0xf39ca49847dcd5e60513766779894d35eb69c594  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.000282828
0x4f9fdade13135cd750adb9d97489721d9fd73f608bf9b1cf51139f80ccee02e926 days 22 hrs ago0x1c09793d47ff55c6f3b79dba2b2b104c42a3eb67  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x7041ff97e60a7c88b5bf9e78f1f882a55fcc03437c12f73631227a1ebe0d750431 days 4 hrs ago0x2850c13d0e24793f5b6ef4766f30a3f745c0a8b9  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x7fbeae8fad4ad766820774075cf7869d4129a93c2208d355a5b09ae63f4a8fd834 days 57 mins ago0x20d7f17ce1dd40e977ebc6c86f51dbf64a07e632  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x729a53f9a216c19a06a3739269f39e0131cbd9324c7f83a04a10c2250e55098435 days 18 hrs ago0x2685104633bf3490b5e745020c99296e8719c0a4  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x682792f9da50ab3230e0edbb0f7bb0c20ac6d2e1e28914ce8e2a2a4a5c8dbf4336 days 2 hrs ago0x9eb0d438f073819be56f66297f0c026008086b97  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xd77388c55c621332dcf5cbba04713e78564f749b26ddb22d68c62ce99853c6a336 days 10 hrs ago0xede0e6235c72efb4dff4c111f0d9d480e9f2d9ca  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x2ba5807198082f09da430d1ff8ba59393e4498de70ddb7b4ce3d98d58b77eb7136 days 13 hrs ago0x92110b229b312eb94a157c863cf0f31443eced4f  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x8359259e0f8fd519ebfb4a14f4d1368f3273242596f564cf2beef20ba2bb912137 days 5 hrs ago0xce74844950b3873a9d9e9611e7ec4ac2d9df58de  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0x45f8616f7ba4ff0ea10f96358846f609f09212fb5d7607bb8adb20596e16e17539 days 15 hrs ago0x16c0b6956ee42ad5c0d459c3098fb581c6f8941e  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xffa945d419ecb475eada787e5a9b44458b614e1438a441768a6daefe55a909b240 days 9 hrs ago0x277e14a5111247c9a77c0493888b73c44fd00e93  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
0xa223db8ac0f8cb8cc30c36075bed681d95c82033ff9e043d116662200bc8f81d42 days 1 hr ago0xb1c9c3ed73b4fe0f6bfd928a501ee9cac00cd844  IN   0x6a372f5ae59e612e701663d25913a2a07efcfae60 Ether0.00047138
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified (Exact Match)
Contract Name: MigrationAgent
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

// pragma solidity ^0.4.0;
contract MigrationAgent {
    event Migrated( uint indexed id, address indexed from, uint amount, string eos_account_name);
    event NameRegistered(address indexed from, string eos_account_name);

    struct Migration {
        uint id;
        address participant;
        string eos_account_name;
        uint amount;
    }

    address game_address = 0xb1;
    address public token_address = 0x089A6D83282Fb8988A656189F1E7A73FA6C1caC2;
    uint public migration_id = 0;
    
    mapping(address => string) public registrations;
    mapping(uint => Migration) public migrations;
    mapping(address => Migration[]) public participant_migrations;

    function migrateFrom(address participant, uint amount) public {
        if (msg.sender != token_address || !participantRegistered(participant) || amount < 0.0001 ether) revert();
        if (participant != game_address)
        {
            var migration = Migration(migration_id, participant, registrations[participant], amount);
            participant_migrations[participant].push(migration);
            migrations[migration_id] = migration;
            emit Migrated(migration_id, participant, amount, registrations[participant]);
            migration_id++;
        }
    }
    
    function register(string eos_account_name) public
    {
        registrations[msg.sender] = eos_account_name;
        if (participantRegistered(msg.sender))
            emit NameRegistered(msg.sender, eos_account_name);
    }
    
    function participantRegistered(address participant) public constant returns (bool)
    {
        return participant == game_address || keccak256(registrations[participant]) != keccak256("");
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"participant_migrations","outputs":[{"name":"id","type":"uint256"},{"name":"participant","type":"address"},{"name":"eos_account_name","type":"string"},{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"participant","type":"address"}],"name":"participantRegistered","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"migrations","outputs":[{"name":"id","type":"uint256"},{"name":"participant","type":"address"},{"name":"eos_account_name","type":"string"},{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"},{"name":"amount","type":"uint256"}],"name":"migrateFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token_address","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"registrations","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migration_id","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"eos_account_name","type":"string"}],"name":"register","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"id","type":"uint256"},{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"eos_account_name","type":"string"}],"name":"Migrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"eos_account_name","type":"string"}],"name":"NameRegistered","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405260b16000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073089a6d83282fb8988a656189f1e7a73fa6c1cac2600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006002553480156100ab57600080fd5b50610ff9806100bb6000396000f30060806040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631926e549146100935780631d7333371461019a5780631e5cb9be146101f55780637a3130e3146102dc5780638c8e8fee14610329578063942e6bcf14610380578063b37625571461043c578063f2c298be14610467575b600080fd5b34801561009f57600080fd5b506100de600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506104d0565b604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561015c578082015181840152602081019050610141565b50505050905090810190601f1680156101895780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156101a657600080fd5b506101db600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105d4565b604051808215151515815260200191505060405180910390f35b34801561020157600080fd5b50610220600480360381019080803590602001909291905050506106f6565b604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561029e578082015181840152602081019050610283565b50505050905090810190601f1680156102cb5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102e857600080fd5b50610327600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107de565b005b34801561033557600080fd5b5061033e610c74565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038c57600080fd5b506103c1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104015780820151818401526020810190506103e6565b50505050905090810190601f16801561042e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044857600080fd5b50610451610d4a565b6040518082815260200191505060405180910390f35b34801561047357600080fd5b506104ce600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610d50565b005b6005602052816000526040600020818154811015156104eb57fe5b9060005260206000209060040201600091509150508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105c45780601f10610599576101008083540402835291602001916105c4565b820191906000526020600020905b8154815290600101906020018083116105a757829003601f168201915b5050505050908060030154905084565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806106ef5750604051806000019050604051809103902060001916600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180828054600181600116156101000203166002900480156106db5780601f106106b95761010080835404028352918201916106db565b820191906000526020600020905b8154815290600101906020018083116106c7575b505091505060405180910390206000191614155b9050919050565b60046020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050908060030154905084565b6107e6610e69565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415806108495750610847836105d4565b155b806108595750655af3107a400082105b1561086357600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515610c6f5760806040519081016040528060025481526020018473ffffffffffffffffffffffffffffffffffffffff168152602001600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109bc5780601f10610991576101008083540402835291602001916109bc565b820191906000526020600020905b81548152906001019060200180831161099f57829003601f168201915b50505050508152602001838152509050600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081908060018154018082558091505090600182039060005260206000209060040201600090919290919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190610aa4929190610ea8565b5060608201518160030155505050806004600060025481526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190610b35929190610ea8565b50606082015181600301559050508273ffffffffffffffffffffffffffffffffffffffff166002547f9f318811f1ddb4bb2171d583044f9a214b0757706cb120a62ef7059b38d3e55184600360008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518083815260200180602001828103825283818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610c4d5780601f10610c2257610100808354040283529160200191610c4d565b820191906000526020600020905b815481529060010190602001808311610c3057829003601f168201915b5050935050505060405180910390a36002600081548092919060010191905055505b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915090508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d425780601f10610d1757610100808354040283529160200191610d42565b820191906000526020600020905b815481529060010190602001808311610d2557829003601f168201915b505050505081565b60025481565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209080519060200190610da3929190610f28565b50610dad336105d4565b15610e66573373ffffffffffffffffffffffffffffffffffffffff167f56a1a2764a85c689329fbc04f299b64690a26b1dc5ac82e903cf8ad805cd5396826040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e2b578082015181840152602081019050610e10565b50505050905090810190601f168015610e585780820380516001836020036101000a031916815260200191505b509250505060405180910390a25b50565b60806040519081016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610ee957805160ff1916838001178555610f17565b82800160010185558215610f17579182015b82811115610f16578251825591602001919060010190610efb565b5b509050610f249190610fa8565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f6957805160ff1916838001178555610f97565b82800160010185558215610f97579182015b82811115610f96578251825591602001919060010190610f7b565b5b509050610fa49190610fa8565b5090565b610fca91905b80821115610fc6576000816000905550600101610fae565b5090565b905600a165627a7a72305820d5435429e0a1502bfbc1142039c1e51f93973dc88f8426f37aac8adbcfbbdd310029

   Swarm Source:
bzzr://d5435429e0a1502bfbc1142039c1e51f93973dc88f8426f37aac8adbcfbbdd31

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.