Source Code
Overview
MOVR Balance
MOVR Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Init Owner | 545184 | 1592 days ago | IN | 0 MOVR | 0.00006423 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 14856723 | 46 hrs ago | 0 MOVR | ||||
| 14856723 | 46 hrs ago | 0 MOVR | ||||
| 14729972 | 11 days ago | 0 MOVR | ||||
| 14729972 | 11 days ago | 0 MOVR | ||||
| 14729972 | 11 days ago | 0 MOVR | ||||
| 14729972 | 11 days ago | 0 MOVR | ||||
| 14596566 | 21 days ago | 0 MOVR | ||||
| 14596566 | 21 days ago | 0 MOVR | ||||
| 14371357 | 39 days ago | 0 MOVR | ||||
| 14371357 | 39 days ago | 0 MOVR | ||||
| 14370604 | 39 days ago | 0 MOVR | ||||
| 14370604 | 39 days ago | 0 MOVR | ||||
| 14343079 | 41 days ago | 0 MOVR | ||||
| 14343079 | 41 days ago | 0 MOVR | ||||
| 14288249 | 45 days ago | 0 MOVR | ||||
| 14288249 | 45 days ago | 0 MOVR | ||||
| 14235680 | 49 days ago | 0 MOVR | ||||
| 14235680 | 49 days ago | 0 MOVR | ||||
| 14094733 | 60 days ago | 0 MOVR | ||||
| 14094733 | 60 days ago | 0 MOVR | ||||
| 14093674 | 60 days ago | 0 MOVR | ||||
| 14093674 | 60 days ago | 0 MOVR | ||||
| 14093659 | 60 days ago | 0 MOVR | ||||
| 14093659 | 60 days ago | 0 MOVR | ||||
| 14093459 | 60 days ago | 0 MOVR |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FeeRateModel
Compiler Version
v0.6.9+commit.3e3065ac
Contract Source Code (Solidity)
/**
*Submitted for verification at moonriver.moonscan.io on 2021-10-29
*/
// File: contracts/lib/InitializableOwnable.sol
/*
Copyright 2020 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
pragma experimental ABIEncoderV2;
/**
* @title Ownable
* @author DODO Breeder
*
* @notice Ownership related functions
*/
contract InitializableOwnable {
address public _OWNER_;
address public _NEW_OWNER_;
bool internal _INITIALIZED_;
// ============ Events ============
event OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
// ============ Modifiers ============
modifier notInitialized() {
require(!_INITIALIZED_, "DODO_INITIALIZED");
_;
}
modifier onlyOwner() {
require(msg.sender == _OWNER_, "NOT_OWNER");
_;
}
// ============ Functions ============
function initOwner(address newOwner) public notInitialized {
_INITIALIZED_ = true;
_OWNER_ = newOwner;
}
function transferOwnership(address newOwner) public onlyOwner {
emit OwnershipTransferPrepared(_OWNER_, newOwner);
_NEW_OWNER_ = newOwner;
}
function claimOwnership() public {
require(msg.sender == _NEW_OWNER_, "INVALID_CLAIM");
emit OwnershipTransferred(_OWNER_, _NEW_OWNER_);
_OWNER_ = _NEW_OWNER_;
_NEW_OWNER_ = address(0);
}
}
// File: contracts/lib/FeeRateModel.sol
interface IFeeRateImpl {
function getFeeRate(address pool, address trader) external view returns (uint256);
}
interface IFeeRateModel {
function getFeeRate(address trader) external view returns (uint256);
}
contract FeeRateModel is InitializableOwnable {
address public feeRateImpl;
function setFeeProxy(address _feeRateImpl) public onlyOwner {
feeRateImpl = _feeRateImpl;
}
function getFeeRate(address trader) external view returns (uint256) {
if(feeRateImpl == address(0))
return 0;
return IFeeRateImpl(feeRateImpl).getFeeRate(msg.sender,trader);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferPrepared","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"_NEW_OWNER_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_OWNER_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeRateImpl","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"trader","type":"address"}],"name":"getFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"initOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeRateImpl","type":"address"}],"name":"setFeeProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506104df806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80634e71e0c81161005b5780634e71e0c8146100db5780638198edbf146100e35780638456db1514610103578063f2fde38b1461010b57610088565b80630d0092971461008d57806316048bc4146100a257806325be0be1146100c057806339b96500146100d3575b600080fd5b6100a061009b3660046103b8565b61011e565b005b6100aa610187565b6040516100b791906103fe565b60405180910390f35b6100a06100ce3660046103b8565b610196565b6100aa6101e2565b6100a06101f1565b6100f66100f13660046103b8565b61027f565b6040516100b791906104a0565b6100aa610324565b6100a06101193660046103b8565b610333565b600154600160a01b900460ff16156101515760405162461bcd60e51b815260040161014890610453565b60405180910390fd5b6001805460ff60a01b1916600160a01b179055600080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b031681565b6000546001600160a01b031633146101c05760405162461bcd60e51b81526004016101489061047d565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6001546001600160a01b0316331461021b5760405162461bcd60e51b81526004016101489061042c565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546000906001600160a01b031661029a5750600061031f565b60025460405163848cc30360e01b81526001600160a01b039091169063848cc303906102cc9033908690600401610412565b60206040518083038186803b1580156102e457600080fd5b505afa1580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c91906103e6565b90505b919050565b6001546001600160a01b031681565b6000546001600160a01b0316331461035d5760405162461bcd60e51b81526004016101489061047d565b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000602082840312156103c9578081fd5b81356001600160a01b03811681146103df578182fd5b9392505050565b6000602082840312156103f7578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6020808252600d908201526c494e56414c49445f434c41494d60981b604082015260600190565b60208082526010908201526f1113d113d7d25392551250531256915160821b604082015260600190565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b9081526020019056fea26469706673582212202f3ff0cba6b346fc8560fb66b6485c561ceedd231428bf9fe29a33db982c91c464736f6c63430006090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c80634e71e0c81161005b5780634e71e0c8146100db5780638198edbf146100e35780638456db1514610103578063f2fde38b1461010b57610088565b80630d0092971461008d57806316048bc4146100a257806325be0be1146100c057806339b96500146100d3575b600080fd5b6100a061009b3660046103b8565b61011e565b005b6100aa610187565b6040516100b791906103fe565b60405180910390f35b6100a06100ce3660046103b8565b610196565b6100aa6101e2565b6100a06101f1565b6100f66100f13660046103b8565b61027f565b6040516100b791906104a0565b6100aa610324565b6100a06101193660046103b8565b610333565b600154600160a01b900460ff16156101515760405162461bcd60e51b815260040161014890610453565b60405180910390fd5b6001805460ff60a01b1916600160a01b179055600080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b031681565b6000546001600160a01b031633146101c05760405162461bcd60e51b81526004016101489061047d565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6001546001600160a01b0316331461021b5760405162461bcd60e51b81526004016101489061042c565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546000906001600160a01b031661029a5750600061031f565b60025460405163848cc30360e01b81526001600160a01b039091169063848cc303906102cc9033908690600401610412565b60206040518083038186803b1580156102e457600080fd5b505afa1580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c91906103e6565b90505b919050565b6001546001600160a01b031681565b6000546001600160a01b0316331461035d5760405162461bcd60e51b81526004016101489061047d565b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000602082840312156103c9578081fd5b81356001600160a01b03811681146103df578182fd5b9392505050565b6000602082840312156103f7578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6020808252600d908201526c494e56414c49445f434c41494d60981b604082015260600190565b60208082526010908201526f1113d113d7d25392551250531256915160821b604082015260600190565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b9081526020019056fea26469706673582212202f3ff0cba6b346fc8560fb66b6485c561ceedd231428bf9fe29a33db982c91c464736f6c63430006090033
Deployed Bytecode Sourcemap
1778:419:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;965:127;;;;;;;;;:::i;:::-;;332:22;;;:::i;:::-;;;;;;;;;;;;;;;;1866:105;;;;;;;;;:::i;1831:26::-;;;:::i;1271:228::-;;;:::i;1983:211::-;;;;;;;;;:::i;:::-;;;;;;;;361:26;;;:::i;1100:163::-;;;;;;;;;:::i;965:127::-;754:13;;-1:-1:-1;;;754:13:0;;;;753:14;745:43;;;;-1:-1:-1;;;745:43:0;;;;;;;;;;;;;;;;;1051:4:::1;1035:20:::0;;-1:-1:-1;;;;1035:20:0::1;-1:-1:-1::0;;;1035:20:0::1;::::0;;;1066:18;;-1:-1:-1;;;;;1066:18:0;;::::1;-1:-1:-1::0;;;;;;1066:18:0;;::::1;::::0;;;::::1;::::0;;965:127::o;332:22::-;;;-1:-1:-1;;;;;332:22:0;;:::o;1866:105::-;870:7;;-1:-1:-1;;;;;870:7:0;856:10;:21;848:43;;;;-1:-1:-1;;;848:43:0;;;;;;;;;1937:11:::1;:26:::0;;-1:-1:-1;;;;;;1937:26:0::1;-1:-1:-1::0;;;;;1937:26:0;;;::::1;::::0;;;::::1;::::0;;1866:105::o;1831:26::-;;;-1:-1:-1;;;;;1831:26:0;;:::o;1271:228::-;1337:11;;-1:-1:-1;;;;;1337:11:0;1323:10;:25;1315:51;;;;-1:-1:-1;;;1315:51:0;;;;;;;;;1412:11;;;1403:7;;1382:42;;-1:-1:-1;;;;;1412:11:0;;;;1403:7;;;;1382:42;;;1445:11;;;;1435:21;;-1:-1:-1;;;;;;1435:21:0;;;-1:-1:-1;;;;;1445:11:0;;1435:21;;;;1467:24;;;1271:228::o;1983:211::-;2065:11;;2042:7;;-1:-1:-1;;;;;2065:11:0;2062:51;;-1:-1:-1;2112:1:0;2105:8;;2062:51;2144:11;;2131:55;;-1:-1:-1;;;2131:55:0;;-1:-1:-1;;;;;2144:11:0;;;;2131:36;;:55;;2168:10;;2179:6;;2131:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2124:62;;1983:211;;;;:::o;361:26::-;;;-1:-1:-1;;;;;361:26:0;;:::o;1100:163::-;870:7;;-1:-1:-1;;;;;870:7:0;856:10;:21;848:43;;;;-1:-1:-1;;;848:43:0;;;;;;;;;1204:7:::1;::::0;;1178:44:::1;::::0;-1:-1:-1;;;;;1178:44:0;;::::1;::::0;1204:7;::::1;::::0;1178:44:::1;::::0;::::1;1233:11;:22:::0;;-1:-1:-1;;;;;;1233:22:0::1;-1:-1:-1::0;;;;;1233:22:0;;;::::1;::::0;;;::::1;::::0;;1100:163::o;283:241:-1:-;;387:2;375:9;366:7;362:23;358:32;355:2;;;-1:-1;;393:12;355:2;72:20;;-1:-1;;;;;4569:54;;5152:35;;5142:2;;-1:-1;;5191:12;5142:2;445:63;349:175;-1:-1;;;349:175;531:263;;646:2;634:9;625:7;621:23;617:32;614:2;;;-1:-1;;652:12;614:2;-1:-1;220:13;;608:186;-1:-1;608:186;2154:222;-1:-1;;;;;4569:54;;;;1021:37;;2281:2;2266:18;;2252:124;2383:349;-1:-1;;;;;4569:54;;;880:58;;4569:54;;2718:2;2703:18;;1021:37;2546:2;2531:18;;2517:215;2739:416;2939:2;2953:47;;;1295:2;2924:18;;;4341:19;-1:-1;;;4381:14;;;1311:36;1366:12;;;2910:245;3162:416;3362:2;3376:47;;;1617:2;3347:18;;;4341:19;-1:-1;;;4381:14;;;1633:39;1691:12;;;3333:245;3585:416;3785:2;3799:47;;;1942:1;3770:18;;;4341:19;-1:-1;;;4381:14;;;1957:32;2008:12;;;3756:245;4008:222;2105:37;;;4135:2;4120:18;;4106:124
Swarm Source
ipfs://2f3ff0cba6b346fc8560fb66b6485c561ceedd231428bf9fe29a33db982c91c4
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in MOVR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.