ETH Price: $3,370.60 (-2.53%)

Contract

0x7eFc09181CFeB60E59C4B5f17aaB3219521b8AC4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Out122768292021-04-20 11:44:251346 days ago1618919065IN
0x7eFc0918...9521b8AC4
0 ETH0.00754371232
Deposit122699792021-04-19 10:30:491347 days ago1618828249IN
0x7eFc0918...9521b8AC4
0 ETH0.0048515168
Deposit122699582021-04-19 10:26:191347 days ago1618827979IN
0x7eFc0918...9521b8AC4
0 ETH0.00693082158
Deposit122691242021-04-19 7:22:461347 days ago1618816966IN
0x7eFc0918...9521b8AC4
0 ETH0.00522005119.00000145
Transfer Out122678852021-04-19 2:34:331347 days ago1618799673IN
0x7eFc0918...9521b8AC4
0 ETH0.0104482222
Transfer Out122678752021-04-19 2:32:081347 days ago1618799528IN
0x7eFc0918...9521b8AC4
0 ETH0.01063375226
Transfer Out122670232021-04-18 23:15:181348 days ago1618787718IN
0x7eFc0918...9521b8AC4
0 ETH0.00893988190
Deposit122664302021-04-18 21:06:101348 days ago1618779970IN
0x7eFc0918...9521b8AC4
0 ETH0.00491299112
Deposit122663722021-04-18 20:53:031348 days ago1618779183IN
0x7eFc0918...9521b8AC4
0 ETH0.00465234106
Deposit122663252021-04-18 20:41:321348 days ago1618778492IN
0x7eFc0918...9521b8AC4
0 ETH0.00331239106
Transfer Out122658302021-04-18 18:53:291348 days ago1618772009IN
0x7eFc0918...9521b8AC4
0 ETH0.0128328200
Deposit122655562021-04-18 17:53:531348 days ago1618768433IN
0x7eFc0918...9521b8AC4
0 ETH0.00308866107
Deposit122647822021-04-18 15:05:371348 days ago1618758337IN
0x7eFc0918...9521b8AC4
0 ETH0.00500346114
Deposit122647242021-04-18 14:52:291348 days ago1618757549IN
0x7eFc0918...9521b8AC4
0 ETH0.00487045111
Deposit122647162021-04-18 14:51:071348 days ago1618757467IN
0x7eFc0918...9521b8AC4
0 ETH0.00486912111
Deposit122637242021-04-18 11:10:181348 days ago1618744218IN
0x7eFc0918...9521b8AC4
0 ETH0.00483314110.21
Deposit122636922021-04-18 11:02:451348 days ago1618743765IN
0x7eFc0918...9521b8AC4
0 ETH0.0046821107
Deposit122624342021-04-18 6:14:491348 days ago1618726489IN
0x7eFc0918...9521b8AC4
0 ETH0.00688696157
Transfer Out122624052021-04-18 6:08:271348 days ago1618726107IN
0x7eFc0918...9521b8AC4
0 ETH0.01571536334
Deposit122618792021-04-18 4:08:441348 days ago1618718924IN
0x7eFc0918...9521b8AC4
0 ETH0.02377537542
Transfer Out122614732021-04-18 2:44:391348 days ago1618713879IN
0x7eFc0918...9521b8AC4
0 ETH0.0094128200
Transfer Out122614642021-04-18 2:42:251348 days ago1618713745IN
0x7eFc0918...9521b8AC4
0 ETH0.0094104200
Transfer Out122593532021-04-17 18:59:511349 days ago1618685991IN
0x7eFc0918...9521b8AC4
0 ETH0.02412115376
Deposit122590572021-04-17 17:52:231349 days ago1618681943IN
0x7eFc0918...9521b8AC4
0 ETH0.0052851120.45
Deposit122575652021-04-17 12:19:091349 days ago1618661949IN
0x7eFc0918...9521b8AC4
0 ETH0.00363711126.00000145
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:
RUNE_Bridge

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2021-01-13
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

// iRUNE Interface
interface iRUNE {
    function transfer(address, uint) external returns (bool);
    function transferTo(address, uint) external returns (bool);
}

contract RUNE_Bridge {

    address public owner;
    address public server;
    address public RUNE;

    event Deposit(address indexed from, uint value, string memo);
    event Outbound(address indexed to, uint value, string memo);

    constructor() {
        owner = msg.sender;
    }

    // Only Owner can execute
    modifier onlyOwner() {
        require(msg.sender == owner, "Must be Owner");
        _;
    }

    // Only Owner/Server can execute
    modifier onlyAdmin() {
        require(msg.sender == server || msg.sender == owner, "Must be Admin");
        _;
    }

    // Owner calls to set server
    function setServer(address _server) public onlyOwner {
        server = _server;
    }

    // Owner calls to set RUNE
    function setRune(address _rune) public onlyOwner {
        RUNE = _rune;
    }

    // User to deposit RUNE with a memo.
    function deposit(uint value, string memory memo) public {
        require(value > 0, "user must send assets");
        iRUNE(RUNE).transferTo(address(this), value);
        emit Deposit(msg.sender, value, memo);
    }

    // Admin to transfer to recipient
    function transferOut(address to, uint value, string memory memo) public onlyAdmin {
        iRUNE(RUNE).transfer(to, value);
        emit Outbound(to, value, memo);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"memo","type":"string"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"memo","type":"string"}],"name":"Outbound","type":"event"},{"inputs":[],"name":"RUNE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"memo","type":"string"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"server","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rune","type":"address"}],"name":"setRune","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_server","type":"address"}],"name":"setServer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"memo","type":"string"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916331790556106c2806100326000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063e7cfe3cd1161005b578063e7cfe3cd1461016b578063f1215d2514610191578063f19a0b541461023e578063fd922a42146102645761007d565b80638da5cb5b146100825780638e6bb34f146100a657806393e4eaa914610163575b600080fd5b61008a61026c565b604080516001600160a01b039092168252519081900360200190f35b610161600480360360608110156100bc57600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156100ec57600080fd5b8201836020820111156100fe57600080fd5b8035906020019184600183028401116401000000008311171561012057600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061027b945050505050565b005b61008a610415565b6101616004803603602081101561018157600080fd5b50356001600160a01b0316610424565b610161600480360360408110156101a757600080fd5b813591908101906040810160208201356401000000008111156101c957600080fd5b8201836020820111156101db57600080fd5b803590602001918460018302840111640100000000831117156101fd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610495945050505050565b6101616004803603602081101561025457600080fd5b50356001600160a01b031661060c565b61008a61067d565b6000546001600160a01b031681565b6001546001600160a01b031633148061029e57506000546001600160a01b031633145b6102df576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329020b236b4b760991b604482015290519081900360640190fd5b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561033557600080fd5b505af1158015610349573d6000803e3d6000fd5b505050506040513d602081101561035f57600080fd5b505060408051838152602081810183815284519383019390935283516001600160a01b038716937f89d500b0729158f501c0155daf4bf7ddb716301a9e3f7e205f3ffd41a029e51a9387938793919291606084019185019080838360005b838110156103d55781810151838201526020016103bd565b50505050905090810190601f1680156104025780820380516001836020036101000a031916815260200191505b50935050505060405180910390a2505050565b6002546001600160a01b031681565b6000546001600160a01b03163314610473576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329027bbb732b960991b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600082116104e2576040805162461bcd60e51b815260206004820152601560248201527475736572206d7573742073656e642061737365747360581b604482015290519081900360640190fd5b600254604080516302ccb1b360e41b81523060048201526024810185905290516001600160a01b0390921691632ccb1b30916044808201926020929091908290030181600087803b15801561053657600080fd5b505af115801561054a573d6000803e3d6000fd5b505050506040513d602081101561056057600080fd5b5050604080518381526020818101838152845193830193909352835133937f643e927b32d5bfd08eccd2fcbd97057ad413850f857a2359639114e8e8dd3d7b9387938793919291606084019185019080838360005b838110156105cd5781810151838201526020016105b5565b50505050905090810190601f1680156105fa5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a25050565b6000546001600160a01b0316331461065b576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329027bbb732b960991b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03168156fea264697066735822122063576dfde3b25d8288e8489f6dc7ed04b4ffb49d1fad7257ccfd49e572f0828b64736f6c63430007060033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c8063e7cfe3cd1161005b578063e7cfe3cd1461016b578063f1215d2514610191578063f19a0b541461023e578063fd922a42146102645761007d565b80638da5cb5b146100825780638e6bb34f146100a657806393e4eaa914610163575b600080fd5b61008a61026c565b604080516001600160a01b039092168252519081900360200190f35b610161600480360360608110156100bc57600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156100ec57600080fd5b8201836020820111156100fe57600080fd5b8035906020019184600183028401116401000000008311171561012057600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061027b945050505050565b005b61008a610415565b6101616004803603602081101561018157600080fd5b50356001600160a01b0316610424565b610161600480360360408110156101a757600080fd5b813591908101906040810160208201356401000000008111156101c957600080fd5b8201836020820111156101db57600080fd5b803590602001918460018302840111640100000000831117156101fd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610495945050505050565b6101616004803603602081101561025457600080fd5b50356001600160a01b031661060c565b61008a61067d565b6000546001600160a01b031681565b6001546001600160a01b031633148061029e57506000546001600160a01b031633145b6102df576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329020b236b4b760991b604482015290519081900360640190fd5b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561033557600080fd5b505af1158015610349573d6000803e3d6000fd5b505050506040513d602081101561035f57600080fd5b505060408051838152602081810183815284519383019390935283516001600160a01b038716937f89d500b0729158f501c0155daf4bf7ddb716301a9e3f7e205f3ffd41a029e51a9387938793919291606084019185019080838360005b838110156103d55781810151838201526020016103bd565b50505050905090810190601f1680156104025780820380516001836020036101000a031916815260200191505b50935050505060405180910390a2505050565b6002546001600160a01b031681565b6000546001600160a01b03163314610473576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329027bbb732b960991b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600082116104e2576040805162461bcd60e51b815260206004820152601560248201527475736572206d7573742073656e642061737365747360581b604482015290519081900360640190fd5b600254604080516302ccb1b360e41b81523060048201526024810185905290516001600160a01b0390921691632ccb1b30916044808201926020929091908290030181600087803b15801561053657600080fd5b505af115801561054a573d6000803e3d6000fd5b505050506040513d602081101561056057600080fd5b5050604080518381526020818101838152845193830193909352835133937f643e927b32d5bfd08eccd2fcbd97057ad413850f857a2359639114e8e8dd3d7b9387938793919291606084019185019080838360005b838110156105cd5781810151838201526020016105b5565b50505050905090810190601f1680156105fa5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a25050565b6000546001600160a01b0316331461065b576040805162461bcd60e51b815260206004820152600d60248201526c26bab9ba1031329027bbb732b960991b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03168156fea264697066735822122063576dfde3b25d8288e8489f6dc7ed04b4ffb49d1fad7257ccfd49e572f0828b64736f6c63430007060033

Deployed Bytecode Sourcemap

238:1348:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;268:20;;;:::i;:::-;;;;-1:-1:-1;;;;;268:20:0;;;;;;;;;;;;;;1408:173;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1408:173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1408:173:0;;-1:-1:-1;1408:173:0;;-1:-1:-1;;;;;1408:173:0:i;:::-;;323:19;;;:::i;1010:80::-;;;;;;;;;;;;;;;;-1:-1:-1;1010:80:0;-1:-1:-1;;;;;1010:80:0;;:::i;1140:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1140:221:0;;-1:-1:-1;1140:221:0;;-1:-1:-1;;;;;1140:221:0:i;882:88::-;;;;;;;;;;;;;;;;-1:-1:-1;882:88:0;-1:-1:-1;;;;;882:88:0;;:::i;295:21::-;;;:::i;268:20::-;;;-1:-1:-1;;;;;268:20:0;;:::o;1408:173::-;773:6;;-1:-1:-1;;;;;773:6:0;759:10;:20;;:43;;-1:-1:-1;797:5:0;;-1:-1:-1;;;;;797:5:0;783:10;:19;759:43;751:69;;;;;-1:-1:-1;;;751:69:0;;;;;;;;;;;;-1:-1:-1;;;751:69:0;;;;;;;;;;;;;;;1507:4:::1;::::0;1501:31:::1;::::0;;-1:-1:-1;;;1501:31:0;;-1:-1:-1;;;;;1501:31:0;;::::1;;::::0;::::1;::::0;;;;;;;;;1507:4;;;::::1;::::0;1501:20:::1;::::0;:31;;;;;::::1;::::0;;;;;;;;1507:4:::1;::::0;1501:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;1548:25:0::1;::::0;;;;;1501:31:::1;1548:25:::0;;::::1;::::0;;;;;;;;;;;;;;-1:-1:-1;;;;;1548:25:0;::::1;::::0;::::1;::::0;1561:5;;1568:4;;1548:25;;;;;;;;::::1;::::0;;;;;::::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1408:173:::0;;;:::o;323:19::-;;;-1:-1:-1;;;;;323:19:0;;:::o;1010:80::-;630:5;;-1:-1:-1;;;;;630:5:0;616:10;:19;608:45;;;;;-1:-1:-1;;;608:45:0;;;;;;;;;;;;-1:-1:-1;;;608:45:0;;;;;;;;;;;;;;;1070:4:::1;:12:::0;;-1:-1:-1;;;;;;1070:12:0::1;-1:-1:-1::0;;;;;1070:12:0;;;::::1;::::0;;;::::1;::::0;;1010:80::o;1140:221::-;1223:1;1215:5;:9;1207:43;;;;;-1:-1:-1;;;1207:43:0;;;;;;;;;;;;-1:-1:-1;;;1207:43:0;;;;;;;;;;;;;;;1267:4;;1261:44;;;-1:-1:-1;;;1261:44:0;;1292:4;1261:44;;;;;;;;;;;;-1:-1:-1;;;;;1267:4:0;;;;1261:22;;:44;;;;;;;;;;;;;;;1267:4;;1261:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1321:32:0;;;;;;1261:44;1321:32;;;;;;;;;;;;;;;;;1329:10;;1321:32;;1341:5;;1348:4;;1321:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1140:221;;:::o;882:88::-;630:5;;-1:-1:-1;;;;;630:5:0;616:10;:19;608:45;;;;;-1:-1:-1;;;608:45:0;;;;;;;;;;;;-1:-1:-1;;;608:45:0;;;;;;;;;;;;;;;946:6:::1;:16:::0;;-1:-1:-1;;;;;;946:16:0::1;-1:-1:-1::0;;;;;946:16:0;;;::::1;::::0;;;::::1;::::0;;882:88::o;295:21::-;;;-1:-1:-1;;;;;295:21:0;;:::o

Swarm Source

ipfs://63576dfde3b25d8288e8489f6dc7ed04b4ffb49d1fad7257ccfd49e572f0828b

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.